@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,36 +3,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeProjectMetaResponseBodyResourcesResource extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The description.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* CDN
|
|
12
|
-
*/
|
|
13
6
|
description?: string;
|
|
14
|
-
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The tags. Tags are used to filter services.
|
|
17
|
-
*
|
|
18
|
-
* Tags are returned in the following format: `[{"name":"Tag key","value":"Tag value"}, {"name":"Tag key","value":"Tag value"}]`. The following tags are commonly used:
|
|
19
|
-
*
|
|
20
|
-
* * alertUnit: the unit of the metric value in alerts. If the unit is small, the original metric value may be too large. In this case, you can use the `alertUnit` tag to specify an appropriate unit. This tag is used in CloudMonitor.
|
|
21
|
-
* * minAlertPeriod: the minimum time interval to report a new alert. The interval at which monitoring data is reported. The value is usually 1 minute.
|
|
22
|
-
* * metricCategory: the service specification. Example: kvstore_sharding. Some Alibaba Cloud services have multiple specifications that are defined in the same namespace. This parameter is used to identify the specifications.
|
|
23
|
-
* * is_alarm: indicates whether an alert rule can be configured. We recommend that you do not use the special tags in the CloudMonitor console.
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* [{"groupFlag":true}]
|
|
27
|
-
*/
|
|
28
7
|
labels?: string;
|
|
29
|
-
/**
|
|
30
|
-
* @remarks
|
|
31
|
-
* The namespace of the cloud service. Format: `acs_Service name abbreviation`. For more information about namespaces, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* acs_cdn
|
|
35
|
-
*/
|
|
36
8
|
namespace?: string;
|
|
37
9
|
static names(): { [key: string]: string } {
|
|
38
10
|
return {
|
|
@@ -128,10 +100,6 @@ export class DescribeProjectMetaResponseBody extends $dara.Model {
|
|
|
128
100
|
* 4C2061B2-3B1B-43BF-A4A4-C53426F479C0
|
|
129
101
|
*/
|
|
130
102
|
requestId?: string;
|
|
131
|
-
/**
|
|
132
|
-
* @remarks
|
|
133
|
-
* The details of the cloud service.
|
|
134
|
-
*/
|
|
135
103
|
resources?: DescribeProjectMetaResponseBodyResources;
|
|
136
104
|
/**
|
|
137
105
|
* @remarks
|
|
@@ -3,166 +3,21 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeSiteMonitorAttributeResponseBodyMetricRulesMetricRule extends $dara.Model {
|
|
6
|
-
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* Indicates whether the alert rule is enabled. Valid values:
|
|
9
|
-
*
|
|
10
|
-
* * true: The alert rule is enabled.
|
|
11
|
-
* * false: The alert rule is disabled.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* true
|
|
15
|
-
*/
|
|
16
6
|
actionEnable?: string;
|
|
17
|
-
/**
|
|
18
|
-
* @remarks
|
|
19
|
-
* The alert contact group to which alert notifications are sent.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* CloudMonitor
|
|
23
|
-
*/
|
|
24
7
|
alarmActions?: string;
|
|
25
|
-
/**
|
|
26
|
-
* @remarks
|
|
27
|
-
* The operator that is used to compare the metric value with the threshold in the alert rule. Valid values:
|
|
28
|
-
*
|
|
29
|
-
* * `>=`
|
|
30
|
-
* * `>`
|
|
31
|
-
* * `<=`
|
|
32
|
-
* * `<`
|
|
33
|
-
* * `=`
|
|
34
|
-
* * `!=`
|
|
35
|
-
* * GreaterThanYesterday: greater than the metric value at the same time yesterday
|
|
36
|
-
* * LessThanYesterday: less than the metric value at the same time yesterday
|
|
37
|
-
* * GreaterThanLastWeek: greater than the metric value at the same time last week
|
|
38
|
-
* * LessThanLastWeek: less than the metric value at the same time last week
|
|
39
|
-
* * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
|
|
40
|
-
* * LessThanLastPeriod: less than the metric value in the last monitoring cycle
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* GreaterThanYesterday
|
|
44
|
-
*/
|
|
45
8
|
comparisonOperator?: string;
|
|
46
|
-
/**
|
|
47
|
-
* @remarks
|
|
48
|
-
* The dimension of the alert rule.
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* [{"taskId": "cc641dff-c19d-45f3-ad0a-818a0c4f****" }]
|
|
52
|
-
*/
|
|
53
9
|
dimensions?: string;
|
|
54
|
-
/**
|
|
55
|
-
* @remarks
|
|
56
|
-
* The consecutive number of times for which the metric value meets the alert condition before an alert is triggered.
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* 3
|
|
60
|
-
*/
|
|
61
10
|
evaluationCount?: string;
|
|
62
|
-
/**
|
|
63
|
-
* @remarks
|
|
64
|
-
* The expression that is used to trigger alerts.
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* $Availability=30
|
|
68
|
-
*/
|
|
69
11
|
expression?: string;
|
|
70
|
-
/**
|
|
71
|
-
* @remarks
|
|
72
|
-
* The alert severity. Valid values:
|
|
73
|
-
*
|
|
74
|
-
* * 1: critical
|
|
75
|
-
* * 2: warning
|
|
76
|
-
* * 3: information
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* 2
|
|
80
|
-
*/
|
|
81
12
|
level?: string;
|
|
82
|
-
/**
|
|
83
|
-
* @remarks
|
|
84
|
-
* The metric name.
|
|
85
|
-
*
|
|
86
|
-
* @example
|
|
87
|
-
* Availability
|
|
88
|
-
*/
|
|
89
13
|
metricName?: string;
|
|
90
|
-
/**
|
|
91
|
-
* @remarks
|
|
92
|
-
* The namespace of the cloud service.
|
|
93
|
-
*
|
|
94
|
-
* The value is in the following format: acs_service name.
|
|
95
|
-
*
|
|
96
|
-
* @example
|
|
97
|
-
* acs_networkmonitor
|
|
98
|
-
*/
|
|
99
14
|
namespace?: string;
|
|
100
|
-
/**
|
|
101
|
-
* @remarks
|
|
102
|
-
* The alert contact group that receives alert notifications.
|
|
103
|
-
*
|
|
104
|
-
* @example
|
|
105
|
-
* [ "CloudMonitor"]
|
|
106
|
-
*/
|
|
107
15
|
okActions?: string;
|
|
108
|
-
/**
|
|
109
|
-
* @remarks
|
|
110
|
-
* The time interval. The value is the same as the interval at which metric data is reported. Unit: seconds.
|
|
111
|
-
*
|
|
112
|
-
* > If you specify a statistical period for the alert rule, data is queried based on the statistical period.
|
|
113
|
-
*
|
|
114
|
-
* @example
|
|
115
|
-
* 15s
|
|
116
|
-
*/
|
|
117
16
|
period?: string;
|
|
118
|
-
/**
|
|
119
|
-
* @remarks
|
|
120
|
-
* The ID of the alert rule.
|
|
121
|
-
*
|
|
122
|
-
* @example
|
|
123
|
-
* bf071ae_7b7aec3817b0fdf****
|
|
124
|
-
*/
|
|
125
17
|
ruleId?: string;
|
|
126
|
-
/**
|
|
127
|
-
* @remarks
|
|
128
|
-
* The name of the alert rule.
|
|
129
|
-
*
|
|
130
|
-
* @example
|
|
131
|
-
* rule1
|
|
132
|
-
*/
|
|
133
18
|
ruleName?: string;
|
|
134
|
-
/**
|
|
135
|
-
* @remarks
|
|
136
|
-
* The alert status. Valid values:
|
|
137
|
-
*
|
|
138
|
-
* * OK: The alert rule has no active alerts.
|
|
139
|
-
* * ALARM: The alert rule has active alerts.
|
|
140
|
-
*
|
|
141
|
-
* @example
|
|
142
|
-
* OK
|
|
143
|
-
*/
|
|
144
19
|
stateValue?: string;
|
|
145
|
-
/**
|
|
146
|
-
* @remarks
|
|
147
|
-
* The statistical method of the alert rule. Valid values:
|
|
148
|
-
*
|
|
149
|
-
* * Availability: the percentage of available detection points
|
|
150
|
-
* * AvailableNumber: the number of available detection points
|
|
151
|
-
* * ErrorCodeMaximum: a status code for an alert
|
|
152
|
-
* * ErrorCodeMinimum: all status codes for a set of alerts
|
|
153
|
-
* * Average: response time
|
|
154
|
-
*
|
|
155
|
-
* @example
|
|
156
|
-
* Availability
|
|
157
|
-
*/
|
|
158
20
|
statistics?: string;
|
|
159
|
-
/**
|
|
160
|
-
* @remarks
|
|
161
|
-
* The alert threshold.
|
|
162
|
-
*
|
|
163
|
-
* @example
|
|
164
|
-
* 30
|
|
165
|
-
*/
|
|
166
21
|
threshold?: string;
|
|
167
22
|
static names(): { [key: string]: string } {
|
|
168
23
|
return {
|
|
@@ -268,10 +123,6 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomScheduleD
|
|
|
268
123
|
}
|
|
269
124
|
|
|
270
125
|
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomSchedule extends $dara.Model {
|
|
271
|
-
/**
|
|
272
|
-
* @remarks
|
|
273
|
-
* The days in a week.
|
|
274
|
-
*/
|
|
275
126
|
days?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomScheduleDays;
|
|
276
127
|
/**
|
|
277
128
|
* @remarks
|
|
@@ -328,39 +179,10 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomSchedule
|
|
|
328
179
|
}
|
|
329
180
|
|
|
330
181
|
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsIspCitiesIspCity extends $dara.Model {
|
|
331
|
-
/**
|
|
332
|
-
* @remarks
|
|
333
|
-
* The city ID.
|
|
334
|
-
*
|
|
335
|
-
* @example
|
|
336
|
-
* 738
|
|
337
|
-
*/
|
|
338
182
|
city?: string;
|
|
339
|
-
/**
|
|
340
|
-
* @remarks
|
|
341
|
-
* The city name.
|
|
342
|
-
*/
|
|
343
183
|
cityName?: string;
|
|
344
|
-
/**
|
|
345
|
-
* @remarks
|
|
346
|
-
* The carrier ID.
|
|
347
|
-
*
|
|
348
|
-
* @example
|
|
349
|
-
* 465
|
|
350
|
-
*/
|
|
351
184
|
isp?: string;
|
|
352
|
-
/**
|
|
353
|
-
* @remarks
|
|
354
|
-
* The carrier name.
|
|
355
|
-
*/
|
|
356
185
|
ispName?: string;
|
|
357
|
-
/**
|
|
358
|
-
* @remarks
|
|
359
|
-
* The network type of the detection point. Valid values: IDC, LASTMILE, and MOBILE.
|
|
360
|
-
*
|
|
361
|
-
* @example
|
|
362
|
-
* IDC
|
|
363
|
-
*/
|
|
364
186
|
type?: string;
|
|
365
187
|
static names(): { [key: string]: string } {
|
|
366
188
|
return {
|
|
@@ -418,53 +240,9 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsIspCities exten
|
|
|
418
240
|
}
|
|
419
241
|
|
|
420
242
|
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertionsAssertions extends $dara.Model {
|
|
421
|
-
/**
|
|
422
|
-
* @remarks
|
|
423
|
-
* The operator. Valid values:
|
|
424
|
-
* - contains: contains
|
|
425
|
-
* - doesNotContain: does not contain
|
|
426
|
-
* - matches: matches a regular expression
|
|
427
|
-
* - doesNotMatch: does not match a regular expression
|
|
428
|
-
* - is: equal to
|
|
429
|
-
* - isNot: not equal to
|
|
430
|
-
* - lessThan: less than
|
|
431
|
-
* - moreThan: greater than
|
|
432
|
-
*
|
|
433
|
-
* @example
|
|
434
|
-
* lessThan
|
|
435
|
-
*/
|
|
436
243
|
operator?: string;
|
|
437
|
-
/**
|
|
438
|
-
* @remarks
|
|
439
|
-
* The path to the assertion.
|
|
440
|
-
* - If the assertion type is body_json, the path is json path.
|
|
441
|
-
* - If the assertion type is body_xml, the path is xml path.
|
|
442
|
-
*
|
|
443
|
-
* @example
|
|
444
|
-
* json path
|
|
445
|
-
*/
|
|
446
244
|
property?: string;
|
|
447
|
-
/**
|
|
448
|
-
* @remarks
|
|
449
|
-
* The value or character to which the condition of the assertion is compared.
|
|
450
|
-
*
|
|
451
|
-
* @example
|
|
452
|
-
* 0
|
|
453
|
-
*/
|
|
454
245
|
target?: string;
|
|
455
|
-
/**
|
|
456
|
-
* @remarks
|
|
457
|
-
* The assertion type. Valid values:
|
|
458
|
-
* - response_time: checks whether the response time meets expectations.
|
|
459
|
-
* - status_code: checks whether the HTTP status code meets expectations.
|
|
460
|
-
* - header: checks whether the fields in the response header meet expectations.
|
|
461
|
-
* - body_text: check whether the content in the response body meets expectations by using text matching.
|
|
462
|
-
* - body_json: check whether the content in the response body meets expectations by using JSON parsing (JSONPath).
|
|
463
|
-
* - body_xml: check whether the content in the response body meets expectations by using XML parsing (XPath).
|
|
464
|
-
*
|
|
465
|
-
* @example
|
|
466
|
-
* response_time
|
|
467
|
-
*/
|
|
468
246
|
type?: string;
|
|
469
247
|
static names(): { [key: string]: string } {
|
|
470
248
|
return {
|
|
@@ -701,21 +479,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrows
|
|
|
701
479
|
}
|
|
702
480
|
|
|
703
481
|
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo extends $dara.Model {
|
|
704
|
-
/**
|
|
705
|
-
* @remarks
|
|
706
|
-
* The browser type.
|
|
707
|
-
*
|
|
708
|
-
* @example
|
|
709
|
-
* Chrome
|
|
710
|
-
*/
|
|
711
482
|
browser?: string;
|
|
712
|
-
/**
|
|
713
|
-
* @remarks
|
|
714
|
-
* The device type.
|
|
715
|
-
*
|
|
716
|
-
* @example
|
|
717
|
-
* laptop
|
|
718
|
-
*/
|
|
719
483
|
device?: string;
|
|
720
484
|
static names(): { [key: string]: string } {
|
|
721
485
|
return {
|
|
@@ -1124,10 +888,6 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTraff
|
|
|
1124
888
|
}
|
|
1125
889
|
|
|
1126
890
|
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $dara.Model {
|
|
1127
|
-
/**
|
|
1128
|
-
* @remarks
|
|
1129
|
-
* The assertions.
|
|
1130
|
-
*/
|
|
1131
891
|
assertions?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions;
|
|
1132
892
|
/**
|
|
1133
893
|
* @remarks
|
|
@@ -1138,25 +898,9 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
1138
898
|
*/
|
|
1139
899
|
attempts?: number;
|
|
1140
900
|
authInfo?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAuthInfo;
|
|
1141
|
-
/**
|
|
1142
|
-
* @remarks
|
|
1143
|
-
* The blocked URLs. Wildcards are supported in paths.
|
|
1144
|
-
*/
|
|
1145
901
|
blockedUrlList?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList;
|
|
1146
|
-
/**
|
|
1147
|
-
* @remarks
|
|
1148
|
-
* The custom headers. Format: {"key": "somekey", "value":"somevalue"}.
|
|
1149
|
-
*/
|
|
1150
902
|
browserHeaders?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders;
|
|
1151
|
-
/**
|
|
1152
|
-
* @remarks
|
|
1153
|
-
* The custom hosts. Format: {"key": "somekey", "value":"somevalue"}.
|
|
1154
|
-
*/
|
|
1155
903
|
browserHosts?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts;
|
|
1156
|
-
/**
|
|
1157
|
-
* @remarks
|
|
1158
|
-
* The browser information.
|
|
1159
|
-
*/
|
|
1160
904
|
browserInfo?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo;
|
|
1161
905
|
/**
|
|
1162
906
|
* @remarks
|
|
@@ -1261,15 +1005,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
1261
1005
|
*/
|
|
1262
1006
|
emptyMessage?: boolean;
|
|
1263
1007
|
enablePacketCapture?: boolean;
|
|
1264
|
-
/**
|
|
1265
|
-
* @remarks
|
|
1266
|
-
* The string that is expected to exist on the page.
|
|
1267
|
-
*/
|
|
1268
1008
|
expectExistString?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString;
|
|
1269
|
-
/**
|
|
1270
|
-
* @remarks
|
|
1271
|
-
* The string that is not expected to exist on the page.
|
|
1272
|
-
*/
|
|
1273
1009
|
expectNonExistString?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString;
|
|
1274
1010
|
/**
|
|
1275
1011
|
* @remarks
|
|
@@ -1444,10 +1180,6 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
1444
1180
|
* true
|
|
1445
1181
|
*/
|
|
1446
1182
|
quicEnabled?: boolean;
|
|
1447
|
-
/**
|
|
1448
|
-
* @remarks
|
|
1449
|
-
* The sites for which the QUIC protocol is forcibly used.
|
|
1450
|
-
*/
|
|
1451
1183
|
quicTarget?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonQuicTarget;
|
|
1452
1184
|
/**
|
|
1453
1185
|
* @remarks
|
|
@@ -1533,10 +1265,6 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
1533
1265
|
timeOut?: number;
|
|
1534
1266
|
traceRegion?: string;
|
|
1535
1267
|
traceType?: string;
|
|
1536
|
-
/**
|
|
1537
|
-
* @remarks
|
|
1538
|
-
* The traffic hijacking blacklist. When redirection occurs, if the URL of the resource loaded by the browser matches the expression in the blacklist, traffic hijacking is considered to have occurred.
|
|
1539
|
-
*/
|
|
1540
1268
|
trafficHijackElementBlacklist?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist;
|
|
1541
1269
|
/**
|
|
1542
1270
|
* @remarks
|
|
@@ -1546,10 +1274,6 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
1546
1274
|
* 0
|
|
1547
1275
|
*/
|
|
1548
1276
|
trafficHijackElementCount?: number;
|
|
1549
|
-
/**
|
|
1550
|
-
* @remarks
|
|
1551
|
-
* The traffic hijacking whitelist. When redirection occurs, if the URL of the resource loaded by the browser does not match any expression in the whitelist, traffic hijacking is considered to have occurred.
|
|
1552
|
-
*/
|
|
1553
1277
|
trafficHijackElementWhitelist?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist;
|
|
1554
1278
|
usePrivateCrt?: boolean;
|
|
1555
1279
|
useSsl?: boolean;
|
|
@@ -1849,10 +1573,6 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitors extends $dara.
|
|
|
1849
1573
|
* 1
|
|
1850
1574
|
*/
|
|
1851
1575
|
interval?: string;
|
|
1852
|
-
/**
|
|
1853
|
-
* @remarks
|
|
1854
|
-
* The information of detection points. The information includes the carriers that provide the detection points and the cities where the detection points reside.
|
|
1855
|
-
*/
|
|
1856
1576
|
ispCities?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsIspCities;
|
|
1857
1577
|
/**
|
|
1858
1578
|
* @remarks
|
|
@@ -1971,10 +1691,6 @@ export class DescribeSiteMonitorAttributeResponseBody extends $dara.Model {
|
|
|
1971
1691
|
* successful
|
|
1972
1692
|
*/
|
|
1973
1693
|
message?: string;
|
|
1974
|
-
/**
|
|
1975
|
-
* @remarks
|
|
1976
|
-
* The alert rules that are configured for the site monitoring task.
|
|
1977
|
-
*/
|
|
1978
1694
|
metricRules?: DescribeSiteMonitorAttributeResponseBodyMetricRules;
|
|
1979
1695
|
/**
|
|
1980
1696
|
* @remarks
|
|
@@ -31,66 +31,18 @@ export class DescribeSiteMonitorISPCityListResponseBodyIspCityListIspCityIPPool
|
|
|
31
31
|
export class DescribeSiteMonitorISPCityListResponseBodyIspCityListIspCity extends $dara.Model {
|
|
32
32
|
area_en?: string;
|
|
33
33
|
area_zh_cN?: string;
|
|
34
|
-
/**
|
|
35
|
-
* @remarks
|
|
36
|
-
* The city ID.
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* 4
|
|
40
|
-
*/
|
|
41
34
|
city?: string;
|
|
42
35
|
cityName_en?: string;
|
|
43
36
|
cityName_zh_cN?: string;
|
|
44
|
-
/**
|
|
45
|
-
* @remarks
|
|
46
|
-
* The country name.
|
|
47
|
-
*
|
|
48
|
-
* > This parameter is valid only on the China site (aliyun.com).
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* 629
|
|
52
|
-
*/
|
|
53
37
|
country?: string;
|
|
54
38
|
country_en?: string;
|
|
55
39
|
country_zh_cN?: string;
|
|
56
|
-
/**
|
|
57
|
-
* @remarks
|
|
58
|
-
* The IP address pool.
|
|
59
|
-
*/
|
|
60
40
|
IPPool?: DescribeSiteMonitorISPCityListResponseBodyIspCityListIspCityIPPool;
|
|
61
|
-
/**
|
|
62
|
-
* @remarks
|
|
63
|
-
* The number of IPv4 probes.
|
|
64
|
-
*
|
|
65
|
-
* @example
|
|
66
|
-
* 4
|
|
67
|
-
*/
|
|
68
41
|
IPV4ProbeCount?: string;
|
|
69
|
-
/**
|
|
70
|
-
* @remarks
|
|
71
|
-
* The number of IPv6 probes.
|
|
72
|
-
*
|
|
73
|
-
* @example
|
|
74
|
-
* 3
|
|
75
|
-
*/
|
|
76
42
|
IPV6ProbeCount?: string;
|
|
77
|
-
/**
|
|
78
|
-
* @remarks
|
|
79
|
-
* The carrier ID.
|
|
80
|
-
*
|
|
81
|
-
* @example
|
|
82
|
-
* 232
|
|
83
|
-
*/
|
|
84
43
|
isp?: string;
|
|
85
44
|
ispName_en?: string;
|
|
86
45
|
ispName_zh_cN?: string;
|
|
87
|
-
/**
|
|
88
|
-
* @remarks
|
|
89
|
-
* The province name.
|
|
90
|
-
*
|
|
91
|
-
* @example
|
|
92
|
-
* 264
|
|
93
|
-
*/
|
|
94
46
|
region?: string;
|
|
95
47
|
region_en?: string;
|
|
96
48
|
region_zh_cN?: string;
|
|
@@ -187,10 +139,6 @@ export class DescribeSiteMonitorISPCityListResponseBody extends $dara.Model {
|
|
|
187
139
|
* 200
|
|
188
140
|
*/
|
|
189
141
|
code?: string;
|
|
190
|
-
/**
|
|
191
|
-
* @remarks
|
|
192
|
-
* The queried detection points.
|
|
193
|
-
*/
|
|
194
142
|
ispCityList?: DescribeSiteMonitorISPCityListResponseBodyIspCityList;
|
|
195
143
|
/**
|
|
196
144
|
* @remarks
|