@alicloud/cms20190101 4.0.8 → 4.0.9

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.
Files changed (182) hide show
  1. package/dist/client.d.ts +8 -4
  2. package/dist/client.js +11 -4
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateGroupMetricRulesRequest.d.ts +132 -0
  5. package/dist/models/CreateGroupMetricRulesRequest.js.map +1 -1
  6. package/dist/models/CreateGroupMetricRulesResponseBody.d.ts +0 -44
  7. package/dist/models/CreateGroupMetricRulesResponseBody.js.map +1 -1
  8. package/dist/models/CreateMetricRuleTemplateRequest.d.ts +174 -0
  9. package/dist/models/CreateMetricRuleTemplateRequest.js.map +1 -1
  10. package/dist/models/CreateSiteMonitorResponseBody.d.ts +0 -64
  11. package/dist/models/CreateSiteMonitorResponseBody.js.map +1 -1
  12. package/dist/models/DeleteMetricRuleTargetsResponseBody.d.ts +0 -4
  13. package/dist/models/DeleteMetricRuleTargetsResponseBody.js.map +1 -1
  14. package/dist/models/DeleteMonitorGroupResponseBody.d.ts +0 -11
  15. package/dist/models/DeleteMonitorGroupResponseBody.js.map +1 -1
  16. package/dist/models/DescribeActiveMetricRuleListResponseBody.d.ts +0 -394
  17. package/dist/models/DescribeActiveMetricRuleListResponseBody.js.map +1 -1
  18. package/dist/models/DescribeAlertHistoryListResponseBody.d.ts +0 -150
  19. package/dist/models/DescribeAlertHistoryListResponseBody.js.map +1 -1
  20. package/dist/models/DescribeAlertingMetricRuleResourcesResponseBody.d.ts +0 -290
  21. package/dist/models/DescribeAlertingMetricRuleResourcesResponseBody.js.map +1 -1
  22. package/dist/models/DescribeContactGroupListResponseBody.d.ts +0 -58
  23. package/dist/models/DescribeContactGroupListResponseBody.js.map +1 -1
  24. package/dist/models/DescribeContactListByContactGroupResponseBody.d.ts +0 -72
  25. package/dist/models/DescribeContactListByContactGroupResponseBody.js.map +1 -1
  26. package/dist/models/DescribeContactListResponseBody.d.ts +0 -127
  27. package/dist/models/DescribeContactListResponseBody.js.map +1 -1
  28. package/dist/models/DescribeCustomEventAttributeResponseBody.d.ts +0 -41
  29. package/dist/models/DescribeCustomEventAttributeResponseBody.js.map +1 -1
  30. package/dist/models/DescribeCustomEventCountResponseBody.d.ts +0 -27
  31. package/dist/models/DescribeCustomEventCountResponseBody.js.map +1 -1
  32. package/dist/models/DescribeCustomEventHistogramResponseBody.d.ts +0 -29
  33. package/dist/models/DescribeCustomEventHistogramResponseBody.js.map +1 -1
  34. package/dist/models/DescribeDynamicTagRuleListResponseBody.d.ts +0 -89
  35. package/dist/models/DescribeDynamicTagRuleListResponseBody.js.map +1 -1
  36. package/dist/models/DescribeEventRuleAttributeResponseBody.d.ts +0 -8
  37. package/dist/models/DescribeEventRuleAttributeResponseBody.js.map +1 -1
  38. package/dist/models/DescribeEventRuleListResponseBody.d.ts +0 -107
  39. package/dist/models/DescribeEventRuleListResponseBody.js.map +1 -1
  40. package/dist/models/DescribeEventRuleTargetListResponseBody.d.ts +0 -253
  41. package/dist/models/DescribeEventRuleTargetListResponseBody.js.map +1 -1
  42. package/dist/models/DescribeExporterOutputListResponseBody.d.ts +0 -59
  43. package/dist/models/DescribeExporterOutputListResponseBody.js.map +1 -1
  44. package/dist/models/DescribeExporterRuleListResponseBody.d.ts +0 -67
  45. package/dist/models/DescribeExporterRuleListResponseBody.js.map +1 -1
  46. package/dist/models/DescribeGroupMonitoringAgentProcessResponseBody.d.ts +0 -213
  47. package/dist/models/DescribeGroupMonitoringAgentProcessResponseBody.js.map +1 -1
  48. package/dist/models/DescribeHostAvailabilityListResponseBody.d.ts +0 -288
  49. package/dist/models/DescribeHostAvailabilityListResponseBody.js.map +1 -1
  50. package/dist/models/DescribeMetricMetaListResponseBody.d.ts +0 -71
  51. package/dist/models/DescribeMetricMetaListResponseBody.js.map +1 -1
  52. package/dist/models/DescribeMetricRuleListResponseBody.d.ts +0 -497
  53. package/dist/models/DescribeMetricRuleListResponseBody.js.map +1 -1
  54. package/dist/models/DescribeMetricRuleTargetsResponseBody.d.ts +0 -41
  55. package/dist/models/DescribeMetricRuleTargetsResponseBody.js.map +1 -1
  56. package/dist/models/DescribeMetricRuleTemplateAttributeResponseBody.d.ts +0 -217
  57. package/dist/models/DescribeMetricRuleTemplateAttributeResponseBody.js.map +1 -1
  58. package/dist/models/DescribeMetricRuleTemplateListResponseBody.d.ts +0 -76
  59. package/dist/models/DescribeMetricRuleTemplateListResponseBody.js.map +1 -1
  60. package/dist/models/DescribeMonitorGroupCategoriesResponseBody.d.ts +0 -20
  61. package/dist/models/DescribeMonitorGroupCategoriesResponseBody.js.map +1 -1
  62. package/dist/models/DescribeMonitorGroupDynamicRulesResponseBody.d.ts +0 -54
  63. package/dist/models/DescribeMonitorGroupDynamicRulesResponseBody.js.map +1 -1
  64. package/dist/models/DescribeMonitorGroupInstanceAttributeResponseBody.d.ts +0 -100
  65. package/dist/models/DescribeMonitorGroupInstanceAttributeResponseBody.js.map +1 -1
  66. package/dist/models/DescribeMonitorGroupInstancesResponseBody.d.ts +0 -39
  67. package/dist/models/DescribeMonitorGroupInstancesResponseBody.js.map +1 -1
  68. package/dist/models/DescribeMonitorGroupNotifyPolicyListResponseBody.d.ts +0 -43
  69. package/dist/models/DescribeMonitorGroupNotifyPolicyListResponseBody.js.map +1 -1
  70. package/dist/models/DescribeMonitorGroupsResponseBody.d.ts +0 -118
  71. package/dist/models/DescribeMonitorGroupsResponseBody.js.map +1 -1
  72. package/dist/models/DescribeMonitoringAgentHostsResponseBody.d.ts +0 -109
  73. package/dist/models/DescribeMonitoringAgentHostsResponseBody.js.map +1 -1
  74. package/dist/models/DescribeMonitoringAgentProcessesResponseBody.d.ts +0 -48
  75. package/dist/models/DescribeMonitoringAgentProcessesResponseBody.js.map +1 -1
  76. package/dist/models/DescribeMonitoringAgentStatusesResponseBody.d.ts +0 -102
  77. package/dist/models/DescribeMonitoringAgentStatusesResponseBody.js.map +1 -1
  78. package/dist/models/DescribeProductsOfActiveMetricRuleResponseBody.d.ts +0 -121
  79. package/dist/models/DescribeProductsOfActiveMetricRuleResponseBody.js.map +1 -1
  80. package/dist/models/DescribeProjectMetaResponseBody.d.ts +0 -32
  81. package/dist/models/DescribeProjectMetaResponseBody.js.map +1 -1
  82. package/dist/models/DescribeSiteMonitorAttributeResponseBody.d.ts +0 -284
  83. package/dist/models/DescribeSiteMonitorAttributeResponseBody.js.map +1 -1
  84. package/dist/models/DescribeSiteMonitorIspcityListResponseBody.d.ts +0 -52
  85. package/dist/models/DescribeSiteMonitorIspcityListResponseBody.js.map +1 -1
  86. package/dist/models/DescribeSiteMonitorListResponseBody.d.ts +0 -391
  87. package/dist/models/DescribeSiteMonitorListResponseBody.js.map +1 -1
  88. package/dist/models/DescribeSystemEventAttributeResponseBody.d.ts +0 -87
  89. package/dist/models/DescribeSystemEventAttributeResponseBody.js.map +1 -1
  90. package/dist/models/DescribeSystemEventCountResponseBody.d.ts +0 -82
  91. package/dist/models/DescribeSystemEventCountResponseBody.js.map +1 -1
  92. package/dist/models/DescribeSystemEventHistogramResponseBody.d.ts +0 -29
  93. package/dist/models/DescribeSystemEventHistogramResponseBody.js.map +1 -1
  94. package/dist/models/DescribeSystemEventMetaListResponseBody.d.ts +0 -61
  95. package/dist/models/DescribeSystemEventMetaListResponseBody.js.map +1 -1
  96. package/dist/models/DescribeUnhealthyHostAvailabilityResponseBody.d.ts +0 -11
  97. package/dist/models/DescribeUnhealthyHostAvailabilityResponseBody.js.map +1 -1
  98. package/dist/models/Dimension.d.ts +14 -0
  99. package/dist/models/Dimension.js.map +1 -1
  100. package/dist/models/Matcher.d.ts +21 -0
  101. package/dist/models/Matcher.js.map +1 -1
  102. package/dist/models/MetricStat.d.ts +49 -0
  103. package/dist/models/MetricStat.js.map +1 -1
  104. package/dist/models/ModifyMetricRuleTemplateRequest.d.ts +174 -0
  105. package/dist/models/ModifyMetricRuleTemplateRequest.js.map +1 -1
  106. package/dist/models/PutEventRuleTargetsResponseBody.d.ts +0 -81
  107. package/dist/models/PutEventRuleTargetsResponseBody.js.map +1 -1
  108. package/dist/models/PutMetricRuleTargetsResponseBody.d.ts +0 -45
  109. package/dist/models/PutMetricRuleTargetsResponseBody.js.map +1 -1
  110. package/dist/models/PutResourceMetricRuleRequest.d.ts +1 -0
  111. package/dist/models/PutResourceMetricRuleRequest.js +2 -0
  112. package/dist/models/PutResourceMetricRuleRequest.js.map +1 -1
  113. package/dist/models/PutResourceMetricRuleShrinkRequest.d.ts +1 -0
  114. package/dist/models/PutResourceMetricRuleShrinkRequest.js +2 -0
  115. package/dist/models/PutResourceMetricRuleShrinkRequest.js.map +1 -1
  116. package/dist/models/PutResourceMetricRulesRequest.d.ts +176 -0
  117. package/dist/models/PutResourceMetricRulesRequest.js +2 -0
  118. package/dist/models/PutResourceMetricRulesRequest.js.map +1 -1
  119. package/dist/models/PutResourceMetricRulesResponseBody.d.ts +0 -39
  120. package/dist/models/PutResourceMetricRulesResponseBody.js.map +1 -1
  121. package/dist/models/RemoveTagsResponseBody.d.ts +0 -4
  122. package/dist/models/RemoveTagsResponseBody.js.map +1 -1
  123. package/package.json +1 -1
  124. package/src/client.ts +12 -4
  125. package/src/models/CreateGroupMetricRulesRequest.ts +132 -0
  126. package/src/models/CreateGroupMetricRulesResponseBody.ts +0 -44
  127. package/src/models/CreateMetricRuleTemplateRequest.ts +174 -0
  128. package/src/models/CreateSiteMonitorResponseBody.ts +0 -64
  129. package/src/models/DeleteMetricRuleTargetsResponseBody.ts +0 -4
  130. package/src/models/DeleteMonitorGroupResponseBody.ts +0 -11
  131. package/src/models/DescribeActiveMetricRuleListResponseBody.ts +0 -394
  132. package/src/models/DescribeAlertHistoryListResponseBody.ts +0 -150
  133. package/src/models/DescribeAlertingMetricRuleResourcesResponseBody.ts +0 -290
  134. package/src/models/DescribeContactGroupListResponseBody.ts +0 -58
  135. package/src/models/DescribeContactListByContactGroupResponseBody.ts +0 -72
  136. package/src/models/DescribeContactListResponseBody.ts +0 -127
  137. package/src/models/DescribeCustomEventAttributeResponseBody.ts +0 -41
  138. package/src/models/DescribeCustomEventCountResponseBody.ts +0 -27
  139. package/src/models/DescribeCustomEventHistogramResponseBody.ts +0 -29
  140. package/src/models/DescribeDynamicTagRuleListResponseBody.ts +0 -89
  141. package/src/models/DescribeEventRuleAttributeResponseBody.ts +0 -8
  142. package/src/models/DescribeEventRuleListResponseBody.ts +0 -107
  143. package/src/models/DescribeEventRuleTargetListResponseBody.ts +0 -253
  144. package/src/models/DescribeExporterOutputListResponseBody.ts +0 -59
  145. package/src/models/DescribeExporterRuleListResponseBody.ts +0 -67
  146. package/src/models/DescribeGroupMonitoringAgentProcessResponseBody.ts +0 -213
  147. package/src/models/DescribeHostAvailabilityListResponseBody.ts +0 -288
  148. package/src/models/DescribeMetricMetaListResponseBody.ts +0 -71
  149. package/src/models/DescribeMetricRuleListResponseBody.ts +0 -497
  150. package/src/models/DescribeMetricRuleTargetsResponseBody.ts +0 -41
  151. package/src/models/DescribeMetricRuleTemplateAttributeResponseBody.ts +0 -217
  152. package/src/models/DescribeMetricRuleTemplateListResponseBody.ts +0 -76
  153. package/src/models/DescribeMonitorGroupCategoriesResponseBody.ts +0 -20
  154. package/src/models/DescribeMonitorGroupDynamicRulesResponseBody.ts +0 -54
  155. package/src/models/DescribeMonitorGroupInstanceAttributeResponseBody.ts +0 -100
  156. package/src/models/DescribeMonitorGroupInstancesResponseBody.ts +0 -39
  157. package/src/models/DescribeMonitorGroupNotifyPolicyListResponseBody.ts +0 -43
  158. package/src/models/DescribeMonitorGroupsResponseBody.ts +0 -118
  159. package/src/models/DescribeMonitoringAgentHostsResponseBody.ts +0 -109
  160. package/src/models/DescribeMonitoringAgentProcessesResponseBody.ts +0 -48
  161. package/src/models/DescribeMonitoringAgentStatusesResponseBody.ts +0 -102
  162. package/src/models/DescribeProductsOfActiveMetricRuleResponseBody.ts +0 -121
  163. package/src/models/DescribeProjectMetaResponseBody.ts +0 -32
  164. package/src/models/DescribeSiteMonitorAttributeResponseBody.ts +0 -284
  165. package/src/models/DescribeSiteMonitorIspcityListResponseBody.ts +0 -52
  166. package/src/models/DescribeSiteMonitorListResponseBody.ts +0 -391
  167. package/src/models/DescribeSystemEventAttributeResponseBody.ts +0 -87
  168. package/src/models/DescribeSystemEventCountResponseBody.ts +0 -82
  169. package/src/models/DescribeSystemEventHistogramResponseBody.ts +0 -29
  170. package/src/models/DescribeSystemEventMetaListResponseBody.ts +0 -61
  171. package/src/models/DescribeUnhealthyHostAvailabilityResponseBody.ts +0 -11
  172. package/src/models/Dimension.ts +14 -0
  173. package/src/models/Matcher.ts +21 -0
  174. package/src/models/MetricStat.ts +49 -0
  175. package/src/models/ModifyMetricRuleTemplateRequest.ts +174 -0
  176. package/src/models/PutEventRuleTargetsResponseBody.ts +0 -81
  177. package/src/models/PutMetricRuleTargetsResponseBody.ts +0 -45
  178. package/src/models/PutResourceMetricRuleRequest.ts +3 -0
  179. package/src/models/PutResourceMetricRuleShrinkRequest.ts +3 -0
  180. package/src/models/PutResourceMetricRulesRequest.ts +178 -0
  181. package/src/models/PutResourceMetricRulesResponseBody.ts +0 -39
  182. package/src/models/RemoveTagsResponseBody.ts +0 -4
