@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,70 +3,13 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeSystemEventMetaListResponseBodyDataResource extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The type of the system event. Valid values:
9
- *
10
- * * StatusNotification: fault notifications
11
- * * Exception: exceptions
12
- * * Maintenance: O\\&M
13
- *
14
- * @example
15
- * Exception
16
- */
17
6
  eventType?: string;
18
- /**
19
- * @remarks
20
- * The alert level. Valid values:
21
- *
22
- * * CRITICAL
23
- * * WARN
24
- * * INFO
25
- *
26
- * @example
27
- * INFO
28
- */
29
7
  level?: string;
30
- /**
31
- * @remarks
32
- * The name of the system event.
33
- *
34
- * @example
35
- * SelectFailureRate
36
- */
37
8
  name?: string;
38
- /**
39
- * @remarks
40
- * The description of the event name.
41
- *
42
- * @example
43
- * High query failure rate
44
- */
45
9
  nameDesc?: string;
46
10
  nameDesc_en?: string;
47
- /**
48
- * @remarks
49
- * The abbreviation of the service name.
50
- *
51
- * @example
52
- * ADS
53
- */
54
11
  product?: string;
55
- /**
56
- * @remarks
57
- * The status of the system event.
58
- *
59
- * @example
60
- * failed
61
- */
62
12
  status?: string;
63
- /**
64
- * @remarks
65
- * The description of the event status.
66
- *
67
- * @example
68
- * Operation Failed
69
- */
70
13
  statusDesc?: string;
