@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.
- package/dist/client.d.ts +8 -4
- package/dist/client.js +11 -4
- package/dist/client.js.map +1 -1
- package/dist/models/CreateGroupMetricRulesRequest.d.ts +132 -0
- package/dist/models/CreateGroupMetricRulesRequest.js.map +1 -1
- package/dist/models/CreateGroupMetricRulesResponseBody.d.ts +0 -44
- package/dist/models/CreateGroupMetricRulesResponseBody.js.map +1 -1
- package/dist/models/CreateMetricRuleTemplateRequest.d.ts +174 -0
- package/dist/models/CreateMetricRuleTemplateRequest.js.map +1 -1
- package/dist/models/CreateSiteMonitorResponseBody.d.ts +0 -64
- package/dist/models/CreateSiteMonitorResponseBody.js.map +1 -1
- package/dist/models/DeleteMetricRuleTargetsResponseBody.d.ts +0 -4
- package/dist/models/DeleteMetricRuleTargetsResponseBody.js.map +1 -1
- package/dist/models/DeleteMonitorGroupResponseBody.d.ts +0 -11
- package/dist/models/DeleteMonitorGroupResponseBody.js.map +1 -1
- package/dist/models/DescribeActiveMetricRuleListResponseBody.d.ts +0 -394
- package/dist/models/DescribeActiveMetricRuleListResponseBody.js.map +1 -1
- package/dist/models/DescribeAlertHistoryListResponseBody.d.ts +0 -150
- package/dist/models/DescribeAlertHistoryListResponseBody.js.map +1 -1
- package/dist/models/DescribeAlertingMetricRuleResourcesResponseBody.d.ts +0 -290
- package/dist/models/DescribeAlertingMetricRuleResourcesResponseBody.js.map +1 -1
- package/dist/models/DescribeContactGroupListResponseBody.d.ts +0 -58
- package/dist/models/DescribeContactGroupListResponseBody.js.map +1 -1
- package/dist/models/DescribeContactListByContactGroupResponseBody.d.ts +0 -72
- package/dist/models/DescribeContactListByContactGroupResponseBody.js.map +1 -1
- package/dist/models/DescribeContactListResponseBody.d.ts +0 -127
- package/dist/models/DescribeContactListResponseBody.js.map +1 -1
- package/dist/models/DescribeCustomEventAttributeResponseBody.d.ts +0 -41
- package/dist/models/DescribeCustomEventAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeCustomEventCountResponseBody.d.ts +0 -27
- package/dist/models/DescribeCustomEventCountResponseBody.js.map +1 -1
- package/dist/models/DescribeCustomEventHistogramResponseBody.d.ts +0 -29
- package/dist/models/DescribeCustomEventHistogramResponseBody.js.map +1 -1
- package/dist/models/DescribeDynamicTagRuleListResponseBody.d.ts +0 -89
- package/dist/models/DescribeDynamicTagRuleListResponseBody.js.map +1 -1
- package/dist/models/DescribeEventRuleAttributeResponseBody.d.ts +0 -8
- package/dist/models/DescribeEventRuleAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeEventRuleListResponseBody.d.ts +0 -107
- package/dist/models/DescribeEventRuleListResponseBody.js.map +1 -1
- package/dist/models/DescribeEventRuleTargetListResponseBody.d.ts +0 -253
- package/dist/models/DescribeEventRuleTargetListResponseBody.js.map +1 -1
- package/dist/models/DescribeExporterOutputListResponseBody.d.ts +0 -59
- package/dist/models/DescribeExporterOutputListResponseBody.js.map +1 -1
- package/dist/models/DescribeExporterRuleListResponseBody.d.ts +0 -67
- package/dist/models/DescribeExporterRuleListResponseBody.js.map +1 -1
- package/dist/models/DescribeGroupMonitoringAgentProcessResponseBody.d.ts +0 -213
- package/dist/models/DescribeGroupMonitoringAgentProcessResponseBody.js.map +1 -1
- package/dist/models/DescribeHostAvailabilityListResponseBody.d.ts +0 -288
- package/dist/models/DescribeHostAvailabilityListResponseBody.js.map +1 -1
- package/dist/models/DescribeMetricMetaListResponseBody.d.ts +0 -71
- package/dist/models/DescribeMetricMetaListResponseBody.js.map +1 -1
- package/dist/models/DescribeMetricRuleListResponseBody.d.ts +0 -497
- package/dist/models/DescribeMetricRuleListResponseBody.js.map +1 -1
- package/dist/models/DescribeMetricRuleTargetsResponseBody.d.ts +0 -41
- package/dist/models/DescribeMetricRuleTargetsResponseBody.js.map +1 -1
- package/dist/models/DescribeMetricRuleTemplateAttributeResponseBody.d.ts +0 -217
- package/dist/models/DescribeMetricRuleTemplateAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeMetricRuleTemplateListResponseBody.d.ts +0 -76
- package/dist/models/DescribeMetricRuleTemplateListResponseBody.js.map +1 -1
- package/dist/models/DescribeMonitorGroupCategoriesResponseBody.d.ts +0 -20
- package/dist/models/DescribeMonitorGroupCategoriesResponseBody.js.map +1 -1
- package/dist/models/DescribeMonitorGroupDynamicRulesResponseBody.d.ts +0 -54
- package/dist/models/DescribeMonitorGroupDynamicRulesResponseBody.js.map +1 -1
- package/dist/models/DescribeMonitorGroupInstanceAttributeResponseBody.d.ts +0 -100
- package/dist/models/DescribeMonitorGroupInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeMonitorGroupInstancesResponseBody.d.ts +0 -39
- package/dist/models/DescribeMonitorGroupInstancesResponseBody.js.map +1 -1
- package/dist/models/DescribeMonitorGroupNotifyPolicyListResponseBody.d.ts +0 -43
- package/dist/models/DescribeMonitorGroupNotifyPolicyListResponseBody.js.map +1 -1
- package/dist/models/DescribeMonitorGroupsResponseBody.d.ts +0 -118
- package/dist/models/DescribeMonitorGroupsResponseBody.js.map +1 -1
- package/dist/models/DescribeMonitoringAgentHostsResponseBody.d.ts +0 -109
- package/dist/models/DescribeMonitoringAgentHostsResponseBody.js.map +1 -1
- package/dist/models/DescribeMonitoringAgentProcessesResponseBody.d.ts +0 -48
- package/dist/models/DescribeMonitoringAgentProcessesResponseBody.js.map +1 -1
- package/dist/models/DescribeMonitoringAgentStatusesResponseBody.d.ts +0 -102
- package/dist/models/DescribeMonitoringAgentStatusesResponseBody.js.map +1 -1
- package/dist/models/DescribeProductsOfActiveMetricRuleResponseBody.d.ts +0 -121
- package/dist/models/DescribeProductsOfActiveMetricRuleResponseBody.js.map +1 -1
- package/dist/models/DescribeProjectMetaResponseBody.d.ts +0 -32
- package/dist/models/DescribeProjectMetaResponseBody.js.map +1 -1
- package/dist/models/DescribeSiteMonitorAttributeResponseBody.d.ts +0 -284
- package/dist/models/DescribeSiteMonitorAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeSiteMonitorIspcityListResponseBody.d.ts +0 -52
- package/dist/models/DescribeSiteMonitorIspcityListResponseBody.js.map +1 -1
- package/dist/models/DescribeSiteMonitorListResponseBody.d.ts +0 -391
- package/dist/models/DescribeSiteMonitorListResponseBody.js.map +1 -1
- package/dist/models/DescribeSystemEventAttributeResponseBody.d.ts +0 -87
- package/dist/models/DescribeSystemEventAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeSystemEventCountResponseBody.d.ts +0 -82
- package/dist/models/DescribeSystemEventCountResponseBody.js.map +1 -1
- package/dist/models/DescribeSystemEventHistogramResponseBody.d.ts +0 -29
- package/dist/models/DescribeSystemEventHistogramResponseBody.js.map +1 -1
- package/dist/models/DescribeSystemEventMetaListResponseBody.d.ts +0 -61
- package/dist/models/DescribeSystemEventMetaListResponseBody.js.map +1 -1
- package/dist/models/DescribeUnhealthyHostAvailabilityResponseBody.d.ts +0 -11
- package/dist/models/DescribeUnhealthyHostAvailabilityResponseBody.js.map +1 -1
- package/dist/models/Dimension.d.ts +14 -0
- package/dist/models/Dimension.js.map +1 -1
- package/dist/models/Matcher.d.ts +21 -0
- package/dist/models/Matcher.js.map +1 -1
- package/dist/models/MetricStat.d.ts +49 -0
- package/dist/models/MetricStat.js.map +1 -1
- package/dist/models/ModifyMetricRuleTemplateRequest.d.ts +174 -0
- package/dist/models/ModifyMetricRuleTemplateRequest.js.map +1 -1
- package/dist/models/PutEventRuleTargetsResponseBody.d.ts +0 -81
- package/dist/models/PutEventRuleTargetsResponseBody.js.map +1 -1
- package/dist/models/PutMetricRuleTargetsResponseBody.d.ts +0 -45
- package/dist/models/PutMetricRuleTargetsResponseBody.js.map +1 -1
- package/dist/models/PutResourceMetricRuleRequest.d.ts +1 -0
- package/dist/models/PutResourceMetricRuleRequest.js +2 -0
- package/dist/models/PutResourceMetricRuleRequest.js.map +1 -1
- package/dist/models/PutResourceMetricRuleShrinkRequest.d.ts +1 -0
- package/dist/models/PutResourceMetricRuleShrinkRequest.js +2 -0
- package/dist/models/PutResourceMetricRuleShrinkRequest.js.map +1 -1
- package/dist/models/PutResourceMetricRulesRequest.d.ts +176 -0
- package/dist/models/PutResourceMetricRulesRequest.js +2 -0
- package/dist/models/PutResourceMetricRulesRequest.js.map +1 -1
- package/dist/models/PutResourceMetricRulesResponseBody.d.ts +0 -39
- package/dist/models/PutResourceMetricRulesResponseBody.js.map +1 -1
- package/dist/models/RemoveTagsResponseBody.d.ts +0 -4
- package/dist/models/RemoveTagsResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +12 -4
- package/src/models/CreateGroupMetricRulesRequest.ts +132 -0
- package/src/models/CreateGroupMetricRulesResponseBody.ts +0 -44
- package/src/models/CreateMetricRuleTemplateRequest.ts +174 -0
- package/src/models/CreateSiteMonitorResponseBody.ts +0 -64
- package/src/models/DeleteMetricRuleTargetsResponseBody.ts +0 -4
- package/src/models/DeleteMonitorGroupResponseBody.ts +0 -11
- package/src/models/DescribeActiveMetricRuleListResponseBody.ts +0 -394
- package/src/models/DescribeAlertHistoryListResponseBody.ts +0 -150
- package/src/models/DescribeAlertingMetricRuleResourcesResponseBody.ts +0 -290
- package/src/models/DescribeContactGroupListResponseBody.ts +0 -58
- package/src/models/DescribeContactListByContactGroupResponseBody.ts +0 -72
- package/src/models/DescribeContactListResponseBody.ts +0 -127
- package/src/models/DescribeCustomEventAttributeResponseBody.ts +0 -41
- package/src/models/DescribeCustomEventCountResponseBody.ts +0 -27
- package/src/models/DescribeCustomEventHistogramResponseBody.ts +0 -29
- package/src/models/DescribeDynamicTagRuleListResponseBody.ts +0 -89
- package/src/models/DescribeEventRuleAttributeResponseBody.ts +0 -8
- package/src/models/DescribeEventRuleListResponseBody.ts +0 -107
- package/src/models/DescribeEventRuleTargetListResponseBody.ts +0 -253
- package/src/models/DescribeExporterOutputListResponseBody.ts +0 -59
- package/src/models/DescribeExporterRuleListResponseBody.ts +0 -67
- package/src/models/DescribeGroupMonitoringAgentProcessResponseBody.ts +0 -213
- package/src/models/DescribeHostAvailabilityListResponseBody.ts +0 -288
- package/src/models/DescribeMetricMetaListResponseBody.ts +0 -71
- package/src/models/DescribeMetricRuleListResponseBody.ts +0 -497
- package/src/models/DescribeMetricRuleTargetsResponseBody.ts +0 -41
- package/src/models/DescribeMetricRuleTemplateAttributeResponseBody.ts +0 -217
- package/src/models/DescribeMetricRuleTemplateListResponseBody.ts +0 -76
- package/src/models/DescribeMonitorGroupCategoriesResponseBody.ts +0 -20
- package/src/models/DescribeMonitorGroupDynamicRulesResponseBody.ts +0 -54
- package/src/models/DescribeMonitorGroupInstanceAttributeResponseBody.ts +0 -100
- package/src/models/DescribeMonitorGroupInstancesResponseBody.ts +0 -39
- package/src/models/DescribeMonitorGroupNotifyPolicyListResponseBody.ts +0 -43
- package/src/models/DescribeMonitorGroupsResponseBody.ts +0 -118
- package/src/models/DescribeMonitoringAgentHostsResponseBody.ts +0 -109
- package/src/models/DescribeMonitoringAgentProcessesResponseBody.ts +0 -48
- package/src/models/DescribeMonitoringAgentStatusesResponseBody.ts +0 -102
- package/src/models/DescribeProductsOfActiveMetricRuleResponseBody.ts +0 -121
- package/src/models/DescribeProjectMetaResponseBody.ts +0 -32
- package/src/models/DescribeSiteMonitorAttributeResponseBody.ts +0 -284
- package/src/models/DescribeSiteMonitorIspcityListResponseBody.ts +0 -52
- package/src/models/DescribeSiteMonitorListResponseBody.ts +0 -391
- package/src/models/DescribeSystemEventAttributeResponseBody.ts +0 -87
- package/src/models/DescribeSystemEventCountResponseBody.ts +0 -82
- package/src/models/DescribeSystemEventHistogramResponseBody.ts +0 -29
- package/src/models/DescribeSystemEventMetaListResponseBody.ts +0 -61
- package/src/models/DescribeUnhealthyHostAvailabilityResponseBody.ts +0 -11
- package/src/models/Dimension.ts +14 -0
- package/src/models/Matcher.ts +21 -0
- package/src/models/MetricStat.ts +49 -0
- package/src/models/ModifyMetricRuleTemplateRequest.ts +174 -0
- package/src/models/PutEventRuleTargetsResponseBody.ts +0 -81
- package/src/models/PutMetricRuleTargetsResponseBody.ts +0 -45
- package/src/models/PutResourceMetricRuleRequest.ts +3 -0
- package/src/models/PutResourceMetricRuleShrinkRequest.ts +3 -0
- package/src/models/PutResourceMetricRulesRequest.ts +178 -0
- package/src/models/PutResourceMetricRulesResponseBody.ts +0 -39
- package/src/models/RemoveTagsResponseBody.ts +0 -4
|
@@ -3,61 +3,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeAlertingMetricRuleResourcesResponseBodyResourcesResourceEscalationResourceExpressionListExpressionList extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The operator that is used to compare the metric value with the threshold. 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 metric name.
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* cpu_total
|
|
32
|
-
*/
|
|
33
7
|
metricName?: string;
|
|
34
|
-
/**
|
|
35
|
-
* @remarks
|
|
36
|
-
* The statistical period of the metric. Unit: seconds. The default value is the interval at which the monitoring data of the metric is collected.
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* 60
|
|
40
|
-
*/
|
|
41
8
|
period?: string;
|
|
42
|
-
/**
|
|
43
|
-
* @remarks
|
|
44
|
-
* The statistical method of the alert level. Valid values:
|
|
45
|
-
*
|
|
46
|
-
* * Maximum
|
|
47
|
-
* * Minimum
|
|
48
|
-
* * Average
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* Average
|
|
52
|
-
*/
|
|
53
9
|
statistics?: string;
|
|
54
|
-
/**
|
|
55
|
-
* @remarks
|
|
56
|
-
* The alert threshold.
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* 90
|
|
60
|
-
*/
|
|
61
10
|
threshold?: string;
|
|
62
11
|
static names(): { [key: string]: string } {
|
|
63
12
|
return {
|
|
@@ -115,113 +64,15 @@ export class DescribeAlertingMetricRuleResourcesResponseBodyResourcesResourceEsc
|
|
|
115
64
|
}
|
|
116
65
|
|
|
117
66
|
export class DescribeAlertingMetricRuleResourcesResponseBodyResourcesResourceEscalationResource extends $dara.Model {
|
|
118
|
-
/**
|
|
119
|
-
* @remarks
|
|
120
|
-
* The operator that is used to compare the metric value with the threshold. Valid values:
|
|
121
|
-
*
|
|
122
|
-
* * GreaterThanOrEqualToThreshold: greater than or equal to the threshold
|
|
123
|
-
* * GreaterThanThreshold: greater than the threshold
|
|
124
|
-
* * LessThanOrEqualToThreshold: less than or equal to the threshold
|
|
125
|
-
* * LessThanThreshold: less than the threshold
|
|
126
|
-
* * NotEqualToThreshold: not equal to the threshold
|
|
127
|
-
* * GreaterThanYesterday: greater than the metric value at the same time yesterday
|
|
128
|
-
* * LessThanYesterday: less than the metric value at the same time yesterday
|
|
129
|
-
* * GreaterThanLastWeek: greater than the metric value at the same time last week
|
|
130
|
-
* * LessThanLastWeek: less than the metric value at the same time last week
|
|
131
|
-
* * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
|
|
132
|
-
* * LessThanLastPeriod: less than the metric value in the last monitoring cycle
|
|
133
|
-
*
|
|
134
|
-
* @example
|
|
135
|
-
* GreaterThanOrEqualToThreshold
|
|
136
|
-
*/
|
|
137
67
|
comparisonOperator?: string;
|
|
138
|
-
/**
|
|
139
|
-
* @remarks
|
|
140
|
-
* The description of the alert rule.
|
|
141
|
-
*
|
|
142
|
-
* > This parameter indicates the content of the alert rule. If the metric value meets the alert condition, an alert is triggered.
|
|
143
|
-
*
|
|
144
|
-
* @example
|
|
145
|
-
* $Average>=10
|
|
146
|
-
*/
|
|
147
68
|
expression?: string;
|
|
148
|
-
/**
|
|
149
|
-
* @remarks
|
|
150
|
-
* The description of the multi-metric alert rule.
|
|
151
|
-
*/
|
|
152
69
|
expressionList?: DescribeAlertingMetricRuleResourcesResponseBodyResourcesResourceEscalationResourceExpressionList;
|
|
153
|
-
/**
|
|
154
|
-
* @remarks
|
|
155
|
-
* The relationship between multiple metrics. Valid values:
|
|
156
|
-
*
|
|
157
|
-
* * &&: If all metrics meet the alert conditions, CloudMonitor sends alert notifications.
|
|
158
|
-
* * ||: If one of the metrics meets the alert conditions, CloudMonitor sends alert notifications.
|
|
159
|
-
*
|
|
160
|
-
* @example
|
|
161
|
-
* &&
|
|
162
|
-
*/
|
|
163
70
|
expressionListJoin?: string;
|
|
164
|
-
/**
|
|
165
|
-
* @remarks
|
|
166
|
-
* The trigger conditions that are created by using expressions. You can use expressions to create trigger conditions in the following scenarios:
|
|
167
|
-
*
|
|
168
|
-
* * Set an alert blacklist for specific resources. For example, if you specify `$instanceId != \\"i-io8kfvcpp7x5****\\" ``&&`` $Average > 50`, no alert is triggered when the `average metric value` of the `i-io8kfvcpp7x5****` instance exceeds 50.
|
|
169
|
-
* * Set a special alert threshold for a specified instance in the rule. For example, if you specify `$Average > ($instanceId == \\"i-io8kfvcpp7x5****\\"? 80: 50)`, an alert is triggered when the `average metric value` of the `i-io8kfvcpp7x5****` instance exceeds 80 or the `average metric value` of other instances exceeds 50.
|
|
170
|
-
* * Limit the number of instances whose metric values exceed the threshold. For example, if you specify `count($Average > 20) > 3`, an alert is triggered only when the `average metric value` of more than three instances exceeds 20.
|
|
171
|
-
*
|
|
172
|
-
* @example
|
|
173
|
-
* $Average > ($instanceId == \\"i-io8kfvcpp7x5****\\"? 80: 50)
|
|
174
|
-
*/
|
|
175
71
|
expressionRaw?: string;
|
|
176
|
-
/**
|
|
177
|
-
* @remarks
|
|
178
|
-
* The severity level and notification methods of the alert. Valid values:
|
|
179
|
-
*
|
|
180
|
-
* * 4: Alert notifications are sent by using emails and DingTalk chatbots.
|
|
181
|
-
* * OK: No alert is generated.
|
|
182
|
-
*
|
|
183
|
-
* @example
|
|
184
|
-
* 3
|
|
185
|
-
*/
|
|
186
72
|
level?: number;
|
|
187
|
-
/**
|
|
188
|
-
* @remarks
|
|
189
|
-
* The operator that is used to compare the metric value with the threshold. Valid values:
|
|
190
|
-
*
|
|
191
|
-
* * `>=`
|
|
192
|
-
* * `=`
|
|
193
|
-
* * `<=`
|
|
194
|
-
* * `>`
|
|
195
|
-
* * `<`
|
|
196
|
-
* * `!=`
|
|
197
|
-
*
|
|
198
|
-
* @example
|
|
199
|
-
* >=
|
|
200
|
-
*/
|
|
201
73
|
preCondition?: string;
|
|
202
|
-
/**
|
|
203
|
-
* @remarks
|
|
204
|
-
* This parameter is deprecated.
|
|
205
|
-
*
|
|
206
|
-
* @example
|
|
207
|
-
* mns
|
|
208
|
-
*/
|
|
209
74
|
tag?: string;
|
|
210
|
-
/**
|
|
211
|
-
* @remarks
|
|
212
|
-
* The alert threshold.
|
|
213
|
-
*
|
|
214
|
-
* @example
|
|
215
|
-
* 10
|
|
216
|
-
*/
|
|
217
75
|
threshold?: string;
|
|
218
|
-
/**
|
|
219
|
-
* @remarks
|
|
220
|
-
* The consecutive number of times for which the metric value meets the alert condition before an alert is triggered.
|
|
221
|
-
*
|
|
222
|
-
* @example
|
|
223
|
-
* 1
|
|
224
|
-
*/
|
|
225
76
|
times?: number;
|
|
226
77
|
static names(): { [key: string]: string } {
|
|
227
78
|
return {
|
|
@@ -292,160 +143,23 @@ export class DescribeAlertingMetricRuleResourcesResponseBodyResourcesResourceEsc
|
|
|
292
143
|
}
|
|
293
144
|
|
|
294
145
|
export class DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource extends $dara.Model {
|
|
295
|
-
/**
|
|
296
|
-
* @remarks
|
|
297
|
-
* The dimensions based on which the resources are queried.
|
|
298
|
-
*
|
|
299
|
-
* @example
|
|
300
|
-
* {\\"region\\":\\"cn-huhehaote\\",\\"queue\\":\\"test-0128\\",\\"userId\\":\\"120886317861****\\"}
|
|
301
|
-
*/
|
|
302
146
|
dimensions?: string;
|
|
303
|
-
/**
|
|
304
|
-
* @remarks
|
|
305
|
-
* Indicates whether the alert rule is enabled. Valid values:
|
|
306
|
-
*
|
|
307
|
-
* * true: The alert rule is enabled.
|
|
308
|
-
* * false: The alert rule is disabled.
|
|
309
|
-
*
|
|
310
|
-
* @example
|
|
311
|
-
* true
|
|
312
|
-
*/
|
|
313
147
|
enable?: string;
|
|
314
|
-
/**
|
|
315
|
-
* @remarks
|
|
316
|
-
* The alert rule based on which the alert is triggered.
|
|
317
|
-
*/
|
|
318
148
|
escalation?: DescribeAlertingMetricRuleResourcesResponseBodyResourcesResourceEscalation;
|
|
319
|
-
/**
|
|
320
|
-
* @remarks
|
|
321
|
-
* The ID of the application group.
|
|
322
|
-
*
|
|
323
|
-
* > If the alert rule is associated with an application group, the ID of the application group is returned in this parameter.
|
|
324
|
-
*
|
|
325
|
-
* @example
|
|
326
|
-
* 7671****
|
|
327
|
-
*/
|
|
328
149
|
groupId?: string;
|
|
329
|
-
/**
|
|
330
|
-
* @remarks
|
|
331
|
-
* The time when the last alert was triggered for the resource based on the alert rule. The value is a timestamp.
|
|
332
|
-
*
|
|
333
|
-
* Unit: milliseconds.
|
|
334
|
-
*
|
|
335
|
-
* @example
|
|
336
|
-
* 1622427900000
|
|
337
|
-
*/
|
|
338
150
|
lastAlertTime?: string;
|
|
339
|
-
/**
|
|
340
|
-
* @remarks
|
|
341
|
-
* The time when the alert rule was last modified. The value is a timestamp.
|
|
342
|
-
*
|
|
343
|
-
* Unit: milliseconds.
|
|
344
|
-
*
|
|
345
|
-
* @example
|
|
346
|
-
* 1622827900000
|
|
347
|
-
*/
|
|
348
151
|
lastModifyTime?: string;
|
|
349
|
-
/**
|
|
350
|
-
* @remarks
|
|
351
|
-
* The severity level and notification methods of the alert. Valid values:
|
|
352
|
-
*
|
|
353
|
-
* * 4: Alert notifications are sent by using emails and DingTalk chatbots.
|
|
354
|
-
* * OK: No alert is generated.
|
|
355
|
-
*
|
|
356
|
-
* @example
|
|
357
|
-
* 3
|
|
358
|
-
*/
|
|
359
152
|
level?: number;
|
|
360
|
-
/**
|
|
361
|
-
* @remarks
|
|
362
|
-
* The metric name.
|
|
363
|
-
*
|
|
364
|
-
* @example
|
|
365
|
-
* ActiveMessages
|
|
366
|
-
*/
|
|
367
153
|
metricName?: string;
|
|
368
|
-
/**
|
|
369
|
-
* @remarks
|
|
370
|
-
* The metric value that triggered the alert based on the alert rule. The value is a JSON string.
|
|
371
|
-
*
|
|
372
|
-
* @example
|
|
373
|
-
* {\\"timestamp\\":1623727500000,\\"Sum\\":926,\\"value\\":463,\\"Maximum\\":463,\\"Minimum\\":463,\\"Average\\":463,\\"SampleCount\\":2,\\"userId\\":\\"120886317861****\\",\\"region\\":\\"cn-huhehaote\\",\\"queue\\":\\"test-0128\\"}
|
|
374
|
-
*/
|
|
375
154
|
metricValues?: string;
|
|
376
|
-
/**
|
|
377
|
-
* @remarks
|
|
378
|
-
* The namespace of the cloud service.
|
|
379
|
-
*
|
|
380
|
-
* @example
|
|
381
|
-
* acs_mns_new
|
|
382
|
-
*/
|
|
383
155
|
namespace?: string;
|
|
384
|
-
/**
|
|
385
|
-
* @remarks
|
|
386
|
-
* The type of the cloud service.
|
|
387
|
-
*
|
|
388
|
-
* @example
|
|
389
|
-
* mns
|
|
390
|
-
*/
|
|
391
156
|
productCategory?: string;
|
|
392
|
-
/**
|
|
393
|
-
* @remarks
|
|
394
|
-
* The resources that are monitored.
|
|
395
|
-
*
|
|
396
|
-
* @example
|
|
397
|
-
* userId=120886317861****,region=cn-huhehaote,queue=test-0128
|
|
398
|
-
*/
|
|
399
157
|
resource?: string;
|
|
400
|
-
/**
|
|
401
|
-
* @remarks
|
|
402
|
-
* The consecutive number of times for which the metric value meets the alert condition before an alert is triggered.
|
|
403
|
-
*
|
|
404
|
-
* @example
|
|
405
|
-
* 3
|
|
406
|
-
*/
|
|
407
158
|
retryTimes?: string;
|
|
408
|
-
/**
|
|
409
|
-
* @remarks
|
|
410
|
-
* The ID of the alert rule.
|
|
411
|
-
*
|
|
412
|
-
* @example
|
|
413
|
-
* putNewAlarm_user_7e78d765-0e3e-4671-ba6d-7ce39108****
|
|
414
|
-
*/
|
|
415
159
|
ruleId?: string;
|
|
416
|
-
/**
|
|
417
|
-
* @remarks
|
|
418
|
-
* The name of the alert rule.
|
|
419
|
-
*
|
|
420
|
-
* @example
|
|
421
|
-
* test123456789
|
|
422
|
-
*/
|
|
423
160
|
ruleName?: string;
|
|
424
|
-
/**
|
|
425
|
-
* @remarks
|
|
426
|
-
* The time when the resource was associated with the alert rule. The value is a timestamp.
|
|
427
|
-
*
|
|
428
|
-
* Unit: milliseconds.
|
|
429
|
-
*
|
|
430
|
-
* @example
|
|
431
|
-
* 1622427900000
|
|
432
|
-
*/
|
|
433
161
|
startTime?: string;
|
|
434
|
-
/**
|
|
435
|
-
* @remarks
|
|
436
|
-
* The method used to calculate the metric values that trigger alerts.
|
|
437
|
-
*
|
|
438
|
-
* @example
|
|
439
|
-
* Average
|
|
440
|
-
*/
|
|
441
162
|
statistics?: string;
|
|
442
|
-
/**
|
|
443
|
-
* @remarks
|
|
444
|
-
* The alert threshold.
|
|
445
|
-
*
|
|
446
|
-
* @example
|
|
447
|
-
* 10
|
|
448
|
-
*/
|
|
449
163
|
threshold?: string;
|
|
450
164
|
static names(): { [key: string]: string } {
|
|
451
165
|
return {
|
|
@@ -558,10 +272,6 @@ export class DescribeAlertingMetricRuleResourcesResponseBody extends $dara.Model
|
|
|
558
272
|
* 0724011B-D9E0-4B2F-8C51-F17A894CC42C
|
|
559
273
|
*/
|
|
560
274
|
requestId?: string;
|
|
561
|
-
/**
|
|
562
|
-
* @remarks
|
|
563
|
-
* The resources that are associated with the alert rule.
|
|
564
|
-
*/
|
|
565
275
|
resources?: DescribeAlertingMetricRuleResourcesResponseBodyResources;
|
|
566
276
|
/**
|
|
567
277
|
* @remarks
|
|
@@ -29,62 +29,12 @@ export class DescribeContactGroupListResponseBodyContactGroupListContactGroupCon
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
export class DescribeContactGroupListResponseBodyContactGroupListContactGroup extends $dara.Model {
|
|
32
|
-
/**
|
|
33
|
-
* @remarks
|
|
34
|
-
* List of contacts.
|
|
35
|
-
*/
|
|
36
32
|
contacts?: DescribeContactGroupListResponseBodyContactGroupListContactGroupContacts;
|
|
37
|
-
/**
|
|
38
|
-
* @remarks
|
|
39
|
-
* Creation time.
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* 2023-06-07T03:52:30Z
|
|
43
|
-
*/
|
|
44
33
|
createTime?: number;
|
|
45
|
-
/**
|
|
46
|
-
* @remarks
|
|
47
|
-
* Description information of the alarm contact group.
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* Devops-运维组
|
|
51
|
-
*/
|
|
52
34
|
describe?: string;
|
|
53
|
-
/**
|
|
54
|
-
* @remarks
|
|
55
|
-
* Indicates whether the weekly report subscription function is enabled. Values:
|
|
56
|
-
*
|
|
57
|
-
* - true: Yes.
|
|
58
|
-
*
|
|
59
|
-
* - false: No.
|
|
60
|
-
*
|
|
61
|
-
* @example
|
|
62
|
-
* false
|
|
63
|
-
*/
|
|
64
35
|
enableSubscribed?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* @remarks
|
|
67
|
-
* Indicates whether the weekly report function is enabled.
|
|
68
|
-
*
|
|
69
|
-
* @example
|
|
70
|
-
* false
|
|
71
|
-
*/
|
|
72
36
|
enabledWeeklyReport?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* @remarks
|
|
75
|
-
* Name.
|
|
76
|
-
*
|
|
77
|
-
* @example
|
|
78
|
-
* name
|
|
79
|
-
*/
|
|
80
37
|
name?: string;
|
|
81
|
-
/**
|
|
82
|
-
* @remarks
|
|
83
|
-
* Update time.
|
|
84
|
-
*
|
|
85
|
-
* @example
|
|
86
|
-
* 2025-03-04T02:12:06Z
|
|
87
|
-
*/
|
|
88
38
|
updateTime?: number;
|
|
89
39
|
static names(): { [key: string]: string } {
|
|
90
40
|
return {
|
|
@@ -183,15 +133,7 @@ export class DescribeContactGroupListResponseBody extends $dara.Model {
|
|
|
183
133
|
* 200
|
|
184
134
|
*/
|
|
185
135
|
code?: string;
|
|
186
|
-
/**
|
|
187
|
-
* @remarks
|
|
188
|
-
* List of alarm contact groups.
|
|
189
|
-
*/
|
|
190
136
|
contactGroupList?: DescribeContactGroupListResponseBodyContactGroupList;
|
|
191
|
-
/**
|
|
192
|
-
* @remarks
|
|
193
|
-
* List of alarm contact groups.
|
|
194
|
-
*/
|
|
195
137
|
contactGroups?: DescribeContactGroupListResponseBodyContactGroups;
|
|
196
138
|
/**
|
|
197
139
|
* @remarks
|
|
@@ -3,41 +3,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeContactListByContactGroupResponseBodyContactsContactChannels extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The TradeManager ID of the alert contact.
|
|
9
|
-
*
|
|
10
|
-
* > This parameter can be returned only on the China site (aliyun.com).
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* Alice
|
|
14
|
-
*/
|
|
15
6
|
aliIM?: string;
|
|
16
|
-
/**
|
|
17
|
-
* @remarks
|
|
18
|
-
* The webhook URL of the DingTalk chatbot.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* https://oapi.dingtalk.com/robot/send?access_token=9bf44f8189597d07dfdd7a123455ffc112****
|
|
22
|
-
*/
|
|
23
7
|
dingWebHook?: string;
|
|
24
|
-
/**
|
|
25
|
-
* @remarks
|
|
26
|
-
* The email address of the alert contact.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* alice@example.com
|
|
30
|
-
*/
|
|
31
8
|
mail?: string;
|
|
32
|
-
/**
|
|
33
|
-
* @remarks
|
|
34
|
-
* The mobile number of the alert contact.
|
|
35
|
-
*
|
|
36
|
-
* > This parameter can be returned only on the China site (aliyun.com).
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* 1333333****
|
|
40
|
-
*/
|
|
41
9
|
SMS?: string;
|
|
42
10
|
static names(): { [key: string]: string } {
|
|
43
11
|
return {
|
|
@@ -67,46 +35,10 @@ export class DescribeContactListByContactGroupResponseBodyContactsContactChannel
|
|
|
67
35
|
}
|
|
68
36
|
|
|
69
37
|
export class DescribeContactListByContactGroupResponseBodyContactsContact extends $dara.Model {
|
|
70
|
-
/**
|
|
71
|
-
* @remarks
|
|
72
|
-
* The alert notification methods.
|
|
73
|
-
*/
|
|
74
38
|
channels?: DescribeContactListByContactGroupResponseBodyContactsContactChannels;
|
|
75
|
-
/**
|
|
76
|
-
* @remarks
|
|
77
|
-
* The time when the alert contact was created.
|
|
78
|
-
*
|
|
79
|
-
* Unit: milliseconds.
|
|
80
|
-
*
|
|
81
|
-
* @example
|
|
82
|
-
* 1552314252000
|
|
83
|
-
*/
|
|
84
39
|
createTime?: number;
|
|
85
|
-
/**
|
|
86
|
-
* @remarks
|
|
87
|
-
* The description of the alert contact.
|
|
88
|
-
*
|
|
89
|
-
* @example
|
|
90
|
-
* ECS
|
|
91
|
-
*/
|
|
92
40
|
desc?: string;
|
|
93
|
-
/**
|
|
94
|
-
* @remarks
|
|
95
|
-
* The name of the alert contact.
|
|
96
|
-
*
|
|
97
|
-
* @example
|
|
98
|
-
* Alice
|
|
99
|
-
*/
|
|
100
41
|
name?: string;
|
|
101
|
-
/**
|
|
102
|
-
* @remarks
|
|
103
|
-
* The time when the alert contact was modified.
|
|
104
|
-
*
|
|
105
|
-
* Unit: milliseconds.
|
|
106
|
-
*
|
|
107
|
-
* @example
|
|
108
|
-
* 1552314252000
|
|
109
|
-
*/
|
|
110
42
|
updateTime?: number;
|
|
111
43
|
static names(): { [key: string]: string } {
|
|
112
44
|
return {
|
|
@@ -177,10 +109,6 @@ export class DescribeContactListByContactGroupResponseBody extends $dara.Model {
|
|
|
177
109
|
* 200
|
|
178
110
|
*/
|
|
179
111
|
code?: string;
|
|
180
|
-
/**
|
|
181
|
-
* @remarks
|
|
182
|
-
* The alert contacts that receive alert notifications.
|
|
183
|
-
*/
|
|
184
112
|
contacts?: DescribeContactListByContactGroupResponseBodyContacts;
|
|
185
113
|
/**
|
|
186
114
|
* @remarks
|
|
@@ -3,37 +3,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeContactListResponseBodyContactsContactChannels extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The TradeManager ID of the alert contact.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* Alice
|
|
12
|
-
*/
|
|
13
6
|
aliIM?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The webhook URL of the DingTalk chatbot.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* https://oapi.dingtalk.com/robot/send?access_token=9bf44f8189597d07dfdd7a123455ffc112****
|
|
20
|
-
*/
|
|
21
7
|
dingWebHook?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The email address of the alert contact.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* Alice@example.com
|
|
28
|
-
*/
|
|
29
8
|
mail?: string;
|
|
30
|
-
/**
|
|
31
|
-
* @remarks
|
|
32
|
-
* The phone number of the alert contac.
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* 1333333****
|
|
36
|
-
*/
|
|
37
9
|
SMS?: string;
|
|
38
10
|
static names(): { [key: string]: string } {
|
|
39
11
|
return {
|
|
@@ -63,51 +35,9 @@ export class DescribeContactListResponseBodyContactsContactChannels extends $dar
|
|
|
63
35
|
}
|
|
64
36
|
|
|
65
37
|
export class DescribeContactListResponseBodyContactsContactChannelsState extends $dara.Model {
|
|
66
|
-
/**
|
|
67
|
-
* @remarks
|
|
68
|
-
* The status of the TradeManager ID.
|
|
69
|
-
*
|
|
70
|
-
* Valid value: OK. The value OK indicates that the TradeManager ID is valid and can receive alert notifications.
|
|
71
|
-
*
|
|
72
|
-
* > This parameter applies only to the Alibaba Cloud China site (aliyun.com).
|
|
73
|
-
*
|
|
74
|
-
* @example
|
|
75
|
-
* OK
|
|
76
|
-
*/
|
|
77
38
|
aliIM?: string;
|
|
78
|
-
/**
|
|
79
|
-
* @remarks
|
|
80
|
-
* The status of the DingTalk chatbot.
|
|
81
|
-
*
|
|
82
|
-
* Valid value: OK. The value OK indicates that the DingTalk chatbot is normal and alert notifications can be received in a DingTalk group.
|
|
83
|
-
*
|
|
84
|
-
* @example
|
|
85
|
-
* OK
|
|
86
|
-
*/
|
|
87
39
|
dingWebHook?: string;
|
|
88
|
-
/**
|
|
89
|
-
* @remarks
|
|
90
|
-
* The status of the email address. Valid values:
|
|
91
|
-
*
|
|
92
|
-
* * PENDING: The phone number is not activated. Alert notifications can be sent to the phone number by using text messages only after the phone number is activated.
|
|
93
|
-
* * OK: The phone number is activated and can receive alert notifications.
|
|
94
|
-
*
|
|
95
|
-
* @example
|
|
96
|
-
* PENDING
|
|
97
|
-
*/
|
|
98
40
|
mail?: string;
|
|
99
|
-
/**
|
|
100
|
-
* @remarks
|
|
101
|
-
* The status of the phone number. Valid values:
|
|
102
|
-
*
|
|
103
|
-
* * PENDING: The phone number is not activated. Alert notifications can be sent to the phone number by using text messages only after the phone number is activated.
|
|
104
|
-
* * OK: The phone number is activated and can receive alert notifications.
|
|
105
|
-
*
|
|
106
|
-
* > This parameter applies only to the Alibaba Cloud China site (aliyun.com).
|
|
107
|
-
*
|
|
108
|
-
* @example
|
|
109
|
-
* OK
|
|
110
|
-
*/
|
|
111
41
|
SMS?: string;
|
|
112
42
|
static names(): { [key: string]: string } {
|
|
113
43
|
return {
|
|
@@ -163,66 +93,13 @@ export class DescribeContactListResponseBodyContactsContactContactGroups extends
|
|
|
163
93
|
}
|
|
164
94
|
|
|
165
95
|
export class DescribeContactListResponseBodyContactsContact extends $dara.Model {
|
|
166
|
-
/**
|
|
167
|
-
* @remarks
|
|
168
|
-
* The alert notification method.
|
|
169
|
-
*/
|
|
170
96
|
channels?: DescribeContactListResponseBodyContactsContactChannels;
|
|
171
|
-
/**
|
|
172
|
-
* @remarks
|
|
173
|
-
* The status of the alert notification method. Valid values: PENDING and OK.
|
|
174
|
-
*
|
|
175
|
-
* The email address must be activated after it is added as the value specified for the alert notification method. The value PENDING indicates that the email address is not activated. The value OK indicates that the email address is activated.
|
|
176
|
-
*/
|
|
177
97
|
channelsState?: DescribeContactListResponseBodyContactsContactChannelsState;
|
|
178
|
-
/**
|
|
179
|
-
* @remarks
|
|
180
|
-
* None.
|
|
181
|
-
*/
|
|
182
98
|
contactGroups?: DescribeContactListResponseBodyContactsContactContactGroups;
|
|
183
|
-
/**
|
|
184
|
-
* @remarks
|
|
185
|
-
* The timestamp when the alert contact was created.
|
|
186
|
-
*
|
|
187
|
-
* Unit: milliseconds.
|
|
188
|
-
*
|
|
189
|
-
* @example
|
|
190
|
-
* 1552356159000
|
|
191
|
-
*/
|
|
192
99
|
createTime?: number;
|
|
193
|
-
/**
|
|
194
|
-
* @remarks
|
|
195
|
-
* The description.
|
|
196
|
-
*/
|
|
197
100
|
desc?: string;
|
|
198
|
-
/**
|
|
199
|
-
* @remarks
|
|
200
|
-
* The language in which the alert information is displayed. Valid values:
|
|
201
|
-
*
|
|
202
|
-
* * zh-cn: simplified Chinese
|
|
203
|
-
* * en: English
|
|
204
|
-
*
|
|
205
|
-
* @example
|
|
206
|
-
* zh-cn
|
|
207
|
-
*/
|
|
208
101
|
lang?: string;
|
|
209
|
-
/**
|
|
210
|
-
* @remarks
|
|
211
|
-
* The name of the alert contact.
|
|
212
|
-
*
|
|
213
|
-
* @example
|
|
214
|
-
* Alice
|
|
215
|
-
*/
|
|
216
102
|
name?: string;
|
|
217
|
-
/**
|
|
218
|
-
* @remarks
|
|
219
|
-
* The timestamp when the alert contact was updated.
|
|
220
|
-
*
|
|
221
|
-
* Unit: milliseconds.
|
|
222
|
-
*
|
|
223
|
-
* @example
|
|
224
|
-
* 1552356159000
|
|
225
|
-
*/
|
|
226
103
|
updateTime?: number;
|
|
227
104
|
static names(): { [key: string]: string } {
|
|
228
105
|
return {
|
|
@@ -305,10 +182,6 @@ export class DescribeContactListResponseBody extends $dara.Model {
|
|
|
305
182
|
* 200
|
|
306
183
|
*/
|
|
307
184
|
code?: string;
|
|
308
|
-
/**
|
|
309
|
-
* @remarks
|
|
310
|
-
* The alert contacts.
|
|
311
|
-
*/
|
|
312
185
|
contacts?: DescribeContactListResponseBodyContacts;
|
|
313
186
|
/**
|
|
314
187
|
* @remarks
|