@alicloud/cms20190101 3.1.1 → 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 +86 -59
- package/dist/client.js +37 -17
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +92 -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
|
/**
|
|
@@ -44160,6 +44180,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
44160
44180
|
* testKey:testValue
|
|
44161
44181
|
*/
|
|
44162
44182
|
header?: string;
|
|
44183
|
+
hostBinding?: string;
|
|
44184
|
+
hostBindingType?: number;
|
|
44163
44185
|
/**
|
|
44164
44186
|
* @remarks
|
|
44165
44187
|
* The HTTP request method. Valid values:
|
|
@@ -44314,6 +44336,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
44314
44336
|
* false
|
|
44315
44337
|
*/
|
|
44316
44338
|
screenShot?: boolean;
|
|
44339
|
+
scrollEnd?: boolean;
|
|
44317
44340
|
/**
|
|
44318
44341
|
* @example
|
|
44319
44342
|
* false
|
|
@@ -44371,6 +44394,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
44371
44394
|
expectValue: 'expect_value',
|
|
44372
44395
|
failureRate: 'failure_rate',
|
|
44373
44396
|
header: 'header',
|
|
44397
|
+
hostBinding: 'host_binding',
|
|
44398
|
+
hostBindingType: 'host_binding_type',
|
|
44374
44399
|
httpMethod: 'http_method',
|
|
44375
44400
|
ipNetwork: 'ip_network',
|
|
44376
44401
|
isBase64Encode: 'isBase64Encode',
|
|
@@ -44390,6 +44415,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
44390
44415
|
responseFormat: 'response_format',
|
|
44391
44416
|
retryDelay: 'retry_delay',
|
|
44392
44417
|
screenShot: 'screen_shot',
|
|
44418
|
+
scrollEnd: 'scroll_end',
|
|
44393
44419
|
strictMode: 'strict_mode',
|
|
44394
44420
|
timeOut: 'time_out',
|
|
44395
44421
|
trafficHijackElementBlacklist: 'traffic_hijack_element_blacklist',
|
|
@@ -44424,6 +44450,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
44424
44450
|
expectValue: 'string',
|
|
44425
44451
|
failureRate: 'number',
|
|
44426
44452
|
header: 'string',
|
|
44453
|
+
hostBinding: 'string',
|
|
44454
|
+
hostBindingType: 'number',
|
|
44427
44455
|
httpMethod: 'string',
|
|
44428
44456
|
ipNetwork: 'string',
|
|
44429
44457
|
isBase64Encode: 'string',
|
|
@@ -44443,6 +44471,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
44443
44471
|
responseFormat: 'string',
|
|
44444
44472
|
retryDelay: 'number',
|
|
44445
44473
|
screenShot: 'boolean',
|
|
44474
|
+
scrollEnd: 'boolean',
|
|
44446
44475
|
strictMode: 'boolean',
|
|
44447
44476
|
timeOut: 'number',
|
|
44448
44477
|
trafficHijackElementBlacklist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist,
|
|
@@ -46732,13 +46761,13 @@ export class ModifyHostAvailabilityRequestAlertConfigTargetList extends $tea.Mod
|
|
|
46732
46761
|
*
|
|
46733
46762
|
* Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`. Example: `acs:mns:cn-hangzhou:120886317861****:/queues/test123/message`. Fields:
|
|
46734
46763
|
*
|
|
46735
|
-
* * {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).
|
|
46736
46765
|
*
|
|
46737
46766
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
46738
46767
|
*
|
|
46739
|
-
* * {regionId}: the region ID of the
|
|
46768
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
46740
46769
|
*
|
|
46741
|
-
* * {Resource type}: the type of the resource
|
|
46770
|
+
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
|
46742
46771
|
*
|
|
46743
46772
|
* * **queues**
|
|
46744
46773
|
* * **topics**
|
|
@@ -47988,9 +48017,9 @@ export class PutEventRuleTargetsRequestContactParameters extends $tea.Model {
|
|
|
47988
48017
|
id?: string;
|
|
47989
48018
|
/**
|
|
47990
48019
|
* @remarks
|
|
47991
|
-
* The alert
|
|
48020
|
+
* The alert notification methods. Valid values of N: 1 to 5. Valid values:
|
|
47992
48021
|
*
|
|
47993
|
-
* 4: Alert notifications are sent by using DingTalk
|
|
48022
|
+
* 4: Alert notifications are sent by using DingTalk and emails.
|
|
47994
48023
|
*
|
|
47995
48024
|
* @example
|
|
47996
48025
|
* 3
|
|
@@ -48084,7 +48113,7 @@ export class PutEventRuleTargetsRequestMnsParameters extends $tea.Model {
|
|
|
48084
48113
|
id?: string;
|
|
48085
48114
|
/**
|
|
48086
48115
|
* @remarks
|
|
48087
|
-
* The name of the
|
|
48116
|
+
* The name of the SMQ queue. Valid values of N: 1 to 5.
|
|
48088
48117
|
*
|
|
48089
48118
|
* @example
|
|
48090
48119
|
* queue1
|
|
@@ -48092,7 +48121,7 @@ export class PutEventRuleTargetsRequestMnsParameters extends $tea.Model {
|
|
|
48092
48121
|
queue?: string;
|
|
48093
48122
|
/**
|
|
48094
48123
|
* @remarks
|
|
48095
|
-
* The region
|
|
48124
|
+
* The region for SMQ. Valid values of N: 1 to 5.
|
|
48096
48125
|
*
|
|
48097
48126
|
* @example
|
|
48098
48127
|
* cn-hangzhou
|
|
@@ -48100,7 +48129,7 @@ export class PutEventRuleTargetsRequestMnsParameters extends $tea.Model {
|
|
|
48100
48129
|
region?: string;
|
|
48101
48130
|
/**
|
|
48102
48131
|
* @remarks
|
|
48103
|
-
* The
|
|
48132
|
+
* The SMQ topic.
|
|
48104
48133
|
*
|
|
48105
48134
|
* @example
|
|
48106
48135
|
* topic_sample
|
|
@@ -48362,9 +48391,9 @@ export class PutEventRuleTargetsResponseBodyFailedContactParametersContactParame
|
|
|
48362
48391
|
id?: number;
|
|
48363
48392
|
/**
|
|
48364
48393
|
* @remarks
|
|
48365
|
-
* The alert
|
|
48394
|
+
* The alert notification methods. Valid values:
|
|
48366
48395
|
*
|
|
48367
|
-
* 4: Alert notifications are sent by using DingTalk
|
|
48396
|
+
* 4: Alert notifications are sent by using DingTalk and emails.
|
|
48368
48397
|
*
|
|
48369
48398
|
* @example
|
|
48370
48399
|
* 3
|
|
@@ -49156,13 +49185,13 @@ export class PutLogMonitorRequestValueFilter extends $tea.Model {
|
|
|
49156
49185
|
export class PutMetricRuleTargetsRequestTargets extends $tea.Model {
|
|
49157
49186
|
/**
|
|
49158
49187
|
* @remarks
|
|
49159
|
-
* 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.
|
|
49160
49189
|
*
|
|
49161
|
-
* The following part describes the ARN of
|
|
49190
|
+
* The following part describes the ARN of SMQ and the parameters in the ARN:
|
|
49162
49191
|
*
|
|
49163
49192
|
* `acs:mns:{regionId}:{userId}:/{Resource type}/{Resource name}/message`.
|
|
49164
49193
|
*
|
|
49165
|
-
* * {regionId}: the region ID of the
|
|
49194
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
49166
49195
|
*
|
|
49167
49196
|
* * {userId}: the ID of the Alibaba Cloud account that owns the resource.
|
|
49168
49197
|
*
|
|
@@ -49208,7 +49237,7 @@ export class PutMetricRuleTargetsRequestTargets extends $tea.Model {
|
|
|
49208
49237
|
id?: string;
|
|
49209
49238
|
/**
|
|
49210
49239
|
* @remarks
|
|
49211
|
-
* The
|
|
49240
|
+
* The parameters of the alert callback. The parameters are in the JSON format.
|
|
49212
49241
|
*
|
|
49213
49242
|
* @example
|
|
49214
49243
|
* {"customField1":"value1","customField2":"$.name"}
|
|
@@ -49252,13 +49281,13 @@ export class PutMetricRuleTargetsRequestTargets extends $tea.Model {
|
|
|
49252
49281
|
export class PutMetricRuleTargetsResponseBodyFailDataTargetsTarget extends $tea.Model {
|
|
49253
49282
|
/**
|
|
49254
49283
|
* @remarks
|
|
49255
|
-
* 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:
|
|
49256
49285
|
*
|
|
49257
49286
|
* * {Service name abbreviation}: mns.
|
|
49258
49287
|
*
|
|
49259
49288
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
49260
49289
|
*
|
|
49261
|
-
* * {regionId}: the region ID of the
|
|
49290
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
49262
49291
|
*
|
|
49263
49292
|
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
|
49264
49293
|
*
|
|
@@ -51511,13 +51540,13 @@ export default class Client extends OpenApi {
|
|
|
51511
51540
|
}
|
|
51512
51541
|
|
|
51513
51542
|
/**
|
|
51514
|
-
* Creates a Logstore group
|
|
51543
|
+
* Creates a Logstore group of Hybrid Cloud Monitoring.
|
|
51515
51544
|
*
|
|
51516
51545
|
* @remarks
|
|
51517
|
-
* #
|
|
51546
|
+
* ## [](#)Prerequisites
|
|
51518
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).
|
|
51519
|
-
* #
|
|
51520
|
-
*
|
|
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.
|
|
51521
51550
|
*
|
|
51522
51551
|
* @param request - CreateHybridMonitorSLSGroupRequest
|
|
51523
51552
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -51556,13 +51585,13 @@ export default class Client extends OpenApi {
|
|
|
51556
51585
|
}
|
|
51557
51586
|
|
|
51558
51587
|
/**
|
|
51559
|
-
* Creates a Logstore group
|
|
51588
|
+
* Creates a Logstore group of Hybrid Cloud Monitoring.
|
|
51560
51589
|
*
|
|
51561
51590
|
* @remarks
|
|
51562
|
-
* #
|
|
51591
|
+
* ## [](#)Prerequisites
|
|
51563
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).
|
|
51564
|
-
* #
|
|
51565
|
-
*
|
|
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.
|
|
51566
51595
|
*
|
|
51567
51596
|
* @param request - CreateHybridMonitorSLSGroupRequest
|
|
51568
51597
|
* @returns CreateHybridMonitorSLSGroupResponse
|
|
@@ -54695,7 +54724,7 @@ export default class Client extends OpenApi {
|
|
|
54695
54724
|
}
|
|
54696
54725
|
|
|
54697
54726
|
/**
|
|
54698
|
-
* Queries
|
|
54727
|
+
* Queries event-triggered alert rules.
|
|
54699
54728
|
*
|
|
54700
54729
|
* @remarks
|
|
54701
54730
|
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
@@ -54729,7 +54758,7 @@ export default class Client extends OpenApi {
|
|
|
54729
54758
|
}
|
|
54730
54759
|
|
|
54731
54760
|
/**
|
|
54732
|
-
* Queries
|
|
54761
|
+
* Queries event-triggered alert rules.
|
|
54733
54762
|
*
|
|
54734
54763
|
* @remarks
|
|
54735
54764
|
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
@@ -60157,6 +60186,7 @@ export default class Client extends OpenApi {
|
|
|
60157
60186
|
*
|
|
60158
60187
|
* @remarks
|
|
60159
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).
|
|
60160
60190
|
*
|
|
60161
60191
|
* @param tmpReq - PutResourceMetricRuleRequest
|
|
60162
60192
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -60269,6 +60299,7 @@ export default class Client extends OpenApi {
|
|
|
60269
60299
|
*
|
|
60270
60300
|
* @remarks
|
|
60271
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).
|
|
60272
60303
|
*
|
|
60273
60304
|
* @param request - PutResourceMetricRuleRequest
|
|
60274
60305
|
* @returns PutResourceMetricRuleResponse
|
|
@@ -60283,6 +60314,7 @@ export default class Client extends OpenApi {
|
|
|
60283
60314
|
*
|
|
60284
60315
|
* @remarks
|
|
60285
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).
|
|
60286
60318
|
*
|
|
60287
60319
|
* @param request - PutResourceMetricRulesRequest
|
|
60288
60320
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -60317,6 +60349,7 @@ export default class Client extends OpenApi {
|
|
|
60317
60349
|
*
|
|
60318
60350
|
* @remarks
|
|
60319
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).
|
|
60320
60353
|
*
|
|
60321
60354
|
* @param request - PutResourceMetricRulesRequest
|
|
60322
60355
|
* @returns PutResourceMetricRulesResponse
|