tencentcloud-sdk-nodejs-intl-en 3.0.1280 → 3.0.1282

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,26 +17,24 @@
17
17
  const AbstractModel = require("../../common/abstract_model");
18
18
 
19
19
  /**
20
- * Span log section.
21
-
22
-
20
+ * DescribeApmAssociation response structure.
23
21
  * @class
24
22
  */
25
- class SpanLog extends AbstractModel {
23
+ class DescribeApmAssociationResponse extends AbstractModel {
26
24
  constructor(){
27
25
  super();
28
26
 
29
27
  /**
30
- * Log timestamp.
31
- * @type {number || null}
28
+ * Associated product instance ID.
29
+ * @type {ApmAssociation || null}
32
30
  */
33
- this.Timestamp = null;
31
+ this.ApmAssociation = null;
34
32
 
35
33
  /**
36
- * Tag.
37
- * @type {Array.<SpanTag> || null}
34
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
35
+ * @type {string || null}
38
36
  */
39
- this.Fields = null;
37
+ this.RequestId = null;
40
38
 
41
39
  }
42
40
 
@@ -47,16 +45,13 @@ class SpanLog extends AbstractModel {
47
45
  if (!params) {
48
46
  return;
49
47
  }
50
- this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
51
48
 
52
- if (params.Fields) {
53
- this.Fields = new Array();
54
- for (let z in params.Fields) {
55
- let obj = new SpanTag();
56
- obj.deserialize(params.Fields[z]);
57
- this.Fields.push(obj);
58
- }
49
+ if (params.ApmAssociation) {
50
+ let obj = new ApmAssociation();
51
+ obj.deserialize(params.ApmAssociation)
52
+ this.ApmAssociation = obj;
59
53
  }
54
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
60
55
 
61
56
  }
62
57
  }
@@ -213,6 +208,114 @@ class ModifyApmInstanceRequest extends AbstractModel {
213
208
  */
214
209
  this.IsInstrumentationVulnerabilityScan = null;
215
210
 
211
+ /**
212
+ * Whether to enable detection of the remote command attack.
213
+ * @type {number || null}
214
+ */
215
+ this.IsRemoteCommandExecutionAnalysis = null;
216
+
217
+ /**
218
+ * Whether to enable detection of Java webshell.
219
+ * @type {number || null}
220
+ */
221
+ this.IsMemoryHijackingAnalysis = null;
222
+
223
+ /**
224
+ * CLS index type. (0 = full-text index; 1 = key-value index).
225
+ * @type {number || null}
226
+ */
227
+ this.LogIndexType = null;
228
+
229
+ /**
230
+ * Index key of traceId. It is valid when the CLS index type is key-value index.
231
+ * @type {string || null}
232
+ */
233
+ this.LogTraceIdKey = null;
234
+
235
+ /**
236
+ * Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.)
237
+ * @type {number || null}
238
+ */
239
+ this.IsDeleteAnyFileAnalysis = null;
240
+
241
+ /**
242
+ * Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.)
243
+ * @type {number || null}
244
+ */
245
+ this.IsReadAnyFileAnalysis = null;
246
+
247
+ /**
248
+ * Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.)
249
+ * @type {number || null}
250
+ */
251
+ this.IsUploadAnyFileAnalysis = null;
252
+
253
+ /**
254
+ * Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.)
255
+ * @type {number || null}
256
+ */
257
+ this.IsIncludeAnyFileAnalysis = null;
258
+
259
+ /**
260
+ * Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
261
+ * @type {number || null}
262
+ */
263
+ this.IsDirectoryTraversalAnalysis = null;
264
+
265
+ /**
266
+ * Whether to enable template engine injection detection. (0: disabled; 1: enabled.)
267
+ * @type {number || null}
268
+ */
269
+ this.IsTemplateEngineInjectionAnalysis = null;
270
+
271
+ /**
272
+ * Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.)
273
+ * @type {number || null}
274
+ */
275
+ this.IsScriptEngineInjectionAnalysis = null;
276
+
277
+ /**
278
+ * Whether to enable expression injection detection. (0 - disabled; 1 - enabled.)
279
+ * @type {number || null}
280
+ */
281
+ this.IsExpressionInjectionAnalysis = null;
282
+
283
+ /**
284
+ * Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.)
285
+ * @type {number || null}
286
+ */
287
+ this.IsJNDIInjectionAnalysis = null;
288
+
289
+ /**
290
+ * Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
291
+ * @type {number || null}
292
+ */
293
+ this.IsJNIInjectionAnalysis = null;
294
+
295
+ /**
296
+ * Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
297
+ * @type {number || null}
298
+ */
299
+ this.IsWebshellBackdoorAnalysis = null;
300
+
301
+ /**
302
+ * Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
303
+ * @type {number || null}
304
+ */
305
+ this.IsDeserializationAnalysis = null;
306
+
307
+ /**
308
+ * Convergence threshold for URL long segments.
309
+ * @type {number || null}
310
+ */
311
+ this.UrlLongSegmentThreshold = null;
312
+
313
+ /**
314
+ * Convergence threshold for URL numerical segments.
315
+ * @type {number || null}
316
+ */
317
+ this.UrlNumberSegmentThreshold = null;
318
+
216
319
  }
217
320
 
218
321
  /**
@@ -254,6 +357,24 @@ class ModifyApmInstanceRequest extends AbstractModel {
254
357
  this.DashboardTopicID = 'DashboardTopicID' in params ? params.DashboardTopicID : null;
255
358
  this.IsSqlInjectionAnalysis = 'IsSqlInjectionAnalysis' in params ? params.IsSqlInjectionAnalysis : null;
256
359
  this.IsInstrumentationVulnerabilityScan = 'IsInstrumentationVulnerabilityScan' in params ? params.IsInstrumentationVulnerabilityScan : null;
360
+ this.IsRemoteCommandExecutionAnalysis = 'IsRemoteCommandExecutionAnalysis' in params ? params.IsRemoteCommandExecutionAnalysis : null;
361
+ this.IsMemoryHijackingAnalysis = 'IsMemoryHijackingAnalysis' in params ? params.IsMemoryHijackingAnalysis : null;
362
+ this.LogIndexType = 'LogIndexType' in params ? params.LogIndexType : null;
363
+ this.LogTraceIdKey = 'LogTraceIdKey' in params ? params.LogTraceIdKey : null;
364
+ this.IsDeleteAnyFileAnalysis = 'IsDeleteAnyFileAnalysis' in params ? params.IsDeleteAnyFileAnalysis : null;
365
+ this.IsReadAnyFileAnalysis = 'IsReadAnyFileAnalysis' in params ? params.IsReadAnyFileAnalysis : null;
366
+ this.IsUploadAnyFileAnalysis = 'IsUploadAnyFileAnalysis' in params ? params.IsUploadAnyFileAnalysis : null;
367
+ this.IsIncludeAnyFileAnalysis = 'IsIncludeAnyFileAnalysis' in params ? params.IsIncludeAnyFileAnalysis : null;
368
+ this.IsDirectoryTraversalAnalysis = 'IsDirectoryTraversalAnalysis' in params ? params.IsDirectoryTraversalAnalysis : null;
369
+ this.IsTemplateEngineInjectionAnalysis = 'IsTemplateEngineInjectionAnalysis' in params ? params.IsTemplateEngineInjectionAnalysis : null;
370
+ this.IsScriptEngineInjectionAnalysis = 'IsScriptEngineInjectionAnalysis' in params ? params.IsScriptEngineInjectionAnalysis : null;
371
+ this.IsExpressionInjectionAnalysis = 'IsExpressionInjectionAnalysis' in params ? params.IsExpressionInjectionAnalysis : null;
372
+ this.IsJNDIInjectionAnalysis = 'IsJNDIInjectionAnalysis' in params ? params.IsJNDIInjectionAnalysis : null;
373
+ this.IsJNIInjectionAnalysis = 'IsJNIInjectionAnalysis' in params ? params.IsJNIInjectionAnalysis : null;
374
+ this.IsWebshellBackdoorAnalysis = 'IsWebshellBackdoorAnalysis' in params ? params.IsWebshellBackdoorAnalysis : null;
375
+ this.IsDeserializationAnalysis = 'IsDeserializationAnalysis' in params ? params.IsDeserializationAnalysis : null;
376
+ this.UrlLongSegmentThreshold = 'UrlLongSegmentThreshold' in params ? params.UrlLongSegmentThreshold : null;
377
+ this.UrlNumberSegmentThreshold = 'UrlNumberSegmentThreshold' in params ? params.UrlNumberSegmentThreshold : null;
257
378
 
258
379
  }
259
380
  }
@@ -494,6 +615,120 @@ Account in arrears.
494
615
  */
495
616
  this.StopReason = null;
496
617
 
618
+ /**
619
+ * Whether to enable detection of remote command execution (0 = disabled; 1 = enabled).
620
+ * @type {number || null}
621
+ */
622
+ this.IsRemoteCommandExecutionAnalysis = null;
623
+
624
+ /**
625
+ * Whether to enable detection of Java webshell execution (0 = disabled; 1 = enabled).
626
+ * @type {number || null}
627
+ */
628
+ this.IsMemoryHijackingAnalysis = null;
629
+
630
+ /**
631
+ * CLS index type. (0 = full-text index; 1 = key-value index).
632
+ * @type {number || null}
633
+ */
634
+ this.LogIndexType = null;
635
+
636
+ /**
637
+ * Index key of traceId. It is valid when the CLS index type is key-value index.
638
+ * @type {string || null}
639
+ */
640
+ this.LogTraceIdKey = null;
641
+
642
+ /**
643
+ * Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.)
644
+ * @type {number || null}
645
+ */
646
+ this.IsDeleteAnyFileAnalysis = null;
647
+
648
+ /**
649
+ * Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.)
650
+ * @type {number || null}
651
+ */
652
+ this.IsReadAnyFileAnalysis = null;
653
+
654
+ /**
655
+ * Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.)
656
+ * @type {number || null}
657
+ */
658
+ this.IsUploadAnyFileAnalysis = null;
659
+
660
+ /**
661
+ * Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.)
662
+ * @type {number || null}
663
+ */
664
+ this.IsIncludeAnyFileAnalysis = null;
665
+
666
+ /**
667
+ * Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
668
+ * @type {number || null}
669
+ */
670
+ this.IsDirectoryTraversalAnalysis = null;
671
+
672
+ /**
673
+ * Whether to enable template engine injection detection. (0: disabled; 1: enabled.)
674
+ * @type {number || null}
675
+ */
676
+ this.IsTemplateEngineInjectionAnalysis = null;
677
+
678
+ /**
679
+ * Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.)
680
+ * @type {number || null}
681
+ */
682
+ this.IsScriptEngineInjectionAnalysis = null;
683
+
684
+ /**
685
+ * Whether to enable expression injection detection. (0 - disabled; 1 - enabled.)
686
+ * @type {number || null}
687
+ */
688
+ this.IsExpressionInjectionAnalysis = null;
689
+
690
+ /**
691
+ * Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.)
692
+ * @type {number || null}
693
+ */
694
+ this.IsJNDIInjectionAnalysis = null;
695
+
696
+ /**
697
+ * Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
698
+ * @type {number || null}
699
+ */
700
+ this.IsJNIInjectionAnalysis = null;
701
+
702
+ /**
703
+ * Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
704
+ * @type {number || null}
705
+ */
706
+ this.IsWebshellBackdoorAnalysis = null;
707
+
708
+ /**
709
+ * Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
710
+ * @type {number || null}
711
+ */
712
+ this.IsDeserializationAnalysis = null;
713
+
714
+ /**
715
+ * Business system authentication token.
716
+ * @type {string || null}
717
+ */
718
+ this.Token = null;
719
+
720
+ /**
721
+ * Convergence threshold for URL long segments.
722
+ * @type {number || null}
723
+ */
724
+ this.UrlLongSegmentThreshold = null;
725
+
726
+ /**
727
+ * Convergence threshold for URL numerical segments.
728
+ * @type {number || null}
729
+ */
730
+ this.UrlNumberSegmentThreshold = null;
731
+
497
732
  }
498
733
 
499
734
  /**
@@ -548,6 +783,25 @@ Account in arrears.
548
783
  this.IsInstrumentationVulnerabilityScan = 'IsInstrumentationVulnerabilityScan' in params ? params.IsInstrumentationVulnerabilityScan : null;
549
784
  this.IsSqlInjectionAnalysis = 'IsSqlInjectionAnalysis' in params ? params.IsSqlInjectionAnalysis : null;
550
785
  this.StopReason = 'StopReason' in params ? params.StopReason : null;
786
+ this.IsRemoteCommandExecutionAnalysis = 'IsRemoteCommandExecutionAnalysis' in params ? params.IsRemoteCommandExecutionAnalysis : null;
787
+ this.IsMemoryHijackingAnalysis = 'IsMemoryHijackingAnalysis' in params ? params.IsMemoryHijackingAnalysis : null;
788
+ this.LogIndexType = 'LogIndexType' in params ? params.LogIndexType : null;
789
+ this.LogTraceIdKey = 'LogTraceIdKey' in params ? params.LogTraceIdKey : null;
790
+ this.IsDeleteAnyFileAnalysis = 'IsDeleteAnyFileAnalysis' in params ? params.IsDeleteAnyFileAnalysis : null;
791
+ this.IsReadAnyFileAnalysis = 'IsReadAnyFileAnalysis' in params ? params.IsReadAnyFileAnalysis : null;
792
+ this.IsUploadAnyFileAnalysis = 'IsUploadAnyFileAnalysis' in params ? params.IsUploadAnyFileAnalysis : null;
793
+ this.IsIncludeAnyFileAnalysis = 'IsIncludeAnyFileAnalysis' in params ? params.IsIncludeAnyFileAnalysis : null;
794
+ this.IsDirectoryTraversalAnalysis = 'IsDirectoryTraversalAnalysis' in params ? params.IsDirectoryTraversalAnalysis : null;
795
+ this.IsTemplateEngineInjectionAnalysis = 'IsTemplateEngineInjectionAnalysis' in params ? params.IsTemplateEngineInjectionAnalysis : null;
796
+ this.IsScriptEngineInjectionAnalysis = 'IsScriptEngineInjectionAnalysis' in params ? params.IsScriptEngineInjectionAnalysis : null;
797
+ this.IsExpressionInjectionAnalysis = 'IsExpressionInjectionAnalysis' in params ? params.IsExpressionInjectionAnalysis : null;
798
+ this.IsJNDIInjectionAnalysis = 'IsJNDIInjectionAnalysis' in params ? params.IsJNDIInjectionAnalysis : null;
799
+ this.IsJNIInjectionAnalysis = 'IsJNIInjectionAnalysis' in params ? params.IsJNIInjectionAnalysis : null;
800
+ this.IsWebshellBackdoorAnalysis = 'IsWebshellBackdoorAnalysis' in params ? params.IsWebshellBackdoorAnalysis : null;
801
+ this.IsDeserializationAnalysis = 'IsDeserializationAnalysis' in params ? params.IsDeserializationAnalysis : null;
802
+ this.Token = 'Token' in params ? params.Token : null;
803
+ this.UrlLongSegmentThreshold = 'UrlLongSegmentThreshold' in params ? params.UrlLongSegmentThreshold : null;
804
+ this.UrlNumberSegmentThreshold = 'UrlNumberSegmentThreshold' in params ? params.UrlNumberSegmentThreshold : null;
551
805
 
552
806
  }
553
807
  }
@@ -683,73 +937,84 @@ For specific fields, please refer to.
683
937
  }
684
938
 
685
939
  /**
686
- * DescribeServiceOverview response structure.
940
+ * DescribeApmServiceMetric request structure.
687
941
  * @class
688
942
  */
689
- class DescribeServiceOverviewResponse extends AbstractModel {
943
+ class DescribeApmServiceMetricRequest extends AbstractModel {
690
944
  constructor(){
691
945
  super();
692
946
 
693
947
  /**
694
- * Indicator result set.
695
- * @type {Array.<ApmMetricRecord> || null}
948
+ * Business system ID
949
+ * @type {string || null}
696
950
  */
697
- this.Records = null;
951
+ this.InstanceId = null;
698
952
 
699
953
  /**
700
- * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
954
+ * Application name
701
955
  * @type {string || null}
702
956
  */
703
- this.RequestId = null;
957
+ this.ServiceName = null;
704
958
 
705
- }
959
+ /**
960
+ * Application ID
961
+ * @type {string || null}
962
+ */
963
+ this.ServiceID = null;
706
964
 
707
- /**
708
- * @private
709
- */
710
- deserialize(params) {
711
- if (!params) {
712
- return;
713
- }
965
+ /**
966
+ * Start time.
967
+ * @type {number || null}
968
+ */
969
+ this.StartTime = null;
714
970
 
715
- if (params.Records) {
716
- this.Records = new Array();
717
- for (let z in params.Records) {
718
- let obj = new ApmMetricRecord();
719
- obj.deserialize(params.Records[z]);
720
- this.Records.push(obj);
721
- }
722
- }
723
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
971
+ /**
972
+ * End time.
973
+ * @type {number || null}
974
+ */
975
+ this.EndTime = null;
724
976
 
725
- }
726
- }
977
+ /**
978
+ * Order.
979
+ * @type {OrderBy || null}
980
+ */
981
+ this.OrderBy = null;
727
982
 
728
- /**
729
- * Querying.
730
- * @class
731
- */
732
- class QueryMetricItem extends AbstractModel {
733
- constructor(){
734
- super();
983
+ /**
984
+ * Whether to use the demo mode.
985
+ * @type {boolean || null}
986
+ */
987
+ this.Demo = null;
735
988
 
736
989
  /**
737
- * Metric name.
990
+ * Application status filter criteria. valid values: health, warning, error. if multiple statuses are selected, separate them by commas, for example: "warning,error".
738
991
  * @type {string || null}
739
992
  */
740
- this.MetricName = null;
993
+ this.ServiceStatus = null;
741
994
 
742
995
  /**
743
- * Year-Over-Year comparison is now supported for comparebyyesterday (compared to yesterday) and comparebylastweek (compared to last week).
744
- * @type {Array.<string> || null}
996
+ * Tag list
997
+ * @type {Array.<ApmTag> || null}
745
998
  */
746
- this.Compares = null;
999
+ this.Tags = null;
747
1000
 
748
1001
  /**
749
- * Year-On-Year, deprecated, not recommended for use.
750
- * @type {string || null}
1002
+ * Page number.
1003
+ * @type {number || null}
751
1004
  */
752
- this.Compare = null;
1005
+ this.Page = null;
1006
+
1007
+ /**
1008
+ * Page size.
1009
+ * @type {number || null}
1010
+ */
1011
+ this.PageSize = null;
1012
+
1013
+ /**
1014
+ * Filter criteria.
1015
+ * @type {Array.<Filter> || null}
1016
+ */
1017
+ this.Filters = null;
753
1018
 
754
1019
  }
755
1020
 
@@ -760,27 +1025,191 @@ class QueryMetricItem extends AbstractModel {
760
1025
  if (!params) {
761
1026
  return;
762
1027
  }
763
- this.MetricName = 'MetricName' in params ? params.MetricName : null;
764
- this.Compares = 'Compares' in params ? params.Compares : null;
765
- this.Compare = 'Compare' in params ? params.Compare : null;
766
-
767
- }
768
- }
1028
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1029
+ this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
1030
+ this.ServiceID = 'ServiceID' in params ? params.ServiceID : null;
1031
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
1032
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
1033
+
1034
+ if (params.OrderBy) {
1035
+ let obj = new OrderBy();
1036
+ obj.deserialize(params.OrderBy)
1037
+ this.OrderBy = obj;
1038
+ }
1039
+ this.Demo = 'Demo' in params ? params.Demo : null;
1040
+ this.ServiceStatus = 'ServiceStatus' in params ? params.ServiceStatus : null;
1041
+
1042
+ if (params.Tags) {
1043
+ this.Tags = new Array();
1044
+ for (let z in params.Tags) {
1045
+ let obj = new ApmTag();
1046
+ obj.deserialize(params.Tags[z]);
1047
+ this.Tags.push(obj);
1048
+ }
1049
+ }
1050
+ this.Page = 'Page' in params ? params.Page : null;
1051
+ this.PageSize = 'PageSize' in params ? params.PageSize : null;
1052
+
1053
+ if (params.Filters) {
1054
+ this.Filters = new Array();
1055
+ for (let z in params.Filters) {
1056
+ let obj = new Filter();
1057
+ obj.deserialize(params.Filters[z]);
1058
+ this.Filters.push(obj);
1059
+ }
1060
+ }
1061
+
1062
+ }
1063
+ }
769
1064
 
