@alicloud/cms20190101 3.1.0 → 3.1.2
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 +122 -59
- package/dist/client.js +37 -17
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +128 -59
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1886,7 +1886,7 @@ export class CreateHostAvailabilityRequest extends $tea.Model {
|
|
|
1886
1886
|
alertConfigEscalationList?: CreateHostAvailabilityRequestAlertConfigEscalationList[];
|
|
1887
1887
|
/**
|
|
1888
1888
|
* @remarks
|
|
1889
|
-
* The
|
|
1889
|
+
* The resources for which alerts are triggered.
|
|
1890
1890
|
*/
|
|
1891
1891
|
alertConfigTargetList?: CreateHostAvailabilityRequestAlertConfigTargetList[];
|
|
1892
1892
|
/**
|
|
@@ -11357,7 +11357,7 @@ export class DescribeEventRuleTargetListResponseBody extends $tea.Model {
|
|
|
11357
11357
|
message?: string;
|
|
11358
11358
|
/**
|
|
11359
11359
|
* @remarks
|
|
11360
|
-
* The
|
|
11360
|
+
* The notifications of Simple Message Queue (formerly MNS) (SMQ).
|
|
11361
11361
|
*/
|
|
11362
11362
|
mnsParameters?: DescribeEventRuleTargetListResponseBodyMnsParameters;
|
|
11363
11363
|
/**
|
|
@@ -11444,7 +11444,7 @@ export class DescribeEventRuleTargetListResponse extends $tea.Model {
|
|
|
11444
11444
|
export class DescribeExporterOutputListRequest extends $tea.Model {
|
|
11445
11445
|
/**
|
|
11446
11446
|
* @remarks
|
|
11447
|
-
* The
|
|
11447
|
+
* The page number. Default value: 1.
|
|
11448
11448
|
*
|
|
11449
11449
|
* @example
|
|
11450
11450
|
* 1
|
|
@@ -11452,7 +11452,7 @@ export class DescribeExporterOutputListRequest extends $tea.Model {
|
|
|
11452
11452
|
pageNumber?: number;
|
|
11453
11453
|
/**
|
|
11454
11454
|
* @remarks
|
|
11455
|
-
* The number of entries
|
|
11455
|
+
* The number of entries per page. Default value: 10.
|
|
11456
11456
|
*
|
|
11457
11457
|
* @example
|
|
11458
11458
|
* 10
|
|
@@ -25350,7 +25350,7 @@ export class PutEventRuleTargetsRequest extends $tea.Model {
|
|
|
25350
25350
|
fcParameters?: PutEventRuleTargetsRequestFcParameters[];
|
|
25351
25351
|
/**
|
|
25352
25352
|
* @remarks
|
|
25353
|
-
* The
|
|
25353
|
+
* The notifications of Simple Message Queue (formerly MNS) (SMQ).
|
|
25354
25354
|
*/
|
|
25355
25355
|
mnsParameters?: PutEventRuleTargetsRequestMnsParameters[];
|
|
25356
25356
|
/**
|
|
@@ -25433,7 +25433,7 @@ export class PutEventRuleTargetsResponseBody extends $tea.Model {
|
|
|
25433
25433
|
failedFcParameters?: PutEventRuleTargetsResponseBodyFailedFcParameters;
|
|
25434
25434
|
/**
|
|
25435
25435
|
* @remarks
|
|
25436
|
-
* This parameter is returned if the specified queues in the request failed to be created or modified in
|
|
25436
|
+
* This parameter is returned if the specified queues in the request failed to be created or modified in SMQ.
|
|
25437
25437
|
*/
|
|
25438
25438
|
failedMnsParameters?: PutEventRuleTargetsResponseBodyFailedMnsParameters;
|
|
25439
25439
|
/**
|
|
@@ -26586,7 +26586,7 @@ export class PutMetricRuleTargetsRequest extends $tea.Model {
|
|
|
26586
26586
|
ruleId?: string;
|
|
26587
26587
|
/**
|
|
26588
26588
|
* @remarks
|
|
26589
|
-
*
|
|
26589
|
+
* None.
|
|
26590
26590
|
*
|
|
26591
26591
|
* This parameter is required.
|
|
26592
26592
|
*/
|
|
@@ -29572,7 +29572,7 @@ export class CreateGroupMetricRulesRequestGroupMetricRules extends $tea.Model {
|
|
|
29572
29572
|
* * UIS: Ultimate Internet Service (UIS)
|
|
29573
29573
|
* * nls: Intelligent Speech Interaction
|
|
29574
29574
|
* * ots: Tablestore
|
|
29575
|
-
* * NAS:
|
|
29575
|
+
* * NAS: File Storage NAS
|
|
29576
29576
|
* * ECI: Elastic Container Instance (ECI)
|
|
29577
29577
|
* * OpenAPI: OpenAPI Explorer
|
|
29578
29578
|
* * pvtzpost: Alibaba Cloud DNS PrivateZone
|
|
@@ -29733,6 +29733,12 @@ export class CreateGroupMetricRulesRequestGroupMetricRules extends $tea.Model {
|
|
|
29733
29733
|
* 00:00-05:30
|
|
29734
29734
|
*/
|
|
29735
29735
|
noEffectiveInterval?: string;
|
|
29736
|
+
/**
|
|
29737
|
+
* @example
|
|
29738
|
+
* {
|
|
29739
|
+
* "NotSendOK": true
|
|
29740
|
+
* }
|
|
29741
|
+
*/
|
|
29736
29742
|
options?: string;
|
|
29737
29743
|
/**
|
|
29738
29744
|
* @remarks
|
|
@@ -29930,15 +29936,15 @@ export class CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList exten
|
|
|
29930
29936
|
* @remarks
|
|
29931
29937
|
* The Alibaba Cloud Resource Name (ARN) of the resource.
|
|
29932
29938
|
*
|
|
29933
|
-
* For information about how to
|
|
29939
|
+
* For more information about how to query the ARN of a resource, see [DescribeMetricRuleTargets](https://help.aliyun.com/document_detail/121592.html).
|
|
29934
29940
|
*
|
|
29935
29941
|
* Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`. Example: `acs:mns:cn-hangzhou:120886317861****:/queues/test123/message`. Fields:
|
|
29936
29942
|
*
|
|
29937
|
-
* * {Service name abbreviation}: the abbreviation of the service name.
|
|
29943
|
+
* * {Service name abbreviation}: the abbreviation of the service name. Set the value to Simple Message Queue (formerly MNS) (SMQ).
|
|
29938
29944
|
*
|
|
29939
29945
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
29940
29946
|
*
|
|
29941
|
-
* * {regionId}: the region ID of the
|
|
29947
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
29942
29948
|
*
|
|
29943
29949
|
* * {Resource type}: the type of the resource that triggers the alert. Valid values:
|
|
29944
29950
|
*
|
|
@@ -29958,7 +29964,7 @@ export class CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList exten
|
|
|
29958
29964
|
* @remarks
|
|
29959
29965
|
* The ID of the resource for which alerts are triggered.
|
|
29960
29966
|
*
|
|
29961
|
-
* For information about how to obtain the ID of a resource for which alerts are triggered, see [DescribeMetricRuleTargets](https://help.aliyun.com/document_detail/121592.html).
|
|
29967
|
+
* For more information about how to obtain the ID of a resource for which alerts are triggered, see [DescribeMetricRuleTargets](https://help.aliyun.com/document_detail/121592.html).
|
|
29962
29968
|
*
|
|
29963
29969
|
* @example
|
|
29964
29970
|
* 1
|
|
@@ -29966,7 +29972,7 @@ export class CreateGroupMonitoringAgentProcessRequestAlertConfigTargetList exten
|
|
|
29966
29972
|
id?: string;
|
|
29967
29973
|
/**
|
|
29968
29974
|
* @remarks
|
|
29969
|
-
* The parameters of the alert callback.
|
|
29975
|
+
* The parameters of the alert callback. The parameters are in the JSON format.
|
|
29970
29976
|
*
|
|
29971
29977
|
* @example
|
|
29972
29978
|
* {"customField1":"value1","customField2":"$.name"}
|
|
@@ -30022,7 +30028,7 @@ export class CreateGroupMonitoringAgentProcessRequestAlertConfig extends $tea.Mo
|
|
|
30022
30028
|
* * GreaterThanLastWeek: greater than the metric value at the same time last week
|
|
30023
30029
|
* * LessThanLastWeek: less than the metric value at the same time last week
|
|
30024
30030
|
* * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
|
|
30025
|
-
* * LessThanLastPeriod: less than the metric value in the
|
|
30031
|
+
* * LessThanLastPeriod: less than the metric value in the previous monitoring cycle
|
|
30026
30032
|
*
|
|
30027
30033
|
* Valid values of N: 1 to 3.
|
|
30028
30034
|
*
|
|
@@ -30034,7 +30040,7 @@ export class CreateGroupMonitoringAgentProcessRequestAlertConfig extends $tea.Mo
|
|
|
30034
30040
|
comparisonOperator?: string;
|
|
30035
30041
|
/**
|
|
30036
30042
|
* @remarks
|
|
30037
|
-
* The time
|
|
30043
|
+
* The period of time during which the alert rule is effective.
|
|
30038
30044
|
*
|
|
30039
30045
|
* Valid values of N: 1 to 3.
|
|
30040
30046
|
*
|
|
@@ -30046,9 +30052,9 @@ export class CreateGroupMonitoringAgentProcessRequestAlertConfig extends $tea.Mo
|
|
|
30046
30052
|
* @remarks
|
|
30047
30053
|
* The alert level. Valid values:
|
|
30048
30054
|
*
|
|
30049
|
-
* * critical (default)
|
|
30050
|
-
* * warn
|
|
30051
|
-
* * info
|
|
30055
|
+
* * critical (default)
|
|
30056
|
+
* * warn
|
|
30057
|
+
* * info
|
|
30052
30058
|
*
|
|
30053
30059
|
* Valid values of N: 1 to 3.
|
|
30054
30060
|
*
|
|
@@ -30072,7 +30078,7 @@ export class CreateGroupMonitoringAgentProcessRequestAlertConfig extends $tea.Mo
|
|
|
30072
30078
|
*
|
|
30073
30079
|
* Valid values of N: 1 to 3.
|
|
30074
30080
|
*
|
|
30075
|
-
* > Only one alert notification is sent during
|
|
30081
|
+
* > Only one alert notification is sent during a mute period even if the metric value exceeds the alert threshold during consecutive checks.
|
|
30076
30082
|
*
|
|
30077
30083
|
* @example
|
|
30078
30084
|
* 86400
|
|
@@ -30080,7 +30086,7 @@ export class CreateGroupMonitoringAgentProcessRequestAlertConfig extends $tea.Mo
|
|
|
30080
30086
|
silenceTime?: string;
|
|
30081
30087
|
/**
|
|
30082
30088
|
* @remarks
|
|
30083
|
-
* The statistical method
|
|
30089
|
+
* The statistical aggregation method that is used to calculate the metric values.
|
|
30084
30090
|
*
|
|
30085
30091
|
* Valid values of N: 1 to 3.
|
|
30086
30092
|
*
|
|
@@ -30103,8 +30109,6 @@ export class CreateGroupMonitoringAgentProcessRequestAlertConfig extends $tea.Mo
|
|
|
30103
30109
|
*
|
|
30104
30110
|
* Valid values of N: 1 to 3.
|
|
30105
30111
|
*
|
|
30106
|
-
* Unit: cores.
|
|
30107
|
-
*
|
|
30108
30112
|
* This parameter is required.
|
|
30109
30113
|
*
|
|
30110
30114
|
* @example
|
|
@@ -30117,7 +30121,7 @@ export class CreateGroupMonitoringAgentProcessRequestAlertConfig extends $tea.Mo
|
|
|
30117
30121
|
*
|
|
30118
30122
|
* Valid values of N: 1 to 3.
|
|
30119
30123
|
*
|
|
30120
|
-
* >
|
|
30124
|
+
* > A metric triggers an alert only after the metric value reaches the threshold consecutively for the specified times.
|
|
30121
30125
|
*
|
|
30122
30126
|
* This parameter is required.
|
|
30123
30127
|
*
|
|
@@ -30554,13 +30558,13 @@ export class CreateHostAvailabilityRequestAlertConfigTargetList extends $tea.Mod
|
|
|
30554
30558
|
* @remarks
|
|
30555
30559
|
* The Alibaba Cloud Resource Name (ARN) of the resource. Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`. Example: `acs:mns:cn-hangzhou:120886317861****:/queues/test123/message`. Fields:
|
|
30556
30560
|
*
|
|
30557
|
-
* * {Service name abbreviation}: the abbreviation of the service name.
|
|
30561
|
+
* * {Service name abbreviation}: the abbreviation of the service name. Set the value to Simple Message Queue (formerly MNS) (SMQ).
|
|
30558
30562
|
*
|
|
30559
30563
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
30560
30564
|
*
|
|
30561
|
-
* * {regionId}: the region ID of the
|
|
30565
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
30562
30566
|
*
|
|
30563
|
-
* * {Resource type}: the type of the resource
|
|
30567
|
+
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
|
30564
30568
|
*
|
|
30565
30569
|
* * **queues**
|
|
30566
30570
|
* * **topics**
|
|
@@ -35755,7 +35759,7 @@ export class DescribeEventRuleTargetListResponseBodyMnsParametersMnsParameter ex
|
|
|
35755
35759
|
id?: string;
|
|
35756
35760
|
/**
|
|
35757
35761
|
* @remarks
|
|
35758
|
-
* The name of the
|
|
35762
|
+
* The name of the SMQ queue.
|
|
35759
35763
|
*
|
|
35760
35764
|
* @example
|
|
35761
35765
|
* testQueue
|
|
@@ -35763,7 +35767,7 @@ export class DescribeEventRuleTargetListResponseBodyMnsParametersMnsParameter ex
|
|
|
35763
35767
|
queue?: string;
|
|
35764
35768
|
/**
|
|
35765
35769
|
* @remarks
|
|
35766
|
-
* The region
|
|
35770
|
+
* The region for SMQ.
|
|
35767
35771
|
*
|
|
35768
35772
|
* @example
|
|
35769
35773
|
* cn-hangzhou
|
|
@@ -35771,7 +35775,7 @@ export class DescribeEventRuleTargetListResponseBodyMnsParametersMnsParameter ex
|
|
|
35771
35775
|
region?: string;
|
|
35772
35776
|
/**
|
|
35773
35777
|
* @remarks
|
|
35774
|
-
* The
|
|
35778
|
+
* The SMQ topic.
|
|
35775
35779
|
*
|
|
35776
35780
|
* @example
|
|
35777
35781
|
* topic_sample
|
|
@@ -36382,7 +36386,21 @@ export class DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAler
|
|
|
36382
36386
|
* @remarks
|
|
36383
36387
|
* The Alibaba Cloud Resource Name (ARN) of the resource. Format: acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message. Example: acs:mns:cn-hangzhou:120886317861\\*\\*\\*\\*:/queues/test123/message. Fields:
|
|
36384
36388
|
*
|
|
36385
|
-
* {Service name abbreviation}: the abbreviation of the service name.
|
|
36389
|
+
* * {Service name abbreviation}: the abbreviation of the service name. Set the value to Simple Message Queue (formerly MNS) (SMQ).
|
|
36390
|
+
*
|
|
36391
|
+
* * {userId}: the ID of the Alibaba Cloud account.
|
|
36392
|
+
*
|
|
36393
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
36394
|
+
*
|
|
36395
|
+
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
|
36396
|
+
*
|
|
36397
|
+
* * **queues**
|
|
36398
|
+
* * **topics**
|
|
36399
|
+
*
|
|
36400
|
+
* * {Resource name}: the resource name.
|
|
36401
|
+
*
|
|
36402
|
+
* * If the resource type is **queues**, the resource name is the queue name.
|
|
36403
|
+
* * If the resource type is **topics**, the resource name is the topic name.
|
|
36386
36404
|
*
|
|
36387
36405
|
* @example
|
|
36388
36406
|
* acs:mns:cn-hangzhou:120886317861****:/queues/test/message
|
|
@@ -36406,9 +36424,11 @@ export class DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAler
|
|
|
36406
36424
|
jsonParmas?: string;
|
|
36407
36425
|
/**
|
|
36408
36426
|
* @remarks
|
|
36409
|
-
* The level
|
|
36427
|
+
* The alert level. Valid values:
|
|
36410
36428
|
*
|
|
36411
|
-
* INFO
|
|
36429
|
+
* * INFO
|
|
36430
|
+
* * WARN
|
|
36431
|
+
* * CRITICAL
|
|
36412
36432
|
*
|
|
36413
36433
|
* @example
|
|
36414
36434
|
* CRITICAL
|
|
@@ -36525,7 +36545,7 @@ export class DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAler
|
|
|
36525
36545
|
statistics?: string;
|
|
36526
36546
|
/**
|
|
36527
36547
|
* @remarks
|
|
36528
|
-
* The
|
|
36548
|
+
* The resources for which alerts are triggered.
|
|
36529
36549
|
*/
|
|
36530
36550
|
targetList?: DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfigTargetList;
|
|
36531
36551
|
/**
|
|
@@ -43711,6 +43731,16 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsIspCitiesIspCit
|
|
|
43711
43731
|
* The carrier name.
|
|
43712
43732
|
*/
|
|
43713
43733
|
ispName?: string;
|
|
43734
|
+
/**
|
|
43735
|
+
* @remarks
|
|
43736
|
+
* 探测点网络类型。取值:
|
|
43737
|
+
* IDC: IDC机房
|
|
43738
|
+
* LASTMILE: 网民家宽
|
|
43739
|
+
* MOBILE: 移动蜂窝网
|
|
43740
|
+
*
|
|
43741
|
+
* @example
|
|
43742
|
+
* IDC
|
|
43743
|
+
*/
|
|
43714
43744
|
type?: string;
|
|
43715
43745
|
static names(): { [key: string]: string } {
|
|
43716
43746
|
return {
|
|
@@ -44150,6 +44180,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
44150
44180
|
* testKey:testValue
|
|
44151
44181
|
*/
|
|
44152
44182
|
header?: string;
|
|
44183
|
+
hostBinding?: string;
|
|
44184
|
+
hostBindingType?: number;
|
|
44153
44185
|
/**
|
|
44154
44186
|
* @remarks
|
|
44155
44187
|
* The HTTP request method. Valid values:
|
|
@@ -44296,7 +44328,15 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
44296
44328
|
* 0
|
|
44297
44329
|
*/
|
|
44298
44330
|
retryDelay?: number;
|
|
44331
|
+
/**
|
|
44332
|
+
* @remarks
|
|
44333
|
+
* 是否开启页面截图
|
|
44334
|
+
*
|
|
44335
|
+
* @example
|
|
44336
|
+
* false
|
|
44337
|
+
*/
|
|
44299
44338
|
screenShot?: boolean;
|
|
44339
|
+
scrollEnd?: boolean;
|
|
44300
44340
|
/**
|
|
44301
44341
|
* @example
|
|
44302
44342
|
* false
|
|
@@ -44354,6 +44394,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
44354
44394
|
expectValue: 'expect_value',
|
|
44355
44395
|
failureRate: 'failure_rate',
|
|
44356
44396
|
header: 'header',
|
|
44397
|
+
hostBinding: 'host_binding',
|
|
44398
|
+
hostBindingType: 'host_binding_type',
|
|
44357
44399
|
httpMethod: 'http_method',
|
|
44358
44400
|
ipNetwork: 'ip_network',
|
|
44359
44401
|
isBase64Encode: 'isBase64Encode',
|
|
@@ -44373,6 +44415,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
44373
44415
|
responseFormat: 'response_format',
|
|
44374
44416
|
retryDelay: 'retry_delay',
|
|
44375
44417
|
screenShot: 'screen_shot',
|
|
44418
|
+
scrollEnd: 'scroll_end',
|
|
44376
44419
|
strictMode: 'strict_mode',
|
|
44377
44420
|
timeOut: 'time_out',
|
|
44378
44421
|
trafficHijackElementBlacklist: 'traffic_hijack_element_blacklist',
|
|
@@ -44407,6 +44450,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
44407
44450
|
expectValue: 'string',
|
|
44408
44451
|
failureRate: 'number',
|
|
44409
44452
|
header: 'string',
|
|
44453
|
+
hostBinding: 'string',
|
|
44454
|
+
hostBindingType: 'number',
|
|
44410
44455
|
httpMethod: 'string',
|
|
44411
44456
|
ipNetwork: 'string',
|
|
44412
44457
|
isBase64Encode: 'string',
|
|
@@ -44426,6 +44471,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
44426
44471
|
responseFormat: 'string',
|
|
44427
44472
|
retryDelay: 'number',
|
|
44428
44473
|
screenShot: 'boolean',
|
|
44474
|
+
scrollEnd: 'boolean',
|
|
44429
44475
|
strictMode: 'boolean',
|
|
44430
44476
|
timeOut: 'number',
|
|
44431
44477
|
trafficHijackElementBlacklist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist,
|
|
@@ -44442,9 +44488,28 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
44442
44488
|
}
|
|
44443
44489
|
|
|
44444
44490
|
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsVpcConfig extends $tea.Model {
|
|
44491
|
+
/**
|
|
44492
|
+
* @remarks
|
|
44493
|
+
* 内网拨测任务的目标站点所在地域。
|
|
44494
|
+
*
|
|
44495
|
+
* @example
|
|
44496
|
+
* cn-beijing
|
|
44497
|
+
*/
|
|
44445
44498
|
region?: string;
|
|
44499
|
+
/**
|
|
44500
|
+
* @example
|
|
44501
|
+
* sg-xxxxxx
|
|
44502
|
+
*/
|
|
44446
44503
|
securityGroupId?: string;
|
|
44504
|
+
/**
|
|
44505
|
+
* @example
|
|
44506
|
+
* vpc-xxxxxx
|
|
44507
|
+
*/
|
|
44447
44508
|
vpcId?: string;
|
|
44509
|
+
/**
|
|
44510
|
+
* @example
|
|
44511
|
+
* vsw-xxxxxx
|
|
44512
|
+
*/
|
|
44448
44513
|
vswitchId?: string;
|
|
44449
44514
|
static names(): { [key: string]: string } {
|
|
44450
44515
|
return {
|
|
@@ -46696,13 +46761,13 @@ export class ModifyHostAvailabilityRequestAlertConfigTargetList extends $tea.Mod
|
|
|
46696
46761
|
*
|
|
46697
46762
|
* Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`. Example: `acs:mns:cn-hangzhou:120886317861****:/queues/test123/message`. Fields:
|
|
46698
46763
|
*
|
|
46699
|
-
* * {Service name abbreviation}: the abbreviation of the service name.
|
|
46764
|
+
* * {Service name abbreviation}: the abbreviation of the service name. Set the value to Simple Message Queue (formerly MNS) (SMQ).
|
|
46700
46765
|
*
|
|
46701
46766
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
46702
46767
|
*
|
|
46703
|
-
* * {regionId}: the region ID of the
|
|
46768
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
46704
46769
|
*
|
|
46705
|
-
* * {Resource type}: the type of the resource
|
|
46770
|
+
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
|
46706
46771
|
*
|
|
46707
46772
|
* * **queues**
|
|
46708
46773
|
* * **topics**
|
|
@@ -47952,9 +48017,9 @@ export class PutEventRuleTargetsRequestContactParameters extends $tea.Model {
|
|
|
47952
48017
|
id?: string;
|
|
47953
48018
|
/**
|
|
47954
48019
|
* @remarks
|
|
47955
|
-
* The alert
|
|
48020
|
+
* The alert notification methods. Valid values of N: 1 to 5. Valid values:
|
|
47956
48021
|
*
|
|
47957
|
-
* 4: Alert notifications are sent by using DingTalk
|
|
48022
|
+
* 4: Alert notifications are sent by using DingTalk and emails.
|
|
47958
48023
|
*
|
|
47959
48024
|
* @example
|
|
47960
48025
|
* 3
|
|
@@ -48048,7 +48113,7 @@ export class PutEventRuleTargetsRequestMnsParameters extends $tea.Model {
|
|
|
48048
48113
|
id?: string;
|
|
48049
48114
|
/**
|
|
48050
48115
|
* @remarks
|
|
48051
|
-
* The name of the
|
|
48116
|
+
* The name of the SMQ queue. Valid values of N: 1 to 5.
|
|
48052
48117
|
*
|
|
48053
48118
|
* @example
|
|
48054
48119
|
* queue1
|
|
@@ -48056,7 +48121,7 @@ export class PutEventRuleTargetsRequestMnsParameters extends $tea.Model {
|
|
|
48056
48121
|
queue?: string;
|
|
48057
48122
|
/**
|
|
48058
48123
|
* @remarks
|
|
48059
|
-
* The region
|
|
48124
|
+
* The region for SMQ. Valid values of N: 1 to 5.
|
|
48060
48125
|
*
|
|
48061
48126
|
* @example
|
|
48062
48127
|
* cn-hangzhou
|
|
@@ -48064,7 +48129,7 @@ export class PutEventRuleTargetsRequestMnsParameters extends $tea.Model {
|
|
|
48064
48129
|
region?: string;
|
|
48065
48130
|
/**
|
|
48066
48131
|
* @remarks
|
|
48067
|
-
* The
|
|
48132
|
+
* The SMQ topic.
|
|
48068
48133
|
*
|
|
48069
48134
|
* @example
|
|
48070
48135
|
* topic_sample
|
|
@@ -48326,9 +48391,9 @@ export class PutEventRuleTargetsResponseBodyFailedContactParametersContactParame
|
|
|
48326
48391
|
id?: number;
|
|
48327
48392
|
/**
|
|
48328
48393
|
* @remarks
|
|
48329
|
-
* The alert
|
|
48394
|
+
* The alert notification methods. Valid values:
|
|
48330
48395
|
*
|
|
48331
|
-
* 4: Alert notifications are sent by using DingTalk
|
|
48396
|
+
* 4: Alert notifications are sent by using DingTalk and emails.
|
|
48332
48397
|
*
|
|
48333
48398
|
* @example
|
|
48334
48399
|
* 3
|
|
@@ -49120,13 +49185,13 @@ export class PutLogMonitorRequestValueFilter extends $tea.Model {
|
|
|
49120
49185
|
export class PutMetricRuleTargetsRequestTargets extends $tea.Model {
|
|
49121
49186
|
/**
|
|
49122
49187
|
* @remarks
|
|
49123
|
-
* The Alibaba Cloud Resource Name (ARN) of the resource. Message
|
|
49188
|
+
* The Alibaba Cloud Resource Name (ARN) of the resource. Simple Message Queue (formerly MNS) (SMQ), Auto Scaling, Simple Log Service, and Function Compute are supported.
|
|
49124
49189
|
*
|
|
49125
|
-
* The following part describes the ARN of
|
|
49190
|
+
* The following part describes the ARN of SMQ and the parameters in the ARN:
|
|
49126
49191
|
*
|
|
49127
49192
|
* `acs:mns:{regionId}:{userId}:/{Resource type}/{Resource name}/message`.
|
|
49128
49193
|
*
|
|
49129
|
-
* * {regionId}: the region ID of the
|
|
49194
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
49130
49195
|
*
|
|
49131
49196
|
* * {userId}: the ID of the Alibaba Cloud account that owns the resource.
|
|
49132
49197
|
*
|
|
@@ -49172,7 +49237,7 @@ export class PutMetricRuleTargetsRequestTargets extends $tea.Model {
|
|
|
49172
49237
|
id?: string;
|
|
49173
49238
|
/**
|
|
49174
49239
|
* @remarks
|
|
49175
|
-
* The
|
|
49240
|
+
* The parameters of the alert callback. The parameters are in the JSON format.
|
|
49176
49241
|
*
|
|
49177
49242
|
* @example
|
|
49178
49243
|
* {"customField1":"value1","customField2":"$.name"}
|
|
@@ -49216,13 +49281,13 @@ export class PutMetricRuleTargetsRequestTargets extends $tea.Model {
|
|
|
49216
49281
|
export class PutMetricRuleTargetsResponseBodyFailDataTargetsTarget extends $tea.Model {
|
|
49217
49282
|
/**
|
|
49218
49283
|
* @remarks
|
|
49219
|
-
* The ARN of the resource. Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`.
|
|
49284
|
+
* 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:
|
|
49220
49285
|
*
|
|
49221
49286
|
* * {Service name abbreviation}: mns.
|
|
49222
49287
|
*
|
|
49223
49288
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
49224
49289
|
*
|
|
49225
|
-
* * {regionId}: the region ID of the
|
|
49290
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
49226
49291
|
*
|
|
49227
49292
|
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
|
49228
49293
|
*
|
|
@@ -51475,13 +51540,13 @@ export default class Client extends OpenApi {
|
|
|
51475
51540
|
}
|
|
51476
51541
|
|
|
51477
51542
|
/**
|
|
51478
|
-
* Creates a Logstore group
|
|
51543
|
+
* Creates a Logstore group of Hybrid Cloud Monitoring.
|
|
51479
51544
|
*
|
|
51480
51545
|
* @remarks
|
|
51481
|
-
* #
|
|
51546
|
+
* ## [](#)Prerequisites
|
|
51482
51547
|
* Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](https://help.aliyun.com/document_detail/54604.html).
|
|
51483
|
-
* #
|
|
51484
|
-
*
|
|
51548
|
+
* ## [](#)Description
|
|
51549
|
+
* This topic provides an example on how to create a Logstore group named `Logstore_test`. The region ID is `cn-hangzhou`. The project is `aliyun-project`. The Logstore is `Logstore-ECS`. The response shows that the Logstore group is created.
|
|
51485
51550
|
*
|
|
51486
51551
|
* @param request - CreateHybridMonitorSLSGroupRequest
|
|
51487
51552
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -51520,13 +51585,13 @@ export default class Client extends OpenApi {
|
|
|
51520
51585
|
}
|
|
51521
51586
|
|
|
51522
51587
|
/**
|
|
51523
|
-
* Creates a Logstore group
|
|
51588
|
+
* Creates a Logstore group of Hybrid Cloud Monitoring.
|
|
51524
51589
|
*
|
|
51525
51590
|
* @remarks
|
|
51526
|
-
* #
|
|
51591
|
+
* ## [](#)Prerequisites
|
|
51527
51592
|
* Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](https://help.aliyun.com/document_detail/54604.html).
|
|
51528
|
-
* #
|
|
51529
|
-
*
|
|
51593
|
+
* ## [](#)Description
|
|
51594
|
+
* This topic provides an example on how to create a Logstore group named `Logstore_test`. The region ID is `cn-hangzhou`. The project is `aliyun-project`. The Logstore is `Logstore-ECS`. The response shows that the Logstore group is created.
|
|
51530
51595
|
*
|
|
51531
51596
|
* @param request - CreateHybridMonitorSLSGroupRequest
|
|
51532
51597
|
* @returns CreateHybridMonitorSLSGroupResponse
|
|
@@ -54659,7 +54724,7 @@ export default class Client extends OpenApi {
|
|
|
54659
54724
|
}
|
|
54660
54725
|
|
|
54661
54726
|
/**
|
|
54662
|
-
* Queries
|
|
54727
|
+
* Queries event-triggered alert rules.
|
|
54663
54728
|
*
|
|
54664
54729
|
* @remarks
|
|
54665
54730
|
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
@@ -54693,7 +54758,7 @@ export default class Client extends OpenApi {
|
|
|
54693
54758
|
}
|
|
54694
54759
|
|
|
54695
54760
|
/**
|
|
54696
|
-
* Queries
|
|
54761
|
+
* Queries event-triggered alert rules.
|
|
54697
54762
|
*
|
|
54698
54763
|
* @remarks
|
|
54699
54764
|
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
@@ -60121,6 +60186,7 @@ export default class Client extends OpenApi {
|
|
|
60121
60186
|
*
|
|
60122
60187
|
* @remarks
|
|
60123
60188
|
* This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of an Elastic Compute Service (ECS) instance whose ID is `i-uf6j91r34rnwawoo****`. The namespace of ECS metrics is `acs_ecs_dashboard`. The alert contact group of the alert rule is `ECS_Group`. The name of the alert rule is `test123`. The ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`. The comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`. The threshold for Critical-level alerts is `90`. The consecutive number of times for which the metric value meets the trigger condition before a Critical-level alert is triggered is `3`.
|
|
60189
|
+
* > Statistics verification was added on August 15, 2024. Only the statistical value of the corresponding metric can be set for the Statistics parameter. For more information about how to obtain the value of this parameter, see [Appendix 1: Metrics](https://www.alibabacloud.com/help/en/cms/support/appendix-1-metrics).
|
|
60124
60190
|
*
|
|
60125
60191
|
* @param tmpReq - PutResourceMetricRuleRequest
|
|
60126
60192
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -60233,6 +60299,7 @@ export default class Client extends OpenApi {
|
|
|
60233
60299
|
*
|
|
60234
60300
|
* @remarks
|
|
60235
60301
|
* This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of an Elastic Compute Service (ECS) instance whose ID is `i-uf6j91r34rnwawoo****`. The namespace of ECS metrics is `acs_ecs_dashboard`. The alert contact group of the alert rule is `ECS_Group`. The name of the alert rule is `test123`. The ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`. The comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`. The threshold for Critical-level alerts is `90`. The consecutive number of times for which the metric value meets the trigger condition before a Critical-level alert is triggered is `3`.
|
|
60302
|
+
* > Statistics verification was added on August 15, 2024. Only the statistical value of the corresponding metric can be set for the Statistics parameter. For more information about how to obtain the value of this parameter, see [Appendix 1: Metrics](https://www.alibabacloud.com/help/en/cms/support/appendix-1-metrics).
|
|
60236
60303
|
*
|
|
60237
60304
|
* @param request - PutResourceMetricRuleRequest
|
|
60238
60305
|
* @returns PutResourceMetricRuleResponse
|
|
@@ -60247,6 +60314,7 @@ export default class Client extends OpenApi {
|
|
|
60247
60314
|
*
|
|
60248
60315
|
* @remarks
|
|
60249
60316
|
* This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of an Elastic Compute Service (ECS) instance whose ID is `i-uf6j91r34rnwawoo****`. The namespace of ECS metrics is `acs_ecs_dashboard`. The alert contact group of the alert rule is `ECS_Group`. The name of the alert rule is `test123`. The ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`. The comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`. The threshold for Critical-level alerts is `90`. The consecutive number of times for which the metric value meets the trigger condition before a Critical-level alert is triggered is `3`.
|
|
60317
|
+
* > Statistics verification was added on August 15, 2024. Only the statistical value of the corresponding metric can be set for the Statistics parameter. For more information about how to obtain the value of this parameter, see [Appendix 1: Metrics](https://www.alibabacloud.com/help/en/cms/support/appendix-1-metrics).
|
|
60250
60318
|
*
|
|
60251
60319
|
* @param request - PutResourceMetricRulesRequest
|
|
60252
60320
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -60281,6 +60349,7 @@ export default class Client extends OpenApi {
|
|
|
60281
60349
|
*
|
|
60282
60350
|
* @remarks
|
|
60283
60351
|
* This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of an Elastic Compute Service (ECS) instance whose ID is `i-uf6j91r34rnwawoo****`. The namespace of ECS metrics is `acs_ecs_dashboard`. The alert contact group of the alert rule is `ECS_Group`. The name of the alert rule is `test123`. The ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`. The comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`. The threshold for Critical-level alerts is `90`. The consecutive number of times for which the metric value meets the trigger condition before a Critical-level alert is triggered is `3`.
|
|
60352
|
+
* > Statistics verification was added on August 15, 2024. Only the statistical value of the corresponding metric can be set for the Statistics parameter. For more information about how to obtain the value of this parameter, see [Appendix 1: Metrics](https://www.alibabacloud.com/help/en/cms/support/appendix-1-metrics).
|
|
60284
60353
|
*
|
|
60285
60354
|
* @param request - PutResourceMetricRulesRequest
|
|
60286
60355
|
* @returns PutResourceMetricRulesResponse
|