@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,11 +3,70 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class PutResourceMetricRulesRequestRulesEscalationsCritical 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
+ * * EqualToThreshold: equal to the threshold
16
+ * * GreaterThanYesterday: greater than the metric value at the same time yesterday
17
+ * * LessThanYesterday: less than the metric value at the same time yesterday
18
+ * * GreaterThanLastWeek: greater than the metric value at the same time last week
19
+ * * LessThanLastWeek: less than the metric value at the same time last week
20
+ * * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
21
+ * * LessThanLastPeriod: less than the metric value in the last monitoring cycle
22
+ *
23
+ * Valid values of N: 1 to 500.
24
+ *
25
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
26
+ *
27
+ * @example
28
+ * GreaterThanOrEqualToThreshold
29
+ */
6
30
  comparisonOperator?: string;
7
31
  n?: number;
8
32
  preCondition?: string;
33
+ /**
34
+ * @remarks
35
+ * The statistical methods for Critical-level alerts.
36
+ *
37
+ * Valid values of N: 1 to 500.
38
+ *
39
+ * The value of this parameter is determined by the `Statistics` column corresponding to the `MetricName` parameter of the specified cloud service. The value of this parameter can be Maximum, Minimum, or Average. For more information about how to obtain the value of this parameter, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
40
+ *
41
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
42
+ *
43
+ * @example
44
+ * Average
45
+ */
9
46
  statistics?: string;
47
+ /**
48
+ * @remarks
49
+ * The threshold for Critical-level alerts.
50
+ *
51
+ * Valid values of N: 1 to 500.
52
+ *
53
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
54
+ *
55
+ * @example
56
+ * 90
57
+ */
10
58
  threshold?: string;
59
+ /**
60
+ * @remarks
61
+ * The consecutive number of times for which the metric value meets the alert condition before a Critical-level alert is triggered.
62
+ *
63
+ * Valid values of N: 1 to 500.
64
+ *
65
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
66
+ *
67
+ * @example
68
+ * 3
69
+ */
11
70
  times?: number;
