UNPKG

27 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class ApplicationInsights extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: ApplicationInsights.Types.ClientConfiguration)
13 config: Config & ApplicationInsights.Types.ClientConfiguration;
14 /**
15 * Adds an application that is created from a resource group.
16 */
17 createApplication(params: ApplicationInsights.Types.CreateApplicationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.CreateApplicationResponse) => void): Request<ApplicationInsights.Types.CreateApplicationResponse, AWSError>;
18 /**
19 * Adds an application that is created from a resource group.
20 */
21 createApplication(callback?: (err: AWSError, data: ApplicationInsights.Types.CreateApplicationResponse) => void): Request<ApplicationInsights.Types.CreateApplicationResponse, AWSError>;
22 /**
23 * Creates a custom component by grouping similar standalone instances to monitor.
24 */
25 createComponent(params: ApplicationInsights.Types.CreateComponentRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.CreateComponentResponse) => void): Request<ApplicationInsights.Types.CreateComponentResponse, AWSError>;
26 /**
27 * Creates a custom component by grouping similar standalone instances to monitor.
28 */
29 createComponent(callback?: (err: AWSError, data: ApplicationInsights.Types.CreateComponentResponse) => void): Request<ApplicationInsights.Types.CreateComponentResponse, AWSError>;
30 /**
31 * Removes the specified application from monitoring. Does not delete the application.
32 */
33 deleteApplication(params: ApplicationInsights.Types.DeleteApplicationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteApplicationResponse) => void): Request<ApplicationInsights.Types.DeleteApplicationResponse, AWSError>;
34 /**
35 * Removes the specified application from monitoring. Does not delete the application.
36 */
37 deleteApplication(callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteApplicationResponse) => void): Request<ApplicationInsights.Types.DeleteApplicationResponse, AWSError>;
38 /**
39 * Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
40 */
41 deleteComponent(params: ApplicationInsights.Types.DeleteComponentRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteComponentResponse) => void): Request<ApplicationInsights.Types.DeleteComponentResponse, AWSError>;
42 /**
43 * Ungroups a custom component. When you ungroup custom components, all applicable monitors that are set up for the component are removed and the instances revert to their standalone status.
44 */
45 deleteComponent(callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteComponentResponse) => void): Request<ApplicationInsights.Types.DeleteComponentResponse, AWSError>;
46 /**
47 * Describes the application.
48 */
49 describeApplication(params: ApplicationInsights.Types.DescribeApplicationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeApplicationResponse) => void): Request<ApplicationInsights.Types.DescribeApplicationResponse, AWSError>;
50 /**
51 * Describes the application.
52 */
53 describeApplication(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeApplicationResponse) => void): Request<ApplicationInsights.Types.DescribeApplicationResponse, AWSError>;
54 /**
55 * Describes a component and lists the resources that are grouped together in a component.
56 */
57 describeComponent(params: ApplicationInsights.Types.DescribeComponentRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentResponse) => void): Request<ApplicationInsights.Types.DescribeComponentResponse, AWSError>;
58 /**
59 * Describes a component and lists the resources that are grouped together in a component.
60 */
61 describeComponent(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentResponse) => void): Request<ApplicationInsights.Types.DescribeComponentResponse, AWSError>;
62 /**
63 * Describes the monitoring configuration of the component.
64 */
65 describeComponentConfiguration(params: ApplicationInsights.Types.DescribeComponentConfigurationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentConfigurationResponse) => void): Request<ApplicationInsights.Types.DescribeComponentConfigurationResponse, AWSError>;
66 /**
67 * Describes the monitoring configuration of the component.
68 */
69 describeComponentConfiguration(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentConfigurationResponse) => void): Request<ApplicationInsights.Types.DescribeComponentConfigurationResponse, AWSError>;
70 /**
71 * Describes the recommended monitoring configuration of the component.
72 */
73 describeComponentConfigurationRecommendation(params: ApplicationInsights.Types.DescribeComponentConfigurationRecommendationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentConfigurationRecommendationResponse) => void): Request<ApplicationInsights.Types.DescribeComponentConfigurationRecommendationResponse, AWSError>;
74 /**
75 * Describes the recommended monitoring configuration of the component.
76 */
77 describeComponentConfigurationRecommendation(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentConfigurationRecommendationResponse) => void): Request<ApplicationInsights.Types.DescribeComponentConfigurationRecommendationResponse, AWSError>;
78 /**
79 * Describes an anomaly or error with the application.
80 */
81 describeObservation(params: ApplicationInsights.Types.DescribeObservationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeObservationResponse) => void): Request<ApplicationInsights.Types.DescribeObservationResponse, AWSError>;
82 /**
83 * Describes an anomaly or error with the application.
84 */
85 describeObservation(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeObservationResponse) => void): Request<ApplicationInsights.Types.DescribeObservationResponse, AWSError>;
86 /**
87 * Describes an application problem.
88 */
89 describeProblem(params: ApplicationInsights.Types.DescribeProblemRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeProblemResponse) => void): Request<ApplicationInsights.Types.DescribeProblemResponse, AWSError>;
90 /**
91 * Describes an application problem.
92 */
93 describeProblem(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeProblemResponse) => void): Request<ApplicationInsights.Types.DescribeProblemResponse, AWSError>;
94 /**
95 * Describes the anomalies or errors associated with the problem.
96 */
97 describeProblemObservations(params: ApplicationInsights.Types.DescribeProblemObservationsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeProblemObservationsResponse) => void): Request<ApplicationInsights.Types.DescribeProblemObservationsResponse, AWSError>;
98 /**
99 * Describes the anomalies or errors associated with the problem.
100 */
101 describeProblemObservations(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeProblemObservationsResponse) => void): Request<ApplicationInsights.Types.DescribeProblemObservationsResponse, AWSError>;
102 /**
103 * Lists the IDs of the applications that you are monitoring.
104 */
105 listApplications(params: ApplicationInsights.Types.ListApplicationsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListApplicationsResponse) => void): Request<ApplicationInsights.Types.ListApplicationsResponse, AWSError>;
106 /**
107 * Lists the IDs of the applications that you are monitoring.
108 */
109 listApplications(callback?: (err: AWSError, data: ApplicationInsights.Types.ListApplicationsResponse) => void): Request<ApplicationInsights.Types.ListApplicationsResponse, AWSError>;
110 /**
111 * Lists the auto-grouped, standalone, and custom components of the application.
112 */
113 listComponents(params: ApplicationInsights.Types.ListComponentsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListComponentsResponse) => void): Request<ApplicationInsights.Types.ListComponentsResponse, AWSError>;
114 /**
115 * Lists the auto-grouped, standalone, and custom components of the application.
116 */
117 listComponents(callback?: (err: AWSError, data: ApplicationInsights.Types.ListComponentsResponse) => void): Request<ApplicationInsights.Types.ListComponentsResponse, AWSError>;
118 /**
119 * Lists the problems with your application.
120 */
121 listProblems(params: ApplicationInsights.Types.ListProblemsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListProblemsResponse) => void): Request<ApplicationInsights.Types.ListProblemsResponse, AWSError>;
122 /**
123 * Lists the problems with your application.
124 */
125 listProblems(callback?: (err: AWSError, data: ApplicationInsights.Types.ListProblemsResponse) => void): Request<ApplicationInsights.Types.ListProblemsResponse, AWSError>;
126 /**
127 * Updates the application.
128 */
129 updateApplication(params: ApplicationInsights.Types.UpdateApplicationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateApplicationResponse) => void): Request<ApplicationInsights.Types.UpdateApplicationResponse, AWSError>;
130 /**
131 * Updates the application.
132 */
133 updateApplication(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateApplicationResponse) => void): Request<ApplicationInsights.Types.UpdateApplicationResponse, AWSError>;
134 /**
135 * Updates the custom component name and/or the list of resources that make up the component.
136 */
137 updateComponent(params: ApplicationInsights.Types.UpdateComponentRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateComponentResponse) => void): Request<ApplicationInsights.Types.UpdateComponentResponse, AWSError>;
138 /**
139 * Updates the custom component name and/or the list of resources that make up the component.
140 */
141 updateComponent(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateComponentResponse) => void): Request<ApplicationInsights.Types.UpdateComponentResponse, AWSError>;
142 /**
143 * Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation.
144 */
145 updateComponentConfiguration(params: ApplicationInsights.Types.UpdateComponentConfigurationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateComponentConfigurationResponse) => void): Request<ApplicationInsights.Types.UpdateComponentConfigurationResponse, AWSError>;
146 /**
147 * Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation.
148 */
149 updateComponentConfiguration(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateComponentConfigurationResponse) => void): Request<ApplicationInsights.Types.UpdateComponentConfigurationResponse, AWSError>;
150}
151declare namespace ApplicationInsights {
152 export type AffectedResource = string;
153 export interface ApplicationComponent {
154 /**
155 * The name of the component.
156 */
157 ComponentName?: ComponentName;
158 /**
159 * The resource type. Supported resource types include EC2 instances, Auto Scaling group, Classic ELB, Application ELB, and SQS Queue.
160 */
161 ResourceType?: ResourceType;
162 /**
163 * The stack tier of the application component.
164 */
165 Tier?: Tier;
166 /**
167 * Indicates whether the application component is monitored.
168 */
169 Monitor?: Monitor;
170 }
171 export type ApplicationComponentList = ApplicationComponent[];
172 export interface ApplicationInfo {
173 /**
174 * The name of the resource group used for the application.
175 */
176 ResourceGroupName?: ResourceGroupName;
177 /**
178 * The lifecycle of the application.
179 */
180 LifeCycle?: LifeCycle;
181 /**
182 * The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications for opsItem updates.
183 */
184 OpsItemSNSTopicArn?: OpsItemSNSTopicArn;
185 /**
186 * Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application.
187 */
188 OpsCenterEnabled?: OpsCenterEnabled;
189 /**
190 * The issues on the user side that block Application Insights from successfully monitoring an application.
191 */
192 Remarks?: Remarks;
193 }
194 export type ApplicationInfoList = ApplicationInfo[];
195 export type ComponentConfiguration = string;
196 export type ComponentName = string;
197 export interface CreateApplicationRequest {
198 /**
199 * The name of the resource group.
200 */
201 ResourceGroupName: ResourceGroupName;
202 /**
203 * When set to true, creates opsItems for any problems detected on an application.
204 */
205 OpsCenterEnabled?: OpsCenterEnabled;
206 /**
207 * The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
208 */
209 OpsItemSNSTopicArn?: OpsItemSNSTopicArn;
210 }
211 export interface CreateApplicationResponse {
212 /**
213 * Information about the application.
214 */
215 ApplicationInfo?: ApplicationInfo;
216 }
217 export interface CreateComponentRequest {
218 /**
219 * The name of the resource group.
220 */
221 ResourceGroupName: ResourceGroupName;
222 /**
223 * The name of the component.
224 */
225 ComponentName: ComponentName;
226 /**
227 * The list of resource ARNs that belong to the component.
228 */
229 ResourceList: ResourceList;
230 }
231 export interface CreateComponentResponse {
232 }
233 export interface DeleteApplicationRequest {
234 /**
235 * The name of the resource group.
236 */
237 ResourceGroupName: ResourceGroupName;
238 }
239 export interface DeleteApplicationResponse {
240 }
241 export interface DeleteComponentRequest {
242 /**
243 * The name of the resource group.
244 */
245 ResourceGroupName: ResourceGroupName;
246 /**
247 * The name of the component.
248 */
249 ComponentName: ComponentName;
250 }
251 export interface DeleteComponentResponse {
252 }
253 export interface DescribeApplicationRequest {
254 /**
255 * The name of the resource group.
256 */
257 ResourceGroupName: ResourceGroupName;
258 }
259 export interface DescribeApplicationResponse {
260 /**
261 * Information about the application.
262 */
263 ApplicationInfo?: ApplicationInfo;
264 }
265 export interface DescribeComponentConfigurationRecommendationRequest {
266 /**
267 * The name of the resource group.
268 */
269 ResourceGroupName: ResourceGroupName;
270 /**
271 * The name of the component.
272 */
273 ComponentName: ComponentName;
274 /**
275 * The tier of the application component. Supported tiers include DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT.
276 */
277 Tier: Tier;
278 }
279 export interface DescribeComponentConfigurationRecommendationResponse {
280 /**
281 * The recommended configuration settings of the component. The value is the escaped JSON of the configuration.
282 */
283 ComponentConfiguration?: ComponentConfiguration;
284 }
285 export interface DescribeComponentConfigurationRequest {
286 /**
287 * The name of the resource group.
288 */
289 ResourceGroupName: ResourceGroupName;
290 /**
291 * The name of the component.
292 */
293 ComponentName: ComponentName;
294 }
295 export interface DescribeComponentConfigurationResponse {
296 /**
297 * Indicates whether the application component is monitored.
298 */
299 Monitor?: Monitor;
300 /**
301 * The tier of the application component. Supported tiers include DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT
302 */
303 Tier?: Tier;
304 /**
305 * The configuration settings of the component. The value is the escaped JSON of the configuration.
306 */
307 ComponentConfiguration?: ComponentConfiguration;
308 }
309 export interface DescribeComponentRequest {
310 /**
311 * The name of the resource group.
312 */
313 ResourceGroupName: ResourceGroupName;
314 /**
315 * The name of the component.
316 */
317 ComponentName: ComponentName;
318 }
319 export interface DescribeComponentResponse {
320 ApplicationComponent?: ApplicationComponent;
321 /**
322 * The list of resource ARNs that belong to the component.
323 */
324 ResourceList?: ResourceList;
325 }
326 export interface DescribeObservationRequest {
327 /**
328 * The ID of the observation.
329 */
330 ObservationId: ObservationId;
331 }
332 export interface DescribeObservationResponse {
333 /**
334 * Information about the observation.
335 */
336 Observation?: Observation;
337 }
338 export interface DescribeProblemObservationsRequest {
339 /**
340 * The ID of the problem.
341 */
342 ProblemId: ProblemId;
343 }
344 export interface DescribeProblemObservationsResponse {
345 /**
346 * Observations related to the problem.
347 */
348 RelatedObservations?: RelatedObservations;
349 }
350 export interface DescribeProblemRequest {
351 /**
352 * The ID of the problem.
353 */
354 ProblemId: ProblemId;
355 }
356 export interface DescribeProblemResponse {
357 /**
358 * Information about the problem.
359 */
360 Problem?: Problem;
361 }
362 export type EndTime = Date;
363 export type Feedback = {[key: string]: FeedbackValue};
364 export type FeedbackKey = "INSIGHTS_FEEDBACK"|string;
365 export type FeedbackValue = "NOT_SPECIFIED"|"USEFUL"|"NOT_USEFUL"|string;
366 export type Insights = string;
367 export type LifeCycle = string;
368 export type LineTime = Date;
369 export interface ListApplicationsRequest {
370 /**
371 * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
372 */
373 MaxResults?: MaxEntities;
374 /**
375 * The token to request the next page of results.
376 */
377 NextToken?: PaginationToken;
378 }
379 export interface ListApplicationsResponse {
380 /**
381 * The list of applications.
382 */
383 ApplicationInfoList?: ApplicationInfoList;
384 /**
385 * The token used to retrieve the next page of results. This value is null when there are no more results to return.
386 */
387 NextToken?: PaginationToken;
388 }
389 export interface ListComponentsRequest {
390 /**
391 * The name of the resource group.
392 */
393 ResourceGroupName: ResourceGroupName;
394 /**
395 * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
396 */
397 MaxResults?: MaxEntities;
398 /**
399 * The token to request the next page of results.
400 */
401 NextToken?: PaginationToken;
402 }
403 export interface ListComponentsResponse {
404 /**
405 * The list of application components.
406 */
407 ApplicationComponentList?: ApplicationComponentList;
408 /**
409 * The token to request the next page of results.
410 */
411 NextToken?: PaginationToken;
412 }
413 export interface ListProblemsRequest {
414 /**
415 * The name of the resource group.
416 */
417 ResourceGroupName?: ResourceGroupName;
418 /**
419 * The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.
420 */
421 StartTime?: StartTime;
422 /**
423 * The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
424 */
425 EndTime?: EndTime;
426 /**
427 * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
428 */
429 MaxResults?: MaxEntities;
430 /**
431 * The token to request the next page of results.
432 */
433 NextToken?: PaginationToken;
434 }
435 export interface ListProblemsResponse {
436 /**
437 * The list of problems.
438 */
439 ProblemList?: ProblemList;
440 /**
441 * The token used to retrieve the next page of results. This value is null when there are no more results to return.
442 */
443 NextToken?: PaginationToken;
444 }
445 export type LogFilter = "ERROR"|"WARN"|"INFO"|string;
446 export type LogGroup = string;
447 export type LogText = string;
448 export type MaxEntities = number;
449 export type MetricName = string;
450 export type MetricNamespace = string;
451 export type Monitor = boolean;
452 export type NewComponentName = string;
453 export interface Observation {
454 /**
455 * The ID of the observation type.
456 */
457 Id?: ObservationId;
458 /**
459 * The time when the observation was first detected, in epoch seconds.
460 */
461 StartTime?: StartTime;
462 /**
463 * The time when the observation ended, in epoch seconds.
464 */
465 EndTime?: EndTime;
466 /**
467 * The source type of the observation.
468 */
469 SourceType?: SourceType;
470 /**
471 * The source resource ARN of the observation.
472 */
473 SourceARN?: SourceARN;
474 /**
475 * The log group name.
476 */
477 LogGroup?: LogGroup;
478 /**
479 * The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
480 */
481 LineTime?: LineTime;
482 /**
483 * The log text of the observation.
484 */
485 LogText?: LogText;
486 /**
487 * The log filter of the observation.
488 */
489 LogFilter?: LogFilter;
490 /**
491 * The namespace of the observation metric.
492 */
493 MetricNamespace?: MetricNamespace;
494 /**
495 * The name of the observation metric.
496 */
497 MetricName?: MetricName;
498 /**
499 * The unit of the source observation metric.
500 */
501 Unit?: Unit;
502 /**
503 * The value of the source observation metric.
504 */
505 Value?: Value;
506 }
507 export type ObservationId = string;
508 export type ObservationList = Observation[];
509 export type OpsCenterEnabled = boolean;
510 export type OpsItemSNSTopicArn = string;
511 export type PaginationToken = string;
512 export interface Problem {
513 /**
514 * The ID of the problem.
515 */
516 Id?: ProblemId;
517 /**
518 * The name of the problem.
519 */
520 Title?: Title;
521 /**
522 * A detailed analysis of the problem using machine learning.
523 */
524 Insights?: Insights;
525 /**
526 * The status of the problem.
527 */
528 Status?: Status;
529 /**
530 * The resource affected by the problem.
531 */
532 AffectedResource?: AffectedResource;
533 /**
534 * The time when the problem started, in epoch seconds.
535 */
536 StartTime?: StartTime;
537 /**
538 * The time when the problem ended, in epoch seconds.
539 */
540 EndTime?: EndTime;
541 /**
542 * A measure of the level of impact of the problem.
543 */
544 SeverityLevel?: SeverityLevel;
545 /**
546 * The name of the resource group affected by the problem.
547 */
548 ResourceGroupName?: ResourceGroupName;
549 /**
550 * Feedback provided by the user about the problem.
551 */
552 Feedback?: Feedback;
553 }
554 export type ProblemId = string;
555 export type ProblemList = Problem[];
556 export interface RelatedObservations {
557 /**
558 * The list of observations related to the problem.
559 */
560 ObservationList?: ObservationList;
561 }
562 export type Remarks = string;
563 export type RemoveSNSTopic = boolean;
564 export type ResourceARN = string;
565 export type ResourceGroupName = string;
566 export type ResourceList = ResourceARN[];
567 export type ResourceType = string;
568 export type SeverityLevel = "LOW"|"MEDIUM"|"HIGH"|string;
569 export type SourceARN = string;
570 export type SourceType = string;
571 export type StartTime = Date;
572 export type Status = "IGNORE"|"RESOLVED"|"PENDING"|string;
573 export type Tier = string;
574 export type Title = string;
575 export type Unit = string;
576 export interface UpdateApplicationRequest {
577 /**
578 * The name of the resource group.
579 */
580 ResourceGroupName: ResourceGroupName;
581 /**
582 * When set to true, creates opsItems for any problems detected on an application.
583 */
584 OpsCenterEnabled?: OpsCenterEnabled;
585 /**
586 * The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
587 */
588 OpsItemSNSTopicArn?: OpsItemSNSTopicArn;
589 /**
590 * Disassociates the SNS topic from the opsItem created for detected problems.
591 */
592 RemoveSNSTopic?: RemoveSNSTopic;
593 }
594 export interface UpdateApplicationResponse {
595 /**
596 * Information about the application.
597 */
598 ApplicationInfo?: ApplicationInfo;
599 }
600 export interface UpdateComponentConfigurationRequest {
601 /**
602 * The name of the resource group.
603 */
604 ResourceGroupName: ResourceGroupName;
605 /**
606 * The name of the component.
607 */
608 ComponentName: ComponentName;
609 /**
610 * Indicates whether the application component is monitored.
611 */
612 Monitor?: Monitor;
613 /**
614 * The tier of the application component. Supported tiers include DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT.
615 */
616 Tier?: Tier;
617 /**
618 * The configuration settings of the component. The value is the escaped JSON of the configuration. For more information about the JSON format, see Working with JSON. You can send a request to DescribeComponentConfigurationRecommendation to see the recommended configuration for a component.
619 */
620 ComponentConfiguration?: ComponentConfiguration;
621 }
622 export interface UpdateComponentConfigurationResponse {
623 }
624 export interface UpdateComponentRequest {
625 /**
626 * The name of the resource group.
627 */
628 ResourceGroupName: ResourceGroupName;
629 /**
630 * The name of the component.
631 */
632 ComponentName: ComponentName;
633 /**
634 * The new name of the component.
635 */
636 NewComponentName?: NewComponentName;
637 /**
638 * The list of resource ARNs that belong to the component.
639 */
640 ResourceList?: ResourceList;
641 }
642 export interface UpdateComponentResponse {
643 }
644 export type Value = number;
645 /**
646 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
647 */
648 export type apiVersion = "2018-11-25"|"latest"|string;
649 export interface ClientApiVersions {
650 /**
651 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
652 */
653 apiVersion?: apiVersion;
654 }
655 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
656 /**
657 * Contains interfaces for use with the ApplicationInsights client.
658 */
659 export import Types = ApplicationInsights;
660}
661export = ApplicationInsights;