applicationinsights.d.ts
49.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config';
interface Blob {}
declare class ApplicationInsights extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: ApplicationInsights.Types.ClientConfiguration)
config: Config & ApplicationInsights.Types.ClientConfiguration;
/**
* Adds an application that is created from a resource group.
*/
createApplication(params: ApplicationInsights.Types.CreateApplicationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.CreateApplicationResponse) => void): Request<ApplicationInsights.Types.CreateApplicationResponse, AWSError>;
/**
* Adds an application that is created from a resource group.
*/
createApplication(callback?: (err: AWSError, data: ApplicationInsights.Types.CreateApplicationResponse) => void): Request<ApplicationInsights.Types.CreateApplicationResponse, AWSError>;
/**
* Creates a custom component by grouping similar standalone instances to monitor.
*/
createComponent(params: ApplicationInsights.Types.CreateComponentRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.CreateComponentResponse) => void): Request<ApplicationInsights.Types.CreateComponentResponse, AWSError>;
/**
* Creates a custom component by grouping similar standalone instances to monitor.
*/
createComponent(callback?: (err: AWSError, data: ApplicationInsights.Types.CreateComponentResponse) => void): Request<ApplicationInsights.Types.CreateComponentResponse, AWSError>;
/**
* Adds an log pattern to a LogPatternSet.
*/
createLogPattern(params: ApplicationInsights.Types.CreateLogPatternRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.CreateLogPatternResponse) => void): Request<ApplicationInsights.Types.CreateLogPatternResponse, AWSError>;
/**
* Adds an log pattern to a LogPatternSet.
*/
createLogPattern(callback?: (err: AWSError, data: ApplicationInsights.Types.CreateLogPatternResponse) => void): Request<ApplicationInsights.Types.CreateLogPatternResponse, AWSError>;
/**
* Removes the specified application from monitoring. Does not delete the application.
*/
deleteApplication(params: ApplicationInsights.Types.DeleteApplicationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteApplicationResponse) => void): Request<ApplicationInsights.Types.DeleteApplicationResponse, AWSError>;
/**
* Removes the specified application from monitoring. Does not delete the application.
*/
deleteApplication(callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteApplicationResponse) => void): Request<ApplicationInsights.Types.DeleteApplicationResponse, AWSError>;
/**
* 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.
*/
deleteComponent(params: ApplicationInsights.Types.DeleteComponentRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteComponentResponse) => void): Request<ApplicationInsights.Types.DeleteComponentResponse, AWSError>;
/**
* 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.
*/
deleteComponent(callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteComponentResponse) => void): Request<ApplicationInsights.Types.DeleteComponentResponse, AWSError>;
/**
* Removes the specified log pattern from a LogPatternSet.
*/
deleteLogPattern(params: ApplicationInsights.Types.DeleteLogPatternRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteLogPatternResponse) => void): Request<ApplicationInsights.Types.DeleteLogPatternResponse, AWSError>;
/**
* Removes the specified log pattern from a LogPatternSet.
*/
deleteLogPattern(callback?: (err: AWSError, data: ApplicationInsights.Types.DeleteLogPatternResponse) => void): Request<ApplicationInsights.Types.DeleteLogPatternResponse, AWSError>;
/**
* Describes the application.
*/
describeApplication(params: ApplicationInsights.Types.DescribeApplicationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeApplicationResponse) => void): Request<ApplicationInsights.Types.DescribeApplicationResponse, AWSError>;
/**
* Describes the application.
*/
describeApplication(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeApplicationResponse) => void): Request<ApplicationInsights.Types.DescribeApplicationResponse, AWSError>;
/**
* Describes a component and lists the resources that are grouped together in a component.
*/
describeComponent(params: ApplicationInsights.Types.DescribeComponentRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentResponse) => void): Request<ApplicationInsights.Types.DescribeComponentResponse, AWSError>;
/**
* Describes a component and lists the resources that are grouped together in a component.
*/
describeComponent(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentResponse) => void): Request<ApplicationInsights.Types.DescribeComponentResponse, AWSError>;
/**
* Describes the monitoring configuration of the component.
*/
describeComponentConfiguration(params: ApplicationInsights.Types.DescribeComponentConfigurationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentConfigurationResponse) => void): Request<ApplicationInsights.Types.DescribeComponentConfigurationResponse, AWSError>;
/**
* Describes the monitoring configuration of the component.
*/
describeComponentConfiguration(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentConfigurationResponse) => void): Request<ApplicationInsights.Types.DescribeComponentConfigurationResponse, AWSError>;
/**
* Describes the recommended monitoring configuration of the component.
*/
describeComponentConfigurationRecommendation(params: ApplicationInsights.Types.DescribeComponentConfigurationRecommendationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentConfigurationRecommendationResponse) => void): Request<ApplicationInsights.Types.DescribeComponentConfigurationRecommendationResponse, AWSError>;
/**
* Describes the recommended monitoring configuration of the component.
*/
describeComponentConfigurationRecommendation(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeComponentConfigurationRecommendationResponse) => void): Request<ApplicationInsights.Types.DescribeComponentConfigurationRecommendationResponse, AWSError>;
/**
* Describe a specific log pattern from a LogPatternSet.
*/
describeLogPattern(params: ApplicationInsights.Types.DescribeLogPatternRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeLogPatternResponse) => void): Request<ApplicationInsights.Types.DescribeLogPatternResponse, AWSError>;
/**
* Describe a specific log pattern from a LogPatternSet.
*/
describeLogPattern(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeLogPatternResponse) => void): Request<ApplicationInsights.Types.DescribeLogPatternResponse, AWSError>;
/**
* Describes an anomaly or error with the application.
*/
describeObservation(params: ApplicationInsights.Types.DescribeObservationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeObservationResponse) => void): Request<ApplicationInsights.Types.DescribeObservationResponse, AWSError>;
/**
* Describes an anomaly or error with the application.
*/
describeObservation(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeObservationResponse) => void): Request<ApplicationInsights.Types.DescribeObservationResponse, AWSError>;
/**
* Describes an application problem.
*/
describeProblem(params: ApplicationInsights.Types.DescribeProblemRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeProblemResponse) => void): Request<ApplicationInsights.Types.DescribeProblemResponse, AWSError>;
/**
* Describes an application problem.
*/
describeProblem(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeProblemResponse) => void): Request<ApplicationInsights.Types.DescribeProblemResponse, AWSError>;
/**
* Describes the anomalies or errors associated with the problem.
*/
describeProblemObservations(params: ApplicationInsights.Types.DescribeProblemObservationsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeProblemObservationsResponse) => void): Request<ApplicationInsights.Types.DescribeProblemObservationsResponse, AWSError>;
/**
* Describes the anomalies or errors associated with the problem.
*/
describeProblemObservations(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeProblemObservationsResponse) => void): Request<ApplicationInsights.Types.DescribeProblemObservationsResponse, AWSError>;
/**
* Lists the IDs of the applications that you are monitoring.
*/
listApplications(params: ApplicationInsights.Types.ListApplicationsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListApplicationsResponse) => void): Request<ApplicationInsights.Types.ListApplicationsResponse, AWSError>;
/**
* Lists the IDs of the applications that you are monitoring.
*/
listApplications(callback?: (err: AWSError, data: ApplicationInsights.Types.ListApplicationsResponse) => void): Request<ApplicationInsights.Types.ListApplicationsResponse, AWSError>;
/**
* Lists the auto-grouped, standalone, and custom components of the application.
*/
listComponents(params: ApplicationInsights.Types.ListComponentsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListComponentsResponse) => void): Request<ApplicationInsights.Types.ListComponentsResponse, AWSError>;
/**
* Lists the auto-grouped, standalone, and custom components of the application.
*/
listComponents(callback?: (err: AWSError, data: ApplicationInsights.Types.ListComponentsResponse) => void): Request<ApplicationInsights.Types.ListComponentsResponse, AWSError>;
/**
* Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are: INFO: creating a new alarm or updating an alarm threshold. WARN: alarm not created due to insufficient data points used to predict thresholds. ERROR: alarm not created due to permission errors or exceeding quotas.
*/
listConfigurationHistory(params: ApplicationInsights.Types.ListConfigurationHistoryRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListConfigurationHistoryResponse) => void): Request<ApplicationInsights.Types.ListConfigurationHistoryResponse, AWSError>;
/**
* Lists the INFO, WARN, and ERROR events for periodic configuration updates performed by Application Insights. Examples of events represented are: INFO: creating a new alarm or updating an alarm threshold. WARN: alarm not created due to insufficient data points used to predict thresholds. ERROR: alarm not created due to permission errors or exceeding quotas.
*/
listConfigurationHistory(callback?: (err: AWSError, data: ApplicationInsights.Types.ListConfigurationHistoryResponse) => void): Request<ApplicationInsights.Types.ListConfigurationHistoryResponse, AWSError>;
/**
* Lists the log pattern sets in the specific application.
*/
listLogPatternSets(params: ApplicationInsights.Types.ListLogPatternSetsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListLogPatternSetsResponse) => void): Request<ApplicationInsights.Types.ListLogPatternSetsResponse, AWSError>;
/**
* Lists the log pattern sets in the specific application.
*/
listLogPatternSets(callback?: (err: AWSError, data: ApplicationInsights.Types.ListLogPatternSetsResponse) => void): Request<ApplicationInsights.Types.ListLogPatternSetsResponse, AWSError>;
/**
* Lists the log patterns in the specific log LogPatternSet.
*/
listLogPatterns(params: ApplicationInsights.Types.ListLogPatternsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListLogPatternsResponse) => void): Request<ApplicationInsights.Types.ListLogPatternsResponse, AWSError>;
/**
* Lists the log patterns in the specific log LogPatternSet.
*/
listLogPatterns(callback?: (err: AWSError, data: ApplicationInsights.Types.ListLogPatternsResponse) => void): Request<ApplicationInsights.Types.ListLogPatternsResponse, AWSError>;
/**
* Lists the problems with your application.
*/
listProblems(params: ApplicationInsights.Types.ListProblemsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListProblemsResponse) => void): Request<ApplicationInsights.Types.ListProblemsResponse, AWSError>;
/**
* Lists the problems with your application.
*/
listProblems(callback?: (err: AWSError, data: ApplicationInsights.Types.ListProblemsResponse) => void): Request<ApplicationInsights.Types.ListProblemsResponse, AWSError>;
/**
* Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
*/
listTagsForResource(params: ApplicationInsights.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListTagsForResourceResponse) => void): Request<ApplicationInsights.Types.ListTagsForResourceResponse, AWSError>;
/**
* Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
*/
listTagsForResource(callback?: (err: AWSError, data: ApplicationInsights.Types.ListTagsForResourceResponse) => void): Request<ApplicationInsights.Types.ListTagsForResourceResponse, AWSError>;
/**
* Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
*/
tagResource(params: ApplicationInsights.Types.TagResourceRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.TagResourceResponse) => void): Request<ApplicationInsights.Types.TagResourceResponse, AWSError>;
/**
* Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
*/
tagResource(callback?: (err: AWSError, data: ApplicationInsights.Types.TagResourceResponse) => void): Request<ApplicationInsights.Types.TagResourceResponse, AWSError>;
/**
* Remove one or more tags (keys and values) from a specified application.
*/
untagResource(params: ApplicationInsights.Types.UntagResourceRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UntagResourceResponse) => void): Request<ApplicationInsights.Types.UntagResourceResponse, AWSError>;
/**
* Remove one or more tags (keys and values) from a specified application.
*/
untagResource(callback?: (err: AWSError, data: ApplicationInsights.Types.UntagResourceResponse) => void): Request<ApplicationInsights.Types.UntagResourceResponse, AWSError>;
/**
* Updates the application.
*/
updateApplication(params: ApplicationInsights.Types.UpdateApplicationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateApplicationResponse) => void): Request<ApplicationInsights.Types.UpdateApplicationResponse, AWSError>;
/**
* Updates the application.
*/
updateApplication(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateApplicationResponse) => void): Request<ApplicationInsights.Types.UpdateApplicationResponse, AWSError>;
/**
* Updates the custom component name and/or the list of resources that make up the component.
*/
updateComponent(params: ApplicationInsights.Types.UpdateComponentRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateComponentResponse) => void): Request<ApplicationInsights.Types.UpdateComponentResponse, AWSError>;
/**
* Updates the custom component name and/or the list of resources that make up the component.
*/
updateComponent(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateComponentResponse) => void): Request<ApplicationInsights.Types.UpdateComponentResponse, AWSError>;
/**
* 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.
*/
updateComponentConfiguration(params: ApplicationInsights.Types.UpdateComponentConfigurationRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateComponentConfigurationResponse) => void): Request<ApplicationInsights.Types.UpdateComponentConfigurationResponse, AWSError>;
/**
* 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.
*/
updateComponentConfiguration(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateComponentConfigurationResponse) => void): Request<ApplicationInsights.Types.UpdateComponentConfigurationResponse, AWSError>;
/**
* Adds a log pattern to a LogPatternSet.
*/
updateLogPattern(params: ApplicationInsights.Types.UpdateLogPatternRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateLogPatternResponse) => void): Request<ApplicationInsights.Types.UpdateLogPatternResponse, AWSError>;
/**
* Adds a log pattern to a LogPatternSet.
*/
updateLogPattern(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateLogPatternResponse) => void): Request<ApplicationInsights.Types.UpdateLogPatternResponse, AWSError>;
}
declare namespace ApplicationInsights {
export type AffectedResource = string;
export type AmazonResourceName = string;
export interface ApplicationComponent {
/**
* The name of the component.
*/
ComponentName?: ComponentName;
/**
* The resource type. Supported resource types include EC2 instances, Auto Scaling group, Classic ELB, Application ELB, and SQS Queue.
*/
ResourceType?: ResourceType;
/**
* The stack tier of the application component.
*/
Tier?: Tier;
/**
* Indicates whether the application component is monitored.
*/
Monitor?: Monitor;
}
export type ApplicationComponentList = ApplicationComponent[];
export interface ApplicationInfo {
/**
* The name of the resource group used for the application.
*/
ResourceGroupName?: ResourceGroupName;
/**
* The lifecycle of the application.
*/
LifeCycle?: LifeCycle;
/**
* The SNS topic provided to Application Insights that is associated to the created opsItems to receive SNS notifications for opsItem updates.
*/
OpsItemSNSTopicArn?: OpsItemSNSTopicArn;
/**
* Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application.
*/
OpsCenterEnabled?: OpsCenterEnabled;
/**
* Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.
*/
CWEMonitorEnabled?: CWEMonitorEnabled;
/**
* The issues on the user side that block Application Insights from successfully monitoring an application. Example remarks include: “Configuring application, detected 1 Errors, 3 Warnings” “Configuring application, detected 1 Unconfigured Components”
*/
Remarks?: Remarks;
}
export type ApplicationInfoList = ApplicationInfo[];
export type CWEMonitorEnabled = boolean;
export type CloudWatchEventDetailType = string;
export type CloudWatchEventId = string;
export type CloudWatchEventSource = "EC2"|"CODE_DEPLOY"|"HEALTH"|string;
export type CodeDeployApplication = string;
export type CodeDeployDeploymentGroup = string;
export type CodeDeployDeploymentId = string;
export type CodeDeployInstanceGroupId = string;
export type CodeDeployState = string;
export type ComponentConfiguration = string;
export type ComponentName = string;
export interface ConfigurationEvent {
/**
* The resource monitored by Application Insights.
*/
MonitoredResourceARN?: ConfigurationEventMonitoredResourceARN;
/**
* The status of the configuration update event. Possible values include INFO, WARN, and ERROR.
*/
EventStatus?: ConfigurationEventStatus;
/**
* The resource type that Application Insights attempted to configure, for example, CLOUDWATCH_ALARM.
*/
EventResourceType?: ConfigurationEventResourceType;
/**
* The timestamp of the event.
*/
EventTime?: ConfigurationEventTime;
/**
* The details of the event in plain text.
*/
EventDetail?: ConfigurationEventDetail;
/**
* The name of the resource Application Insights attempted to configure.
*/
EventResourceName?: ConfigurationEventResourceName;
}
export type ConfigurationEventDetail = string;
export type ConfigurationEventList = ConfigurationEvent[];
export type ConfigurationEventMonitoredResourceARN = string;
export type ConfigurationEventResourceName = string;
export type ConfigurationEventResourceType = "CLOUDWATCH_ALARM"|"CLOUDFORMATION"|"SSM_ASSOCIATION"|string;
export type ConfigurationEventStatus = "INFO"|"WARN"|"ERROR"|string;
export type ConfigurationEventTime = Date;
export interface CreateApplicationRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* When set to true, creates opsItems for any problems detected on an application.
*/
OpsCenterEnabled?: OpsCenterEnabled;
/**
* Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.
*/
CWEMonitorEnabled?: CWEMonitorEnabled;
/**
* The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
*/
OpsItemSNSTopicArn?: OpsItemSNSTopicArn;
/**
* List of tags to add to the application. tag key (Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
*/
Tags?: TagList;
}
export interface CreateApplicationResponse {
/**
* Information about the application.
*/
ApplicationInfo?: ApplicationInfo;
}
export interface CreateComponentRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The name of the component.
*/
ComponentName: ComponentName;
/**
* The list of resource ARNs that belong to the component.
*/
ResourceList: ResourceList;
}
export interface CreateComponentResponse {
}
export interface CreateLogPatternRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The name of the log pattern set.
*/
PatternSetName: LogPatternSetName;
/**
* The name of the log pattern.
*/
PatternName: LogPatternName;
/**
* The log pattern.
*/
Pattern: LogPatternRegex;
/**
* Rank of the log pattern.
*/
Rank: LogPatternRank;
}
export interface CreateLogPatternResponse {
/**
* The successfully created log pattern.
*/
LogPattern?: LogPattern;
/**
* The name of the resource group.
*/
ResourceGroupName?: ResourceGroupName;
}
export interface DeleteApplicationRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
}
export interface DeleteApplicationResponse {
}
export interface DeleteComponentRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The name of the component.
*/
ComponentName: ComponentName;
}
export interface DeleteComponentResponse {
}
export interface DeleteLogPatternRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The name of the log pattern set.
*/
PatternSetName: LogPatternSetName;
/**
* The name of the log pattern.
*/
PatternName: LogPatternName;
}
export interface DeleteLogPatternResponse {
}
export interface DescribeApplicationRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
}
export interface DescribeApplicationResponse {
/**
* Information about the application.
*/
ApplicationInfo?: ApplicationInfo;
}
export interface DescribeComponentConfigurationRecommendationRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The name of the component.
*/
ComponentName: ComponentName;
/**
* The tier of the application component. Supported tiers include DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT.
*/
Tier: Tier;
}
export interface DescribeComponentConfigurationRecommendationResponse {
/**
* The recommended configuration settings of the component. The value is the escaped JSON of the configuration.
*/
ComponentConfiguration?: ComponentConfiguration;
}
export interface DescribeComponentConfigurationRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The name of the component.
*/
ComponentName: ComponentName;
}
export interface DescribeComponentConfigurationResponse {
/**
* Indicates whether the application component is monitored.
*/
Monitor?: Monitor;
/**
* The tier of the application component. Supported tiers include DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB, SQL_SERVER, and DEFAULT
*/
Tier?: Tier;
/**
* The configuration settings of the component. The value is the escaped JSON of the configuration.
*/
ComponentConfiguration?: ComponentConfiguration;
}
export interface DescribeComponentRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The name of the component.
*/
ComponentName: ComponentName;
}
export interface DescribeComponentResponse {
ApplicationComponent?: ApplicationComponent;
/**
* The list of resource ARNs that belong to the component.
*/
ResourceList?: ResourceList;
}
export interface DescribeLogPatternRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The name of the log pattern set.
*/
PatternSetName: LogPatternSetName;
/**
* The name of the log pattern.
*/
PatternName: LogPatternName;
}
export interface DescribeLogPatternResponse {
/**
* The name of the resource group.
*/
ResourceGroupName?: ResourceGroupName;
/**
* The successfully created log pattern.
*/
LogPattern?: LogPattern;
}
export interface DescribeObservationRequest {
/**
* The ID of the observation.
*/
ObservationId: ObservationId;
}
export interface DescribeObservationResponse {
/**
* Information about the observation.
*/
Observation?: Observation;
}
export interface DescribeProblemObservationsRequest {
/**
* The ID of the problem.
*/
ProblemId: ProblemId;
}
export interface DescribeProblemObservationsResponse {
/**
* Observations related to the problem.
*/
RelatedObservations?: RelatedObservations;
}
export interface DescribeProblemRequest {
/**
* The ID of the problem.
*/
ProblemId: ProblemId;
}
export interface DescribeProblemResponse {
/**
* Information about the problem.
*/
Problem?: Problem;
}
export type Ec2State = string;
export type EndTime = Date;
export type Feedback = {[key: string]: FeedbackValue};
export type FeedbackKey = "INSIGHTS_FEEDBACK"|string;
export type FeedbackValue = "NOT_SPECIFIED"|"USEFUL"|"NOT_USEFUL"|string;
export type HealthEventArn = string;
export type HealthEventDescription = string;
export type HealthEventTypeCategory = string;
export type HealthEventTypeCode = string;
export type HealthService = string;
export type Insights = string;
export type LifeCycle = string;
export type LineTime = Date;
export interface ListApplicationsRequest {
/**
* The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
*/
MaxResults?: MaxEntities;
/**
* The token to request the next page of results.
*/
NextToken?: PaginationToken;
}
export interface ListApplicationsResponse {
/**
* The list of applications.
*/
ApplicationInfoList?: ApplicationInfoList;
/**
* The token used to retrieve the next page of results. This value is null when there are no more results to return.
*/
NextToken?: PaginationToken;
}
export interface ListComponentsRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
*/
MaxResults?: MaxEntities;
/**
* The token to request the next page of results.
*/
NextToken?: PaginationToken;
}
export interface ListComponentsResponse {
/**
* The list of application components.
*/
ApplicationComponentList?: ApplicationComponentList;
/**
* The token to request the next page of results.
*/
NextToken?: PaginationToken;
}
export interface ListConfigurationHistoryRequest {
/**
* Resource group to which the application belongs.
*/
ResourceGroupName?: ResourceGroupName;
/**
* The start time of the event.
*/
StartTime?: StartTime;
/**
* The end time of the event.
*/
EndTime?: EndTime;
/**
* The status of the configuration update event. Possible values include INFO, WARN, and ERROR.
*/
EventStatus?: ConfigurationEventStatus;
/**
* The maximum number of results returned by ListConfigurationHistory in paginated output. When this parameter is used, ListConfigurationHistory returns only MaxResults in a single page along with a NextToken response element. The remaining results of the initial request can be seen by sending another ListConfigurationHistory request with the returned NextToken value. If this parameter is not used, then ListConfigurationHistory returns all results.
*/
MaxResults?: MaxEntities;
/**
* The NextToken value returned from a previous paginated ListConfigurationHistory request where MaxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the NextToken value. This value is null when there are no more results to return.
*/
NextToken?: PaginationToken;
}
export interface ListConfigurationHistoryResponse {
/**
* The list of configuration events and their corresponding details.
*/
EventList?: ConfigurationEventList;
/**
* The NextToken value to include in a future ListConfigurationHistory request. When the results of a ListConfigurationHistory request exceed MaxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
*/
NextToken?: PaginationToken;
}
export interface ListLogPatternSetsRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
*/
MaxResults?: MaxEntities;
/**
* The token to request the next page of results.
*/
NextToken?: PaginationToken;
}
export interface ListLogPatternSetsResponse {
/**
* The name of the resource group.
*/
ResourceGroupName?: ResourceGroupName;
/**
* The list of log pattern sets.
*/
LogPatternSets?: LogPatternSetList;
/**
* The token used to retrieve the next page of results. This value is null when there are no more results to return.
*/
NextToken?: PaginationToken;
}
export interface ListLogPatternsRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The name of the log pattern set.
*/
PatternSetName?: LogPatternSetName;
/**
* The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
*/
MaxResults?: MaxEntities;
/**
* The token to request the next page of results.
*/
NextToken?: PaginationToken;
}
export interface ListLogPatternsResponse {
/**
* The name of the resource group.
*/
ResourceGroupName?: ResourceGroupName;
/**
* The list of log patterns.
*/
LogPatterns?: LogPatternList;
/**
* The token used to retrieve the next page of results. This value is null when there are no more results to return.
*/
NextToken?: PaginationToken;
}
export interface ListProblemsRequest {
/**
* The name of the resource group.
*/
ResourceGroupName?: ResourceGroupName;
/**
* 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.
*/
StartTime?: StartTime;
/**
* The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
*/
EndTime?: EndTime;
/**
* The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
*/
MaxResults?: MaxEntities;
/**
* The token to request the next page of results.
*/
NextToken?: PaginationToken;
}
export interface ListProblemsResponse {
/**
* The list of problems.
*/
ProblemList?: ProblemList;
/**
* The token used to retrieve the next page of results. This value is null when there are no more results to return.
*/
NextToken?: PaginationToken;
}
export interface ListTagsForResourceRequest {
/**
* The Amazon Resource Name (ARN) of the application that you want to retrieve tag information for.
*/
ResourceARN: AmazonResourceName;
}
export interface ListTagsForResourceResponse {
/**
* An array that lists all the tags that are associated with the application. Each tag consists of a required tag key (Key) and an associated tag value (Value).
*/
Tags?: TagList;
}
export type LogFilter = "ERROR"|"WARN"|"INFO"|string;
export type LogGroup = string;
export interface LogPattern {
/**
* The name of the log pattern. A log pattern name can contains at many as 30 characters, and it cannot be empty. The characters can be Unicode letters, digits or one of the following symbols: period, dash, underscore.
*/
PatternSetName?: LogPatternSetName;
/**
* The name of the log pattern. A log pattern name can contains at many as 50 characters, and it cannot be empty. The characters can be Unicode letters, digits or one of the following symbols: period, dash, underscore.
*/
PatternName?: LogPatternName;
/**
* A regular expression that defines the log pattern. A log pattern can contains at many as 50 characters, and it cannot be empty.
*/
Pattern?: LogPatternRegex;
/**
* Rank of the log pattern.
*/
Rank?: LogPatternRank;
}
export type LogPatternList = LogPattern[];
export type LogPatternName = string;
export type LogPatternRank = number;
export type LogPatternRegex = string;
export type LogPatternSetList = LogPatternSetName[];
export type LogPatternSetName = string;
export type LogText = string;
export type MaxEntities = number;
export type MetricName = string;
export type MetricNamespace = string;
export type Monitor = boolean;
export type NewComponentName = string;
export interface Observation {
/**
* The ID of the observation type.
*/
Id?: ObservationId;
/**
* The time when the observation was first detected, in epoch seconds.
*/
StartTime?: StartTime;
/**
* The time when the observation ended, in epoch seconds.
*/
EndTime?: EndTime;
/**
* The source type of the observation.
*/
SourceType?: SourceType;
/**
* The source resource ARN of the observation.
*/
SourceARN?: SourceARN;
/**
* The log group name.
*/
LogGroup?: LogGroup;
/**
* The timestamp in the CloudWatch Logs that specifies when the matched line occurred.
*/
LineTime?: LineTime;
/**
* The log text of the observation.
*/
LogText?: LogText;
/**
* The log filter of the observation.
*/
LogFilter?: LogFilter;
/**
* The namespace of the observation metric.
*/
MetricNamespace?: MetricNamespace;
/**
* The name of the observation metric.
*/
MetricName?: MetricName;
/**
* The unit of the source observation metric.
*/
Unit?: Unit;
/**
* The value of the source observation metric.
*/
Value?: Value;
/**
* The ID of the CloudWatch Event-based observation related to the detected problem.
*/
CloudWatchEventId?: CloudWatchEventId;
/**
* The source of the CloudWatch Event.
*/
CloudWatchEventSource?: CloudWatchEventSource;
/**
* The detail type of the CloudWatch Event-based observation, for example, EC2 Instance State-change Notification.
*/
CloudWatchEventDetailType?: CloudWatchEventDetailType;
/**
* The Amazon Resource Name (ARN) of the AWS Health Event-based observation.
*/
HealthEventArn?: HealthEventArn;
/**
* The service to which the AWS Health Event belongs, such as EC2.
*/
HealthService?: HealthService;
/**
* The type of the AWS Health event, for example, AWS_EC2_POWER_CONNECTIVITY_ISSUE.
*/
HealthEventTypeCode?: HealthEventTypeCode;
/**
* The category of the AWS Health event, such as issue.
*/
HealthEventTypeCategory?: HealthEventTypeCategory;
/**
* The description of the AWS Health event provided by the service, such as Amazon EC2.
*/
HealthEventDescription?: HealthEventDescription;
/**
* The deployment ID of the CodeDeploy-based observation related to the detected problem.
*/
CodeDeployDeploymentId?: CodeDeployDeploymentId;
/**
* The deployment group to which the CodeDeploy deployment belongs.
*/
CodeDeployDeploymentGroup?: CodeDeployDeploymentGroup;
/**
* The status of the CodeDeploy deployment, for example SUCCESS or FAILURE.
*/
CodeDeployState?: CodeDeployState;
/**
* The CodeDeploy application to which the deployment belongs.
*/
CodeDeployApplication?: CodeDeployApplication;
/**
* The instance group to which the CodeDeploy instance belongs.
*/
CodeDeployInstanceGroupId?: CodeDeployInstanceGroupId;
/**
* The state of the instance, such as STOPPING or TERMINATING.
*/
Ec2State?: Ec2State;
/**
* The X-Ray request fault percentage for this node.
*/
XRayFaultPercent?: XRayFaultPercent;
/**
* The X-Ray request throttle percentage for this node.
*/
XRayThrottlePercent?: XRayThrottlePercent;
/**
* The X-Ray request error percentage for this node.
*/
XRayErrorPercent?: XRayErrorPercent;
/**
* The X-Ray request count for this node.
*/
XRayRequestCount?: XRayRequestCount;
/**
* The X-Ray node request average latency for this node.
*/
XRayRequestAverageLatency?: XRayRequestAverageLatency;
/**
* The name of the X-Ray node.
*/
XRayNodeName?: XRayNodeName;
/**
* The type of the X-Ray node.
*/
XRayNodeType?: XRayNodeType;
}
export type ObservationId = string;
export type ObservationList = Observation[];
export type OpsCenterEnabled = boolean;
export type OpsItemSNSTopicArn = string;
export type PaginationToken = string;
export interface Problem {
/**
* The ID of the problem.
*/
Id?: ProblemId;
/**
* The name of the problem.
*/
Title?: Title;
/**
* A detailed analysis of the problem using machine learning.
*/
Insights?: Insights;
/**
* The status of the problem.
*/
Status?: Status;
/**
* The resource affected by the problem.
*/
AffectedResource?: AffectedResource;
/**
* The time when the problem started, in epoch seconds.
*/
StartTime?: StartTime;
/**
* The time when the problem ended, in epoch seconds.
*/
EndTime?: EndTime;
/**
* A measure of the level of impact of the problem.
*/
SeverityLevel?: SeverityLevel;
/**
* The name of the resource group affected by the problem.
*/
ResourceGroupName?: ResourceGroupName;
/**
* Feedback provided by the user about the problem.
*/
Feedback?: Feedback;
}
export type ProblemId = string;
export type ProblemList = Problem[];
export interface RelatedObservations {
/**
* The list of observations related to the problem.
*/
ObservationList?: ObservationList;
}
export type Remarks = string;
export type RemoveSNSTopic = boolean;
export type ResourceARN = string;
export type ResourceGroupName = string;
export type ResourceList = ResourceARN[];
export type ResourceType = string;
export type SeverityLevel = "Low"|"Medium"|"High"|string;
export type SourceARN = string;
export type SourceType = string;
export type StartTime = Date;
export type Status = "IGNORE"|"RESOLVED"|"PENDING"|string;
export interface Tag {
/**
* One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.
*/
Key: TagKey;
/**
* The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want an application to have a specific tag value, don't specify a value for this parameter.
*/
Value: TagValue;
}
export type TagKey = string;
export type TagKeyList = TagKey[];
export type TagList = Tag[];
export interface TagResourceRequest {
/**
* The Amazon Resource Name (ARN) of the application that you want to add one or more tags to.
*/
ResourceARN: AmazonResourceName;
/**
* A list of tags that to add to the application. A tag consists of a required tag key (Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
*/
Tags: TagList;
}
export interface TagResourceResponse {
}
export type TagValue = string;
export type Tier = "DEFAULT"|"DOT_NET_CORE"|"DOT_NET_WORKER"|"DOT_NET_WEB"|"SQL_SERVER"|string;
export type Title = string;
export type Unit = string;
export interface UntagResourceRequest {
/**
* The Amazon Resource Name (ARN) of the application that you want to remove one or more tags from.
*/
ResourceARN: AmazonResourceName;
/**
* The tags (tag keys) that you want to remove from the resource. When you specify a tag key, the action removes both that key and its associated tag value. To remove more than one tag from the application, append the TagKeys parameter and argument for each additional tag to remove, separated by an ampersand.
*/
TagKeys: TagKeyList;
}
export interface UntagResourceResponse {
}
export interface UpdateApplicationRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* When set to true, creates opsItems for any problems detected on an application.
*/
OpsCenterEnabled?: OpsCenterEnabled;
/**
* Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.
*/
CWEMonitorEnabled?: CWEMonitorEnabled;
/**
* The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
*/
OpsItemSNSTopicArn?: OpsItemSNSTopicArn;
/**
* Disassociates the SNS topic from the opsItem created for detected problems.
*/
RemoveSNSTopic?: RemoveSNSTopic;
}
export interface UpdateApplicationResponse {
/**
* Information about the application.
*/
ApplicationInfo?: ApplicationInfo;
}
export interface UpdateComponentConfigurationRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The name of the component.
*/
ComponentName: ComponentName;
/**
* Indicates whether the application component is monitored.
*/
Monitor?: Monitor;
/**
* The tier of the application component. Supported tiers include DOT_NET_WORKER, DOT_NET_WEB, DOT_NET_CORE, SQL_SERVER, and DEFAULT.
*/
Tier?: Tier;
/**
* 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. For the complete format of the component configuration file, see Component Configuration.
*/
ComponentConfiguration?: ComponentConfiguration;
}
export interface UpdateComponentConfigurationResponse {
}
export interface UpdateComponentRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The name of the component.
*/
ComponentName: ComponentName;
/**
* The new name of the component.
*/
NewComponentName?: NewComponentName;
/**
* The list of resource ARNs that belong to the component.
*/
ResourceList?: ResourceList;
}
export interface UpdateComponentResponse {
}
export interface UpdateLogPatternRequest {
/**
* The name of the resource group.
*/
ResourceGroupName: ResourceGroupName;
/**
* The name of the log pattern set.
*/
PatternSetName: LogPatternSetName;
/**
* The name of the log pattern.
*/
PatternName: LogPatternName;
/**
* The log pattern.
*/
Pattern?: LogPatternRegex;
/**
* Rank of the log pattern.
*/
Rank?: LogPatternRank;
}
export interface UpdateLogPatternResponse {
/**
* The name of the resource group.
*/
ResourceGroupName?: ResourceGroupName;
/**
* The successfully created log pattern.
*/
LogPattern?: LogPattern;
}
export type Value = number;
export type XRayErrorPercent = number;
export type XRayFaultPercent = number;
export type XRayNodeName = string;
export type XRayNodeType = string;
export type XRayRequestAverageLatency = number;
export type XRayRequestCount = number;
export type XRayThrottlePercent = number;
/**
* 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.
*/
export type apiVersion = "2018-11-25"|"latest"|string;
export interface ClientApiVersions {
/**
* 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.
*/
apiVersion?: apiVersion;
}
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
/**
* Contains interfaces for use with the ApplicationInsights client.
*/
export import Types = ApplicationInsights;
}
export = ApplicationInsights;