770
1065
  /**
771
- * TerminateApmInstance request structure.
1066
+ * CreateApmPrometheusRule request structure.
772
1067
  * @class
773
1068
  */
774
- class TerminateApmInstanceRequest extends AbstractModel {
1069
+ class CreateApmPrometheusRuleRequest extends AbstractModel {
775
1070
  constructor(){
776
1071
  super();
777
1072
 
778
1073
  /**
779
- * Business system id.
1074
+ * Metric match rule name.
1075
+ * @type {string || null}
1076
+ */
1077
+ this.Name = null;
1078
+
1079
+ /**
1080
+ * Applications where the rule takes effect. input an empty string for all applications.
1081
+ * @type {string || null}
1082
+ */
1083
+ this.ServiceName = null;
1084
+
1085
+ /**
1086
+ * Match type: 0 - precision match, 1 - prefix match, 2 - suffix match.
1087
+ * @type {number || null}
1088
+ */
1089
+ this.MetricMatchType = null;
1090
+
1091
+ /**
1092
+ * Specifies the rule for customer-defined metric names with cache hit.
1093
+ * @type {string || null}
1094
+ */
1095
+ this.MetricNameRule = null;
1096
+
1097
+ /**
1098
+ * Business system ID
1099
+ * @type {string || null}
1100
+ */
1101
+ this.InstanceId = null;
1102
+
1103
+ }
1104
+
1105
+ /**
1106
+ * @private
1107
+ */
1108
+ deserialize(params) {
1109
+ if (!params) {
1110
+ return;
1111
+ }
1112
+ this.Name = 'Name' in params ? params.Name : null;
1113
+ this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
1114
+ this.MetricMatchType = 'MetricMatchType' in params ? params.MetricMatchType : null;
1115
+ this.MetricNameRule = 'MetricNameRule' in params ? params.MetricNameRule : null;
1116
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1117
+
1118
+ }
1119
+ }
1120
+
1121
+ /**
1122
+ * Querying.
1123
+ * @class
1124
+ */
1125
+ class QueryMetricItem extends AbstractModel {
1126
+ constructor(){
1127
+ super();
1128
+
1129
+ /**
1130
+ * Metric name.
1131
+ * @type {string || null}
1132
+ */
1133
+ this.MetricName = null;
1134
+
1135
+ /**
1136
+ * Year-Over-Year comparison is now supported for comparebyyesterday (compared to yesterday) and comparebylastweek (compared to last week).
1137
+ * @type {Array.<string> || null}
1138
+ */
1139
+ this.Compares = null;
1140
+
1141
+ /**
1142
+ * Year-On-Year, deprecated, not recommended for use.
1143
+ * @type {string || null}
1144
+ */
1145
+ this.Compare = null;
1146
+
1147
+ }
1148
+
1149
+ /**
1150
+ * @private
1151
+ */
1152
+ deserialize(params) {
1153
+ if (!params) {
1154
+ return;
1155
+ }
1156
+ this.MetricName = 'MetricName' in params ? params.MetricName : null;
1157
+ this.Compares = 'Compares' in params ? params.Compares : null;
1158
+ this.Compare = 'Compare' in params ? params.Compare : null;
1159
+
1160
+ }
1161
+ }
1162
+
1163
+ /**
1164
+ * ModifyApmPrometheusRule request structure.
1165
+ * @class
1166
+ */
1167
+ class ModifyApmPrometheusRuleRequest extends AbstractModel {
1168
+ constructor(){
1169
+ super();
1170
+
1171
+ /**
1172
+ * Rule ID
1173
+ * @type {number || null}
1174
+ */
1175
+ this.Id = null;
1176
+
1177
+ /**
1178
+ * Business system ID
780
1179
  * @type {string || null}
781
1180
  */
782
1181
  this.InstanceId = null;
783
1182
 
1183
+ /**
1184
+ * Specifies the rule name to modify.
1185
+ * @type {string || null}
1186
+ */
1187
+ this.Name = null;
1188
+
1189
+ /**
1190
+ * Rule status: 1 (enabled), 2 (disabled), 3 (deleted).
1191
+ * @type {number || null}
1192
+ */
1193
+ this.Status = null;
1194
+
1195
+ /**
1196
+ * Applications where the rule takes effect. input an empty string for all applications. if this is not modified, pass the old rule.
1197
+ * @type {string || null}
1198
+ */
1199
+ this.ServiceName = null;
1200
+
1201
+ /**
1202
+ * Match type: 0 - precision match, 1 - prefix match, 2 - suffix match (if not modified, the old rule must be passed).
1203
+ * @type {number || null}
1204
+ */
1205
+ this.MetricMatchType = null;
1206
+
1207
+ /**
1208
+ * Specifies the rule for customer-defined metric names with cache hit.
1209
+ * @type {string || null}
1210
+ */
1211
+ this.MetricNameRule = null;
1212
+
784
1213
  }
785
1214
 
786
1215
  /**
@@ -790,7 +1219,48 @@ class TerminateApmInstanceRequest extends AbstractModel {
790
1219
  if (!params) {
791
1220
  return;
792
1221
  }
1222
+ this.Id = 'Id' in params ? params.Id : null;
793
1223
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1224
+ this.Name = 'Name' in params ? params.Name : null;
1225
+ this.Status = 'Status' in params ? params.Status : null;
1226
+ this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
1227
+ this.MetricMatchType = 'MetricMatchType' in params ? params.MetricMatchType : null;
1228
+ this.MetricNameRule = 'MetricNameRule' in params ? params.MetricNameRule : null;
1229
+
1230
+ }
1231
+ }
1232
+
1233
+ /**
1234
+ * ModifyGeneralApmApplicationConfig response structure.
1235
+ * @class
1236
+ */
1237
+ class ModifyGeneralApmApplicationConfigResponse extends AbstractModel {
1238
+ constructor(){
1239
+ super();
1240
+
1241
+ /**
1242
+ * Description of the returned value.
1243
+ * @type {string || null}
1244
+ */
1245
+ this.Message = null;
1246
+
1247
+ /**
1248
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1249
+ * @type {string || null}
1250
+ */
1251
+ this.RequestId = null;
1252
+
1253
+ }
1254
+
1255
+ /**
1256
+ * @private
1257
+ */
1258
+ deserialize(params) {
1259
+ if (!params) {
1260
+ return;
1261
+ }
1262
+ this.Message = 'Message' in params ? params.Message : null;
1263
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
794
1264
 
795
1265
  }
796
1266
  }
@@ -838,6 +1308,51 @@ class DescribeApmInstancesResponse extends AbstractModel {
838
1308
  }
839
1309
  }
840
1310
 
1311
+ /**
1312
+ * Related configurations of the probe APIs.
1313
+ * @class
1314
+ */
1315
+ class AgentOperationConfigView extends AbstractModel {
1316
+ constructor(){
1317
+ super();
1318
+
1319
+ /**
1320
+ * Whether allowlist configuration is enabled for the current API.
1321
+ Note: This field may return null, indicating that no valid values can be obtained.
1322
+ * @type {boolean || null}
1323
+ */
1324
+ this.RetentionValid = null;
1325
+
1326
+ /**
1327
+ * Effective when RetentionValid is false. It indicates blocklist configuration in API settings. The APIs specified in the configuration do not support collection.
1328
+ Note: This field may return null, indicating that no valid values can be obtained.
1329
+ * @type {string || null}
1330
+ */
1331
+ this.IgnoreOperation = null;
1332
+
1333
+ /**
1334
+ * Effective when RetentionValid is true. It indicates allowlist configuration in API settings. Only the APIs specified in the configuration support collection.
1335
+ Note: This field may return null, indicating that no valid values can be obtained.
1336
+ * @type {string || null}
1337
+ */
1338
+ this.RetentionOperation = null;
1339
+
1340
+ }
1341
+
1342
+ /**
1343
+ * @private
1344
+ */
1345
+ deserialize(params) {
1346
+ if (!params) {
1347
+ return;
1348
+ }
1349
+ this.RetentionValid = 'RetentionValid' in params ? params.RetentionValid : null;
1350
+ this.IgnoreOperation = 'IgnoreOperation' in params ? params.IgnoreOperation : null;
1351
+ this.RetentionOperation = 'RetentionOperation' in params ? params.RetentionOperation : null;
1352
+
1353
+ }
1354
+ }
1355
+
841
1356
  /**
842
1357
  * Component.
843
1358
  * @class
@@ -909,48 +1424,277 @@ class DescribeTagValuesResponse extends AbstractModel {
909
1424
  }
910
1425
 
911
1426
  /**
912
- * Span object.
1427
+ * DescribeTagValues request structure.
913
1428
  * @class
914
1429
  */
915
- class Span extends AbstractModel {
1430
+ class DescribeTagValuesRequest extends AbstractModel {
916
1431
  constructor(){
917
1432
  super();
918
1433
 
919
1434
  /**
920
- * Trace ID
1435
+ * Dimension name.
921
1436
  * @type {string || null}
922
1437
  */
923
- this.TraceID = null;
1438
+ this.TagKey = null;
924
1439
 
925
1440
  /**
926
- * Log.
927
- * @type {Array.<SpanLog> || null}
1441
+ * Business system id.
1442
+ * @type {string || null}
928
1443
  */
929
- this.Logs = null;
1444
+ this.InstanceId = null;
930
1445
 
931
1446
  /**
932
- * Tag.
933
- * @type {Array.<SpanTag> || null}
1447
+ * Start time (unit: sec).
1448
+ * @type {number || null}
934
1449
  */
935
- this.Tags = null;
1450
+ this.StartTime = null;
936
1451
 
937
1452
  /**
938
- * Submit application service information.
939
- * @type {SpanProcess || null}
1453
+ * End time (unit: seconds).
1454
+ * @type {number || null}
940
1455
  */
941
- this.Process = null;
1456
+ this.EndTime = null;
942
1457
 
943
1458
  /**
944
- * Generated timestamp (ms).
945
- * @type {number || null}
1459
+ * Filter criteria.
1460
+ * @type {Array.<Filter> || null}
946
1461
  */
947
- this.Timestamp = null;
1462
+ this.Filters = null;
948
1463
 
949
1464
  /**
950
- * Span name.
951
- * @type {string || null}
1465
+ * Or filter criteria.
1466
+ * @type {Array.<Filter> || null}
952
1467
  */
953
- this.OperationName = null;
1468
+ this.OrFilters = null;
1469
+
1470
+ /**
1471
+ * Usage type.
1472
+ * @type {string || null}
1473
+ */
1474
+ this.Type = null;
1475
+
1476
+ }
1477
+
1478
+ /**
1479
+ * @private
1480
+ */
1481
+ deserialize(params) {
1482
+ if (!params) {
1483
+ return;
1484
+ }
1485
+ this.TagKey = 'TagKey' in params ? params.TagKey : null;
1486
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1487
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
1488
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
1489
+
1490
+ if (params.Filters) {
1491
+ this.Filters = new Array();
1492
+ for (let z in params.Filters) {
1493
+ let obj = new Filter();
1494
+ obj.deserialize(params.Filters[z]);
1495
+ this.Filters.push(obj);
1496
+ }
1497
+ }
1498
+
1499
+ if (params.OrFilters) {
1500
+ this.OrFilters = new Array();
1501
+ for (let z in params.OrFilters) {
1502
+ let obj = new Filter();
1503
+ obj.deserialize(params.OrFilters[z]);
1504
+ this.OrFilters.push(obj);
1505
+ }
1506
+ }
1507
+ this.Type = 'Type' in params ? params.Type : null;
1508
+
1509
+ }
1510
+ }
1511
+
1512
+ /**
1513
+ * DescribeApmPrometheusRule response structure.
1514
+ * @class
1515
+ */
1516
+ class DescribeApmPrometheusRuleResponse extends AbstractModel {
1517
+ constructor(){
1518
+ super();
1519
+
1520
+ /**
1521
+ * Specifies the metric match rule.
1522
+ * @type {Array.<ApmPrometheusRules> || null}
1523
+ */
1524
+ this.ApmPrometheusRules = null;
1525
+
1526
+ /**
1527
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1528
+ * @type {string || null}
1529
+ */
1530
+ this.RequestId = null;
1531
+
1532
+ }
1533
+
1534
+ /**
1535
+ * @private
1536
+ */
1537
+ deserialize(params) {
1538
+ if (!params) {
1539
+ return;
1540
+ }
1541
+
1542
+ if (params.ApmPrometheusRules) {
1543
+ this.ApmPrometheusRules = new Array();
1544
+ for (let z in params.ApmPrometheusRules) {
1545
+ let obj = new ApmPrometheusRules();
1546
+ obj.deserialize(params.ApmPrometheusRules[z]);
1547
+ this.ApmPrometheusRules.push(obj);
1548
+ }
1549
+ }
1550
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1551
+
1552
+ }
1553
+ }
1554
+
1555
+ /**
1556
+ * Detailed information about applications.
1557
+ * @class
1558
+ */
1559
+ class ServiceDetail extends AbstractModel {
1560
+ constructor(){
1561
+ super();
1562
+
1563
+ /**
1564
+ * Application ID
1565
+ Note: This field may return null, indicating that no valid values can be obtained.
1566
+ * @type {string || null}
1567
+ */
1568
+ this.ServiceID = null;
1569
+
1570
+ /**
1571
+ * Business system ID
1572
+ Note: This field may return null, indicating that no valid values can be obtained.
1573
+ * @type {string || null}
1574
+ */
1575
+ this.InstanceKey = null;
1576
+
1577
+ /**
1578
+ * User appid.
1579
+ Note: This field may return null, indicating that no valid values can be obtained.
1580
+ * @type {number || null}
1581
+ */
1582
+ this.AppID = null;
1583
+
1584
+ /**
1585
+ * Host account UIN
1586
+ Note: This field may return null, indicating that no valid values can be obtained.
1587
+ * @type {string || null}
1588
+ */
1589
+ this.CreateUIN = null;
1590
+
1591
+ /**
1592
+ * Application name
1593
+ Note: This field may return null, indicating that no valid values can be obtained.
1594
+ * @type {string || null}
1595
+ */
1596
+ this.ServiceName = null;
1597
+
1598
+ /**
1599
+ * Application description
1600
+ Note: This field may return null, indicating that no valid values can be obtained.
1601
+ * @type {string || null}
1602
+ */
1603
+ this.ServiceDescription = null;
1604
+
1605
+ /**
1606
+ * Region.
1607
+ Note: This field may return null, indicating that no valid values can be obtained.
1608
+ * @type {string || null}
1609
+ */
1610
+ this.Region = null;
1611
+
1612
+ /**
1613
+ * Tag.
1614
+ Note: This field may return null, indicating that no valid values can be obtained.
1615
+ * @type {Array.<ApmTag> || null}
1616
+ */
1617
+ this.Tags = null;
1618
+
1619
+ /**
1620
+ * Business system name.
1621
+ * @type {string || null}
1622
+ */
1623
+ this.InstanceName = null;
1624
+
1625
+ }
1626
+
1627
+ /**
1628
+ * @private
1629
+ */
1630
+ deserialize(params) {
1631
+ if (!params) {
1632
+ return;
1633
+ }
1634
+ this.ServiceID = 'ServiceID' in params ? params.ServiceID : null;
1635
+ this.InstanceKey = 'InstanceKey' in params ? params.InstanceKey : null;
1636
+ this.AppID = 'AppID' in params ? params.AppID : null;
1637
+ this.CreateUIN = 'CreateUIN' in params ? params.CreateUIN : null;
1638
+ this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
1639
+ this.ServiceDescription = 'ServiceDescription' in params ? params.ServiceDescription : null;
1640
+ this.Region = 'Region' in params ? params.Region : null;
1641
+
1642
+ if (params.Tags) {
1643
+ this.Tags = new Array();
1644
+ for (let z in params.Tags) {
1645
+ let obj = new ApmTag();
1646
+ obj.deserialize(params.Tags[z]);
1647
+ this.Tags.push(obj);
1648
+ }
1649
+ }
1650
+ this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
1651
+
1652
+ }
1653
+ }
1654
+
1655
+ /**
1656
+ * Span object.
1657
+ * @class
1658
+ */
1659
+ class Span extends AbstractModel {
1660
+ constructor(){
1661
+ super();
1662
+
1663
+ /**
1664
+ * Trace ID
1665
+ * @type {string || null}
1666
+ */
1667
+ this.TraceID = null;
1668
+
1669
+ /**
1670
+ * Log.
1671
+ * @type {Array.<SpanLog> || null}
1672
+ */
1673
+ this.Logs = null;
1674
+
1675
+ /**
1676
+ * Tag.
1677
+ * @type {Array.<SpanTag> || null}
1678
+ */
1679
+ this.Tags = null;
1680
+
1681
+ /**
1682
+ * Submit application service information.
1683
+ * @type {SpanProcess || null}
1684
+ */
1685
+ this.Process = null;
1686
+
1687
+ /**
1688
+ * Generated timestamp (ms).
1689
+ * @type {number || null}
1690
+ */
1691
+ this.Timestamp = null;
1692
+
1693
+ /**
1694
+ * Span name.
1695
+ * @type {string || null}
1696
+ */
1697
+ this.OperationName = null;
954
1698
 
955
1699
  /**
956
1700
  * Association relationship.
@@ -1106,30 +1850,18 @@ class ApmAgentInfo extends AbstractModel {
1106
1850
  }
1107
1851
 
1108
1852
  /**
1109
- * DescribeGeneralSpanList response structure.
1853
+ * TerminateApmInstance request structure.
1110
1854
  * @class
1111
1855
  */
1112
- class DescribeGeneralSpanListResponse extends AbstractModel {
1856
+ class TerminateApmInstanceRequest extends AbstractModel {
1113
1857
  constructor(){
1114
1858
  super();
1115
1859
 
1116
1860
  /**
1117
- * Total number.
1118
- * @type {number || null}
1119
- */
1120
- this.TotalCount = null;
1121
-
1122
- /**
1123
- * Span pagination list.
1124
- * @type {Array.<Span> || null}
1125
- */
1126
- this.Spans = null;
1127
-
1128
- /**
1129
- * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1861
+ * Business system id.
1130
1862
  * @type {string || null}
1131
1863
  */
1132
- this.RequestId = null;
1864
+ this.InstanceId = null;
1133
1865
 
1134
1866
  }
1135
1867
 
@@ -1140,52 +1872,218 @@ class DescribeGeneralSpanListResponse extends AbstractModel {
1140
1872
  if (!params) {
1141
1873
  return;
1142
1874
  }
1143
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
1144
-
1145
- if (params.Spans) {
1146
- this.Spans = new Array();
1147
- for (let z in params.Spans) {
1148
- let obj = new Span();
1149
- obj.deserialize(params.Spans[z]);
1150
- this.Spans.push(obj);
1151
- }
1152
- }
1153
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1875
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1154
1876
 
1155
1877
  }
1156
1878
  }
1157
1879
 
1158
1880
  /**
1159
- * Metric list cell.
1881
+ * Application-Related configuration list items.
1160
1882
  * @class
1161
1883
  */
1162
- class ApmMetricRecord extends AbstractModel {
1884
+ class ApmApplicationConfigView extends AbstractModel {
1163
1885
  constructor(){
1164
1886
  super();
1165
1887
 
1166
1888
  /**
1167
- * Field array, used for the query result of indicators.
1168
- * @type {Array.<ApmField> || null}
1889
+ * Business system id.
1890
+ * @type {string || null}
1169
1891
  */
1170
- this.Fields = null;
1892
+ this.InstanceKey = null;
1171
1893
 
1172
1894
  /**
1173
- * Tag array, used to distinguish the objects of groupby.
1174
- * @type {Array.<ApmTag> || null}
1895
+ * Application name .
1896
+ * @type {string || null}
1175
1897
  */
1176
- this.Tags = null;
1177
-
1178
- }
1898
+ this.ServiceName = null;
1179
1899
 
1180
- /**
1181
- * @private
1182
- */
1183
- deserialize(params) {
1184
- if (!params) {
1185
- return;
1186
- }
1900
+ /**
1901
+ * API filtering.
1902
+ * @type {string || null}
1903
+ */
1904
+ this.OperationNameFilter = null;
1187
1905
 
1188
- if (params.Fields) {
1906
+ /**
1907
+ * Error type filtering.
1908
+ * @type {string || null}
1909
+ */
1910
+ this.ExceptionFilter = null;
1911
+
1912
+ /**
1913
+ * HTTP status code filtering.
1914
+ * @type {string || null}
1915
+ */
1916
+ this.ErrorCodeFilter = null;
1917
+
1918
+ /**
1919
+ * Application diagnosis switch (deprecated).
1920
+ * @type {boolean || null}
1921
+ */
1922
+ this.EventEnable = null;
1923
+
1924
+ /**
1925
+ * URL convergence switch. 0: off; 1: on.
1926
+ * @type {number || null}
1927
+ */
1928
+ this.UrlConvergenceSwitch = null;
1929
+
1930
+ /**
1931
+ * URL convergence threshold.
1932
+ * @type {number || null}
1933
+ */
1934
+ this.UrlConvergenceThreshold = null;
1935
+
1936
+ /**
1937
+ * URL convergence rule in the form of a regular expression.
1938
+ * @type {string || null}
1939
+ */
1940
+ this.UrlConvergence = null;
1941
+
1942
+ /**
1943
+ * URL exclusion rule in the form of a regular expression.
1944
+ * @type {string || null}
1945
+ */
1946
+ this.UrlExclude = null;
1947
+
1948
+ /**
1949
+ * Log feature switch. 0: off; 1: on.
1950
+ * @type {number || null}
1951
+ */
1952
+ this.IsRelatedLog = null;
1953
+
1954
+ /**
1955
+ * Log source.
1956
+ * @type {string || null}
1957
+ */
1958
+ this.LogSource = null;
1959
+
1960
+ /**
1961
+ * Log set.
1962
+ * @type {string || null}
1963
+ */
1964
+ this.LogSet = null;
1965
+
1966
+ /**
1967
+ * Log topic.
1968
+ * @type {string || null}
1969
+ */
1970
+ this.LogTopicID = null;
1971
+
1972
+ /**
1973
+ * Method stack snapshot switch: true to enable, false to disable.
1974
+ * @type {boolean || null}
1975
+ */
1976
+ this.SnapshotEnable = null;
1977
+
1978
+ /**
1979
+ * Slow call listening trigger threshold.
1980
+ * @type {number || null}
1981
+ */
1982
+ this.SnapshotTimeout = null;
1983
+
1984
+ /**
1985
+ * Probe master switch.
1986
+ * @type {boolean || null}
1987
+ */
1988
+ this.AgentEnable = null;
1989
+
1990
+ /**
1991
+ * Component list switch (deprecated).
1992
+ * @type {Array.<Instrument> || null}
1993
+ */
1994
+ this.InstrumentList = null;
1995
+
1996
+ /**
1997
+ * Link compression switch (deprecated).
1998
+ * @type {boolean || null}
1999
+ */
2000
+ this.TraceSquash = null;
2001
+
2002
+ /**
2003
+ * Specifies the memory threshold for probe fusing.
2004
+ * @type {number || null}
2005
+ */
2006
+ this.DisableMemoryUsed = null;
2007
+
2008
+ /**
2009
+ * Specifies the CPU threshold for probe fusing.
2010
+ * @type {number || null}
2011
+ */
2012
+ this.DisableCpuUsed = null;
2013
+
2014
+ }
2015
+
2016
+ /**
2017
+ * @private
2018
+ */
2019
+ deserialize(params) {
2020
+ if (!params) {
2021
+ return;
2022
+ }
2023
+ this.InstanceKey = 'InstanceKey' in params ? params.InstanceKey : null;
2024
+ this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
2025
+ this.OperationNameFilter = 'OperationNameFilter' in params ? params.OperationNameFilter : null;
2026
+ this.ExceptionFilter = 'ExceptionFilter' in params ? params.ExceptionFilter : null;
2027
+ this.ErrorCodeFilter = 'ErrorCodeFilter' in params ? params.ErrorCodeFilter : null;
2028
+ this.EventEnable = 'EventEnable' in params ? params.EventEnable : null;
2029
+ this.UrlConvergenceSwitch = 'UrlConvergenceSwitch' in params ? params.UrlConvergenceSwitch : null;
2030
+ this.UrlConvergenceThreshold = 'UrlConvergenceThreshold' in params ? params.UrlConvergenceThreshold : null;
2031
+ this.UrlConvergence = 'UrlConvergence' in params ? params.UrlConvergence : null;
2032
+ this.UrlExclude = 'UrlExclude' in params ? params.UrlExclude : null;
2033
+ this.IsRelatedLog = 'IsRelatedLog' in params ? params.IsRelatedLog : null;
2034
+ this.LogSource = 'LogSource' in params ? params.LogSource : null;
2035
+ this.LogSet = 'LogSet' in params ? params.LogSet : null;
2036
+ this.LogTopicID = 'LogTopicID' in params ? params.LogTopicID : null;
2037
+ this.SnapshotEnable = 'SnapshotEnable' in params ? params.SnapshotEnable : null;
2038
+ this.SnapshotTimeout = 'SnapshotTimeout' in params ? params.SnapshotTimeout : null;
2039
+ this.AgentEnable = 'AgentEnable' in params ? params.AgentEnable : null;
2040
+
2041
+ if (params.InstrumentList) {
2042
+ this.InstrumentList = new Array();
2043
+ for (let z in params.InstrumentList) {
2044
+ let obj = new Instrument();
2045
+ obj.deserialize(params.InstrumentList[z]);
2046
+ this.InstrumentList.push(obj);
2047
+ }
2048
+ }
2049
+ this.TraceSquash = 'TraceSquash' in params ? params.TraceSquash : null;
2050
+ this.DisableMemoryUsed = 'DisableMemoryUsed' in params ? params.DisableMemoryUsed : null;
2051
+ this.DisableCpuUsed = 'DisableCpuUsed' in params ? params.DisableCpuUsed : null;
2052
+
2053
+ }
2054
+ }
2055
+
2056
+ /**
2057
+ * Metric list cell.
2058
+ * @class
2059
+ */
2060
+ class ApmMetricRecord extends AbstractModel {
2061
+ constructor(){
2062
+ super();
2063
+
2064
+ /**
2065
+ * Field array, used for the query result of indicators.
2066
+ * @type {Array.<ApmField> || null}
2067
+ */
2068
+ this.Fields = null;
2069
+
2070
+ /**
2071
+ * Tag array, used to distinguish the objects of groupby.
2072
+ * @type {Array.<ApmTag> || null}
2073
+ */
2074
+ this.Tags = null;
2075
+
2076
+ }
2077
+
2078
+ /**
2079
+ * @private
2080
+ */
2081
+ deserialize(params) {
2082
+ if (!params) {
2083
+ return;
2084
+ }
2085
+
2086
+ if (params.Fields) {
1189
2087
  this.Fields = new Array();
1190
2088
  for (let z in params.Fields) {
1191
2089
  let obj = new ApmField();
@@ -1226,12 +2124,6 @@ class DescribeServiceOverviewRequest extends AbstractModel {
1226
2124
  */
1227
2125
  this.InstanceId = null;
1228
2126
 
1229
- /**
1230
- * Filter criteria.
1231
- * @type {Array.<Filter> || null}
1232
- */
1233
- this.Filters = null;
1234
-
1235
2127
  /**
1236
2128
  * Aggregation dimension.
1237
2129
  * @type {Array.<string> || null}
@@ -1250,6 +2142,12 @@ class DescribeServiceOverviewRequest extends AbstractModel {
1250
2142
  */
1251
2143
  this.EndTime = null;
1252
2144
 
2145
+ /**
2146
+ * Filter criteria.
2147
+ * @type {Array.<Filter> || null}
2148
+ */
2149
+ this.Filters = null;
2150
+
1253
2151
  /**
1254
2152
  * Sorting method
1255
2153
  .
@@ -1291,6 +2189,9 @@ Value: fill in.
1291
2189
  }
1292
2190
  }
1293
2191
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
2192
+ this.GroupBy = 'GroupBy' in params ? params.GroupBy : null;
2193
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
2194
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
1294
2195
 
1295
2196
  if (params.Filters) {
1296
2197
  this.Filters = new Array();
@@ -1300,9 +2201,6 @@ Value: fill in.
1300
2201
  this.Filters.push(obj);
1301
2202
  }
1302
2203
  }
1303
- this.GroupBy = 'GroupBy' in params ? params.GroupBy : null;
1304
- this.StartTime = 'StartTime' in params ? params.StartTime : null;
1305
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
1306
2204
 
1307
2205
  if (params.OrderBy) {
1308
2206
  let obj = new OrderBy();
@@ -1315,6 +2213,50 @@ Value: fill in.
1315
2213
  }
1316
2214
  }
1317
2215
 
2216
+ /**
2217
+ * DescribeApmSampleConfig response structure.
2218
+ * @class
2219
+ */
2220
+ class DescribeApmSampleConfigResponse extends AbstractModel {
2221
+ constructor(){
2222
+ super();
2223
+
2224
+ /**
2225
+ * Sampling configuration list
2226
+ Note: This field may return null, indicating that no valid values can be obtained.
2227
+ * @type {Array.<ApmSampleConfig> || null}
2228
+ */
2229
+ this.ApmSampleConfigs = null;
2230
+
2231
+ /**
2232
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2233
+ * @type {string || null}
2234
+ */
2235
+ this.RequestId = null;
2236
+
2237
+ }
2238
+
2239
+ /**
2240
+ * @private
2241
+ */
2242
+ deserialize(params) {
2243
+ if (!params) {
2244
+ return;
2245
+ }
2246
+
2247
+ if (params.ApmSampleConfigs) {
2248
+ this.ApmSampleConfigs = new Array();
2249
+ for (let z in params.ApmSampleConfigs) {
2250
+ let obj = new ApmSampleConfig();
2251
+ obj.deserialize(params.ApmSampleConfigs[z]);
2252
+ this.ApmSampleConfigs.push(obj);
2253
+ }
2254
+ }
2255
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2256
+
2257
+ }
2258
+ }
2259
+
1318
2260
  /**
1319
2261
  * DescribeApmAgent response structure.
1320
2262
  * @class
@@ -1356,54 +2298,54 @@ class DescribeApmAgentResponse extends AbstractModel {
1356
2298
  }
1357
2299
 
1358
2300
  /**
1359
- * DescribeTagValues request structure.
2301
+ * CreateApmSampleConfig request structure.
1360
2302
  * @class
1361
2303
  */
1362
- class DescribeTagValuesRequest extends AbstractModel {
2304
+ class CreateApmSampleConfigRequest extends AbstractModel {
1363
2305
  constructor(){
1364
2306
  super();
1365
2307
 
1366
2308
  /**
1367
- * Dimension name.
1368
- * @type {string || null}
1369
- */
1370
- this.TagKey = null;
1371
-
1372
- /**
1373
- * Business system id.
2309
+ * Business system ID
1374
2310
  * @type {string || null}
1375
2311
  */
1376
2312
  this.InstanceId = null;
1377
2313
 
1378
2314
  /**
1379
- * Filter criteria.
1380
- * @type {Array.<Filter> || null}
2315
+ * Sampling rate.
2316
+ * @type {number || null}
1381
2317
  */
1382
- this.Filters = null;
2318
+ this.SampleRate = null;
1383
2319
 
1384
2320
  /**
1385
- * Start time (unit: sec).
1386
- * @type {number || null}
2321
+ * Application name
2322
+ * @type {string || null}
1387
2323
  */
1388
- this.StartTime = null;
2324
+ this.ServiceName = null;
1389
2325
 
1390
2326
  /**
1391
- * End time (unit: seconds).
1392
- * @type {number || null}
2327
+ * Sampling rule name.
2328
+ * @type {string || null}
1393
2329
  */
1394
- this.EndTime = null;
2330
+ this.SampleName = null;
1395
2331
 
1396
2332
  /**
1397
- * Or filter criteria.
1398
- * @type {Array.<Filter> || null}
2333
+ * Sampling tags
2334
+ * @type {Array.<APMKVItem> || null}
1399
2335
  */
1400
- this.OrFilters = null;
2336
+ this.Tags = null;
1401
2337
 
1402
2338
  /**
1403
- * Usage type.
2339
+ * API name.
1404
2340
  * @type {string || null}
1405
2341
  */
1406
- this.Type = null;
2342
+ this.OperationName = null;
2343
+
2344
+ /**
2345
+ * 0: exact match (default); 1: prefix match; 2: suffix match.
2346
+ * @type {number || null}
2347
+ */
2348
+ this.OperationType = null;
1407
2349
 
1408
2350
  }
1409
2351
 
@@ -1414,78 +2356,109 @@ class DescribeTagValuesRequest extends AbstractModel {
1414
2356
  if (!params) {
1415
2357
  return;
1416
2358
  }
1417
- this.TagKey = 'TagKey' in params ? params.TagKey : null;
1418
2359
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
2360
+ this.SampleRate = 'SampleRate' in params ? params.SampleRate : null;
2361
+ this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
2362
+ this.SampleName = 'SampleName' in params ? params.SampleName : null;
1419
2363
 
1420
- if (params.Filters) {
1421
- this.Filters = new Array();
1422
- for (let z in params.Filters) {
1423
- let obj = new Filter();
1424
- obj.deserialize(params.Filters[z]);
1425
- this.Filters.push(obj);
1426
- }
1427
- }
1428
- this.StartTime = 'StartTime' in params ? params.StartTime : null;
1429
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
1430
-
1431
- if (params.OrFilters) {
1432
- this.OrFilters = new Array();
1433
- for (let z in params.OrFilters) {
1434
- let obj = new Filter();
1435
- obj.deserialize(params.OrFilters[z]);
1436
- this.OrFilters.push(obj);
2364
+ if (params.Tags) {
2365
+ this.Tags = new Array();
2366
+ for (let z in params.Tags) {
2367
+ let obj = new APMKVItem();
2368
+ obj.deserialize(params.Tags[z]);
2369
+ this.Tags.push(obj);
1437
2370
  }
1438
2371
  }
1439
- this.Type = 'Type' in params ? params.Type : null;
2372
+ this.OperationName = 'OperationName' in params ? params.OperationName : null;
2373
+ this.OperationType = 'OperationType' in params ? params.OperationType : null;
1440
2374
 
1441
2375
  }
1442
2376
  }
1443
2377
 
1444
2378
  /**
1445
- * Metric dimension information.
2379
+ * DescribeApmSampleConfig request structure.
1446
2380
  * @class
1447
2381
  */
1448
- class ApmField extends AbstractModel {
2382
+ class DescribeApmSampleConfigRequest extends AbstractModel {
1449
2383
  constructor(){
1450
2384
  super();
1451
2385
 
1452
2386
  /**
1453
- * Metric name.
2387
+ * Business system ID
1454
2388
  * @type {string || null}
1455
2389
  */
1456
- this.Key = null;
2390
+ this.InstanceId = null;
1457
2391
 
1458
2392
  /**
1459
- * Indicator numerical value.
1460
- * @type {number || null}
2393
+ * Sampling rule name.
2394
+ * @type {string || null}
1461
2395
  */
1462
- this.Value = null;
2396
+ this.SampleName = null;
2397
+
2398
+ }
2399
+
2400
+ /**
2401
+ * @private
2402
+ */
2403
+ deserialize(params) {
2404
+ if (!params) {
2405
+ return;
2406
+ }
2407
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
2408
+ this.SampleName = 'SampleName' in params ? params.SampleName : null;
2409
+
2410
+ }
2411
+ }
2412
+
2413
+ /**
2414
+ * ModifyApmInstance response structure.
2415
+ * @class
2416
+ */
2417
+ class ModifyApmInstanceResponse extends AbstractModel {
2418
+ constructor(){
2419
+ super();
1463
2420
 
1464
2421
  /**
1465
- * Units corresponding to the metric.
2422
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1466
2423
  * @type {string || null}
1467
2424
  */
1468
- this.Unit = null;
2425
+ this.RequestId = null;
1469
2426
 
1470
- /**
1471
- * Year-Over-Year result array, recommended to use.
1472
- Note: this field may return null, indicating that no valid values can be obtained.
1473
- * @type {Array.<APMKVItem> || null}
1474
- */
1475
- this.CompareVals = null;
2427
+ }
2428
+
2429
+ /**
2430
+ * @private
2431
+ */
2432
+ deserialize(params) {
2433
+ if (!params) {
2434
+ return;
2435
+ }
2436
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2437
+
2438
+ }
2439
+ }
2440
+
2441
+ /**
2442
+ * Span log section.
2443
+
2444
+
2445
+ * @class
2446
+ */
2447
+ class SpanLog extends AbstractModel {
2448
+ constructor(){
2449
+ super();
1476
2450
 
1477
2451
  /**
1478
- * Indicator numerical value of the previous period in year-over-year comparison.
1479
- Note: this field may return null, indicating that no valid values can be obtained.
1480
- * @type {Array.<APMKV> || null}
2452
+ * Log timestamp.
2453
+ * @type {number || null}
1481
2454
  */
1482
- this.LastPeriodValue = null;
2455
+ this.Timestamp = null;
1483
2456
 
1484
2457
  /**
1485
- * Year-On-Year metric value. deprecated, not recommended for use.
1486
- * @type {string || null}
2458
+ * Tag.
2459
+ * @type {Array.<SpanTag> || null}
1487
2460
  */
1488
- this.CompareVal = null;
2461
+ this.Fields = null;
1489
2462
 
1490
2463
  }
1491
2464
 
@@ -1496,69 +2469,48 @@ Note: this field may return null, indicating that no valid values can be obtaine
1496
2469
  if (!params) {
1497
2470
  return;
1498
2471
  }
1499
- this.Key = 'Key' in params ? params.Key : null;
1500
- this.Value = 'Value' in params ? params.Value : null;
1501
- this.Unit = 'Unit' in params ? params.Unit : null;
1502
-
1503
- if (params.CompareVals) {
1504
- this.CompareVals = new Array();
1505
- for (let z in params.CompareVals) {
1506
- let obj = new APMKVItem();
1507
- obj.deserialize(params.CompareVals[z]);
1508
- this.CompareVals.push(obj);
1509
- }
1510
- }
2472
+ this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
1511
2473
 
1512
- if (params.LastPeriodValue) {
1513
- this.LastPeriodValue = new Array();
1514
- for (let z in params.LastPeriodValue) {
1515
- let obj = new APMKV();
1516
- obj.deserialize(params.LastPeriodValue[z]);
1517
- this.LastPeriodValue.push(obj);
2474
+ if (params.Fields) {
2475
+ this.Fields = new Array();
2476
+ for (let z in params.Fields) {
2477
+ let obj = new SpanTag();
2478
+ obj.deserialize(params.Fields[z]);
2479
+ this.Fields.push(obj);
1518
2480
  }
1519
2481
  }
1520
- this.CompareVal = 'CompareVal' in params ? params.CompareVal : null;
1521
2482
 
1522
2483
  }
1523
2484
  }
1524
2485
 
1525
2486
  /**
1526
- * Metric curve data.
2487
+ * APM application metric information.
1527
2488
  * @class
1528
2489
  */
1529
- class Line extends AbstractModel {
2490
+ class ApmServiceMetric extends AbstractModel {
1530
2491
  constructor(){
1531
2492
  super();
1532
2493
 
1533
2494
  /**
1534
- * Metric name.
1535
- * @type {string || null}
1536
- */
1537
- this.MetricName = null;
1538
-
1539
- /**
1540
- * Metric chinese name.
1541
- * @type {string || null}
1542
- */
1543
- this.MetricNameCN = null;
1544
-
1545
- /**
1546
- * Time series.
1547
- * @type {Array.<number> || null}
2495
+ * Field array.
2496
+ Note: This field may return null, indicating that no valid values can be obtained.
2497
+ * @type {Array.<ApmField> || null}
1548
2498
  */
1549
- this.TimeSerial = null;
2499
+ this.Fields = null;
1550
2500
 
1551
2501
  /**
1552
- * Data sequence.
1553
- * @type {Array.<number> || null}
2502
+ * Tag array
2503
+ Note: This field may return null, indicating that no valid values can be obtained.
2504
+ * @type {Array.<ApmTag> || null}
1554
2505
  */
1555
- this.DataSerial = null;
2506
+ this.Tags = null;
1556
2507
 
1557
2508
  /**
1558
- * Dimension list.
1559
- * @type {Array.<ApmTag> || null}
2509
+ * Application information
2510
+ Note: This field may return null, indicating that no valid values can be obtained.
2511
+ * @type {ServiceDetail || null}
1560
2512
  */
1561
- this.Tags = null;
2513
+ this.ServiceDetail = null;
1562
2514
 
1563
2515
  }
1564
2516
 
@@ -1569,10 +2521,15 @@ class Line extends AbstractModel {
1569
2521
  if (!params) {
1570
2522
  return;
1571
2523
  }
1572
- this.MetricName = 'MetricName' in params ? params.MetricName : null;
1573
- this.MetricNameCN = 'MetricNameCN' in params ? params.MetricNameCN : null;
1574
- this.TimeSerial = 'TimeSerial' in params ? params.TimeSerial : null;
1575
- this.DataSerial = 'DataSerial' in params ? params.DataSerial : null;
2524
+
2525
+ if (params.Fields) {
2526
+ this.Fields = new Array();
2527
+ for (let z in params.Fields) {
2528
+ let obj = new ApmField();
2529
+ obj.deserialize(params.Fields[z]);
2530
+ this.Fields.push(obj);
2531
+ }
2532
+ }
1576
2533
 
1577
2534
  if (params.Tags) {
1578
2535
  this.Tags = new Array();
@@ -1583,131 +2540,386 @@ class Line extends AbstractModel {
1583
2540
  }
1584
2541
  }
1585
2542
 
2543
+ if (params.ServiceDetail) {
2544
+ let obj = new ServiceDetail();
2545
+ obj.deserialize(params.ServiceDetail)
2546
+ this.ServiceDetail = obj;
2547
+ }
2548
+
1586
2549
  }
1587
2550
  }
1588
2551
 
1589
2552
  /**
1590
- * Application-Related configuration list items.
2553
+ * ModifyApmSampleConfig response structure.
1591
2554
  * @class
1592
2555
  */
1593
- class ApmApplicationConfigView extends AbstractModel {
2556
+ class ModifyApmSampleConfigResponse extends AbstractModel {
1594
2557
  constructor(){
1595
2558
  super();
1596
2559
 
1597
2560
  /**
1598
- * Business system id.
2561
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1599
2562
  * @type {string || null}
1600
2563
  */
1601
- this.InstanceKey = null;
2564
+ this.RequestId = null;
1602
2565
 
1603
- /**
1604
- * Application name .
1605
- * @type {string || null}
1606
- */
1607
- this.ServiceName = null;
2566
+ }
1608
2567
 
1609
- /**
1610
- * API filtering.
1611
- * @type {string || null}
1612
- */
1613
- this.OperationNameFilter = null;
2568
+ /**
2569
+ * @private
2570
+ */
2571
+ deserialize(params) {
2572
+ if (!params) {
2573
+ return;
2574
+ }
2575
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1614
2576
 
1615
- /**
1616
- * Error type filtering.
1617
- * @type {string || null}
1618
- */
1619
- this.ExceptionFilter = null;
2577
+ }
2578
+ }
2579
+
2580
+ /**
2581
+ * Querying application configuration response parameters structure.
2582
+ * @class
2583
+ */
2584
+ class ApmAppConfig extends AbstractModel {
2585
+ constructor(){
2586
+ super();
1620
2587
 
1621
2588
  /**
1622
- * HTTP status code filtering.
2589
+ * Instance ID.
1623
2590
  * @type {string || null}
1624
2591
  */
1625
- this.ErrorCodeFilter = null;
2592
+ this.InstanceKey = null;
1626
2593
 
1627
2594
  /**
1628
- * Application diagnosis switch (deprecated).
1629
- * @type {boolean || null}
2595
+ * Service name.
2596
+ * @type {string || null}
1630
2597
  */
1631
- this.EventEnable = null;
2598
+ this.ServiceName = null;
1632
2599
 
1633
2600
  /**
1634
- * URL convergence switch. 0: off; 1: on.
2601
+ * URL convergence switch.
1635
2602
  * @type {number || null}
1636
2603
  */
1637
2604
  this.UrlConvergenceSwitch = null;
1638
2605
 
1639
2606
  /**
1640
- * URL convergence threshold.
2607
+ * URL convergence threshold
1641
2608
  * @type {number || null}
1642
2609
  */
1643
2610
  this.UrlConvergenceThreshold = null;
1644
2611
 
1645
2612
  /**
1646
- * URL convergence rule in the form of a regular expression.
2613
+ * URL convergence regular expression.
1647
2614
  * @type {string || null}
1648
2615
  */
1649
2616
  this.UrlConvergence = null;
1650
2617
 
1651
2618
  /**
1652
- * URL exclusion rule in the form of a regular expression.
2619
+ * Exception filtering regular expression.
1653
2620
  * @type {string || null}
1654
2621
  */
1655
- this.UrlExclude = null;
2622
+ this.ExceptionFilter = null;
1656
2623
 
1657
2624
  /**
1658
- * Log feature switch. 0: off; 1: on.
1659
- * @type {number || null}
2625
+ * Error code filtering.
2626
+ * @type {string || null}
1660
2627
  */
1661
- this.IsRelatedLog = null;
2628
+ this.ErrorCodeFilter = null;
1662
2629
 
1663
2630
  /**
1664
- * Log source.
2631
+ * Service component type.
1665
2632
  * @type {string || null}
1666
2633
  */
1667
- this.LogSource = null;
2634
+ this.Components = null;
1668
2635
 
1669
2636
  /**
1670
- * Log set.
2637
+ * URL exclusion regular.
1671
2638
  * @type {string || null}
1672
2639
  */
1673
- this.LogSet = null;
2640
+ this.UrlExclude = null;
1674
2641
 
1675
2642
  /**
1676
- * Log topic.
2643
+ * Specifies the log source.
1677
2644
  * @type {string || null}
1678
2645
  */
1679
- this.LogTopicID = null;
2646
+ this.LogSource = null;
1680
2647
 
1681
2648
  /**
1682
- * Method stack snapshot switch: true to enable, false to disable.
1683
- * @type {boolean || null}
2649
+ * Log region.
2650
+ * @type {string || null}
1684
2651
  */
1685
- this.SnapshotEnable = null;
2652
+ this.LogRegion = null;
1686
2653
 
1687
2654
  /**
1688
- * Slow call listening trigger threshold.
2655
+ * Whether logging is enabled. valid values: 0 (disabled), 1 (enabled).
1689
2656
  * @type {number || null}
1690
2657
  */
1691
- this.SnapshotTimeout = null;
2658
+ this.IsRelatedLog = null;
1692
2659
 
1693
2660
  /**
1694
- * Probe master switch.
1695
- * @type {boolean || null}
2661
+ * Log topic ID
2662
+ * @type {string || null}
1696
2663
  */
1697
- this.AgentEnable = null;
2664
+ this.LogTopicID = null;
1698
2665
 
1699
2666
  /**
1700
- * Component list switch (deprecated).
2667
+ * API names to filter
2668
+ * @type {string || null}
2669
+ */
2670
+ this.IgnoreOperationName = null;
2671
+
2672
+ /**
2673
+ * CLS log set/ES cluster ID
2674
+ * @type {string || null}
2675
+ */
2676
+ this.LogSet = null;
2677
+
2678
+ /**
2679
+ * Number of traces reported by the probe per second.
2680
+ * @type {number || null}
2681
+ */
2682
+ this.TraceRateLimit = null;
2683
+
2684
+ /**
2685
+ * Whether thread profiling is enabled.
2686
+ * @type {boolean || null}
2687
+ */
2688
+ this.EnableSnapshot = null;
2689
+
2690
+ /**
2691
+ * Timeout threshold for thread profiling.
2692
+ * @type {number || null}
2693
+ */
2694
+ this.SnapshotTimeout = null;
2695
+
2696
+ /**
2697
+ * Whether agent is enabled.
2698
+ * @type {boolean || null}
2699
+ */
2700
+ this.AgentEnable = null;
2701
+
2702
+ /**
2703
+ * Component List
2704
+ Note: This field may return null, indicating that no valid values can be obtained.
1701
2705
  * @type {Array.<Instrument> || null}
1702
2706
  */
1703
2707
  this.InstrumentList = null;
1704
2708
 
1705
2709
  /**
1706
- * Link compression switch (deprecated).
2710
+ * Whether link compression is enabled.
1707
2711
  * @type {boolean || null}
1708
2712
  */
1709
2713
  this.TraceSquash = null;
1710
2714
 
2715
+ /**
2716
+ * Whether application diagnosis is enabled.
2717
+ * @type {boolean || null}
2718
+ */
2719
+ this.EventEnable = null;
2720
+
2721
+ /**
2722
+ * Related configurations of the probe APIs.
2723
+ Note: This field may return null, indicating that no valid values can be obtained.
2724
+ * @type {AgentOperationConfigView || null}
2725
+ */
2726
+ this.AgentOperationConfigView = null;
2727
+
2728
+ /**
2729
+ * Whether to enable application log configuration.
2730
+ * @type {boolean || null}
2731
+ */
2732
+ this.EnableLogConfig = null;
2733
+
2734
+ /**
2735
+ * Application ID
2736
+ Note: This field may return null, indicating that no valid values can be obtained.
2737
+ * @type {string || null}
2738
+ */
2739
+ this.ServiceID = null;
2740
+
2741
+ /**
2742
+ * Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
2743
+ Note: This field may return null, indicating that no valid values can be obtained.
2744
+ * @type {boolean || null}
2745
+ */
2746
+ this.EnableDashboardConfig = null;
2747
+
2748
+ /**
2749
+ * Whether to associate with Dashboard. 0: disabled; 1: enabled.
2750
+ Note: This field may return null, indicating that no valid values can be obtained.
2751
+ * @type {number || null}
2752
+ */
2753
+ this.IsRelatedDashboard = null;
2754
+
2755
+ /**
2756
+ * dashboard ID
2757
+ Note: This field may return null, indicating that no valid values can be obtained.
2758
+ * @type {string || null}
2759
+ */
2760
+ this.DashboardTopicID = null;
2761
+
2762
+ /**
2763
+ * Whether to enable the application-level configuration.
2764
+ Note: This field may return null, indicating that no valid values can be obtained.
2765
+ * @type {boolean || null}
2766
+ */
2767
+ this.EnableSecurityConfig = null;
2768
+
2769
+ /**
2770
+ * Whether to enable detection of component vulnerability.
2771
+ Note: This field may return null, indicating that no valid values can be obtained.
2772
+ * @type {number || null}
2773
+ */
2774
+ this.IsInstrumentationVulnerabilityScan = null;
2775
+
2776
+ /**
2777
+ * Whether to enable SQL injection analysis.
2778
+ Note: This field may return null, indicating that no valid values can be obtained.
2779
+ * @type {number || null}
2780
+ */
2781
+ this.IsSqlInjectionAnalysis = null;
2782
+
2783
+ /**
2784
+ * Whether to enable execution analysis of remote command.
2785
+ Note: This field may return null, indicating that no valid values can be obtained.
2786
+ * @type {number || null}
2787
+ */
2788
+ this.IsRemoteCommandExecutionAnalysis = null;
2789
+
2790
+ /**
2791
+ * Whether to enable detection analysis of Java webshell.
2792
+ Note: This field may return null, indicating that no valid values can be obtained.
2793
+ * @type {number || null}
2794
+ */
2795
+ this.IsMemoryHijackingAnalysis = null;
2796
+
2797
+ /**
2798
+ * CLS index type. (0 = full-text index; 1 = key-value index).
2799
+ * @type {number || null}
2800
+ */
2801
+ this.LogIndexType = null;
2802
+
2803
+ /**
2804
+ * Index key of traceId. It is valid when the CLS index type is key-value index.
2805
+ * @type {string || null}
2806
+ */
2807
+ this.LogTraceIdKey = null;
2808
+
2809
+ /**
2810
+ * Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.)
2811
+ Note: This field may return null, indicating that no valid values can be obtained.
2812
+ * @type {number || null}
2813
+ */
2814
+ this.IsDeleteAnyFileAnalysis = null;
2815
+
2816
+ /**
2817
+ * Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.)
2818
+ Note: This field may return null, indicating that no valid values can be obtained.
2819
+ * @type {number || null}
2820
+ */
2821
+ this.IsReadAnyFileAnalysis = null;
2822
+
2823
+ /**
2824
+ * Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.)
2825
+ Note: This field may return null, indicating that no valid values can be obtained.
2826
+ * @type {number || null}
2827
+ */
2828
+ this.IsUploadAnyFileAnalysis = null;
2829
+
2830
+ /**
2831
+ * Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.)
2832
+ Note: This field may return null, indicating that no valid values can be obtained.
2833
+ * @type {number || null}
2834
+ */
2835
+ this.IsIncludeAnyFileAnalysis = null;
2836
+
2837
+ /**
2838
+ * Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
2839
+ Note: This field may return null, indicating that no valid values can be obtained.
2840
+ * @type {number || null}
2841
+ */
2842
+ this.IsDirectoryTraversalAnalysis = null;
2843
+
2844
+ /**
2845
+ * Whether to enable template engine injection detection. (0: disabled; 1: enabled.)
2846
+ Note: This field may return null, indicating that no valid values can be obtained.
2847
+ * @type {number || null}
2848
+ */
2849
+ this.IsTemplateEngineInjectionAnalysis = null;
2850
+
2851
+ /**
2852
+ * Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.)
2853
+ Note: This field may return null, indicating that no valid values can be obtained.
2854
+ * @type {number || null}
2855
+ */
2856
+ this.IsScriptEngineInjectionAnalysis = null;
2857
+
2858
+ /**
2859
+ * Whether to enable expression injection detection. (0 - disabled; 1 - enabled.)
2860
+ Note: This field may return null, indicating that no valid values can be obtained.
2861
+ * @type {number || null}
2862
+ */
2863
+ this.IsExpressionInjectionAnalysis = null;
2864
+
2865
+ /**
2866
+ * Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.)
2867
+ Note: This field may return null, indicating that no valid values can be obtained.
2868
+ * @type {number || null}
2869
+ */
2870
+ this.IsJNDIInjectionAnalysis = null;
2871
+
2872
+ /**
2873
+ * Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
2874
+ Note: This field may return null, indicating that no valid values can be obtained.
2875
+ * @type {number || null}
2876
+ */
2877
+ this.IsJNIInjectionAnalysis = null;
2878
+
2879
+ /**
2880
+ * Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
2881
+ Note: This field may return null, indicating that no valid values can be obtained.
2882
+ * @type {number || null}
2883
+ */
2884
+ this.IsWebshellBackdoorAnalysis = null;
2885
+
2886
+ /**
2887
+ * Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
2888
+ Note: This field may return null, indicating that no valid values can be obtained.
2889
+ * @type {number || null}
2890
+ */
2891
+ this.IsDeserializationAnalysis = null;
2892
+
2893
+ /**
2894
+ * API name automatic convergence switch (0 - disabled; 1 - enabled)
2895
+ * @type {boolean || null}
2896
+ */
2897
+ this.UrlAutoConvergenceEnable = null;
2898
+
2899
+ /**
2900
+ * Convergence threshold for URL long segments.
2901
+ * @type {number || null}
2902
+ */
2903
+ this.UrlLongSegmentThreshold = null;
2904
+
2905
+ /**
2906
+ * Convergence threshold for URL numerical segments.
2907
+ * @type {number || null}
2908
+ */
2909
+ this.UrlNumberSegmentThreshold = null;
2910
+
2911
+ /**
2912
+ * Specifies the memory threshold for probe fusing.
2913
+ * @type {number || null}
2914
+ */
2915
+ this.DisableMemoryUsed = null;
2916
+
2917
+ /**
2918
+ * Specifies the CPU threshold for probe fusing.
2919
+ * @type {number || null}
2920
+ */
2921
+ this.DisableCpuUsed = null;
2922
+
1711
2923
  }
1712
2924
 
1713
2925
  /**
@@ -1719,19 +2931,21 @@ class ApmApplicationConfigView extends AbstractModel {
1719
2931
  }
1720
2932
  this.InstanceKey = 'InstanceKey' in params ? params.InstanceKey : null;
1721
2933
  this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
1722
- this.OperationNameFilter = 'OperationNameFilter' in params ? params.OperationNameFilter : null;
1723
- this.ExceptionFilter = 'ExceptionFilter' in params ? params.ExceptionFilter : null;
1724
- this.ErrorCodeFilter = 'ErrorCodeFilter' in params ? params.ErrorCodeFilter : null;
1725
- this.EventEnable = 'EventEnable' in params ? params.EventEnable : null;
1726
2934
  this.UrlConvergenceSwitch = 'UrlConvergenceSwitch' in params ? params.UrlConvergenceSwitch : null;
1727
2935
  this.UrlConvergenceThreshold = 'UrlConvergenceThreshold' in params ? params.UrlConvergenceThreshold : null;
1728
2936
  this.UrlConvergence = 'UrlConvergence' in params ? params.UrlConvergence : null;
2937
+ this.ExceptionFilter = 'ExceptionFilter' in params ? params.ExceptionFilter : null;
2938
+ this.ErrorCodeFilter = 'ErrorCodeFilter' in params ? params.ErrorCodeFilter : null;
2939
+ this.Components = 'Components' in params ? params.Components : null;
1729
2940
  this.UrlExclude = 'UrlExclude' in params ? params.UrlExclude : null;
1730
- this.IsRelatedLog = 'IsRelatedLog' in params ? params.IsRelatedLog : null;
1731
2941
  this.LogSource = 'LogSource' in params ? params.LogSource : null;
1732
- this.LogSet = 'LogSet' in params ? params.LogSet : null;
2942
+ this.LogRegion = 'LogRegion' in params ? params.LogRegion : null;
2943
+ this.IsRelatedLog = 'IsRelatedLog' in params ? params.IsRelatedLog : null;
1733
2944
  this.LogTopicID = 'LogTopicID' in params ? params.LogTopicID : null;
1734
- this.SnapshotEnable = 'SnapshotEnable' in params ? params.SnapshotEnable : null;
2945
+ this.IgnoreOperationName = 'IgnoreOperationName' in params ? params.IgnoreOperationName : null;
2946
+ this.LogSet = 'LogSet' in params ? params.LogSet : null;
2947
+ this.TraceRateLimit = 'TraceRateLimit' in params ? params.TraceRateLimit : null;
2948
+ this.EnableSnapshot = 'EnableSnapshot' in params ? params.EnableSnapshot : null;
1735
2949
  this.SnapshotTimeout = 'SnapshotTimeout' in params ? params.SnapshotTimeout : null;
1736
2950
  this.AgentEnable = 'AgentEnable' in params ? params.AgentEnable : null;
1737
2951
 
@@ -1744,29 +2958,65 @@ class ApmApplicationConfigView extends AbstractModel {
1744
2958
  }
1745
2959
  }
1746
2960
  this.TraceSquash = 'TraceSquash' in params ? params.TraceSquash : null;
2961
+ this.EventEnable = 'EventEnable' in params ? params.EventEnable : null;
2962
+
2963
+ if (params.AgentOperationConfigView) {
2964
+ let obj = new AgentOperationConfigView();
2965
+ obj.deserialize(params.AgentOperationConfigView)
2966
+ this.AgentOperationConfigView = obj;
2967
+ }
2968
+ this.EnableLogConfig = 'EnableLogConfig' in params ? params.EnableLogConfig : null;
2969
+ this.ServiceID = 'ServiceID' in params ? params.ServiceID : null;
2970
+ this.EnableDashboardConfig = 'EnableDashboardConfig' in params ? params.EnableDashboardConfig : null;
2971
+ this.IsRelatedDashboard = 'IsRelatedDashboard' in params ? params.IsRelatedDashboard : null;
2972
+ this.DashboardTopicID = 'DashboardTopicID' in params ? params.DashboardTopicID : null;
2973
+ this.EnableSecurityConfig = 'EnableSecurityConfig' in params ? params.EnableSecurityConfig : null;
2974
+ this.IsInstrumentationVulnerabilityScan = 'IsInstrumentationVulnerabilityScan' in params ? params.IsInstrumentationVulnerabilityScan : null;
2975
+ this.IsSqlInjectionAnalysis = 'IsSqlInjectionAnalysis' in params ? params.IsSqlInjectionAnalysis : null;
2976
+ this.IsRemoteCommandExecutionAnalysis = 'IsRemoteCommandExecutionAnalysis' in params ? params.IsRemoteCommandExecutionAnalysis : null;
2977
+ this.IsMemoryHijackingAnalysis = 'IsMemoryHijackingAnalysis' in params ? params.IsMemoryHijackingAnalysis : null;
2978
+ this.LogIndexType = 'LogIndexType' in params ? params.LogIndexType : null;
2979
+ this.LogTraceIdKey = 'LogTraceIdKey' in params ? params.LogTraceIdKey : null;
2980
+ this.IsDeleteAnyFileAnalysis = 'IsDeleteAnyFileAnalysis' in params ? params.IsDeleteAnyFileAnalysis : null;
2981
+ this.IsReadAnyFileAnalysis = 'IsReadAnyFileAnalysis' in params ? params.IsReadAnyFileAnalysis : null;
2982
+ this.IsUploadAnyFileAnalysis = 'IsUploadAnyFileAnalysis' in params ? params.IsUploadAnyFileAnalysis : null;
2983
+ this.IsIncludeAnyFileAnalysis = 'IsIncludeAnyFileAnalysis' in params ? params.IsIncludeAnyFileAnalysis : null;
2984
+ this.IsDirectoryTraversalAnalysis = 'IsDirectoryTraversalAnalysis' in params ? params.IsDirectoryTraversalAnalysis : null;
2985
+ this.IsTemplateEngineInjectionAnalysis = 'IsTemplateEngineInjectionAnalysis' in params ? params.IsTemplateEngineInjectionAnalysis : null;
2986
+ this.IsScriptEngineInjectionAnalysis = 'IsScriptEngineInjectionAnalysis' in params ? params.IsScriptEngineInjectionAnalysis : null;
2987
+ this.IsExpressionInjectionAnalysis = 'IsExpressionInjectionAnalysis' in params ? params.IsExpressionInjectionAnalysis : null;
2988
+ this.IsJNDIInjectionAnalysis = 'IsJNDIInjectionAnalysis' in params ? params.IsJNDIInjectionAnalysis : null;
2989
+ this.IsJNIInjectionAnalysis = 'IsJNIInjectionAnalysis' in params ? params.IsJNIInjectionAnalysis : null;
2990
+ this.IsWebshellBackdoorAnalysis = 'IsWebshellBackdoorAnalysis' in params ? params.IsWebshellBackdoorAnalysis : null;
2991
+ this.IsDeserializationAnalysis = 'IsDeserializationAnalysis' in params ? params.IsDeserializationAnalysis : null;
2992
+ this.UrlAutoConvergenceEnable = 'UrlAutoConvergenceEnable' in params ? params.UrlAutoConvergenceEnable : null;
2993
+ this.UrlLongSegmentThreshold = 'UrlLongSegmentThreshold' in params ? params.UrlLongSegmentThreshold : null;
2994
+ this.UrlNumberSegmentThreshold = 'UrlNumberSegmentThreshold' in params ? params.UrlNumberSegmentThreshold : null;
2995
+ this.DisableMemoryUsed = 'DisableMemoryUsed' in params ? params.DisableMemoryUsed : null;
2996
+ this.DisableCpuUsed = 'DisableCpuUsed' in params ? params.DisableCpuUsed : null;
1747
2997
 
1748
2998
  }
1749
2999
  }
1750
3000
 
1751
3001
  /**
1752
- * Dimension (tag) object.
3002
+ * CreateApmSampleConfig response structure.
1753
3003
  * @class
1754
3004
  */
1755
- class ApmTag extends AbstractModel {
3005
+ class CreateApmSampleConfigResponse extends AbstractModel {
1756
3006
  constructor(){
1757
3007
  super();
1758
3008
 
1759
3009
  /**
1760
- * Dimension key (column name, Tag key).
1761
- * @type {string || null}
3010
+ * Sampling configuration parameter
3011
+ * @type {ApmSampleConfig || null}
1762
3012
  */
1763
- this.Key = null;
3013
+ this.ApmSampleConfig = null;
1764
3014
 
1765
3015
  /**
1766
- * Dimension value (tag value).
3016
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1767
3017
  * @type {string || null}
1768
3018
  */
1769
- this.Value = null;
3019
+ this.RequestId = null;
1770
3020
 
1771
3021
  }
1772
3022
 
@@ -1777,31 +3027,36 @@ class ApmTag extends AbstractModel {
1777
3027
  if (!params) {
1778
3028
  return;
1779
3029
  }
1780
- this.Key = 'Key' in params ? params.Key : null;
1781
- this.Value = 'Value' in params ? params.Value : null;
3030
+
3031
+ if (params.ApmSampleConfig) {
3032
+ let obj = new ApmSampleConfig();
3033
+ obj.deserialize(params.ApmSampleConfig)
3034
+ this.ApmSampleConfig = obj;
3035
+ }
3036
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1782
3037
 
1783
3038
  }
1784
3039
  }
1785
3040
 
1786
3041
  /**
1787
- * Common kv structure of apm.
3042
+ * DescribeApmApplicationConfig request structure.
1788
3043
  * @class
1789
3044
  */
1790
- class APMKVItem extends AbstractModel {
3045
+ class DescribeApmApplicationConfigRequest extends AbstractModel {
1791
3046
  constructor(){
1792
3047
  super();
1793
3048
 
1794
3049
  /**
1795
- * Key value definition.
3050
+ * Instance ID.
1796
3051
  * @type {string || null}
1797
3052
  */
1798
- this.Key = null;
3053
+ this.InstanceId = null;
1799
3054
 
1800
3055
  /**
1801
- * Value definition.
3056
+ * Service name
1802
3057
  * @type {string || null}
1803
3058
  */
1804
- this.Value = null;
3059
+ this.ServiceName = null;
1805
3060
 
1806
3061
  }
1807
3062
 
@@ -1812,28 +3067,34 @@ class APMKVItem extends AbstractModel {
1812
3067
  if (!params) {
1813
3068
  return;
1814
3069
  }
1815
- this.Key = 'Key' in params ? params.Key : null;
1816
- this.Value = 'Value' in params ? params.Value : null;
3070
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
3071
+ this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
1817
3072
 
1818
3073
  }
1819
3074
  }
1820
3075
 
1821
3076
  /**
1822
- * Sorting fields.
3077
+ * Queries filter parameters.
1823
3078
  * @class
1824
3079
  */
1825
- class OrderBy extends AbstractModel {
3080
+ class Filter extends AbstractModel {
1826
3081
  constructor(){
1827
3082
  super();
1828
3083
 
1829
3084
  /**
1830
- * Sort field (starttime, endtime, duration are supported).
3085
+ * Filtering method (=, !=, in).
3086
+ * @type {string || null}
3087
+ */
3088
+ this.Type = null;
3089
+
3090
+ /**
3091
+ * Filter dimension name.
1831
3092
  * @type {string || null}
1832
3093
  */
1833
3094
  this.Key = null;
1834
3095
 
1835
3096
  /**
1836
- * ASC: sequential sorting / desc: reverse sorting.
3097
+ * Filter value. uses commas to separate multiple values in in filtering method.
1837
3098
  * @type {string || null}
1838
3099
  */
1839
3100
  this.Value = null;
@@ -1847,6 +3108,7 @@ class OrderBy extends AbstractModel {
1847
3108
  if (!params) {
1848
3109
  return;
1849
3110
  }
3111
+ this.Type = 'Type' in params ? params.Type : null;
1850
3112
  this.Key = 'Key' in params ? params.Key : null;
1851
3113
  this.Value = 'Value' in params ? params.Value : null;
1852
3114
 
@@ -1854,60 +3116,176 @@ class OrderBy extends AbstractModel {
1854
3116
  }
1855
3117
 
1856
3118
  /**
1857
- * DescribeMetricRecords response structure.
3119
+ * Metric dimension information.
1858
3120
  * @class
1859
3121
  */
1860
- class DescribeMetricRecordsResponse extends AbstractModel {
3122
+ class ApmField extends AbstractModel {
1861
3123
  constructor(){
1862
3124
  super();
1863
3125
 
1864
3126
  /**
1865
- * Indicator result set.
1866
- * @type {Array.<ApmMetricRecord> || null}
3127
+ * Metric name.
3128
+ * @type {string || null}
1867
3129
  */
1868
- this.Records = null;
3130
+ this.Key = null;
1869
3131
 
1870
3132
  /**
1871
- * Number of metric query result sets.
3133
+ * Indicator numerical value.
1872
3134
  * @type {number || null}
1873
3135
  */
1874
- this.TotalCount = null;
3136
+ this.Value = null;
1875
3137
 
1876
3138
  /**
1877
- * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3139
+ * Units corresponding to the metric.
1878
3140
  * @type {string || null}
1879
3141
  */
1880
- this.RequestId = null;
3142
+ this.Unit = null;
1881
3143
 
1882
- }
3144
+ /**
3145
+ * Year-Over-Year result array, recommended to use.
3146
+ Note: this field may return null, indicating that no valid values can be obtained.
3147
+ * @type {Array.<APMKVItem> || null}
3148
+ */
3149
+ this.CompareVals = null;
1883
3150
 
1884
- /**
1885
- * @private
1886
- */
1887
- deserialize(params) {
1888
- if (!params) {
1889
- return;
1890
- }
3151
+ /**
3152
+ * Indicator numerical value of the previous period in year-over-year comparison.
3153
+ Note: this field may return null, indicating that no valid values can be obtained.
3154
+ * @type {Array.<APMKV> || null}
3155
+ */
3156
+ this.LastPeriodValue = null;
1891
3157
 
1892
- if (params.Records) {
1893
- this.Records = new Array();
1894
- for (let z in params.Records) {
1895
- let obj = new ApmMetricRecord();
1896
- obj.deserialize(params.Records[z]);
1897
- this.Records.push(obj);
3158
+ /**
3159
+ * Year-On-Year metric value. deprecated, not recommended for use.
3160
+ * @type {string || null}
3161
+ */
3162
+ this.CompareVal = null;
3163
+
3164
+ /**
3165
+ * Metric Chinese Name
3166
+ * @type {string || null}
3167
+ */
3168
+ this.NameCN = null;
3169
+
3170
+ /**
3171
+ * Metric English name
3172
+ * @type {string || null}
3173
+ */
3174
+ this.NameEN = null;
3175
+
3176
+ }
3177
+
3178
+ /**
3179
+ * @private
3180
+ */
3181
+ deserialize(params) {
3182
+ if (!params) {
3183
+ return;
3184
+ }
3185
+ this.Key = 'Key' in params ? params.Key : null;
3186
+ this.Value = 'Value' in params ? params.Value : null;
3187
+ this.Unit = 'Unit' in params ? params.Unit : null;
3188
+
3189
+ if (params.CompareVals) {
3190
+ this.CompareVals = new Array();
3191
+ for (let z in params.CompareVals) {
3192
+ let obj = new APMKVItem();
3193
+ obj.deserialize(params.CompareVals[z]);
3194
+ this.CompareVals.push(obj);
1898
3195
  }
1899
3196
  }
1900
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
1901
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
3197
+
3198
+ if (params.LastPeriodValue) {
3199
+ this.LastPeriodValue = new Array();
3200
+ for (let z in params.LastPeriodValue) {
3201
+ let obj = new APMKV();
3202
+ obj.deserialize(params.LastPeriodValue[z]);
3203
+ this.LastPeriodValue.push(obj);
3204
+ }
3205
+ }
3206
+ this.CompareVal = 'CompareVal' in params ? params.CompareVal : null;
3207
+ this.NameCN = 'NameCN' in params ? params.NameCN : null;
3208
+ this.NameEN = 'NameEN' in params ? params.NameEN : null;
1902
3209
 
1903
3210
  }
1904
3211
  }
1905
3212
 
1906
3213
  /**
1907
- * DescribeGeneralOTSpanList response structure.
3214
+ * Metric curve data.
1908
3215
  * @class
1909
3216
  */
1910
- class DescribeGeneralOTSpanListResponse extends AbstractModel {
3217
+ class Line extends AbstractModel {
3218
+ constructor(){
3219
+ super();
3220
+
3221
+ /**
3222
+ * Metric name.
3223
+ * @type {string || null}
3224
+ */
3225
+ this.MetricName = null;
3226
+
3227
+ /**
3228
+ * Metric chinese name.
3229
+ * @type {string || null}
3230
+ */
3231
+ this.MetricNameCN = null;
3232
+
3233
+ /**
3234
+ * Time series.
3235
+ * @type {Array.<number> || null}
3236
+ */
3237
+ this.TimeSerial = null;
3238
+
3239
+ /**
3240
+ * Data sequence.
3241
+ * @type {Array.<number> || null}
3242
+ */
3243
+ this.DataSerial = null;
3244
+
3245
+ /**
3246
+ * Dimension list.
3247
+ * @type {Array.<ApmTag> || null}
3248
+ */
3249
+ this.Tags = null;
3250
+
3251
+ /**
3252
+ * Metric data unit
3253
+ * @type {string || null}
3254
+ */
3255
+ this.MetricUnit = null;
3256
+
3257
+ }
3258
+
3259
+ /**
3260
+ * @private
3261
+ */
3262
+ deserialize(params) {
3263
+ if (!params) {
3264
+ return;
3265
+ }
3266
+ this.MetricName = 'MetricName' in params ? params.MetricName : null;
3267
+ this.MetricNameCN = 'MetricNameCN' in params ? params.MetricNameCN : null;
3268
+ this.TimeSerial = 'TimeSerial' in params ? params.TimeSerial : null;
3269
+ this.DataSerial = 'DataSerial' in params ? params.DataSerial : null;
3270
+
3271
+ if (params.Tags) {
3272
+ this.Tags = new Array();
3273
+ for (let z in params.Tags) {
3274
+ let obj = new ApmTag();
3275
+ obj.deserialize(params.Tags[z]);
3276
+ this.Tags.push(obj);
3277
+ }
3278
+ }
3279
+ this.MetricUnit = 'MetricUnit' in params ? params.MetricUnit : null;
3280
+
3281
+ }
3282
+ }
3283
+
3284
+ /**
3285
+ * DescribeGeneralSpanList response structure.
3286
+ * @class
3287
+ */
3288
+ class DescribeGeneralSpanListResponse extends AbstractModel {
1911
3289
  constructor(){
1912
3290
  super();
1913
3291
 
@@ -1918,8 +3296,8 @@ class DescribeGeneralOTSpanListResponse extends AbstractModel {
1918
3296
  this.TotalCount = null;
1919
3297
 
1920
3298
  /**
1921
- * The trace structure containing the query results spans. the string after the opentelemetry standard trace structure is hashed. first, the trace is converted into a json string using ptrace.jsonmarshaler, then compressed with gzip, and finally converted into a base64 standard string.
1922
- * @type {string || null}
3299
+ * Span pagination list.
3300
+ * @type {Array.<Span> || null}
1923
3301
  */
1924
3302
  this.Spans = null;
1925
3303
 
@@ -1939,7 +3317,50 @@ class DescribeGeneralOTSpanListResponse extends AbstractModel {
1939
3317
  return;
1940
3318
  }
1941
3319
  this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
1942
- this.Spans = 'Spans' in params ? params.Spans : null;
3320
+
3321
+ if (params.Spans) {
3322
+ this.Spans = new Array();
3323
+ for (let z in params.Spans) {
3324
+ let obj = new Span();
3325
+ obj.deserialize(params.Spans[z]);
3326
+ this.Spans.push(obj);
3327
+ }
3328
+ }
3329
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3330
+
3331
+ }
3332
+ }
3333
+
3334
+ /**
3335
+ * CreateProfileTask response structure.
3336
+ * @class
3337
+ */
3338
+ class CreateProfileTaskResponse extends AbstractModel {
3339
+ constructor(){
3340
+ super();
3341
+
3342
+ /**
3343
+ * Task ID
3344
+ * @type {number || null}
3345
+ */
3346
+ this.TaskId = null;
3347
+
3348
+ /**
3349
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3350
+ * @type {string || null}
3351
+ */
3352
+ this.RequestId = null;
3353
+
3354
+ }
3355
+
3356
+ /**
3357
+ * @private
3358
+ */
3359
+ deserialize(params) {
3360
+ if (!params) {
3361
+ return;
3362
+ }
3363
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
1943
3364
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1944
3365
 
1945
3366
  }
@@ -2047,43 +3468,883 @@ The currently supported values are:.
2047
3468
  }
2048
3469
 
2049
3470
  /**
2050
- * Queries filter parameters.
3471
+ * ModifyApmPrometheusRule response structure.
2051
3472
  * @class
2052
3473
  */
2053
- class Filter extends AbstractModel {
3474
+ class ModifyApmPrometheusRuleResponse extends AbstractModel {
2054
3475
  constructor(){
2055
3476
  super();
2056
3477
 
2057
3478
  /**
2058
- * Filtering method (=, !=, in).
3479
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2059
3480
  * @type {string || null}
2060
3481
  */
2061
- this.Type = null;
3482
+ this.RequestId = null;
3483
+
3484
+ }
3485
+
3486
+ /**
3487
+ * @private
3488
+ */
3489
+ deserialize(params) {
3490
+ if (!params) {
3491
+ return;
3492
+ }
3493
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3494
+
3495
+ }
3496
+ }
3497
+
3498
+ /**
3499
+ * Shows the association between the apm business system and other cloud products in the return format.
3500
+ * @class
3501
+ */
3502
+ class ApmAssociation extends AbstractModel {
3503
+ constructor(){
3504
+ super();
2062
3505
 
2063
3506
  /**
2064
- * Filter dimension name.
3507
+ * Associated product instance ID.
3508
+ Note: This field may return null, indicating that no valid values can be obtained.
3509
+ * @type {string || null}
3510
+ */
3511
+ this.PeerId = null;
3512
+
3513
+ /**
3514
+ * Association status: 1 (enabled), 2 (disabled), 3 (invalid).
3515
+ Note: This field may return null, indicating that no valid values can be obtained.
3516
+ * @type {number || null}
3517
+ */
3518
+ this.Status = null;
3519
+
3520
+ /**
3521
+ * Specifies the CKafka message topic.
3522
+ * @type {string || null}
3523
+ */
3524
+ this.Topic = null;
3525
+
3526
+ }
3527
+
3528
+ /**
3529
+ * @private
3530
+ */
3531
+ deserialize(params) {
3532
+ if (!params) {
3533
+ return;
3534
+ }
3535
+ this.PeerId = 'PeerId' in params ? params.PeerId : null;
3536
+ this.Status = 'Status' in params ? params.Status : null;
3537
+ this.Topic = 'Topic' in params ? params.Topic : null;
3538
+
3539
+ }
3540
+ }
3541
+
3542
+ /**
3543
+ * Sorting fields.
3544
+ * @class
3545
+ */
3546
+ class OrderBy extends AbstractModel {
3547
+ constructor(){
3548
+ super();
3549
+
3550
+ /**
3551
+ * Sort field (starttime, endtime, duration are supported).
2065
3552
  * @type {string || null}
2066
3553
  */
2067
3554
  this.Key = null;
2068
3555
 
2069
3556
  /**
2070
- * Filter value. uses commas to separate multiple values in in filtering method.
3557
+ * ASC: sequential sorting / desc: reverse sorting.
2071
3558
  * @type {string || null}
2072
3559
  */
2073
3560
  this.Value = null;
2074
3561
 
2075
3562
  }
2076
3563
 
2077
- /**
2078
- * @private
2079
- */
2080
- deserialize(params) {
2081
- if (!params) {
2082
- return;
3564
+ /**
3565
+ * @private
3566
+ */
3567
+ deserialize(params) {
3568
+ if (!params) {
3569
+ return;
3570
+ }
3571
+ this.Key = 'Key' in params ? params.Key : null;
3572
+ this.Value = 'Value' in params ? params.Value : null;
3573
+
3574
+ }
3575
+ }
3576
+
3577
+ /**
3578
+ * DescribeServiceOverview response structure.
3579
+ * @class
3580
+ */
3581
+ class DescribeServiceOverviewResponse extends AbstractModel {
3582
+ constructor(){
3583
+ super();
3584
+
3585
+ /**
3586
+ * Indicator result set.
3587
+ * @type {Array.<ApmMetricRecord> || null}
3588
+ */
3589
+ this.Records = null;
3590
+
3591
+ /**
3592
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3593
+ * @type {string || null}
3594
+ */
3595
+ this.RequestId = null;
3596
+
3597
+ }
3598
+
3599
+ /**
3600
+ * @private
3601
+ */
3602
+ deserialize(params) {
3603
+ if (!params) {
3604
+ return;
3605
+ }
3606
+
3607
+ if (params.Records) {
3608
+ this.Records = new Array();
3609
+ for (let z in params.Records) {
3610
+ let obj = new ApmMetricRecord();
3611
+ obj.deserialize(params.Records[z]);
3612
+ this.Records.push(obj);
3613
+ }
3614
+ }
3615
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3616
+
3617
+ }
3618
+ }
3619
+
3620
+ /**
3621
+ * DescribeApmServiceMetric response structure.
3622
+ * @class
3623
+ */
3624
+ class DescribeApmServiceMetricResponse extends AbstractModel {
3625
+ constructor(){
3626
+ super();
3627
+
3628
+ /**
3629
+ * List of application metrics.
3630
+ * @type {Array.<ApmServiceMetric> || null}
3631
+ */
3632
+ this.ServiceMetricList = null;
3633
+
3634
+ /**
3635
+ * Number of applications meeting the filtering conditions.
3636
+ * @type {number || null}
3637
+ */
3638
+ this.TotalCount = null;
3639
+
3640
+ /**
3641
+ * Warning of the abnormal number of applications.
3642
+ * @type {number || null}
3643
+ */
3644
+ this.WarningErrorCount = null;
3645
+
3646
+ /**
3647
+ * Total number of applications.
3648
+ * @type {number || null}
3649
+ */
3650
+ this.ApplicationCount = null;
3651
+
3652
+ /**
3653
+ * Page number.
3654
+ * @type {number || null}
3655
+ */
3656
+ this.Page = null;
3657
+
3658
+ /**
3659
+ * Page size.
3660
+ * @type {number || null}
3661
+ */
3662
+ this.PageSize = null;
3663
+
3664
+ /**
3665
+ * Indicates the number of abnormal applications.
3666
+ * @type {number || null}
3667
+ */
3668
+ this.ErrorCount = null;
3669
+
3670
+ /**
3671
+ * Warning of the number of applications.
3672
+ * @type {number || null}
3673
+ */
3674
+ this.WarningCount = null;
3675
+
3676
+ /**
3677
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3678
+ * @type {string || null}
3679
+ */
3680
+ this.RequestId = null;
3681
+
3682
+ }
3683
+
3684
+ /**
3685
+ * @private
3686
+ */
3687
+ deserialize(params) {
3688
+ if (!params) {
3689
+ return;
3690
+ }
3691
+
3692
+ if (params.ServiceMetricList) {
3693
+ this.ServiceMetricList = new Array();
3694
+ for (let z in params.ServiceMetricList) {
3695
+ let obj = new ApmServiceMetric();
3696
+ obj.deserialize(params.ServiceMetricList[z]);
3697
+ this.ServiceMetricList.push(obj);
3698
+ }
3699
+ }
3700
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
3701
+ this.WarningErrorCount = 'WarningErrorCount' in params ? params.WarningErrorCount : null;
3702
+ this.ApplicationCount = 'ApplicationCount' in params ? params.ApplicationCount : null;
3703
+ this.Page = 'Page' in params ? params.Page : null;
3704
+ this.PageSize = 'PageSize' in params ? params.PageSize : null;
3705
+ this.ErrorCount = 'ErrorCount' in params ? params.ErrorCount : null;
3706
+ this.WarningCount = 'WarningCount' in params ? params.WarningCount : null;
3707
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3708
+
3709
+ }
3710
+ }
3711
+
3712
+ /**
3713
+ * ModifyApmAssociation response structure.
3714
+ * @class
3715
+ */
3716
+ class ModifyApmAssociationResponse extends AbstractModel {
3717
+ constructor(){
3718
+ super();
3719
+
3720
+ /**
3721
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3722
+ * @type {string || null}
3723
+ */
3724
+ this.RequestId = null;
3725
+
3726
+ }
3727
+
3728
+ /**
3729
+ * @private
3730
+ */
3731
+ deserialize(params) {
3732
+ if (!params) {
3733
+ return;
3734
+ }
3735
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3736
+
3737
+ }
3738
+ }
3739
+
3740
+ /**
3741
+ * DescribeMetricRecords response structure.
3742
+ * @class
3743
+ */
3744
+ class DescribeMetricRecordsResponse extends AbstractModel {
3745
+ constructor(){
3746
+ super();
3747
+
3748
+ /**
3749
+ * Indicator result set.
3750
+ * @type {Array.<ApmMetricRecord> || null}
3751
+ */
3752
+ this.Records = null;
3753
+
3754
+ /**
3755
+ * Number of metric query result sets.
3756
+ * @type {number || null}
3757
+ */
3758
+ this.TotalCount = null;
3759
+
3760
+ /**
3761
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3762
+ * @type {string || null}
3763
+ */
3764
+ this.RequestId = null;
3765
+
3766
+ }
3767
+
3768
+ /**
3769
+ * @private
3770
+ */
3771
+ deserialize(params) {
3772
+ if (!params) {
3773
+ return;
3774
+ }
3775
+
3776
+ if (params.Records) {
3777
+ this.Records = new Array();
3778
+ for (let z in params.Records) {
3779
+ let obj = new ApmMetricRecord();
3780
+ obj.deserialize(params.Records[z]);
3781
+ this.Records.push(obj);
3782
+ }
3783
+ }
3784
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
3785
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3786
+
3787
+ }
3788
+ }
3789
+
3790
+ /**
3791
+ * DescribeGeneralOTSpanList response structure.
3792
+ * @class
3793
+ */
3794
+ class DescribeGeneralOTSpanListResponse extends AbstractModel {
3795
+ constructor(){
3796
+ super();
3797
+
3798
+ /**
3799
+ * Total number.
3800
+ * @type {number || null}
3801
+ */
3802
+ this.TotalCount = null;
3803
+
3804
+ /**
3805
+ * The Spans field contains the entire content of the link data. since the data is compressed, perform the following three steps to switch back to the original text.
3806
+ Decode the text in the Spans field with Base64 to get the compressed byte[].
3807
+ Use gzip to decompress the compressed byte array and get the byte array before compression.
3808
+ Uses UTF-8 character set to convert byte[] before compression to text.
3809
+
3810
+ * @type {string || null}
3811
+ */
3812
+ this.Spans = null;
3813
+
3814
+ /**
3815
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3816
+ * @type {string || null}
3817
+ */
3818
+ this.RequestId = null;
3819
+
3820
+ }
3821
+
3822
+ /**
3823
+ * @private
3824
+ */
3825
+ deserialize(params) {
3826
+ if (!params) {
3827
+ return;
3828
+ }
3829
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
3830
+ this.Spans = 'Spans' in params ? params.Spans : null;
3831
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3832
+
3833
+ }
3834
+ }
3835
+
3836
+ /**
3837
+ * Dimension (tag) object.
3838
+ * @class
3839
+ */
3840
+ class ApmTag extends AbstractModel {
3841
+ constructor(){
3842
+ super();
3843
+
3844
+ /**
3845
+ * Dimension key (column name, Tag key).
3846
+ * @type {string || null}
3847
+ */
3848
+ this.Key = null;
3849
+
3850
+ /**
3851
+ * Dimension value (tag value).
3852
+ * @type {string || null}
3853
+ */
3854
+ this.Value = null;
3855
+
3856
+ }
3857
+
3858
+ /**
3859
+ * @private
3860
+ */
3861
+ deserialize(params) {
3862
+ if (!params) {
3863
+ return;
3864
+ }
3865
+ this.Key = 'Key' in params ? params.Key : null;
3866
+ this.Value = 'Value' in params ? params.Value : null;
3867
+
3868
+ }
3869
+ }
3870
+
3871
+ /**
3872
+ * ModifyApmApplicationConfig response structure.
3873
+ * @class
3874
+ */
3875
+ class ModifyApmApplicationConfigResponse extends AbstractModel {
3876
+ constructor(){
3877
+ super();
3878
+
3879
+ /**
3880
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3881
+ * @type {string || null}
3882
+ */
3883
+ this.RequestId = null;
3884
+
3885
+ }
3886
+
3887
+ /**
3888
+ * @private
3889
+ */
3890
+ deserialize(params) {
3891
+ if (!params) {
3892
+ return;
3893
+ }
3894
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3895
+
3896
+ }
3897
+ }
3898
+
3899
+ /**
3900
+ * DescribeApmApplicationConfig response structure.
3901
+ * @class
3902
+ */
3903
+ class DescribeApmApplicationConfigResponse extends AbstractModel {
3904
+ constructor(){
3905
+ super();
3906
+
3907
+ /**
3908
+ * Apm application configuration.
3909
+ Note: This field may return null, indicating that no valid values can be obtained.
3910
+ * @type {ApmAppConfig || null}
3911
+ */
3912
+ this.ApmAppConfig = null;
3913
+
3914
+ /**
3915
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3916
+ * @type {string || null}
3917
+ */
3918
+ this.RequestId = null;
3919
+
3920
+ }
3921
+
3922
+ /**
3923
+ * @private
3924
+ */
3925
+ deserialize(params) {
3926
+ if (!params) {
3927
+ return;
3928
+ }
3929
+
3930
+ if (params.ApmAppConfig) {
3931
+ let obj = new ApmAppConfig();
3932
+ obj.deserialize(params.ApmAppConfig)
3933
+ this.ApmAppConfig = obj;
3934
+ }
3935
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3936
+
3937
+ }
3938
+ }
3939
+
3940
+ /**
3941
+ * DescribeApmAssociation request structure.
3942
+ * @class
3943
+ */
3944
+ class DescribeApmAssociationRequest extends AbstractModel {
3945
+ constructor(){
3946
+ super();
3947
+
3948
+ /**
3949
+ * Associated product name. currently only supports Prometheus.
3950
+ * @type {string || null}
3951
+ */
3952
+ this.ProductName = null;
3953
+
3954
+ /**
3955
+ * Business System Name
3956
+ * @type {string || null}
3957
+ */
3958
+ this.InstanceId = null;
3959
+
3960
+ }
3961
+
3962
+ /**
3963
+ * @private
3964
+ */
3965
+ deserialize(params) {
3966
+ if (!params) {
3967
+ return;
3968
+ }
3969
+ this.ProductName = 'ProductName' in params ? params.ProductName : null;
3970
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
3971
+
3972
+ }
3973
+ }
3974
+
3975
+ /**
3976
+ * ModifyApmApplicationConfig request structure.
3977
+ * @class
3978
+ */
3979
+ class ModifyApmApplicationConfigRequest extends AbstractModel {
3980
+ constructor(){
3981
+ super();
3982
+
3983
+ /**
3984
+ * Business system ID.
3985
+ * @type {string || null}
3986
+ */
3987
+ this.InstanceId = null;
3988
+
3989
+ /**
3990
+ * Application name
3991
+ * @type {string || null}
3992
+ */
3993
+ this.ServiceName = null;
3994
+
3995
+ /**
3996
+ * URL convergence switch. 0: Off; 1: On
3997
+ * @type {number || null}
3998
+ */
3999
+ this.UrlConvergenceSwitch = null;
4000
+
4001
+ /**
4002
+ * URL convergence threshold
4003
+ * @type {number || null}
4004
+ */
4005
+ this.UrlConvergenceThreshold = null;
4006
+
4007
+ /**
4008
+ * Regex rules for exception filtering, separated by commas
4009
+ * @type {string || null}
4010
+ */
4011
+ this.ExceptionFilter = null;
4012
+
4013
+ /**
4014
+ * Regex rules for URL convergence, separated by commas
4015
+ * @type {string || null}
4016
+ */
4017
+ this.UrlConvergence = null;
4018
+
4019
+ /**
4020
+ * Error code filtering, separated by commas
4021
+ * @type {string || null}
4022
+ */
4023
+ this.ErrorCodeFilter = null;
4024
+
4025
+ /**
4026
+ * Regex rules for URL exclusion, separated by commas
4027
+ * @type {string || null}
4028
+ */
4029
+ this.UrlExclude = null;
4030
+
4031
+ /**
4032
+ * Log switch. 0: Off; 1: On
4033
+ * @type {number || null}
4034
+ */
4035
+ this.IsRelatedLog = null;
4036
+
4037
+ /**
4038
+ * Log region.
4039
+ * @type {string || null}
4040
+ */
4041
+ this.LogRegion = null;
4042
+
4043
+ /**
4044
+ * Log topic ID
4045
+ * @type {string || null}
4046
+ */
4047
+ this.LogTopicID = null;
4048
+
4049
+ /**
4050
+ * CLS log set/ES cluster ID
4051
+ * @type {string || null}
4052
+ */
4053
+ this.LogSet = null;
4054
+
4055
+ /**
4056
+ * Log source: CLS or ES
4057
+ * @type {string || null}
4058
+ */
4059
+ this.LogSource = null;
4060
+
4061
+ /**
4062
+ * APIs to be filtered
4063
+ * @type {string || null}
4064
+ */
4065
+ this.IgnoreOperationName = null;
4066
+
4067
+ /**
4068
+ * Whether thread profiling is enabled.
4069
+ * @type {boolean || null}
4070
+ */
4071
+ this.EnableSnapshot = null;
4072
+
4073
+ /**
4074
+ * Timeout threshold for thread profiling.
4075
+ * @type {number || null}
4076
+ */
4077
+ this.SnapshotTimeout = null;
4078
+
4079
+ /**
4080
+ * Whether agent is enabled.
4081
+ * @type {boolean || null}
4082
+ */
4083
+ this.AgentEnable = null;
4084
+
4085
+ /**
4086
+ * Whether link compression is enabled.
4087
+ * @type {boolean || null}
4088
+ */
4089
+ this.TraceSquash = null;
4090
+
4091
+ /**
4092
+ * Switch for enabling application diagnosis.
4093
+ * @type {boolean || null}
4094
+ */
4095
+ this.EventEnable = null;
4096
+
4097
+ /**
4098
+ * Component List
4099
+ * @type {Array.<Instrument> || null}
4100
+ */
4101
+ this.InstrumentList = null;
4102
+
4103
+ /**
4104
+ * Related configurations of the probe APIs.
4105
+ * @type {AgentOperationConfigView || null}
4106
+ */
4107
+ this.AgentOperationConfigView = null;
4108
+
4109
+ /**
4110
+ * Whether to enable application log configuration.
4111
+ * @type {boolean || null}
4112
+ */
4113
+ this.EnableLogConfig = null;
4114
+
4115
+ /**
4116
+ * Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
4117
+ * @type {boolean || null}
4118
+ */
4119
+ this.EnableDashboardConfig = null;
4120
+
4121
+ /**
4122
+ * Whether to associate with Dashboard. 0: disabled; 1: enabled.
4123
+ * @type {number || null}
4124
+ */
4125
+ this.IsRelatedDashboard = null;
4126
+
4127
+ /**
4128
+ * dashboard ID
4129
+ * @type {string || null}
4130
+ */
4131
+ this.DashboardTopicID = null;
4132
+
4133
+ /**
4134
+ * CLS index type. (0 = full-text index; 1 = key-value index).
4135
+ * @type {number || null}
4136
+ */
4137
+ this.LogIndexType = null;
4138
+
4139
+ /**
4140
+ * Index key of traceId. It is valid when the CLS index type is key-value index.
4141
+ * @type {string || null}
4142
+ */
4143
+ this.LogTraceIdKey = null;
4144
+
4145
+ /**
4146
+ * Whether to enable the application security configuration.
4147
+ * @type {boolean || null}
4148
+ */
4149
+ this.EnableSecurityConfig = null;
4150
+
4151
+ /**
4152
+ * Whether to enable SQL injection analysis.
4153
+ * @type {number || null}
4154
+ */
4155
+ this.IsSqlInjectionAnalysis = null;
4156
+
4157
+ /**
4158
+ * Whether to enable detection of component vulnerability.
4159
+ * @type {number || null}
4160
+ */
4161
+ this.IsInstrumentationVulnerabilityScan = null;
4162
+
4163
+ /**
4164
+ * Whether remote command detection is enabled.
4165
+ * @type {number || null}
4166
+ */
4167
+ this.IsRemoteCommandExecutionAnalysis = null;
4168
+
4169
+ /**
4170
+ * Whether to enable detection of Java webshell.
4171
+ * @type {number || null}
4172
+ */
4173
+ this.IsMemoryHijackingAnalysis = null;
4174
+
4175
+ /**
4176
+ * Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.)
4177
+ * @type {number || null}
4178
+ */
4179
+ this.IsDeleteAnyFileAnalysis = null;
4180
+
4181
+ /**
4182
+ * Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.)
4183
+ * @type {number || null}
4184
+ */
4185
+ this.IsReadAnyFileAnalysis = null;
4186
+
4187
+ /**
4188
+ * Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.)
4189
+ * @type {number || null}
4190
+ */
4191
+ this.IsUploadAnyFileAnalysis = null;
4192
+
4193
+ /**
4194
+ * Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.)
4195
+ * @type {number || null}
4196
+ */
4197
+ this.IsIncludeAnyFileAnalysis = null;
4198
+
4199
+ /**
4200
+ * Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
4201
+ * @type {number || null}
4202
+ */
4203
+ this.IsDirectoryTraversalAnalysis = null;
4204
+
4205
+ /**
4206
+ * Whether to enable template engine injection detection. (0: disabled; 1: enabled.)
4207
+ * @type {number || null}
4208
+ */
4209
+ this.IsTemplateEngineInjectionAnalysis = null;
4210
+
4211
+ /**
4212
+ * Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.)
4213
+ * @type {number || null}
4214
+ */
4215
+ this.IsScriptEngineInjectionAnalysis = null;
4216
+
4217
+ /**
4218
+ * Whether to enable expression injection detection. (0 - disabled; 1 - enabled.)
4219
+ * @type {number || null}
4220
+ */
4221
+ this.IsExpressionInjectionAnalysis = null;
4222
+
4223
+ /**
4224
+ * Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.)
4225
+ * @type {number || null}
4226
+ */
4227
+ this.IsJNDIInjectionAnalysis = null;
4228
+
4229
+ /**
4230
+ * Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
4231
+ * @type {number || null}
4232
+ */
4233
+ this.IsJNIInjectionAnalysis = null;
4234
+
4235
+ /**
4236
+ * Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
4237
+ * @type {number || null}
4238
+ */
4239
+ this.IsWebshellBackdoorAnalysis = null;
4240
+
4241
+ /**
4242
+ * Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
4243
+ * @type {number || null}
4244
+ */
4245
+ this.IsDeserializationAnalysis = null;
4246
+
4247
+ /**
4248
+ * Automatic convergence switch for APIs. 0: disabled | 1: enabled.
4249
+ * @type {boolean || null}
4250
+ */
4251
+ this.UrlAutoConvergenceEnable = null;
4252
+
4253
+ /**
4254
+ * Convergence threshold for URL long segments.
4255
+ * @type {number || null}
4256
+ */
4257
+ this.UrlLongSegmentThreshold = null;
4258
+
4259
+ /**
4260
+ * Convergence threshold for URL numerical segments.
4261
+ * @type {number || null}
4262
+ */
4263
+ this.UrlNumberSegmentThreshold = null;
4264
+
4265
+ /**
4266
+ * Specifies the memory threshold for probe fusing.
4267
+ * @type {number || null}
4268
+ */
4269
+ this.DisableMemoryUsed = null;
4270
+
4271
+ /**
4272
+ * Specifies the CPU threshold for probe fusing.
4273
+ * @type {number || null}
4274
+ */
4275
+ this.DisableCpuUsed = null;
4276
+
4277
+ }
4278
+
4279
+ /**
4280
+ * @private
4281
+ */
4282
+ deserialize(params) {
4283
+ if (!params) {
4284
+ return;
4285
+ }
4286
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
4287
+ this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
4288
+ this.UrlConvergenceSwitch = 'UrlConvergenceSwitch' in params ? params.UrlConvergenceSwitch : null;
4289
+ this.UrlConvergenceThreshold = 'UrlConvergenceThreshold' in params ? params.UrlConvergenceThreshold : null;
4290
+ this.ExceptionFilter = 'ExceptionFilter' in params ? params.ExceptionFilter : null;
4291
+ this.UrlConvergence = 'UrlConvergence' in params ? params.UrlConvergence : null;
4292
+ this.ErrorCodeFilter = 'ErrorCodeFilter' in params ? params.ErrorCodeFilter : null;
4293
+ this.UrlExclude = 'UrlExclude' in params ? params.UrlExclude : null;
4294
+ this.IsRelatedLog = 'IsRelatedLog' in params ? params.IsRelatedLog : null;
4295
+ this.LogRegion = 'LogRegion' in params ? params.LogRegion : null;
4296
+ this.LogTopicID = 'LogTopicID' in params ? params.LogTopicID : null;
4297
+ this.LogSet = 'LogSet' in params ? params.LogSet : null;
4298
+ this.LogSource = 'LogSource' in params ? params.LogSource : null;
4299
+ this.IgnoreOperationName = 'IgnoreOperationName' in params ? params.IgnoreOperationName : null;
4300
+ this.EnableSnapshot = 'EnableSnapshot' in params ? params.EnableSnapshot : null;
4301
+ this.SnapshotTimeout = 'SnapshotTimeout' in params ? params.SnapshotTimeout : null;
4302
+ this.AgentEnable = 'AgentEnable' in params ? params.AgentEnable : null;
4303
+ this.TraceSquash = 'TraceSquash' in params ? params.TraceSquash : null;
4304
+ this.EventEnable = 'EventEnable' in params ? params.EventEnable : null;
4305
+
4306
+ if (params.InstrumentList) {
4307
+ this.InstrumentList = new Array();
4308
+ for (let z in params.InstrumentList) {
4309
+ let obj = new Instrument();
4310
+ obj.deserialize(params.InstrumentList[z]);
4311
+ this.InstrumentList.push(obj);
4312
+ }
4313
+ }
4314
+
4315
+ if (params.AgentOperationConfigView) {
4316
+ let obj = new AgentOperationConfigView();
4317
+ obj.deserialize(params.AgentOperationConfigView)
4318
+ this.AgentOperationConfigView = obj;
2083
4319
  }
2084
- this.Type = 'Type' in params ? params.Type : null;
2085
- this.Key = 'Key' in params ? params.Key : null;
2086
- this.Value = 'Value' in params ? params.Value : null;
4320
+ this.EnableLogConfig = 'EnableLogConfig' in params ? params.EnableLogConfig : null;
4321
+ this.EnableDashboardConfig = 'EnableDashboardConfig' in params ? params.EnableDashboardConfig : null;
4322
+ this.IsRelatedDashboard = 'IsRelatedDashboard' in params ? params.IsRelatedDashboard : null;
4323
+ this.DashboardTopicID = 'DashboardTopicID' in params ? params.DashboardTopicID : null;
4324
+ this.LogIndexType = 'LogIndexType' in params ? params.LogIndexType : null;
4325
+ this.LogTraceIdKey = 'LogTraceIdKey' in params ? params.LogTraceIdKey : null;
4326
+ this.EnableSecurityConfig = 'EnableSecurityConfig' in params ? params.EnableSecurityConfig : null;
4327
+ this.IsSqlInjectionAnalysis = 'IsSqlInjectionAnalysis' in params ? params.IsSqlInjectionAnalysis : null;
4328
+ this.IsInstrumentationVulnerabilityScan = 'IsInstrumentationVulnerabilityScan' in params ? params.IsInstrumentationVulnerabilityScan : null;
4329
+ this.IsRemoteCommandExecutionAnalysis = 'IsRemoteCommandExecutionAnalysis' in params ? params.IsRemoteCommandExecutionAnalysis : null;
4330
+ this.IsMemoryHijackingAnalysis = 'IsMemoryHijackingAnalysis' in params ? params.IsMemoryHijackingAnalysis : null;
4331
+ this.IsDeleteAnyFileAnalysis = 'IsDeleteAnyFileAnalysis' in params ? params.IsDeleteAnyFileAnalysis : null;
4332
+ this.IsReadAnyFileAnalysis = 'IsReadAnyFileAnalysis' in params ? params.IsReadAnyFileAnalysis : null;
4333
+ this.IsUploadAnyFileAnalysis = 'IsUploadAnyFileAnalysis' in params ? params.IsUploadAnyFileAnalysis : null;
4334
+ this.IsIncludeAnyFileAnalysis = 'IsIncludeAnyFileAnalysis' in params ? params.IsIncludeAnyFileAnalysis : null;
4335
+ this.IsDirectoryTraversalAnalysis = 'IsDirectoryTraversalAnalysis' in params ? params.IsDirectoryTraversalAnalysis : null;
4336
+ this.IsTemplateEngineInjectionAnalysis = 'IsTemplateEngineInjectionAnalysis' in params ? params.IsTemplateEngineInjectionAnalysis : null;
4337
+ this.IsScriptEngineInjectionAnalysis = 'IsScriptEngineInjectionAnalysis' in params ? params.IsScriptEngineInjectionAnalysis : null;
4338
+ this.IsExpressionInjectionAnalysis = 'IsExpressionInjectionAnalysis' in params ? params.IsExpressionInjectionAnalysis : null;
4339
+ this.IsJNDIInjectionAnalysis = 'IsJNDIInjectionAnalysis' in params ? params.IsJNDIInjectionAnalysis : null;
4340
+ this.IsJNIInjectionAnalysis = 'IsJNIInjectionAnalysis' in params ? params.IsJNIInjectionAnalysis : null;
4341
+ this.IsWebshellBackdoorAnalysis = 'IsWebshellBackdoorAnalysis' in params ? params.IsWebshellBackdoorAnalysis : null;
4342
+ this.IsDeserializationAnalysis = 'IsDeserializationAnalysis' in params ? params.IsDeserializationAnalysis : null;
4343
+ this.UrlAutoConvergenceEnable = 'UrlAutoConvergenceEnable' in params ? params.UrlAutoConvergenceEnable : null;
4344
+ this.UrlLongSegmentThreshold = 'UrlLongSegmentThreshold' in params ? params.UrlLongSegmentThreshold : null;
4345
+ this.UrlNumberSegmentThreshold = 'UrlNumberSegmentThreshold' in params ? params.UrlNumberSegmentThreshold : null;
4346
+ this.DisableMemoryUsed = 'DisableMemoryUsed' in params ? params.DisableMemoryUsed : null;
4347
+ this.DisableCpuUsed = 'DisableCpuUsed' in params ? params.DisableCpuUsed : null;
2087
4348
 
2088
4349
  }
2089
4350
  }
@@ -2312,6 +4573,12 @@ class DescribeMetricRecordsRequest extends AbstractModel {
2312
4573
  */
2313
4574
  this.EndTime = null;
2314
4575
 
4576
+ /**
4577
+ * Aggregation dimension.
4578
+ * @type {Array.<string> || null}
4579
+ */
4580
+ this.GroupBy = null;
4581
+
2315
4582
  /**
2316
4583
  * Filter criteria.
2317
4584
  * @type {Array.<Filter> || null}
@@ -2324,12 +4591,6 @@ class DescribeMetricRecordsRequest extends AbstractModel {
2324
4591
  */
2325
4592
  this.OrFilters = null;
2326
4593
 
2327
- /**
2328
- * Aggregation dimension.
2329
- * @type {Array.<string> || null}
2330
- */
2331
- this.GroupBy = null;
2332
-
2333
4594
  /**
2334
4595
  * Sort
2335
4596
  .
@@ -2404,6 +4665,7 @@ The currently supported values are:.
2404
4665
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
2405
4666
  this.StartTime = 'StartTime' in params ? params.StartTime : null;
2406
4667
  this.EndTime = 'EndTime' in params ? params.EndTime : null;
4668
+ this.GroupBy = 'GroupBy' in params ? params.GroupBy : null;
2407
4669
 
2408
4670
  if (params.Filters) {
2409
4671
  this.Filters = new Array();
@@ -2422,7 +4684,6 @@ The currently supported values are:.
2422
4684
  this.OrFilters.push(obj);
2423
4685
  }
2424
4686
  }
2425
- this.GroupBy = 'GroupBy' in params ? params.GroupBy : null;
2426
4687
 
2427
4688
  if (params.OrderBy) {
2428
4689
  let obj = new OrderBy();
@@ -2587,30 +4848,301 @@ Value: specify the sorting method:.
2587
4848
  obj.deserialize(params.OrderBy)
2588
4849
  this.OrderBy = obj;
2589
4850
  }
2590
- this.PageSize = 'PageSize' in params ? params.PageSize : null;
4851
+ this.PageSize = 'PageSize' in params ? params.PageSize : null;
4852
+
4853
+ }
4854
+ }
4855
+
4856
+ /**
4857
+ * DescribeApmPrometheusRule request structure.
4858
+ * @class
4859
+ */
4860
+ class DescribeApmPrometheusRuleRequest extends AbstractModel {
4861
+ constructor(){
4862
+ super();
4863
+
4864
+ /**
4865
+ * Business system ID
4866
+ * @type {string || null}
4867
+ */
4868
+ this.InstanceId = null;
4869
+
4870
+ }
4871
+
4872
+ /**
4873
+ * @private
4874
+ */
4875
+ deserialize(params) {
4876
+ if (!params) {
4877
+ return;
4878
+ }
4879
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
4880
+
4881
+ }
4882
+ }
4883
+
4884
+ /**
4885
+ * CreateApmInstance response structure.
4886
+ * @class
4887
+ */
4888
+ class CreateApmInstanceResponse extends AbstractModel {
4889
+ constructor(){
4890
+ super();
4891
+
4892
+ /**
4893
+ * Business system id.
4894
+ * @type {string || null}
4895
+ */
4896
+ this.InstanceId = null;
4897
+
4898
+ /**
4899
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
4900
+ * @type {string || null}
4901
+ */
4902
+ this.RequestId = null;
4903
+
4904
+ }
4905
+
4906
+ /**
4907
+ * @private
4908
+ */
4909
+ deserialize(params) {
4910
+ if (!params) {
4911
+ return;
4912
+ }
4913
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
4914
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4915
+
4916
+ }
4917
+ }
4918
+
4919
+ /**
4920
+ * Upstream and downstream relationships of span.
4921
+ * @class
4922
+ */
4923
+ class SpanReference extends AbstractModel {
4924
+ constructor(){
4925
+ super();
4926
+
4927
+ /**
4928
+ * Type of association relationship.
4929
+ * @type {string || null}
4930
+ */
4931
+ this.RefType = null;
4932
+
4933
+ /**
4934
+ * Span ID
4935
+ * @type {string || null}
4936
+ */
4937
+ this.SpanID = null;
4938
+
4939
+ /**
4940
+ * Trace ID
4941
+ * @type {string || null}
4942
+ */
4943
+ this.TraceID = null;
4944
+
4945
+ }
4946
+
4947
+ /**
4948
+ * @private
4949
+ */
4950
+ deserialize(params) {
4951
+ if (!params) {
4952
+ return;
4953
+ }
4954
+ this.RefType = 'RefType' in params ? params.RefType : null;
4955
+ this.SpanID = 'SpanID' in params ? params.SpanID : null;
4956
+ this.TraceID = 'TraceID' in params ? params.TraceID : null;
4957
+
4958
+ }
4959
+ }
4960
+
4961
+ /**
4962
+ * CreateProfileTask request structure.
4963
+ * @class
4964
+ */
4965
+ class CreateProfileTaskRequest extends AbstractModel {
4966
+ constructor(){
4967
+ super();
4968
+
4969
+ /**
4970
+ * Application name
4971
+ * @type {string || null}
4972
+ */
4973
+ this.ServiceName = null;
4974
+
4975
+ /**
4976
+ * APM business system ID.
4977
+ * @type {string || null}
4978
+ */
4979
+ this.InstanceId = null;
4980
+
4981
+ /**
4982
+ * Application instance (online).
4983
+ * @type {string || null}
4984
+ */
4985
+ this.ServiceInstance = null;
4986
+
4987
+ /**
4988
+ * Event type (cpu, alloc).
4989
+ * @type {string || null}
4990
+ */
4991
+ this.Event = null;
4992
+
4993
+ /**
4994
+ * Specifies the task duration in milliseconds (ms). value range: 5 to 180 seconds.
4995
+ * @type {number || null}
4996
+ */
4997
+ this.Duration = null;
4998
+
4999
+ /**
5000
+ * Number of execution. value range: 1-100.
5001
+ * @type {number || null}
5002
+ */
5003
+ this.AllTimes = null;
5004
+
5005
+ /**
5006
+ * Start timestamp. 0 indicates start from the current time (unit: seconds).
5007
+ * @type {number || null}
5008
+ */
5009
+ this.StartTime = null;
5010
+
5011
+ /**
5012
+ * Specifies the task execution interval in milliseconds (ms). value range: 10 to 600 seconds. cannot be less than 1.5 times the Duration.
5013
+ * @type {number || null}
5014
+ */
5015
+ this.TaskInterval = null;
5016
+
5017
+ }
5018
+
5019
+ /**
5020
+ * @private
5021
+ */
5022
+ deserialize(params) {
5023
+ if (!params) {
5024
+ return;
5025
+ }
5026
+ this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
5027
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
5028
+ this.ServiceInstance = 'ServiceInstance' in params ? params.ServiceInstance : null;
5029
+ this.Event = 'Event' in params ? params.Event : null;
5030
+ this.Duration = 'Duration' in params ? params.Duration : null;
5031
+ this.AllTimes = 'AllTimes' in params ? params.AllTimes : null;
5032
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
5033
+ this.TaskInterval = 'TaskInterval' in params ? params.TaskInterval : null;
5034
+
5035
+ }
5036
+ }
5037
+
5038
+ /**
5039
+ * Service information.
5040
+ * @class
5041
+ */
5042
+ class SpanProcess extends AbstractModel {
5043
+ constructor(){
5044
+ super();
5045
+
5046
+ /**
5047
+ * Application service name.
5048
+ * @type {string || null}
5049
+ */
5050
+ this.ServiceName = null;
5051
+
5052
+ /**
5053
+ * Tags Tag array.
5054
+ * @type {Array.<SpanTag> || null}
5055
+ */
5056
+ this.Tags = null;
5057
+
5058
+ }
5059
+
5060
+ /**
5061
+ * @private
5062
+ */
5063
+ deserialize(params) {
5064
+ if (!params) {
5065
+ return;
5066
+ }
5067
+ this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
5068
+
5069
+ if (params.Tags) {
5070
+ this.Tags = new Array();
5071
+ for (let z in params.Tags) {
5072
+ let obj = new SpanTag();
5073
+ obj.deserialize(params.Tags[z]);
5074
+ this.Tags.push(obj);
5075
+ }
5076
+ }
5077
+
5078
+ }
5079
+ }
5080
+
5081
+ /**
5082
+ * DeleteApmSampleConfig response structure.
5083
+ * @class
5084
+ */
5085
+ class DeleteApmSampleConfigResponse extends AbstractModel {
5086
+ constructor(){
5087
+ super();
5088
+
5089
+ /**
5090
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
5091
+ * @type {string || null}
5092
+ */
5093
+ this.RequestId = null;
5094
+
5095
+ }
5096
+
5097
+ /**
5098
+ * @private
5099
+ */
5100
+ deserialize(params) {
5101
+ if (!params) {
5102
+ return;
5103
+ }
5104
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2591
5105
 
2592
5106
  }
2593
5107
  }
2594
5108
 
2595
5109
  /**
2596
- * CreateApmInstance response structure.
5110
+ * ModifyApmAssociation request structure.
2597
5111
  * @class
2598
5112
  */
2599
- class CreateApmInstanceResponse extends AbstractModel {
5113
+ class ModifyApmAssociationRequest extends AbstractModel {
2600
5114
  constructor(){
2601
5115
  super();
2602
5116
 
2603
5117
  /**
2604
- * Business system id.
5118
+ * Associated product name. currently only supports Prometheus.
5119
+ * @type {string || null}
5120
+ */
5121
+ this.ProductName = null;
5122
+
5123
+ /**
5124
+ * Status of the association relationship: // association status: 1 (enabled), 2 (disabled), 4 (deleted).
5125
+ * @type {number || null}
5126
+ */
5127
+ this.Status = null;
5128
+
5129
+ /**
5130
+ * Business system ID
2605
5131
  * @type {string || null}
2606
5132
  */
2607
5133
  this.InstanceId = null;
2608
5134
 
2609
5135
  /**
2610
- * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
5136
+ * Associated product instance ID.
2611
5137
  * @type {string || null}
2612
5138
  */
2613
- this.RequestId = null;
5139
+ this.PeerId = null;
5140
+
5141
+ /**
5142
+ * Specifies the CKafka message topic.
5143
+ * @type {string || null}
5144
+ */
5145
+ this.Topic = null;
2614
5146
 
2615
5147
  }
2616
5148
 
@@ -2621,37 +5153,63 @@ class CreateApmInstanceResponse extends AbstractModel {
2621
5153
  if (!params) {
2622
5154
  return;
2623
5155
  }
5156
+ this.ProductName = 'ProductName' in params ? params.ProductName : null;
5157
+ this.Status = 'Status' in params ? params.Status : null;
2624
5158
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
2625
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
5159
+ this.PeerId = 'PeerId' in params ? params.PeerId : null;
5160
+ this.Topic = 'Topic' in params ? params.Topic : null;
2626
5161
 
2627
5162
  }
2628
5163
  }
2629
5164
 
2630
5165
  /**
2631
- * Upstream and downstream relationships of span.
5166
+ * Shows the association between the apm business system and prometheus in the return format.
2632
5167
  * @class
2633
5168
  */
2634
- class SpanReference extends AbstractModel {
5169
+ class ApmPrometheusRules extends AbstractModel {
2635
5170
  constructor(){
2636
5171
  super();
2637
5172
 
2638
5173
  /**
2639
- * Type of association relationship.
5174
+ * Metric match rule ID.
5175
+ * @type {number || null}
5176
+ */
5177
+ this.Id = null;
5178
+
5179
+ /**
5180
+ * Metric match rule name.
5181
+ Note: This field may return null, indicating that no valid values can be obtained.
2640
5182
  * @type {string || null}
2641
5183
  */
2642
- this.RefType = null;
5184
+ this.Name = null;
2643
5185
 
2644
5186
  /**
2645
- * Span ID
5187
+ * Applications where the rule takes effect. input an empty string for all applications.
5188
+ Note: This field may return null, indicating that no valid values can be obtained.
2646
5189
  * @type {string || null}
2647
5190
  */
2648
- this.SpanID = null;
5191
+ this.ServiceName = null;
2649
5192
 
2650
5193
  /**
2651
- * Trace ID
5194
+ * Specifies the metric match rule status: 1 (enabled), 2 (disabled).
5195
+ Note: This field may return null, indicating that no valid values can be obtained.
5196
+ * @type {number || null}
5197
+ */
5198
+ this.Status = null;
5199
+
5200
+ /**
5201
+ * Specifies the metric match rule.
5202
+ Note: This field may return null, indicating that no valid values can be obtained.
2652
5203
  * @type {string || null}
2653
5204
  */
2654
- this.TraceID = null;
5205
+ this.MetricNameRule = null;
5206
+
5207
+ /**
5208
+ * Match type: 0 - precision match, 1 - prefix match, 2 - suffix match.
5209
+ Note: This field may return null, indicating that no valid values can be obtained.
5210
+ * @type {number || null}
5211
+ */
5212
+ this.MetricMatchType = null;
2655
5213
 
2656
5214
  }
2657
5215
 
@@ -2662,33 +5220,78 @@ class SpanReference extends AbstractModel {
2662
5220
  if (!params) {
2663
5221
  return;
2664
5222
  }
2665
- this.RefType = 'RefType' in params ? params.RefType : null;
2666
- this.SpanID = 'SpanID' in params ? params.SpanID : null;
2667
- this.TraceID = 'TraceID' in params ? params.TraceID : null;
5223
+ this.Id = 'Id' in params ? params.Id : null;
5224
+ this.Name = 'Name' in params ? params.Name : null;
5225
+ this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
5226
+ this.Status = 'Status' in params ? params.Status : null;
5227
+ this.MetricNameRule = 'MetricNameRule' in params ? params.MetricNameRule : null;
5228
+ this.MetricMatchType = 'MetricMatchType' in params ? params.MetricMatchType : null;
2668
5229
 
2669
5230
  }
2670
5231
  }
2671
5232
 
2672
5233
  /**
2673
- * Service information.
5234
+ * ModifyApmSampleConfig request structure.
2674
5235
  * @class
2675
5236
  */
2676
- class SpanProcess extends AbstractModel {
5237
+ class ModifyApmSampleConfigRequest extends AbstractModel {
2677
5238
  constructor(){
2678
5239
  super();
2679
5240
 
2680
5241
  /**
2681
- * Application service name.
5242
+ * Business system ID
5243
+ * @type {string || null}
5244
+ */
5245
+ this.InstanceId = null;
5246
+
5247
+ /**
5248
+ * Sampling rule name.
5249
+ * @type {string || null}
5250
+ */
5251
+ this.SampleName = null;
5252
+
5253
+ /**
5254
+ * Sampling rate.
5255
+ * @type {number || null}
5256
+ */
5257
+ this.SampleRate = null;
5258
+
5259
+ /**
5260
+ * Application name. specifies the application name. fill in the blank to take effect on all applications.
2682
5261
  * @type {string || null}
2683
5262
  */
2684
5263
  this.ServiceName = null;
2685
5264
 
2686
5265
  /**
2687
- * Tags Tag array.
2688
- * @type {Array.<SpanTag> || null}
5266
+ * API name.
5267
+ * @type {string || null}
5268
+ */
5269
+ this.OperationName = null;
5270
+
5271
+ /**
5272
+ * Sampling tag
5273
+ * @type {Array.<APMKVItem> || null}
2689
5274
  */
2690
5275
  this.Tags = null;
2691
5276
 
5277
+ /**
5278
+ * Sampling switch. 0: Off; 1: On; 2: Delete
5279
+ * @type {number || null}
5280
+ */
5281
+ this.Status = null;
5282
+
5283
+ /**
5284
+ * Configuration ID.
5285
+ * @type {number || null}
5286
+ */
5287
+ this.Id = null;
5288
+
5289
+ /**
5290
+ * 0: exact match (default); 1: prefix match; 2: suffix match.
5291
+ * @type {number || null}
5292
+ */
5293
+ this.OperationType = null;
5294
+
2692
5295
  }
2693
5296
 
2694
5297
  /**
@@ -2698,16 +5301,23 @@ class SpanProcess extends AbstractModel {
2698
5301
  if (!params) {
2699
5302
  return;
2700
5303
  }
5304
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
5305
+ this.SampleName = 'SampleName' in params ? params.SampleName : null;
5306
+ this.SampleRate = 'SampleRate' in params ? params.SampleRate : null;
2701
5307
  this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
5308
+ this.OperationName = 'OperationName' in params ? params.OperationName : null;
2702
5309
 
2703
5310
  if (params.Tags) {
2704
5311
  this.Tags = new Array();
2705
5312
  for (let z in params.Tags) {
2706
- let obj = new SpanTag();
5313
+ let obj = new APMKVItem();
2707
5314
  obj.deserialize(params.Tags[z]);
2708
5315
  this.Tags.push(obj);
2709
5316
  }
2710
5317
  }
5318
+ this.Status = 'Status' in params ? params.Status : null;
5319
+ this.Id = 'Id' in params ? params.Id : null;
5320
+ this.OperationType = 'OperationType' in params ? params.OperationType : null;
2711
5321
 
2712
5322
  }
2713
5323
  }
@@ -2748,18 +5358,75 @@ class DescribeGeneralApmApplicationConfigRequest extends AbstractModel {
2748
5358
  }
2749
5359
 
2750
5360
  /**
2751
- * ModifyApmInstance response structure.
5361
+ * Sampling configuration
2752
5362
  * @class
2753
5363
  */
2754
- class ModifyApmInstanceResponse extends AbstractModel {
5364
+ class ApmSampleConfig extends AbstractModel {
2755
5365
  constructor(){
2756
5366
  super();
2757
5367
 
2758
5368
  /**
2759
- * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
5369
+ * Instance ID.
2760
5370
  * @type {string || null}
2761
5371
  */
2762
- this.RequestId = null;
5372
+ this.InstanceKey = null;
5373
+
5374
+ /**
5375
+ * Service name.
5376
+ * @type {string || null}
5377
+ */
5378
+ this.ServiceName = null;
5379
+
5380
+ /**
5381
+ * Sampling name
5382
+ * @type {string || null}
5383
+ */
5384
+ this.SampleName = null;
5385
+
5386
+ /**
5387
+ * API name.
5388
+ * @type {string || null}
5389
+ */
5390
+ this.OperationName = null;
5391
+
5392
+ /**
5393
+ * Number of spans sampled
5394
+ * @type {number || null}
5395
+ */
5396
+ this.SpanNum = null;
5397
+
5398
+ /**
5399
+ * Sampling configuration switch. 0: Off; 1: On
5400
+ * @type {number || null}
5401
+ */
5402
+ this.Status = null;
5403
+
5404
+ /**
5405
+ * Tag array
5406
+ Note: This field may return null, indicating that no valid values can be obtained.
5407
+ * @type {Array.<APMKVItem> || null}
5408
+ */
5409
+ this.Tags = null;
5410
+
5411
+ /**
5412
+ * Sampling rate.
5413
+ * @type {number || null}
5414
+ */
5415
+ this.SampleRate = null;
5416
+
5417
+ /**
5418
+ * Specifies the matching method. 0: exact match (default); 1: prefix match; 2: suffix match.
5419
+ Note: This field may return null, indicating that no valid values can be obtained.
5420
+ * @type {number || null}
5421
+ */
5422
+ this.OperationType = null;
5423
+
5424
+ /**
5425
+ * Configuration ID.
5426
+ Note: This field may return null, indicating that no valid values can be obtained.
5427
+ * @type {number || null}
5428
+ */
5429
+ this.Id = null;
2763
5430
 
2764
5431
  }
2765
5432
 
@@ -2770,7 +5437,24 @@ class ModifyApmInstanceResponse extends AbstractModel {
2770
5437
  if (!params) {
2771
5438
  return;
2772
5439
  }
2773
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
5440
+ this.InstanceKey = 'InstanceKey' in params ? params.InstanceKey : null;
5441
+ this.ServiceName = 'ServiceName' in params ? params.ServiceName : null;
5442
+ this.SampleName = 'SampleName' in params ? params.SampleName : null;
5443
+ this.OperationName = 'OperationName' in params ? params.OperationName : null;
5444
+ this.SpanNum = 'SpanNum' in params ? params.SpanNum : null;
5445
+ this.Status = 'Status' in params ? params.Status : null;
5446
+
5447
+ if (params.Tags) {
5448
+ this.Tags = new Array();
5449
+ for (let z in params.Tags) {
5450
+ let obj = new APMKVItem();
5451
+ obj.deserialize(params.Tags[z]);
5452
+ this.Tags.push(obj);
5453
+ }
5454
+ }
5455
+ this.SampleRate = 'SampleRate' in params ? params.SampleRate : null;
5456
+ this.OperationType = 'OperationType' in params ? params.OperationType : null;
5457
+ this.Id = 'Id' in params ? params.Id : null;
2774
5458
 
2775
5459
  }
2776
5460
  }
@@ -2825,11 +5509,17 @@ class DescribeApmInstancesRequest extends AbstractModel {
2825
5509
  this.Tags = null;
2826
5510
 
2827
5511
  /**
2828
- * Filter by business system name.
5512
+ * Filters by business system name, and fuzzy search is supported.
2829
5513
  * @type {string || null}
2830
5514
  */
2831
5515
  this.InstanceName = null;
2832
5516
 
5517
+ /**
5518
+ * Filters by business system ID, and fuzzy search is supported.
5519
+ * @type {string || null}
5520
+ */
5521
+ this.InstanceId = null;
5522
+
2833
5523
  /**
2834
5524
  * Filter by business system id.
2835
5525
  * @type {Array.<string> || null}
@@ -2867,6 +5557,7 @@ class DescribeApmInstancesRequest extends AbstractModel {
2867
5557
  }
2868
5558
  }
2869
5559
  this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
5560
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
2870
5561
  this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
2871
5562
  this.DemoInstanceFlag = 'DemoInstanceFlag' in params ? params.DemoInstanceFlag : null;
2872
5563
  this.AllRegionsFlag = 'AllRegionsFlag' in params ? params.AllRegionsFlag : null;
@@ -2963,18 +5654,82 @@ class DescribeGeneralMetricDataResponse extends AbstractModel {
2963
5654
  }
2964
5655
 
2965
5656
  /**
2966
- * ModifyGeneralApmApplicationConfig response structure.
5657
+ * DeleteApmSampleConfig request structure.
2967
5658
  * @class
2968
5659
  */
2969
- class ModifyGeneralApmApplicationConfigResponse extends AbstractModel {
5660
+ class DeleteApmSampleConfigRequest extends AbstractModel {
2970
5661
  constructor(){
2971
5662
  super();
2972
5663
 
2973
5664
  /**
2974
- * Description of the returned value.
5665
+ * Business system ID
2975
5666
  * @type {string || null}
2976
5667
  */
2977
- this.Message = null;
5668
+ this.InstanceId = null;
5669
+
5670
+ /**
5671
+ * Sampling rule name.
5672
+ * @type {string || null}
5673
+ */
5674
+ this.SampleName = null;
5675
+
5676
+ }
5677
+
5678
+ /**
5679
+ * @private
5680
+ */
5681
+ deserialize(params) {
5682
+ if (!params) {
5683
+ return;
5684
+ }
5685
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
5686
+ this.SampleName = 'SampleName' in params ? params.SampleName : null;
5687
+
5688
+ }
5689
+ }
5690
+
5691
+ /**
5692
+ * Common kv structure of apm.
5693
+ * @class
5694
+ */
5695
+ class APMKVItem extends AbstractModel {
5696
+ constructor(){
5697
+ super();
5698
+
5699
+ /**
5700
+ * Key value definition.
5701
+ * @type {string || null}
5702
+ */
5703
+ this.Key = null;
5704
+
5705
+ /**
5706
+ * Value definition.
5707
+ * @type {string || null}
5708
+ */
5709
+ this.Value = null;
5710
+
5711
+ }
5712
+
5713
+ /**
5714
+ * @private
5715
+ */
5716
+ deserialize(params) {
5717
+ if (!params) {
5718
+ return;
5719
+ }
5720
+ this.Key = 'Key' in params ? params.Key : null;
5721
+ this.Value = 'Value' in params ? params.Value : null;
5722
+
5723
+ }
5724
+ }
5725
+
5726
+ /**
5727
+ * CreateApmPrometheusRule response structure.
5728
+ * @class
5729
+ */
5730
+ class CreateApmPrometheusRuleResponse extends AbstractModel {
5731
+ constructor(){
5732
+ super();
2978
5733
 
2979
5734
  /**
2980
5735
  * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
@@ -2991,7 +5746,6 @@ class ModifyGeneralApmApplicationConfigResponse extends AbstractModel {
2991
5746
  if (!params) {
2992
5747
  return;
2993
5748
  }
2994
- this.Message = 'Message' in params ? params.Message : null;
2995
5749
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
2996
5750
 
2997
5751
  }
@@ -3026,50 +5780,83 @@ class TerminateApmInstanceResponse extends AbstractModel {
3026
5780
  }
3027
5781
 
3028
5782
  module.exports = {
3029
- SpanLog: SpanLog,
5783
+ DescribeApmAssociationResponse: DescribeApmAssociationResponse,
3030
5784
  ModifyApmInstanceRequest: ModifyApmInstanceRequest,
3031
5785
  ApmInstanceDetail: ApmInstanceDetail,
3032
5786
  CreateApmInstanceRequest: CreateApmInstanceRequest,
3033
5787
  ModifyGeneralApmApplicationConfigRequest: ModifyGeneralApmApplicationConfigRequest,
3034
- DescribeServiceOverviewResponse: DescribeServiceOverviewResponse,
5788
+ DescribeApmServiceMetricRequest: DescribeApmServiceMetricRequest,
5789
+ CreateApmPrometheusRuleRequest: CreateApmPrometheusRuleRequest,
3035
5790
  QueryMetricItem: QueryMetricItem,
3036
- TerminateApmInstanceRequest: TerminateApmInstanceRequest,
5791
+ ModifyApmPrometheusRuleRequest: ModifyApmPrometheusRuleRequest,
5792
+ ModifyGeneralApmApplicationConfigResponse: ModifyGeneralApmApplicationConfigResponse,
3037
5793
  DescribeApmInstancesResponse: DescribeApmInstancesResponse,
5794
+ AgentOperationConfigView: AgentOperationConfigView,
3038
5795
  Instrument: Instrument,
3039
5796
  DescribeTagValuesResponse: DescribeTagValuesResponse,
5797
+ DescribeTagValuesRequest: DescribeTagValuesRequest,
5798
+ DescribeApmPrometheusRuleResponse: DescribeApmPrometheusRuleResponse,
5799
+ ServiceDetail: ServiceDetail,
3040
5800
  Span: Span,
3041
5801
  ApmAgentInfo: ApmAgentInfo,
3042
- DescribeGeneralSpanListResponse: DescribeGeneralSpanListResponse,
5802
+ TerminateApmInstanceRequest: TerminateApmInstanceRequest,
5803
+ ApmApplicationConfigView: ApmApplicationConfigView,
3043
5804
  ApmMetricRecord: ApmMetricRecord,
3044
5805
  DescribeServiceOverviewRequest: DescribeServiceOverviewRequest,
5806
+ DescribeApmSampleConfigResponse: DescribeApmSampleConfigResponse,
3045
5807
  DescribeApmAgentResponse: DescribeApmAgentResponse,
3046
- DescribeTagValuesRequest: DescribeTagValuesRequest,
5808
+ CreateApmSampleConfigRequest: CreateApmSampleConfigRequest,
5809
+ DescribeApmSampleConfigRequest: DescribeApmSampleConfigRequest,
5810
+ ModifyApmInstanceResponse: ModifyApmInstanceResponse,
5811
+ SpanLog: SpanLog,
5812
+ ApmServiceMetric: ApmServiceMetric,
5813
+ ModifyApmSampleConfigResponse: ModifyApmSampleConfigResponse,
5814
+ ApmAppConfig: ApmAppConfig,
5815
+ CreateApmSampleConfigResponse: CreateApmSampleConfigResponse,
5816
+ DescribeApmApplicationConfigRequest: DescribeApmApplicationConfigRequest,
5817
+ Filter: Filter,
3047
5818
  ApmField: ApmField,
3048
5819
  Line: Line,
3049
- ApmApplicationConfigView: ApmApplicationConfigView,
3050
- ApmTag: ApmTag,
3051
- APMKVItem: APMKVItem,
5820
+ DescribeGeneralSpanListResponse: DescribeGeneralSpanListResponse,
5821
+ CreateProfileTaskResponse: CreateProfileTaskResponse,
5822
+ DescribeGeneralSpanListRequest: DescribeGeneralSpanListRequest,
5823
+ ModifyApmPrometheusRuleResponse: ModifyApmPrometheusRuleResponse,
5824
+ ApmAssociation: ApmAssociation,
3052
5825
  OrderBy: OrderBy,
5826
+ DescribeServiceOverviewResponse: DescribeServiceOverviewResponse,
5827
+ DescribeApmServiceMetricResponse: DescribeApmServiceMetricResponse,
5828
+ ModifyApmAssociationResponse: ModifyApmAssociationResponse,
3053
5829
  DescribeMetricRecordsResponse: DescribeMetricRecordsResponse,
3054
5830
  DescribeGeneralOTSpanListResponse: DescribeGeneralOTSpanListResponse,
3055
- DescribeGeneralSpanListRequest: DescribeGeneralSpanListRequest,
3056
- Filter: Filter,
5831
+ ApmTag: ApmTag,
5832
+ ModifyApmApplicationConfigResponse: ModifyApmApplicationConfigResponse,
5833
+ DescribeApmApplicationConfigResponse: DescribeApmApplicationConfigResponse,
5834
+ DescribeApmAssociationRequest: DescribeApmAssociationRequest,
5835
+ ModifyApmApplicationConfigRequest: ModifyApmApplicationConfigRequest,
3057
5836
  APMKV: APMKV,
3058
5837
  DescribeGeneralOTSpanListRequest: DescribeGeneralOTSpanListRequest,
3059
5838
  DescribeApmAgentRequest: DescribeApmAgentRequest,
3060
5839
  DescribeMetricRecordsRequest: DescribeMetricRecordsRequest,
3061
5840
  DescribeGeneralApmApplicationConfigResponse: DescribeGeneralApmApplicationConfigResponse,
3062
5841
  DescribeGeneralMetricDataRequest: DescribeGeneralMetricDataRequest,
5842
+ DescribeApmPrometheusRuleRequest: DescribeApmPrometheusRuleRequest,
3063
5843
  CreateApmInstanceResponse: CreateApmInstanceResponse,
3064
5844
  SpanReference: SpanReference,
5845
+ CreateProfileTaskRequest: CreateProfileTaskRequest,
3065
5846
  SpanProcess: SpanProcess,
5847
+ DeleteApmSampleConfigResponse: DeleteApmSampleConfigResponse,
5848
+ ModifyApmAssociationRequest: ModifyApmAssociationRequest,
5849
+ ApmPrometheusRules: ApmPrometheusRules,
5850
+ ModifyApmSampleConfigRequest: ModifyApmSampleConfigRequest,
3066
5851
  DescribeGeneralApmApplicationConfigRequest: DescribeGeneralApmApplicationConfigRequest,
3067
- ModifyApmInstanceResponse: ModifyApmInstanceResponse,
5852
+ ApmSampleConfig: ApmSampleConfig,
3068
5853
  GeneralFilter: GeneralFilter,
3069
5854
  DescribeApmInstancesRequest: DescribeApmInstancesRequest,
3070
5855
  SpanTag: SpanTag,
3071
5856
  DescribeGeneralMetricDataResponse: DescribeGeneralMetricDataResponse,
3072
- ModifyGeneralApmApplicationConfigResponse: ModifyGeneralApmApplicationConfigResponse,
5857
+ DeleteApmSampleConfigRequest: DeleteApmSampleConfigRequest,
5858
+ APMKVItem: APMKVItem,
5859
+ CreateApmPrometheusRuleResponse: CreateApmPrometheusRuleResponse,
3073
5860
  TerminateApmInstanceResponse: TerminateApmInstanceResponse,
3074
5861
 
3075
5862
  }