@@ -3,49 +3,9 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeActiveMetricRuleListResponseBodyAlertListAlertEscalationsCritical extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The operator that is used to compare the metric value with the threshold for Critical-level alerts. Valid values:
9
- *
10
- * * GreaterThanOrEqualToThreshold: greater than or equal to the threshold
11
- * * GreaterThanThreshold: greater than the threshold
12
- * * LessThanOrEqualToThreshold: less than or equal to the threshold
13
- * * LessThanThreshold: less than the threshold
14
- * * NotEqualToThreshold: not equal to the threshold
15
- * * GreaterThanYesterday: greater than the metric value at the same time yesterday
16
- * * LessThanYesterday: less than the metric value at the same time yesterday
17
- * * GreaterThanLastWeek: greater than the metric value at the same time last week
18
- * * LessThanLastWeek: less than the metric value at the same time last week
19
- * * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
20
- * * LessThanLastPeriod: less than the metric value in the last monitoring cycle
21
- *
22
- * @example
23
- * GreaterThanThreshold
24
- */
25
6
  comparisonOperator?: string;
26
- /**
27
- * @remarks
28
- * The statistical methods for Critical-level alerts.
29
- *
30
- * @example
31
- * Average
32
- */
33
7
  statistics?: string;
34
- /**
35
- * @remarks
36
- * The threshold for Critical-level alerts.
37
- *
38
- * @example
39
- * 99
40
- */
41
8
  threshold?: string;
