@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,51 +3,9 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplatesAlertTemplateEscalationsCritical extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The comparison 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
- * GreaterThanOrEqualToThreshold
24
- */
25
6
  comparisonOperator?: string;
26
- /**
27
- * @remarks
28
- * The statistical method for Critical-level alerts.
29
- *
30
- * The value of the `Statistics` parameter varies with the cloud service. For more information, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
31
- *
32
- * @example
33
- * Average
34
- */
35
7
  statistics?: string;
36
- /**
37
- * @remarks
38
- * The threshold for Critical-level alerts.
39
- *
40
- * @example
41
- * 90
42
- */
43
8
  threshold?: string;
44
- /**
45
- * @remarks
46
- * The consecutive number of times for which the metric value meets the alert condition before a Critical-level alert is triggered.
47
- *
48
- * @example
49
- * 5
50
- */
51
9
  times?: number;
52
10
  static names(): { [key: string]: string } {
53
11
  return {
@@ -77,51 +35,9 @@ export class DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplat
77
35
  }
78
36
 
79
37
  export class DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplatesAlertTemplateEscalationsInfo extends $dara.Model {
80
- /**
81
- * @remarks
82
- * The comparison operator that is used to compare the metric value with the threshold for Info-level alerts. Valid values:
83
- *
84
- * * GreaterThanOrEqualToThreshold: greater than or equal to the threshold
85
- * * GreaterThanThreshold: greater than the threshold
86
- * * LessThanOrEqualToThreshold: less than or equal to the threshold
87
- * * LessThanThreshold: less than the threshold
88
- * * NotEqualToThreshold: not equal to the threshold
89
- * * GreaterThanYesterday: greater than the metric value at the same time yesterday
90
- * * LessThanYesterday: less than the metric value at the same time yesterday
91
- * * GreaterThanLastWeek: greater than the metric value at the same time last week
92
- * * LessThanLastWeek: less than the metric value at the same time last week
93
- * * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
94
- * * LessThanLastPeriod: less than the metric value in the last monitoring cycle
95
- *
96
- * @example
97
- * GreaterThanOrEqualToThreshold
98
- */
99
38
  comparisonOperator?: string;
100
- /**
101
- * @remarks
102
- * The statistical method for Info-level alerts.
103
- *
104
- * The value of the `Statistics` parameter varies with the cloud service. For more information, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
105
- *
106
- * @example
107
- * Average
108
- */
109
39
  statistics?: string;
110
- /**
111
- * @remarks
112
- * The threshold for Info-level alerts.
113
- *
114
- * @example
115
- * 90
116
- */
117
40
  threshold?: string;
118
- /**
119
- * @remarks
120
- * The consecutive number of times for which the metric value meets the alert condition before an Info-level alert is triggered.
121
- *
122
- * @example
123
- * 3
124
- */
125
41
  times?: number;
126
42
  static names(): { [key: string]: string } {
127
43
  return {
@@ -151,51 +67,9 @@ export class DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplat
151
67
  }
152
68
 
153
69
  export class DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplatesAlertTemplateEscalationsWarn extends $dara.Model {
154
- /**
155
- * @remarks
156
- * The comparison operator that is used to compare the metric value with the threshold for Warn-level alerts. Valid values:
157
- *
158
- * * GreaterThanOrEqualToThreshold: greater than or equal to the threshold
159
- * * GreaterThanThreshold: greater than the threshold
160
- * * LessThanOrEqualToThreshold: less than or equal to the threshold
161
- * * LessThanThreshold: less than the threshold
162
- * * NotEqualToThreshold: not equal to the threshold
163
- * * GreaterThanYesterday: greater than the metric value at the same time yesterday
164
- * * LessThanYesterday: less than the metric value at the same time yesterday
165
- * * GreaterThanLastWeek: greater than the metric value at the same time last week
166
- * * LessThanLastWeek: less than the metric value at the same time last week
167
- * * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
168
- * * LessThanLastPeriod: less than the metric value in the last monitoring cycle
169
- *
170
- * @example
171
- * GreaterThanOrEqualToThreshold
172
- */
173
70
  comparisonOperator?: string;
174
- /**
175
- * @remarks
176
- * The statistical method for Warn-level alerts.
177
- *
178
- * The value of the `Statistics` parameter varies with the cloud service. For more information, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
179
- *
180
- * @example
181
- * Average
182
- */
183
71
  statistics?: string;
184
- /**
185
- * @remarks
186
- * The threshold for Warn-level alerts.
187
- *
188
- * @example
189
- * 90
190
- */
191
72
  threshold?: string;
192
- /**
193
- * @remarks
194
- * The consecutive number of times for which the metric value meets the alert condition before a Warn-level alert is triggered.
195
- *
196
- * @example
197
- * 3
198
- */
199
73
  times?: number;
200
74
  static names(): { [key: string]: string } {
201
75
  return {
@@ -225,20 +99,8 @@ export class DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplat
225
99
  }
226
100
 
227
101
  export class DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplatesAlertTemplateEscalations extends $dara.Model {
228
- /**
229
- * @remarks
230
- * The conditions for triggering Critical-level alerts.
231
- */
232
102
  critical?: DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplatesAlertTemplateEscalationsCritical;
233
- /**
234
- * @remarks
235
- * The conditions for triggering Info-level alerts.
236
- */
237
103
  info?: DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplatesAlertTemplateEscalationsInfo;
238
- /**
239
- * @remarks
240
- * The conditions for triggering Warn-level alerts.
241
- */
242
104
  warn?: DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplatesAlertTemplateEscalationsWarn;
243
105
  static names(): { [key: string]: string } {
244
106
  return {
@@ -275,21 +137,7 @@ export class DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplat
275
137
  }
276
138
 
277
139
  export class DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplatesAlertTemplateLabelsLabels extends $dara.Model {
278
- /**
279
- * @remarks
280
- * The tag key of the alert template.
281
- *
282
- * @example
283
- * label1
284
- */
285
140
  key?: string;
286
- /**
287
- * @remarks
288
- * The tag value of the alert template.
289
- *
290
- * @example
291
- * value1
292
- */
293
141
  value?: string;
294
142
  static names(): { [key: string]: string } {
295
143
  return {
@@ -341,76 +189,15 @@ export class DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplat
341
189
  }
342
190
 
343
191
  export class DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplatesAlertTemplate extends $dara.Model {
344
- /**
345
- * @remarks
346
- * The abbreviation of the Alibaba Cloud service name.
347
- *
348
- * @example
349
- * ecs
350
- */
351
192
  category?: string;
352
- /**
353
- * @remarks
354
- * The threshold and the alert level.
355
- */
356
193
  escalations?: DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplatesAlertTemplateEscalations;
357
- /**
358
- * @remarks
359
- * The tags of the alert template.
360
- */
361
194
  labels?: DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplatesAlertTemplateLabels;
362
- /**
363
- * @remarks
364
- * The metric name.
365
- *
366
- * @example
367
- * cpu_total
368
- */
369
195
  metricName?: string;
370
- /**
371
- * @remarks
372
- * The namespace of the Alibaba Cloud service.
373
- *
374
- * @example
375
- * acs_ecs_dashboard
376
- */
377
196
  namespace?: string;
378
- /**
379
- * @remarks
380
- * The method that is used to handle alerts when no monitoring data is found. Valid values:
381
- *
382
- * * KEEP_LAST_STATE (default): No operation is performed.
383
- * * INSUFFICIENT_DATA: An alert whose content is "Insufficient data" is triggered.
384
- * * OK: The status is considered normal.
385
- *
386
- * @example
387
- * KEEP_LAST_STATE
388
- */
389
197
  noDataPolicy?: string;
390
- /**
391
- * @remarks
392
- * The name of the alert rule.
393
- *
394
- * @example
395
- * ECS_Rule
396
- */
397
198
  ruleName?: string;
398
- /**
399
- * @remarks
400
- * The dimension of the alert. It is an extended field.
401
- *
402
- * @example
403
- * {"disk":"/"}
404
- */
405
199
  selector?: string;
406
200
  silenceTime?: number;
407
- /**
408
- * @remarks
409
- * The callback URL to which a request is sent when an alert is triggered.
410
- *
411
- * @example
412
- * https://www.aliyun.com
413
- */
414
201
  webhook?: string;
415
202
  static names(): { [key: string]: string } {
416
203
  return {
@@ -484,10 +271,6 @@ export class DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplat
484
271
  }
485
272
 
486
273
  export class DescribeMetricRuleTemplateAttributeResponseBodyResource extends $dara.Model {
487
- /**
488
- * @remarks
489
- * The queried alert templates.
490
- */
491
274
  alertTemplates?: DescribeMetricRuleTemplateAttributeResponseBodyResourceAlertTemplates;
492
275
  /**
493
276
  * @remarks
@@ -3,31 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeMetricRuleTemplateListResponseBodyTemplatesTemplateApplyHistoriesApplyHistory extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The timestamp when the alert template was applied to the application group.
9
- *
10
- * Unit: milliseconds.
11
- *
12
- * @example
13
- * 1646055898000
14
- */
15
6
  applyTime?: number;
16
- /**
17
- * @remarks
18
- * The ID of the application group.
19
- *
20
- * @example
21
- * 3607****
22
- */
23
7
  groupId?: number;
24
- /**
25
- * @remarks
26
- * The name of the application group.
27
- *
28
- * @example
29
- * ECS_Group
30
- */
31
8
  groupName?: string;
32
9
  static names(): { [key: string]: string } {
33
10
  return {
@@ -81,61 +58,12 @@ export class DescribeMetricRuleTemplateListResponseBodyTemplatesTemplateApplyHis
81
58
  }
82
59
 
83
60
  export class DescribeMetricRuleTemplateListResponseBodyTemplatesTemplate extends $dara.Model {
84
- /**
85
- * @remarks
86
- * The history of applying the alert templates to application groups.
87
- */
88
61
  applyHistories?: DescribeMetricRuleTemplateListResponseBodyTemplatesTemplateApplyHistories;
89
- /**
90
- * @remarks
91
- * The description of the alert template.
92
- */
93
62
  description?: string;
94
- /**
95
- * @remarks
96
- * The timestamp when the alert template was created.
97
- *
98
- * Unit: milliseconds.
99
- *
100
- * @example
101
- * 1646018798000
102
- */
103
63
  gmtCreate?: number;
104
- /**
105
- * @remarks
106
- * The timestamp when the alert template was modified.
107
- *
108
- * Unit: milliseconds.
109
- *
110
- * @example
111
- * 1646054798000
112
- */
113
64
  gmtModified?: number;
114
- /**
115
- * @remarks
116
- * The name of the alert template.
117
- *
118
- * @example
119
- * ECS_Template1
120
- */
121
65
  name?: string;
122
- /**
123
- * @remarks
124
- * The version of the alert template.
125
- *
126
- * Default value: 0.
127
- *
128
- * @example
129
- * 0
130
- */
131
66
  restVersion?: number;
132
- /**
133
- * @remarks
134
- * The ID of the alert template.
135
- *
136
- * @example
137
- * 70****
138
- */
139
67
  templateId?: number;
140
68
  static names(): { [key: string]: string } {
141
69
  return {
@@ -237,10 +165,6 @@ export class DescribeMetricRuleTemplateListResponseBody extends $dara.Model {
237
165
  * true
238
166
  */
239
167
  success?: boolean;
240
- /**
241
- * @remarks
242
- * The queried alert templates.
243
- */
244
168
  templates?: DescribeMetricRuleTemplateListResponseBodyTemplates;
245
169
  /**
246
170
  * @remarks
@@ -3,23 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeMonitorGroupCategoriesResponseBodyMonitorGroupCategoriesMonitorGroupCategoryCategoryItem extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The abbreviation of the cloud service name.
9
- *
10
- * > For more information about how to obtain the abbreviation of a cloud service name, see `metricCategory` in the response parameter `Labels` of the [DescribeProjectMeta](https://help.aliyun.com/document_detail/114916.html) operation.
11
- *
12
- * @example
13
- * ECS
14
- */
15
6
  category?: string;
16
- /**
17
- * @remarks
18
- * The number of resources that belong to the cloud service.
19
- *
20
- * @example
21
- * 1
22
- */
23
7
  count?: number;
24
8
  static names(): { [key: string]: string } {
25
9
  return {
@@ -79,10 +63,6 @@ export class DescribeMonitorGroupCategoriesResponseBodyMonitorGroupCategories ex
79
63
  * 123456
80
64
  */
81
65
  groupId?: number;
82
- /**
83
- * @remarks
84
- * The cloud services to which the resources in the application group belong and the number of resources that belong to the cloud service.
85
- */
86
66
  monitorGroupCategory?: DescribeMonitorGroupCategoriesResponseBodyMonitorGroupCategoriesMonitorGroupCategory;
87
67
  static names(): { [key: string]: string } {
88
68
  return {
@@ -3,33 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeMonitorGroupDynamicRulesResponseBodyResourceResourceFiltersFilter extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The method that is used to filter the instances. Valid values:
9
- *
10
- * * contains: contains
11
- * * startWith: starts with a prefix
12
- * * endWith: ends with a suffix
13
- *
14
- * @example
15
- * contains
16
- */
17
6
  function?: string;
18
- /**
19
- * @remarks
20
- * The instance name.
21
- *
22
- * @example
23
- * hostName
24
- */
25
7
  name?: string;
26
- /**
27
- * @remarks
28
- * The value of the dynamic rule.
29
- *
30
- * @example
31
- * 1
32
- */
33
8
  value?: string;
34
9
  static names(): { [key: string]: string } {
35
10
  return {
@@ -83,33 +58,8 @@ export class DescribeMonitorGroupDynamicRulesResponseBodyResourceResourceFilters
83
58
  }
84
59
 
85
60
  export class DescribeMonitorGroupDynamicRulesResponseBodyResourceResource extends $dara.Model {
86
- /**
87
- * @remarks
88
- * The type of the cloud service to which the dynamic rule belongs. Valid values:
89
- *
90
- * * ecs: Elastic Compute Service (ECS)
91
- * * rds: ApsaraDB RDS
92
- * * slb: Server Load Balancer (SLB)
93
- *
94
- * @example
95
- * ecs
96
- */
97
61
  category?: string;
98
- /**
99
- * @remarks
100
- * The filter condition. Valid values:
101
- *
102
- * * and: queries the instances that meet all alert rules.
103
- * * or: queries the instances that meet any alert rule.
104
- *
105
- * @example
106
- * and
107
- */
108
62
  filterRelation?: string;
109
- /**
110
- * @remarks
111
- * The dynamic rules of the application group.
112
- */
113
63
  filters?: DescribeMonitorGroupDynamicRulesResponseBodyResourceResourceFilters;
114
64
  static names(): { [key: string]: string } {
115
65
  return {
@@ -192,10 +142,6 @@ export class DescribeMonitorGroupDynamicRulesResponseBody extends $dara.Model {
192
142
  * 2170B94A-1576-4D65-900E-2093037CDAF3
193
143
  */
194
144
  requestId?: string;
195
- /**
196
- * @remarks
197
- * The resources that are associated with the application group.
198
- */
199
145
  resource?: DescribeMonitorGroupDynamicRulesResponseBodyResource;
200
146
  /**
201
147
  * @remarks
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeMonitorGroupInstanceAttributeResponseBodyResourcesResourceRegion extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The zone.
9
- *
10
- * @example
11
- * cn-hangzhou-f
12
- */
13
6
  availabilityZone?: string;
14
- /**
15
- * @remarks
16
- * The region ID.
17
- *
18
- * @example
19
- * cn-hangzhou
20
- */
21
7
  regionId?: string;
22
8
  static names(): { [key: string]: string } {
23
9
  return {
@@ -43,21 +29,7 @@ export class DescribeMonitorGroupInstanceAttributeResponseBodyResourcesResourceR
43
29
  }
44
30
 
45
31
  export class DescribeMonitorGroupInstanceAttributeResponseBodyResourcesResourceTagsTag extends $dara.Model {
46
- /**
47
- * @remarks
48
- * The tag key.
49
- *
50
- * @example
51
- * instanceNetworkType
52
- */
53
32
  key?: string;
54
- /**
55
- * @remarks
56
- * The tag value.
57
- *
58
- * @example
59
- * VPC
60
- */
61
33
  value?: string;
62
34
  static names(): { [key: string]: string } {
63
35
  return {
@@ -109,21 +81,7 @@ export class DescribeMonitorGroupInstanceAttributeResponseBodyResourcesResourceT
109
81
  }
110
82
 
111
83
  export class DescribeMonitorGroupInstanceAttributeResponseBodyResourcesResourceVpc extends $dara.Model {
112
- /**
113
- * @remarks
114
- * The VPC ID.
115
- *
116
- * @example
117
- * vpc-2zew7etgiceg21****
118
- */
119
84
  vpcInstanceId?: string;
120
- /**
121
- * @remarks
122
- * The vSwitch ID.
123
- *
124
- * @example
125
- * vsw-2ze36seq79n992****
126
- */
127
85
  vswitchInstanceId?: string;
128
86
  static names(): { [key: string]: string } {
129
87
  return {
@@ -149,68 +107,14 @@ export class DescribeMonitorGroupInstanceAttributeResponseBodyResourcesResourceV
149
107
  }
150
108
 
151
109
  export class DescribeMonitorGroupInstanceAttributeResponseBodyResourcesResource extends $dara.Model {
152
- /**
153
- * @remarks
154
- * The name of the cloud service.
155
- *
156
- * @example
157
- * ecs
158
- */
159
110
  category?: string;
160
- /**
161
- * @remarks
162
- * The resource description.
163
- *
164
- * @example
165
- * desc_test
166
- */
167
111
  desc?: string;
168
- /**
169
- * @remarks
170
- * The dimensions of the resource that is associated with the application group.
171
- *
172
- * @example
173
- * {"instanceId":"i-m5e0k0bexac8tykr****"}
174
- */
175
112
  dimension?: string;
176
- /**
177
- * @remarks
178
- * The instance ID.
179
- *
180
- * @example
181
- * i-m5e0k0bexac8tykr****
182
- */
183
113
  instanceId?: string;
184
- /**
185
- * @remarks
186
- * The instance name.
187
- *
188
- * @example
189
- * hostName
190
- */
191
114
  instanceName?: string;
192
- /**
193
- * @remarks
194
- * The network type.
195
- *
196
- * @example
197
- * vpc
198
- */
199
115
  networkType?: string;
200
- /**
201
- * @remarks
202
- * The region.
203
- */
204
116
  region?: DescribeMonitorGroupInstanceAttributeResponseBodyResourcesResourceRegion;
205
- /**
206
- * @remarks
207
- * The tag of the resource.
208
- */
209
117
  tags?: DescribeMonitorGroupInstanceAttributeResponseBodyResourcesResourceTags;
210
- /**
211
- * @remarks
212
- * The VPC description.
213
- */
214
118
  vpc?: DescribeMonitorGroupInstanceAttributeResponseBodyResourcesResourceVpc;
215
119
  static names(): { [key: string]: string } {
216
120
  return {
@@ -327,10 +231,6 @@ export class DescribeMonitorGroupInstanceAttributeResponseBody extends $dara.Mod
327
231
  * 9FB8EA79-7279-4482-8D6D-3D28EEDD871A
328
232
  */
329
233
  requestId?: string;
330
- /**
331
- * @remarks
332
- * The resources that are associated with the application group.
333
- */
334
234
  resources?: DescribeMonitorGroupInstanceAttributeResponseBodyResources;
335
235
  /**
336
236
  * @remarks
@@ -3,45 +3,10 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeMonitorGroupInstancesResponseBodyResourcesResource extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The abbreviation of the service name.
9
- *
10
- * @example
11
- * ecs
12
- */
13
6
  category?: string;
14
- /**
15
- * @remarks
16
- * The resource ID.
17
- *
18
- * @example
19
- * 12345
20
- */
21
7
  id?: number;
22
- /**
23
- * @remarks
24
- * The instance ID.
25
- *
26
- * @example
27
- * i-2ze3w55tr2r****
28
- */
29
8
  instanceId?: string;
30
- /**
31
- * @remarks
32
- * The instance name.
33
- *
34
- * @example
35
- * hostIP
36
- */
37
9
  instanceName?: string;
38
- /**
39
- * @remarks
40
- * The ID of the region where the instance resides.
41
- *
42
- * @example
43
- * cn-hangzhou
44
- */
45
10
  regionId?: string;
46
11
  static names(): { [key: string]: string } {
47
12
  return {
@@ -141,10 +106,6 @@ export class DescribeMonitorGroupInstancesResponseBody extends $dara.Model {
141
106
  * 97F2A410-9412-499C-9AD1-76EF7EC02DF2
142
107
  */
143
108
  requestId?: string;
144
- /**
145
- * @remarks
146
- * The information about the resources in the application group.
147
- */
148
109
  resources?: DescribeMonitorGroupInstancesResponseBodyResources;
149
110
  /**
150
111
  * @remarks