71
14
  static names(): { [key: string]: string } {
72
15
  return {
@@ -140,10 +83,6 @@ export class DescribeSystemEventMetaListResponseBody extends $dara.Model {
140
83
  * 200
141
84
  */
142
85
  code?: number;
143
- /**
144
- * @remarks
145
- * The queried meta information.
146
- */
147
86
  data?: DescribeSystemEventMetaListResponseBodyData;
148
87
  /**
149
88
  * @remarks
@@ -29,13 +29,6 @@ export class DescribeUnhealthyHostAvailabilityResponseBodyUnhealthyListNodeTaskI
29
29
  }
30
30
 
31
31
  export class DescribeUnhealthyHostAvailabilityResponseBodyUnhealthyListNodeTaskInstance extends $dara.Model {
32
- /**
33
- * @remarks
34
- * The ID of the availability monitoring task.
35
- *
36
- * @example
37
- * 123456
38
- */
39
32
  id?: number;
40
33
  instanceList?: DescribeUnhealthyHostAvailabilityResponseBodyUnhealthyListNodeTaskInstanceInstanceList;
41
34
  static names(): { [key: string]: string } {
@@ -128,10 +121,6 @@ export class DescribeUnhealthyHostAvailabilityResponseBody extends $dara.Model {
128
121
  * true
129
122
  */
130
123
  success?: boolean;
131
- /**
132
- * @remarks
133
- * The unhealthy instances that are detected by the specified availability monitoring tasks.
134
- */
135
124
  unhealthyList?: DescribeUnhealthyHostAvailabilityResponseBodyUnhealthyList;
136
125
  static names(): { [key: string]: string } {
137
126
  return {
@@ -3,7 +3,21 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class Dimension extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the metric dimension.
9
+ *
10
+ * @example
11
+ * instanceId
12
+ */
6
13
  label?: string;
14
+ /**
15
+ * @remarks
16
+ * The value of the metric dimension.
17
+ *
18
+ * @example
19
+ * i-dferwret*****
20
+ */
7
21
  value?: string;
8
22
  static names(): { [key: string]: string } {
9
23
  return {
@@ -3,8 +3,29 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class Matcher extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the metric dimension.
9
+ *
10
+ * @example
11
+ * i-fewrewr*****
12
+ */
6
13
  label?: string;
14
+ /**
15
+ * @remarks
16
+ * The matching mode of the metric dimension. Only EQUALS is supported. Default value: EQUALS.
17
+ *
18
+ * @example
19
+ * EQUALS
20
+ */
7
21
  operator?: string;
22
+ /**
23
+ * @remarks
24
+ * The value of the metric dimension.
25
+ *
26
+ * @example
27
+ * instanceId
28
+ */
8
29
  value?: string;
9
30
  static names(): { [key: string]: string } {
10
31
  return {
@@ -4,13 +4,62 @@ import { Dimension } from "./Dimension";
4
4
 
5
5
 
6
6
  export class MetricStat extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * The additional information about the monitored object (instance).
10
+ */
7
11
  associated?: { [key: string]: string };
12
+ /**
13
+ * @remarks
14
+ * The dimension information that is used to identify the monitored object (instance).
15
+ */
8
16
  dimensions?: Dimension[];
17
+ /**
18
+ * @remarks
19
+ * The recorded time of the monitoring data. Unit: milliseconds. For non-raw data (aggregated data), the value of LogTime is NULL.
20
+ *
21
+ * @example
22
+ * 1683686550073
23
+ */
9
24
  logTime?: number;
25
+ /**
26
+ * @remarks
27
+ * The measured value of the metric. The parameter contains multiple values by default.
28
+ */
10
29
  measurements?: { [key: string]: any };
30
+ /**
31
+ * @remarks
32
+ * The metric that is used to monitor the cloud service.
33
+ *
34
+ * @example
35
+ * cpu_idle
36
+ */
11
37
  metric?: string;
38
+ /**
39
+ * @remarks
40
+ * The namespace of the cloud service.
41
+ *
42
+ * @example
43
+ * acs_ecs_dashboard
44
+ */
12
45
  namespace?: string;
46
+ /**
47
+ * @remarks
48
+ * The time interval based on which the metric value is measured.
49
+ *
50
+ * Unit: seconds.
51
+ *
52
+ * @example
53
+ * 60
54
+ */
13
55
  period?: number;
56
+ /**
57
+ * @remarks
58
+ * The timestamp of the monitoring data. Unit: milliseconds.
59
+ *
60
+ * @example
61
+ * 1641454680000
62
+ */
14
63
  timestamp?: number;
15
64
  static names(): { [key: string]: string } {
16
65
  return {
@@ -3,10 +3,68 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ModifyMetricRuleTemplateRequestAlertTemplatesEscalationsCritical 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
+ * Valid values of N: 1 to 200.
23
+ *
24
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for the selected alert level.
25
+ *
26
+ * @example
27
+ * GreaterThanOrEqualToThreshold
28
+ */
6
29
  comparisonOperator?: string;
7
30
  n?: number;
31
+ /**
32
+ * @remarks
33
+ * The statistical method for Critical-level alerts.
34
+ *
35
+ * Valid values of N: 1 to 200.
36
+ *
37
+ * 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).
38
+ *
39
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for the selected alert level.
40
+ *
41
+ * @example
42
+ * Average
43
+ */
8
44
  statistics?: string;
45
+ /**
46
+ * @remarks
47
+ * The threshold for Critical-level alerts.
48
+ *
49
+ * Valid values of N: 1 to 200.
50
+ *
51
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for the selected alert level.
52
+ *
53
+ * @example
54
+ * 30
55
+ */
9
56
  threshold?: string;
57
+ /**
58
+ * @remarks
59
+ * The consecutive number of times for which the metric value meets the alert condition before a Critical-level alert is triggered.
60
+ *
61
+ * Valid values of N: 1 to 200.
62
+ *
63
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for the selected alert level.
64
+ *
65
+ * @example
66
+ * 2
67
+ */
10
68
  times?: number;
11
69
  static names(): { [key: string]: string } {
12
70
  return {
@@ -38,10 +96,68 @@ export class ModifyMetricRuleTemplateRequestAlertTemplatesEscalationsCritical ex
38
96
  }
39
97
 
40
98
  export class ModifyMetricRuleTemplateRequestAlertTemplatesEscalationsInfo extends $dara.Model {
99
+ /**
100
+ * @remarks
101
+ * The operator that is used to compare the metric value with the threshold for Info-level alerts. Valid values:
102
+ *
103
+ * * GreaterThanOrEqualToThreshold: greater than or equal to the threshold
104
+ * * GreaterThanThreshold: greater than the threshold
105
+ * * LessThanOrEqualToThreshold: less than or equal to the threshold
106
+ * * LessThanThreshold: less than the threshold
107
+ * * NotEqualToThreshold: not equal to the threshold
108
+ * * GreaterThanYesterday: greater than the metric value at the same time yesterday
109
+ * * LessThanYesterday: less than the metric value at the same time yesterday
110
+ * * GreaterThanLastWeek: greater than the metric value at the same time last week
111
+ * * LessThanLastWeek: less than the metric value at the same time last week
112
+ * * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
113
+ * * LessThanLastPeriod: less than the metric value in the last monitoring cycle
114
+ *
115
+ * Valid values of N: 1 to 200.
116
+ *
117
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for the selected alert level.
118
+ *
119
+ * @example
120
+ * GreaterThanOrEqualToThreshold
121
+ */
41
122
  comparisonOperator?: string;
42
123
  n?: number;
124
+ /**
125
+ * @remarks
126
+ * The statistical method for Info-level alerts.
127
+ *
128
+ * Valid values of N: 1 to 200.
129
+ *
130
+ * 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).
131
+ *
132
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for the selected alert level.
133
+ *
134
+ * @example
135
+ * Average
136
+ */
43
137
  statistics?: string;
138
+ /**
139
+ * @remarks
140
+ * The threshold for Info-level alerts.
141
+ *
142
+ * Valid values of N: 1 to 200.
143
+ *
144
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for the selected alert level.
145
+ *
146
+ * @example
147
+ * 20
148
+ */
44
149
  threshold?: string;
150
+ /**
151
+ * @remarks
152
+ * The consecutive number of times for which the metric value meets the alert condition before an Info-level alert is triggered.
153
+ *
154
+ * Valid values of N: 1 to 200.
155
+ *
156
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for the selected alert level.
157
+ *
158
+ * @example
159
+ * 1
160
+ */
45
161
  times?: number;
46
162
  static names(): { [key: string]: string } {
47
163
  return {
@@ -73,10 +189,68 @@ export class ModifyMetricRuleTemplateRequestAlertTemplatesEscalationsInfo extend
73
189
  }
74
190
 
75
191
  export class ModifyMetricRuleTemplateRequestAlertTemplatesEscalationsWarn extends $dara.Model {
192
+ /**
193
+ * @remarks
194
+ * The operator that is used to compare the metric value with the threshold for Warn-level alerts. Valid values:
195
+ *
196
+ * * GreaterThanOrEqualToThreshold: greater than or equal to the threshold
197
+ * * GreaterThanThreshold: greater than the threshold
198
+ * * LessThanOrEqualToThreshold: less than or equal to the threshold
199
+ * * LessThanThreshold: less than the threshold
200
+ * * NotEqualToThreshold: not equal to the threshold
201
+ * * GreaterThanYesterday: greater than the metric value at the same time yesterday
202
+ * * LessThanYesterday: less than the metric value at the same time yesterday
203
+ * * GreaterThanLastWeek: greater than the metric value at the same time last week
204
+ * * LessThanLastWeek: less than the metric value at the same time last week
205
+ * * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
206
+ * * LessThanLastPeriod: less than the metric value in the last monitoring cycle
207
+ *
208
+ * Valid values of N: 1 to 200.
209
+ *
210
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for the selected alert level.
211
+ *
212
+ * @example
213
+ * GreaterThanOrEqualToThreshold
214
+ */
76
215
  comparisonOperator?: string;
77
216
  n?: number;
217
+ /**
218
+ * @remarks
219
+ * The statistical method for Warn-level alerts.
220
+ *
221
+ * Valid values of N: 1 to 200.
222
+ *
223
+ * 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).
224
+ *
225
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for the selected alert level.
226
+ *
227
+ * @example
228
+ * Average
229
+ */
78
230
  statistics?: string;
231
+ /**
232
+ * @remarks
233
+ * The threshold for Warn-level alerts.
234
+ *
235
+ * Valid values of N: 1 to 200.
236
+ *
237
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for the selected alert level.
238
+ *
239
+ * @example
240
+ * 30
241
+ */
79
242
  threshold?: string;
243
+ /**
244
+ * @remarks
245
+ * The consecutive number of times for which the metric value meets the alert condition before a Warn-level alert is triggered.
246
+ *
247
+ * Valid values of N: 1 to 200.
248
+ *
249
+ * > You must select at least one of the Critical, Warn, and Info alert levels and specify the Statistics, ComparisonOperator, Threshold, and Times parameters for the selected alert level.
250
+ *
251
+ * @example
252
+ * 1
253
+ */
80
254
  times?: number;
81
255
  static names(): { [key: string]: string } {
82
256
  return {
@@ -3,28 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class PutEventRuleTargetsResponseBodyFailedContactParametersContactParameter extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The name of the alert contact group.
9
- */
10
6
  contactGroupName?: string;
11
- /**
12
- * @remarks
13
- * The ID of the recipient.
14
- *
15
- * @example
16
- * 2
17
- */
18
7
  id?: number;
19
- /**
20
- * @remarks
21
- * The alert notification methods. Valid values:
22
- *
23
- * 4: Alert notifications are sent by using DingTalk and emails.
24
- *
25
- * @example
26
- * 3
27
- */
28
8
  level?: string;
29
9
  static names(): { [key: string]: string } {
30
10
  return {
@@ -78,37 +58,9 @@ export class PutEventRuleTargetsResponseBodyFailedContactParameters extends $dar
78
58
  }
79
59
 
80
60
  export class PutEventRuleTargetsResponseBodyFailedFcParametersFcParameter extends $dara.Model {
81
- /**
82
- * @remarks
83
- * The name of the function.
84
- *
85
- * @example
86
- * functionTest1
87
- */
88
61
  functionName?: string;
89
- /**
90
- * @remarks
91
- * The ID of the recipient.
92
- *
93
- * @example
94
- * 1
95
- */
96
62
  id?: number;
97
- /**
98
- * @remarks
99
- * The region ID.
100
- *
101
- * @example
102
- * cn-hangzhou
103
- */
104
63
  region?: string;
105
- /**
106
- * @remarks
107
- * The name of the Function Compute service.
108
- *
109
- * @example
110
- * serviceTest1
111
- */
112
64
  serviceName?: string;
113
65
  static names(): { [key: string]: string } {
114
66
  return {
@@ -164,29 +116,8 @@ export class PutEventRuleTargetsResponseBodyFailedFcParameters extends $dara.Mod
164
116
  }
165
117
 
166
118
  export class PutEventRuleTargetsResponseBodyFailedMnsParametersMnsParameter extends $dara.Model {
167
- /**
168
- * @remarks
169
- * The ID of the recipient.
170
- *
171
- * @example
172
- * 2
173
- */
174
119
  id?: number;
175
- /**
176
- * @remarks
177
- * The name of the MNS queue.
178
- *
179
- * @example
180
- * testQueue
181
- */
182
120
  queue?: string;
183
- /**
184
- * @remarks
185
- * The region ID.
186
- *
187
- * @example
188
- * cn-hangzhou
189
- */
190
121
  region?: string;
191
122
  static names(): { [key: string]: string } {
192
123
  return {
@@ -250,20 +181,8 @@ export class PutEventRuleTargetsResponseBody extends $dara.Model {
250
181
  * 200
251
182
  */
252
183
  code?: string;
253
- /**
254
- * @remarks
255
- * This parameter is returned if the specified alert contact groups in the request failed to be created or modified.
256
- */
257
184
  failedContactParameters?: PutEventRuleTargetsResponseBodyFailedContactParameters;
258
- /**
259
- * @remarks
260
- * This parameter is returned if the specified functions in the request failed to be created or modified in Function Compute.
261
- */
262
185
  failedFcParameters?: PutEventRuleTargetsResponseBodyFailedFcParameters;
263
- /**
264
- * @remarks
265
- * This parameter is returned if the specified queues in the request failed to be created or modified in SMQ.
266
- */
267
186
  failedMnsParameters?: PutEventRuleTargetsResponseBodyFailedMnsParameters;
268
187
  /**
269
188
  * @remarks
@@ -3,49 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class PutMetricRuleTargetsResponseBodyFailDataTargetsTarget extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The ARN of the resource. Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`. SMQ, Auto Scaling, Simple Log Service, and Function Compute are supported. Example: `acs:mns:cn-hangzhou:120886317861****:/queues/test123/message`. The following part describes the ARN of SMQ and the parameters in the ARN:
9
- *
10
- * * {Service name abbreviation}: mns.
11
- *
12
- * * {userId}: the ID of the Alibaba Cloud account.
13
- *
14
- * * {regionId}: the region ID of the SMQ queue or topic.
15
- *
16
- * * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
17
- *
18
- * * **queues**
19
- * * **topics**
20
- *
21
- * * {Resource name}: the resource name.
22
- *
23
- * * If the resource type is **queues**, the resource name is the queue name.
24
- * * If the resource type is **topics**, the resource name is the topic name.
25
- *
26
- * @example
27
- * acs:mns:cn-hangzhou:111:/queues/test/message
28
- */
29
6
  arn?: string;
30
- /**
31
- * @remarks
32
- * The ID of the resource for which alerts are triggered.
33
- *
34
- * @example
35
- * 1
36
- */
37
7
  id?: string;
38
- /**
39
- * @remarks
40
- * The alert level. Valid values:
41
- *
42
- * * INFO
43
- * * WARN
44
- * * CRITICAL
45
- *
46
- * @example
47
- * ["INFO", "WARN", "CRITICAL"]
48
- */
49
8
  level?: string;
50
9
  static names(): { [key: string]: string } {
51
10
  return {
@@ -99,10 +58,6 @@ export class PutMetricRuleTargetsResponseBodyFailDataTargets extends $dara.Model
99
58
  }
100
59
 
101
60
  export class PutMetricRuleTargetsResponseBodyFailData extends $dara.Model {
102
- /**
103
- * @remarks
104
- * The information about the resources for which alerts are triggered.
105
- */
106
61
  targets?: PutMetricRuleTargetsResponseBodyFailDataTargets;
107
62
  static names(): { [key: string]: string } {
108
63
  return {
@@ -762,6 +762,7 @@ export class PutResourceMetricRuleRequest extends $dara.Model {
762
762
  * test123
763
763
  */
764
764
  ruleName?: string;
765
+ sendOK?: boolean;
765
766
  /**
766
767
  * @remarks
767
768
  * The mute period during which new alert notifications are not sent even if the trigger conditions are met. Unit: seconds. Default value: 86400.
@@ -798,6 +799,7 @@ export class PutResourceMetricRuleRequest extends $dara.Model {
798
799
  resources: 'Resources',
799
800
  ruleId: 'RuleId',
800
801
  ruleName: 'RuleName',
802
+ sendOK: 'SendOK',
801
803
  silenceTime: 'SilenceTime',
802
804
  webhook: 'Webhook',
803
805
  };
@@ -821,6 +823,7 @@ export class PutResourceMetricRuleRequest extends $dara.Model {
821
823
  resources: 'string',
822
824
  ruleId: 'string',
823
825
  ruleName: 'string',
826
+ sendOK: 'boolean',
824
827
  silenceTime: 'number',
825
828
  webhook: 'string',
826
829
  };
@@ -481,6 +481,7 @@ export class PutResourceMetricRuleShrinkRequest extends $dara.Model {
481
481
  * test123
482
482
  */
483
483
  ruleName?: string;
484
+ sendOK?: boolean;
484
485
  /**
485
486
  * @remarks
486
487
  * The mute period during which new alert notifications are not sent even if the trigger conditions are met. Unit: seconds. Default value: 86400.
@@ -517,6 +518,7 @@ export class PutResourceMetricRuleShrinkRequest extends $dara.Model {
517
518
  resources: 'Resources',
518
519
  ruleId: 'RuleId',
519
520
  ruleName: 'RuleName',
521
+ sendOK: 'SendOK',
520
522
  silenceTime: 'SilenceTime',
521
523
  webhook: 'Webhook',
522
524
  };
@@ -540,6 +542,7 @@ export class PutResourceMetricRuleShrinkRequest extends $dara.Model {
540
542
  resources: 'string',
541
543
  ruleId: 'string',
542
544
  ruleName: 'string',
545
+ sendOK: 'boolean',
543
546
  silenceTime: 'number',
544
547
  webhook: 'string',
545
548
  };