12
71
  static names(): { [key: string]: string } {
13
72
  return {
@@ -41,11 +100,68 @@ export class PutResourceMetricRulesRequestRulesEscalationsCritical extends $dara
41
100
  }
42
101
 
43
102
  export class PutResourceMetricRulesRequestRulesEscalationsInfo extends $dara.Model {
103
+ /**
104
+ * @remarks
105
+ * The operator that is used to compare the metric value with the threshold for Info-level alerts. Valid values:
106
+ *
107
+ * * GreaterThanOrEqualToThreshold: greater than or equal to the threshold
108
+ * * GreaterThanThreshold: greater than the threshold
109
+ * * LessThanOrEqualToThreshold: less than or equal to the threshold
110
+ * * LessThanThreshold: less than the threshold
111
+ * * NotEqualToThreshold: not equal to the threshold
112
+ * * EqualToThreshold: equal to the threshold
113
+ * * GreaterThanYesterday: greater than the metric value at the same time yesterday
114
+ * * LessThanYesterday: less than the metric value at the same time yesterday
115
+ * * GreaterThanLastWeek: greater than the metric value at the same time last week
116
+ * * LessThanLastWeek: less than the metric value at the same time last week
117
+ * * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
118
+ * * LessThanLastPeriod: less than the metric value in the last monitoring cycle
119
+ *
120
+ * Valid values of N: 1 to 500.
121
+ *
122
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
123
+ *
124
+ * @example
125
+ * GreaterThanOrEqualToThreshold
126
+ */
44
127
  comparisonOperator?: string;
45
128
  n?: number;
46
129
  preCondition?: string;
130
+ /**
131
+ * @remarks
132
+ * The statistical methods for Info-level alerts.
133
+ *
134
+ * Valid values of N: 1 to 500.
135
+ *
136
+ * The value of this parameter is determined by the `Statistics` column corresponding to the `MetricName` parameter of the specified cloud service. The value of this parameter can be Maximum, Minimum, or Average. For more information about how to obtain the value of this parameter, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
137
+ *
138
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
139
+ *
140
+ * @example
141
+ * Average
142
+ */
47
143
  statistics?: string;
144
+ /**
145
+ * @remarks
146
+ * The threshold for Info-level alerts.
147
+ *
148
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
149
+ *
150
+ * @example
151
+ * 90
152
+ */
48
153
  threshold?: string;
154
+ /**
155
+ * @remarks
156
+ * The consecutive number of times for which the metric value meets the alert condition before an Info-level alert is triggered.
157
+ *
158
+ * Valid values of N: 1 to 500.
159
+ *
160
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
161
+ *
162
+ * @example
163
+ * 3
164
+ */
49
165
  times?: number;
50
166
  static names(): { [key: string]: string } {
51
167
  return {
@@ -79,11 +195,70 @@ export class PutResourceMetricRulesRequestRulesEscalationsInfo extends $dara.Mod
79
195
  }
80
196
 
81
197
  export class PutResourceMetricRulesRequestRulesEscalationsWarn extends $dara.Model {
198
+ /**
199
+ * @remarks
200
+ * The operator that is used to compare the metric value with the threshold for Warn-level alerts. Valid values:
201
+ *
202
+ * * GreaterThanOrEqualToThreshold: greater than or equal to the threshold
203
+ * * GreaterThanThreshold: greater than the threshold
204
+ * * LessThanOrEqualToThreshold: less than or equal to the threshold
205
+ * * LessThanThreshold: less than the threshold
206
+ * * NotEqualToThreshold: not equal to the threshold
207
+ * * EqualToThreshold: equal to the threshold
208
+ * * GreaterThanYesterday: greater than the metric value at the same time yesterday
209
+ * * LessThanYesterday: less than the metric value at the same time yesterday
210
+ * * GreaterThanLastWeek: greater than the metric value at the same time last week
211
+ * * LessThanLastWeek: less than the metric value at the same time last week
212
+ * * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
213
+ * * LessThanLastPeriod: less than the metric value in the last monitoring cycle
214
+ *
215
+ * Valid values of N: 1 to 500.
216
+ *
217
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
218
+ *
219
+ * @example
220
+ * GreaterThanOrEqualToThreshold
221
+ */
82
222
  comparisonOperator?: string;
83
223
  n?: number;
84
224
  preCondition?: string;
225
+ /**
226
+ * @remarks
227
+ * The statistical methods for Warn-level alerts.
228
+ *
229
+ * Valid values of N: 1 to 500.
230
+ *
231
+ * The value of this parameter is determined by the `Statistics` column corresponding to the `MetricName` parameter of the specified cloud service. The value of this parameter can be Maximum, Minimum, or Average. For more information about how to obtain the value of this parameter, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
232
+ *
233
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
234
+ *
235
+ * @example
236
+ * Average
237
+ */
85
238
  statistics?: string;
239
+ /**
240
+ * @remarks
241
+ * The threshold for Warn-level alerts.
242
+ *
243
+ * Valid values of N: 1 to 500.
244
+ *
245
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
246
+ *
247
+ * @example
248
+ * 90
249
+ */
86
250
  threshold?: string;
251
+ /**
252
+ * @remarks
253
+ * The consecutive number of times for which the metric value meets the alert condition before a Warn-level alert is triggered.
254
+ *
255
+ * Valid values of N: 1 to 500.
256
+ *
257
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for each alert level.
258
+ *
259
+ * @example
260
+ * 3
261
+ */
87
262
  times?: number;
88
263
  static names(): { [key: string]: string } {
89
264
  return {
@@ -358,6 +533,7 @@ export class PutResourceMetricRulesRequestRules extends $dara.Model {
358
533
  * test123
359
534
  */
360
535
  ruleName?: string;
536
+ sendOK?: boolean;
361
537
  /**
362
538
  * @remarks
363
539
  * The mute period during which new alert notifications are not sent even if the trigger conditions are met.
@@ -398,6 +574,7 @@ export class PutResourceMetricRulesRequestRules extends $dara.Model {
398
574
  resources: 'Resources',
399
575
  ruleId: 'RuleId',
400
576
  ruleName: 'RuleName',
577
+ sendOK: 'SendOK',
401
578
  silenceTime: 'SilenceTime',
402
579
  webhook: 'Webhook',
403
580
  };
@@ -419,6 +596,7 @@ export class PutResourceMetricRulesRequestRules extends $dara.Model {
419
596
  resources: 'string',
420
597
  ruleId: 'string',
421
598
  ruleName: 'string',
599
+ sendOK: 'boolean',
422
600
  silenceTime: 'number',
423
601
  webhook: 'string',
424
602
  };
@@ -3,32 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class PutResourceMetricRulesResponseBodyFailedListResultTargetResult extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The response code.
9
- *
10
- * @example
11
- * 404
12
- */
13
6
  code?: string;
14
- /**
15
- * @remarks
16
- * The error message returned.
17
- *
18
- * @example
19
- * The request processing has failed due to some unknown error.
20
- */
21
7
  message?: string;
22
- /**
23
- * @remarks
24
- * Indicates whether the request was successful. Valid values:
25
- *
26
- * * true
27
- * * false
28
- *
29
- * @example
30
- * false
31
- */
32
8
  success?: boolean;
33
9
  static names(): { [key: string]: string } {
34
10
  return {
@@ -56,18 +32,7 @@ export class PutResourceMetricRulesResponseBodyFailedListResultTargetResult exte
56
32
  }
57
33
 
58
34
  export class PutResourceMetricRulesResponseBodyFailedListResultTarget extends $dara.Model {
59
- /**
60
- * @remarks
61
- * The alert rule that failed to be created.
62
- */
63
35
  result?: PutResourceMetricRulesResponseBodyFailedListResultTargetResult;
64
- /**
65
- * @remarks
66
- * The ID of the alert rule.
67
- *
68
- * @example
69
- * a151cd6023eacee2f0978e03863cc1697c89508****
70
- */
71
36
  ruleId?: string;
72
37
  static names(): { [key: string]: string } {
73
38
  return {
@@ -132,10 +97,6 @@ export class PutResourceMetricRulesResponseBody extends $dara.Model {
132
97
  * 200
133
98
  */
134
99
  code?: string;
135
- /**
136
- * @remarks
137
- * The alert rules that failed to be created for the resource.
138
- */
139
100
  failedListResult?: PutResourceMetricRulesResponseBodyFailedListResult;
140
101
  /**
141
102
  * @remarks
@@ -66,10 +66,6 @@ export class RemoveTagsResponseBody extends $dara.Model {
66
66
  * true
67
67
  */
68
68
  success?: boolean;
69
- /**
70
- * @remarks
71
- * The deleted tags.
72
- */
73
69
  tag?: RemoveTagsResponseBodyTag;
74
70
  static names(): { [key: string]: string } {
75
71
  return {