42
- /**
43
- * @remarks
44
- * The consecutive number of times for which the metric value meets the alert condition before a Critical-level alert is triggered.
45
- *
46
- * @example
47
- * 3
48
- */
49
9
  times?: string;
50
10
  static names(): { [key: string]: string } {
51
11
  return {
@@ -75,51 +35,9 @@ export class DescribeActiveMetricRuleListResponseBodyAlertListAlertEscalationsCr
75
35
  }
76
36
 
77
37
  export class DescribeActiveMetricRuleListResponseBodyAlertListAlertEscalationsInfo extends $dara.Model {
78
- /**
79
- * @remarks
80
- * The operator that is used to compare the metric value with the threshold for Info-level alerts. Valid values:
81
- *
82
- * * GreaterThanOrEqualToThreshold: greater than or equal to the threshold
83
- * * GreaterThanThreshold: greater than the threshold
84
- * * LessThanOrEqualToThreshold: less than or equal to the threshold
85
- * * LessThanThreshold: less than the threshold
86
- * * NotEqualToThreshold: not equal to the threshold
87
- * * GreaterThanYesterday: greater than the metric value at the same time yesterday
88
- * * LessThanYesterday: less than the metric value at the same time yesterday
89
- * * GreaterThanLastWeek: greater than the metric value at the same time last week
90
- * * LessThanLastWeek: less than the metric value at the same time last week
91
- * * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
92
- * * LessThanLastPeriod: less than the metric value in the last monitoring cycle
93
- *
94
- * @example
95
- * GreaterThanThreshold
96
- */
97
38
  comparisonOperator?: string;
98
- /**
99
- * @remarks
100
- * The statistical methods for Info-level alerts.
101
- *
102
- * @example
103
- * Average
104
- */
105
39
  statistics?: string;
106
- /**
107
- * @remarks
108
- * The threshold for Info-level alerts.
109
- *
110
- * @example
111
- * 95
112
- */
113
40
  threshold?: string;
114
- /**
115
- * @remarks
116
- * The consecutive number of times
117
- *
118
- * for which the metric value meets the alert condition before an Info-level alert is triggered.
119
- *
120
- * @example
121
- * 3
122
- */
123
41
  times?: string;
124
42
  static names(): { [key: string]: string } {
125
43
  return {
@@ -149,51 +67,9 @@ export class DescribeActiveMetricRuleListResponseBodyAlertListAlertEscalationsIn
149
67
  }
150
68
 
151
69
  export class DescribeActiveMetricRuleListResponseBodyAlertListAlertEscalationsWarn extends $dara.Model {
152
- /**
153
- * @remarks
154
- * The operator that is used to compare the metric value with the threshold for Warn-level alerts. Valid values:
155
- *
156
- * * GreaterThanOrEqualToThreshold: greater than or equal to the threshold
157
- * * GreaterThanThreshold: greater than the threshold
158
- * * LessThanOrEqualToThreshold: less than or equal to the threshold
159
- * * LessThanThreshold: less than the threshold
160
- * * NotEqualToThreshold: not equal to the threshold
161
- * * GreaterThanYesterday: greater than the metric value at the same time yesterday
162
- * * LessThanYesterday: less than the metric value at the same time yesterday
163
- * * GreaterThanLastWeek: greater than the metric value at the same time last week
164
- * * LessThanLastWeek: less than the metric value at the same time last week
165
- * * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
166
- * * LessThanLastPeriod: less than the metric value in the last monitoring cycle
167
- *
168
- * @example
169
- * GreaterThanThreshold
170
- */
171
70
  comparisonOperator?: string;
172
- /**
173
- * @remarks
174
- * The statistical methods for Warn-level alerts.
175
- *
176
- * @example
177
- * Average
178
- */
179
71
  statistics?: string;
180
- /**
181
- * @remarks
182
- * The threshold for Warn-level alerts.
183
- *
184
- * @example
185
- * 80
186
- */
187
72
  threshold?: string;
188
- /**
189
- * @remarks
190
- * The consecutive number of times
191
- *
192
- * for which the metric value meets the alert condition before a Warn-level alert is triggered.
193
- *
194
- * @example
195
- * 3
196
- */
197
73
  times?: string;
198
74
  static names(): { [key: string]: string } {
199
75
  return {
@@ -223,20 +99,8 @@ export class DescribeActiveMetricRuleListResponseBodyAlertListAlertEscalationsWa
223
99
  }
224
100
 
225
101
  export class DescribeActiveMetricRuleListResponseBodyAlertListAlertEscalations extends $dara.Model {
226
- /**
227
- * @remarks
228
- * The trigger condition for Critical-level alerts.
229
- */
230
102
  critical?: DescribeActiveMetricRuleListResponseBodyAlertListAlertEscalationsCritical;
231
- /**
232
- * @remarks
233
- * The conditions for triggering Info-level alerts.
234
- */
235
103
  info?: DescribeActiveMetricRuleListResponseBodyAlertListAlertEscalationsInfo;
236
- /**
237
- * @remarks
238
- * The conditions for triggering Warn-level alerts.
239
- */
240
104
  warn?: DescribeActiveMetricRuleListResponseBodyAlertListAlertEscalationsWarn;
241
105
  static names(): { [key: string]: string } {
242
106
  return {
@@ -273,141 +137,21 @@ export class DescribeActiveMetricRuleListResponseBodyAlertListAlertEscalations e
273
137
  }
274
138
 
275
139
  export class DescribeActiveMetricRuleListResponseBodyAlertListAlert extends $dara.Model {
276
- /**
277
- * @remarks
278
- * The status of the alert rule. Valid values:
279
- *
280
- * * OK: The alert rule has no active alerts.
281
- * * ALARM: The alert rule has active alerts.
282
- * * INSUFFICIENT_DATA: No data is found.
283
- *
284
- * @example
285
- * OK
286
- */
287
140
  alertState?: string;
288
- /**
289
- * @remarks
290
- * The alert contact group.
291
- *
292
- * @example
293
- * ECS_Group
294
- */
295
141
  contactGroups?: string;
296
- /**
297
- * @remarks
298
- * The monitoring data of the specified resource.
299
- *
300
- * @example
301
- * ""
302
- */
303
142
  dimensions?: string;
304
- /**
305
- * @remarks
306
- * The time period during which the alert rule is effective.
307
- *
308
- * @example
309
- * 00:00-23:59
310
- */
311
143
  effectiveInterval?: string;
312
- /**
313
- * @remarks
314
- * Indicates whether the alert rule is enabled. Valid values:
315
- *
316
- * * true: The alert rule is enabled.
317
- * * false: The alert rule is disabled.
318
- *
319
- * @example
320
- * true
321
- */
322
144
  enableState?: boolean;
323
- /**
324
- * @remarks
325
- * The conditions for triggering different levels of alerts.
326
- */
327
145
  escalations?: DescribeActiveMetricRuleListResponseBodyAlertListAlertEscalations;
328
- /**
329
- * @remarks
330
- * The subject of the alert notification email.
331
- *
332
- * @example
333
- * ECS_Bucket
334
- */
335
146
  mailSubject?: string;
336
- /**
337
- * @remarks
338
- * The name of the metric.
339
- *
340
- * @example
341
- * cpu_total
342
- */
343
147
  metricName?: string;
344
- /**
345
- * @remarks
346
- * The namespace of the Alibaba Cloud service.
347
- *
348
- * @example
349
- * acs_ecs_dashboard
350
- */
351
148
  namespace?: string;
352
- /**
353
- * @remarks
354
- * The time period during which the alert rule is ineffective.
355
- *
356
- * @example
357
- * 00:00-06:00
358
- */
359
149
  noEffectiveInterval?: string;
360
- /**
361
- * @remarks
362
- * The aggregation period of monitoring data.
363
- *
364
- * Unit: seconds.
365
- *
366
- * @example
367
- * 60
368
- */
369
150
  period?: string;
370
- /**
371
- * @remarks
372
- * The resources that are associated with the alert rule.
373
- *
374
- * @example
375
- * [{"resource":"_ALL"}]
376
- */
377
151
  resources?: string;
378
- /**
379
- * @remarks
380
- * The ID of the alert rule.
381
- *
382
- * @example
383
- * ruleIdxxxx
384
- */
385
152
  ruleId?: string;
386
- /**
387
- * @remarks
388
- * The name of the alert rule.
389
- *
390
- * @example
391
- * myAlert
392
- */
393
153
  ruleName?: string;
394
- /**
395
- * @remarks
396
- * The mute period during which new alerts are not sent even if the trigger conditions are met.
397
- *
398
- * Unit: seconds.
399
- *
400
- * @example
401
- * 86400
402
- */
403
154
  silenceTime?: string;
404
- /**
405
- * @remarks
406
- * The callback URL.
407
- *
408
- * @example
409
- * http://www.aliyun.com
410
- */
411
155
  webhook?: string;
412
156
  static names(): { [key: string]: string } {
413
157
  return {
@@ -490,151 +234,21 @@ export class DescribeActiveMetricRuleListResponseBodyAlertList extends $dara.Mod
490
234
  }
491
235
 
492
236
  export class DescribeActiveMetricRuleListResponseBodyDatapointsAlarm extends $dara.Model {
493
- /**
494
- * @remarks
495
- * The comparison operator that is used in the alert rule. Valid values:
496
- *
497
- * * `>`
498
- * * `<`
499
- * * `>=`
500
- * * `<=`
501
- * * `=`
502
- * * `=`
503
- *
504
- * @example
505
- * >
506
- */
507
237
  comparisonOperator?: string;
508
- /**
509
- * @remarks
510
- * The alert contact group.
511
- *
512
- * @example
513
- * ECS_Group
514
- */
515
238
  contactGroups?: string;
516
- /**
517
- * @remarks
518
- * Indicates whether the alert rule is enabled. Valid values:
519
- *
520
- * * true: The alert rule is enabled.
521
- * * false: The alert rule is disabled.
522
- *
523
- * @example
524
- * true
525
- */
526
239
  enable?: string;
527
- /**
528
- * @remarks
529
- * The end of the time period during which the alert rule is effective.
530
- *
531
- * Unit: hours. For example, the value 23 indicates `23:59:59`.
532
- *
533
- * @example
534
- * 24
535
- */
536
240
  endTime?: string;
537
- /**
538
- * @remarks
539
- * The consecutive number of times for which the metric value meets the alert condition before an alert is triggered.
540
- *
541
- * @example
542
- * 3
543
- */
544
241
  evaluationCount?: string;
545
- /**
546
- * @remarks
547
- * The metric name.
548
- *
549
- * @example
550
- * cpu_total
551
- */
552
242
  metricName?: string;
553
- /**
554
- * @remarks
555
- * The namespace of the cloud service.
556
- *
557
- * @example
558
- * acs_ecs_dashboard
559
- */
560
243
  namespace?: string;
561
- /**
562
- * @remarks
563
- * The aggregation period of monitoring data.
564
- *
565
- * Unit: seconds.
566
- *
567
- * @example
568
- * 60
569
- */
570
244
  period?: string;
571
- /**
572
- * @remarks
573
- * The ID of the alert rule.
574
- *
575
- * @example
576
- * a151cd6023eacee2f0978e03863cc1697c89508****
577
- */
578
245
  ruleId?: string;
579
- /**
580
- * @remarks
581
- * The name of the alert rule.
582
- *
583
- * @example
584
- * SystemDefault_acs_rds_dashboard_CpuUsage
585
- */
586
246
  ruleName?: string;
587
- /**
588
- * @remarks
589
- * The mute period during which new alerts are not sent even if the trigger conditions are met.
590
- *
591
- * Unit: seconds.
592
- *
593
- * @example
594
- * 86400
595
- */
596
247
  silenceTime?: string;
597
- /**
598
- * @remarks
599
- * The beginning of the time period during which the alert rule is effective.
600
- *
601
- * Unit: hours. For example, the value 00 indicates `00:00:00`.
602
- *
603
- * @example
604
- * 00
605
- */
606
248
  startTime?: string;
607
- /**
608
- * @remarks
609
- * Indicates whether the alert rule is enabled.
610
- *
611
- * @example
612
- * Enable
613
- */
614
249
  state?: string;
615
- /**
616
- * @remarks
617
- * The statistical method.
618
- *
619
- * @example
620
- * Average
621
- */
622
250
  statistics?: string;
623
- /**
624
- * @remarks
625
- * The alert threshold.
626
- *
627
- * @example
628
- * 90
629
- */
630
251
  threshold?: string;
631
- /**
632
- * @remarks
633
- * The callback URL.
634
- *
635
- * @example
636
- * http://www.aliyun.com
637
- */
638
252
  webhook?: string;
639
253
  static names(): { [key: string]: string } {
640
254
  return {
@@ -714,10 +328,6 @@ export class DescribeActiveMetricRuleListResponseBodyDatapoints extends $dara.Mo
714
328
  }
715
329
 
716
330
  export class DescribeActiveMetricRuleListResponseBody extends $dara.Model {
717
- /**
718
- * @remarks
719
- * The details of the alert rules. The result is in the same structure as that returned by the DescribeMetricRuleList operation.
720
- */
721
331
  alertList?: DescribeActiveMetricRuleListResponseBodyAlertList;
722
332
  /**
723
333
  * @remarks
@@ -729,10 +339,6 @@ export class DescribeActiveMetricRuleListResponseBody extends $dara.Model {
729
339
  * 200
730
340
  */
731
341
  code?: string;
732
- /**
733
- * @remarks
734
- * The details of the alert rules.
735
- */
736
342
  datapoints?: DescribeActiveMetricRuleListResponseBodyDatapoints;
737
343
  /**
738
344
  * @remarks
@@ -133,172 +133,26 @@ export class DescribeAlertHistoryListResponseBodyAlarmHistoryListAlarmHistoryCon
133
133
  }
134
134
 
135
135
  export class DescribeAlertHistoryListResponseBodyAlarmHistoryListAlarmHistory extends $dara.Model {
136
- /**
137
- * @remarks
138
- * The timestamp when the alert was triggered. Unit: milliseconds.
139
- *
140
- * @example
141
- * 1640586600000
142
- */
143
136
  alertTime?: number;
144
- /**
145
- * @remarks
146
- * The TradeManager IDs of the alert contacts.
147
- *
148
- * > This parameter is valid only on the China site (aliyun.com).
149
- */
150
137
  contactALIIMs?: DescribeAlertHistoryListResponseBodyAlarmHistoryListAlarmHistoryContactALIIMs;
151
- /**
152
- * @remarks
153
- * The alert contact groups.
154
- */
155
138
  contactGroups?: DescribeAlertHistoryListResponseBodyAlarmHistoryListAlarmHistoryContactGroups;
156
- /**
157
- * @remarks
158
- * The email addresses of the alert contacts.
159
- */
160
139
  contactMails?: DescribeAlertHistoryListResponseBodyAlarmHistoryListAlarmHistoryContactMails;
161
- /**
162
- * @remarks
163
- * The mobile numbers of the alert contacts.
164
- *
165
- * > This parameter is valid only on the China site (aliyun.com).
166
- */
167
140
  contactSmses?: DescribeAlertHistoryListResponseBodyAlarmHistoryListAlarmHistoryContactSmses;
168
- /**
169
- * @remarks
170
- * The alert contacts that receive alert notifications.
171
- */
172
141
  contacts?: DescribeAlertHistoryListResponseBodyAlarmHistoryListAlarmHistoryContacts;
173
- /**
174
- * @remarks
175
- * The resources that are monitored.
176
- *
177
- * @example
178
- * {\\"instanceId\\":\\"i-bp1cqhiw1za2****\\"}
179
- */
180
142
  dimensions?: string;
181
- /**
182
- * @remarks
183
- * The consecutive number of times for which the metric value meets the alert condition before an alert is triggered.
184
- *
185
- * @example
186
- * 3
187
- */
188
143
  evaluationCount?: number;
189
- /**
190
- * @remarks
191
- * The expression that is used to trigger alerts.
192
- *
193
- * @example
194
- * $Average>=10
195
- */
196
144
  expression?: string;
197
- /**
198
- * @remarks
199
- * The ID of the application group.
200
- *
201
- * @example
202
- * 7671****
203
- */
204
145
  groupId?: string;
205
- /**
206
- * @remarks
207
- * The instance name.
208
- *
209
- * @example
210
- * i-bp1cqhiw1za2****
211
- */
212
146
  instanceName?: string;
213
- /**
214
- * @remarks
215
- * The duration of the alert. Unit: milliseconds.
216
- *
217
- * @example
218
- * 360133
219
- */
220
147
  lastTime?: number;
221
- /**
222
- * @remarks
223
- * The severity level and notification methods of the alert. Valid values:
224
- *
225
- * * P4: Alert notifications are sent by using emails and DingTalk chatbots.
226
- * * OK: No alert is generated.
227
- *
228
- * @example
229
- * P4
230
- */
231
148
  level?: string;
232
- /**
233
- * @remarks
234
- * The metric name.
235
- *
236
- * @example
237
- * cpu_total
238
- */
239
149
  metricName?: string;
240
- /**
241
- * @remarks
242
- * The namespace of the cloud service.
243
- *
244
- * @example
245
- * acs_ecs_dashboard
246
- */
247
150
  namespace?: string;
248
- /**
249
- * @remarks
250
- * The ID of the alert rule.
251
- *
252
- * @example
253
- * applyTemplate61dc81b5-d357-4cf6-a9b7-9f83c1d5****
254
- */
255
151
  ruleId?: string;
256
- /**
257
- * @remarks
258
- * The name of the alert rule.
259
- *
260
- * @example
261
- * ECS_Rule
262
- */
263
152
  ruleName?: string;
264
- /**
265
- * @remarks
266
- * The alert status. Valid values:
267
- *
268
- * * ALARM: Alerts are triggered.
269
- * * OK: No alerts are triggered.
270
- *
271
- * @example
272
- * ALARM
273
- */
274
153
  state?: string;
275
- /**
276
- * @remarks
277
- * Indicates whether alerts are muted. Valid values:
278
- *
279
- * * 2 (default): Alerts are muted and are not triggered within the mute period, even if the condition specified in the alert rule is met.
280
- * * 0: Alerts are triggered or cleared.
281
- * * 1: The alert rule is ineffective.
282
- *
283
- * @example
284
- * 2
285
- */
286
154
  status?: number;
287
- /**
288
- * @remarks
289
- * The threshold of the metric value to trigger or clear an alert.
290
- *
291
- * @example
292
- * 10.58
293
- */
294
155
  value?: string;
295
- /**
296
- * @remarks
297
- * The callback URL.
298
- *
299
- * @example
300
- * https://www.aliyun.com
301
- */
302
156
  webhooks?: string;
303
157
  static names(): { [key: string]: string } {
304
158
  return {
@@ -403,10 +257,6 @@ export class DescribeAlertHistoryListResponseBodyAlarmHistoryList extends $dara.
403
257
  }
404
258
 
405
259
  export class DescribeAlertHistoryListResponseBody extends $dara.Model {
406
- /**
407
- * @remarks
408
- * The details of historical alerts.
409
- */
410
260
  alarmHistoryList?: DescribeAlertHistoryListResponseBodyAlarmHistoryList;
411
261
  /**
412
262
  * @remarks