@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/dist/client.d.ts
CHANGED
|
@@ -1316,7 +1316,7 @@ export declare class CreateHostAvailabilityRequest extends $tea.Model {
|
|
|
1316
1316
|
alertConfigEscalationList?: CreateHostAvailabilityRequestAlertConfigEscalationList[];
|
|
1317
1317
|
/**
|
|
1318
1318
|
* @remarks
|
|
1319
|
-
* The
|
|
1319
|
+
* The resources for which alerts are triggered.
|
|
1320
1320
|
*/
|
|
1321
1321
|
alertConfigTargetList?: CreateHostAvailabilityRequestAlertConfigTargetList[];
|
|
1322
1322
|
/**
|
|
@@ -8536,7 +8536,7 @@ export declare class DescribeEventRuleTargetListResponseBody extends $tea.Model
|
|
|
8536
8536
|
message?: string;
|
|
8537
8537
|
/**
|
|
8538
8538
|
* @remarks
|
|
8539
|
-
* The
|
|
8539
|
+
* The notifications of Simple Message Queue (formerly MNS) (SMQ).
|
|
8540
8540
|
*/
|
|
8541
8541
|
mnsParameters?: DescribeEventRuleTargetListResponseBodyMnsParameters;
|
|
8542
8542
|
/**
|
|
@@ -8591,7 +8591,7 @@ export declare class DescribeEventRuleTargetListResponse extends $tea.Model {
|
|
|
8591
8591
|
export declare class DescribeExporterOutputListRequest extends $tea.Model {
|
|
8592
8592
|
/**
|
|
8593
8593
|
* @remarks
|
|
8594
|
-
* The
|
|
8594
|
+
* The page number. Default value: 1.
|
|
8595
8595
|
*
|
|
8596
8596
|
* @example
|
|
8597
8597
|
* 1
|
|
@@ -8599,7 +8599,7 @@ export declare class DescribeExporterOutputListRequest extends $tea.Model {
|
|
|
8599
8599
|
pageNumber?: number;
|
|
8600
8600
|
/**
|
|
8601
8601
|
* @remarks
|
|
8602
|
-
* The number of entries
|
|
8602
|
+
* The number of entries per page. Default value: 10.
|
|
8603
8603
|
*
|
|
8604
8604
|
* @example
|
|
8605
8605
|
* 10
|
|
@@ -19163,7 +19163,7 @@ export declare class PutEventRuleTargetsRequest extends $tea.Model {
|
|
|
19163
19163
|
fcParameters?: PutEventRuleTargetsRequestFcParameters[];
|
|
19164
19164
|
/**
|
|
19165
19165
|
* @remarks
|
|
19166
|
-
* The
|
|
19166
|
+
* The notifications of Simple Message Queue (formerly MNS) (SMQ).
|
|
19167
19167
|
*/
|
|
19168
19168
|
mnsParameters?: PutEventRuleTargetsRequestMnsParameters[];
|
|
19169
19169
|
/**
|
|
@@ -19225,7 +19225,7 @@ export declare class PutEventRuleTargetsResponseBody extends $tea.Model {
|
|
|
19225
19225
|
failedFcParameters?: PutEventRuleTargetsResponseBodyFailedFcParameters;
|
|
19226
19226
|
/**
|
|
19227
19227
|
* @remarks
|
|
19228
|
-
* This parameter is returned if the specified queues in the request failed to be created or modified in
|
|
19228
|
+
* This parameter is returned if the specified queues in the request failed to be created or modified in SMQ.
|
|
19229
19229
|
*/
|
|
19230
19230
|
failedMnsParameters?: PutEventRuleTargetsResponseBodyFailedMnsParameters;
|
|
19231
19231
|
/**
|
|
@@ -20113,7 +20113,7 @@ export declare class PutMetricRuleTargetsRequest extends $tea.Model {
|
|
|
20113
20113
|
ruleId?: string;
|
|
20114
20114
|
/**
|
|
20115
20115
|
* @remarks
|
|
20116
|
-
*
|
|
20116
|
+
* None.
|
|
20117
20117
|
*
|
|
20118
20118
|
* This parameter is required.
|
|
20119
20119
|
*/
|
|
@@ -22190,7 +22190,7 @@ export declare class CreateGroupMetricRulesRequestGroupMetricRules extends $tea.
|
|
|
22190
22190
|
* * UIS: Ultimate Internet Service (UIS)
|
|
22191
22191
|
* * nls: Intelligent Speech Interaction
|
|
22192
22192
|
* * ots: Tablestore
|
|
22193
|
-
* * NAS:
|
|
22193
|
+
* * NAS: File Storage NAS
|
|
22194
22194
|
* * ECI: Elastic Container Instance (ECI)
|
|
22195
22195
|
* * OpenAPI: OpenAPI Explorer
|
|
22196
22196
|
* * pvtzpost: Alibaba Cloud DNS PrivateZone
|
|
@@ -22351,6 +22351,12 @@ export declare class CreateGroupMetricRulesRequestGroupMetricRules extends $tea.
|
|
|
22351
22351
|
* 00:00-05:30
|
|
22352
22352
|
*/
|
|
22353
22353
|
noEffectiveInterval?: string;
|
|
22354
|
+
/**
|
|
22355
|
+
* @example
|
|
22356
|
+
* {
|
|
22357
|
+
* "NotSendOK": true
|
|
22358
|
+
* }
|
|
22359
|
+
*/
|
|
22354
22360
|
options?: string;
|
|
22355
22361
|
/**
|
|
22356
22362
|
* @remarks
|
|
@@ -22485,15 +22491,15 @@ export declare class CreateGroupMonitoringAgentProcessRequestAlertConfigTargetLi
|
|
|
22485
22491
|
* @remarks
|
|
22486
22492
|
* The Alibaba Cloud Resource Name (ARN) of the resource.
|
|
22487
22493
|
*
|
|
22488
|
-
* For information about how to
|
|
22494
|
+
* For more information about how to query the ARN of a resource, see [DescribeMetricRuleTargets](https://help.aliyun.com/document_detail/121592.html).
|
|
22489
22495
|
*
|
|
22490
22496
|
* Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`. Example: `acs:mns:cn-hangzhou:120886317861****:/queues/test123/message`. Fields:
|
|
22491
22497
|
*
|
|
22492
|
-
* * {Service name abbreviation}: the abbreviation of the service name.
|
|
22498
|
+
* * {Service name abbreviation}: the abbreviation of the service name. Set the value to Simple Message Queue (formerly MNS) (SMQ).
|
|
22493
22499
|
*
|
|
22494
22500
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
22495
22501
|
*
|
|
22496
|
-
* * {regionId}: the region ID of the
|
|
22502
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
22497
22503
|
*
|
|
22498
22504
|
* * {Resource type}: the type of the resource that triggers the alert. Valid values:
|
|
22499
22505
|
*
|
|
@@ -22513,7 +22519,7 @@ export declare class CreateGroupMonitoringAgentProcessRequestAlertConfigTargetLi
|
|
|
22513
22519
|
* @remarks
|
|
22514
22520
|
* The ID of the resource for which alerts are triggered.
|
|
22515
22521
|
*
|
|
22516
|
-
* 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).
|
|
22522
|
+
* 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).
|
|
22517
22523
|
*
|
|
22518
22524
|
* @example
|
|
22519
22525
|
* 1
|
|
@@ -22521,7 +22527,7 @@ export declare class CreateGroupMonitoringAgentProcessRequestAlertConfigTargetLi
|
|
|
22521
22527
|
id?: string;
|
|
22522
22528
|
/**
|
|
22523
22529
|
* @remarks
|
|
22524
|
-
* The parameters of the alert callback.
|
|
22530
|
+
* The parameters of the alert callback. The parameters are in the JSON format.
|
|
22525
22531
|
*
|
|
22526
22532
|
* @example
|
|
22527
22533
|
* {"customField1":"value1","customField2":"$.name"}
|
|
@@ -22564,7 +22570,7 @@ export declare class CreateGroupMonitoringAgentProcessRequestAlertConfig extends
|
|
|
22564
22570
|
* * GreaterThanLastWeek: greater than the metric value at the same time last week
|
|
22565
22571
|
* * LessThanLastWeek: less than the metric value at the same time last week
|
|
22566
22572
|
* * GreaterThanLastPeriod: greater than the metric value in the last monitoring cycle
|
|
22567
|
-
* * LessThanLastPeriod: less than the metric value in the
|
|
22573
|
+
* * LessThanLastPeriod: less than the metric value in the previous monitoring cycle
|
|
22568
22574
|
*
|
|
22569
22575
|
* Valid values of N: 1 to 3.
|
|
22570
22576
|
*
|
|
@@ -22576,7 +22582,7 @@ export declare class CreateGroupMonitoringAgentProcessRequestAlertConfig extends
|
|
|
22576
22582
|
comparisonOperator?: string;
|
|
22577
22583
|
/**
|
|
22578
22584
|
* @remarks
|
|
22579
|
-
* The time
|
|
22585
|
+
* The period of time during which the alert rule is effective.
|
|
22580
22586
|
*
|
|
22581
22587
|
* Valid values of N: 1 to 3.
|
|
22582
22588
|
*
|
|
@@ -22588,9 +22594,9 @@ export declare class CreateGroupMonitoringAgentProcessRequestAlertConfig extends
|
|
|
22588
22594
|
* @remarks
|
|
22589
22595
|
* The alert level. Valid values:
|
|
22590
22596
|
*
|
|
22591
|
-
* * critical (default)
|
|
22592
|
-
* * warn
|
|
22593
|
-
* * info
|
|
22597
|
+
* * critical (default)
|
|
22598
|
+
* * warn
|
|
22599
|
+
* * info
|
|
22594
22600
|
*
|
|
22595
22601
|
* Valid values of N: 1 to 3.
|
|
22596
22602
|
*
|
|
@@ -22614,7 +22620,7 @@ export declare class CreateGroupMonitoringAgentProcessRequestAlertConfig extends
|
|
|
22614
22620
|
*
|
|
22615
22621
|
* Valid values of N: 1 to 3.
|
|
22616
22622
|
*
|
|
22617
|
-
* > Only one alert notification is sent during
|
|
22623
|
+
* > Only one alert notification is sent during a mute period even if the metric value exceeds the alert threshold during consecutive checks.
|
|
22618
22624
|
*
|
|
22619
22625
|
* @example
|
|
22620
22626
|
* 86400
|
|
@@ -22622,7 +22628,7 @@ export declare class CreateGroupMonitoringAgentProcessRequestAlertConfig extends
|
|
|
22622
22628
|
silenceTime?: string;
|
|
22623
22629
|
/**
|
|
22624
22630
|
* @remarks
|
|
22625
|
-
* The statistical method
|
|
22631
|
+
* The statistical aggregation method that is used to calculate the metric values.
|
|
22626
22632
|
*
|
|
22627
22633
|
* Valid values of N: 1 to 3.
|
|
22628
22634
|
*
|
|
@@ -22645,8 +22651,6 @@ export declare class CreateGroupMonitoringAgentProcessRequestAlertConfig extends
|
|
|
22645
22651
|
*
|
|
22646
22652
|
* Valid values of N: 1 to 3.
|
|
22647
22653
|
*
|
|
22648
|
-
* Unit: cores.
|
|
22649
|
-
*
|
|
22650
22654
|
* This parameter is required.
|
|
22651
22655
|
*
|
|
22652
22656
|
* @example
|
|
@@ -22659,7 +22663,7 @@ export declare class CreateGroupMonitoringAgentProcessRequestAlertConfig extends
|
|
|
22659
22663
|
*
|
|
22660
22664
|
* Valid values of N: 1 to 3.
|
|
22661
22665
|
*
|
|
22662
|
-
* >
|
|
22666
|
+
* > A metric triggers an alert only after the metric value reaches the threshold consecutively for the specified times.
|
|
22663
22667
|
*
|
|
22664
22668
|
* This parameter is required.
|
|
22665
22669
|
*
|
|
@@ -23000,13 +23004,13 @@ export declare class CreateHostAvailabilityRequestAlertConfigTargetList extends
|
|
|
23000
23004
|
* @remarks
|
|
23001
23005
|
* 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:
|
|
23002
23006
|
*
|
|
23003
|
-
* * {Service name abbreviation}: the abbreviation of the service name.
|
|
23007
|
+
* * {Service name abbreviation}: the abbreviation of the service name. Set the value to Simple Message Queue (formerly MNS) (SMQ).
|
|
23004
23008
|
*
|
|
23005
23009
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
23006
23010
|
*
|
|
23007
|
-
* * {regionId}: the region ID of the
|
|
23011
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
23008
23012
|
*
|
|
23009
|
-
* * {Resource type}: the type of the resource
|
|
23013
|
+
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
|
23010
23014
|
*
|
|
23011
23015
|
* * **queues**
|
|
23012
23016
|
* * **topics**
|
|
@@ -26915,7 +26919,7 @@ export declare class DescribeEventRuleTargetListResponseBodyMnsParametersMnsPara
|
|
|
26915
26919
|
id?: string;
|
|
26916
26920
|
/**
|
|
26917
26921
|
* @remarks
|
|
26918
|
-
* The name of the
|
|
26922
|
+
* The name of the SMQ queue.
|
|
26919
26923
|
*
|
|
26920
26924
|
* @example
|
|
26921
26925
|
* testQueue
|
|
@@ -26923,7 +26927,7 @@ export declare class DescribeEventRuleTargetListResponseBodyMnsParametersMnsPara
|
|
|
26923
26927
|
queue?: string;
|
|
26924
26928
|
/**
|
|
26925
26929
|
* @remarks
|
|
26926
|
-
* The region
|
|
26930
|
+
* The region for SMQ.
|
|
26927
26931
|
*
|
|
26928
26932
|
* @example
|
|
26929
26933
|
* cn-hangzhou
|
|
@@ -26931,7 +26935,7 @@ export declare class DescribeEventRuleTargetListResponseBodyMnsParametersMnsPara
|
|
|
26931
26935
|
region?: string;
|
|
26932
26936
|
/**
|
|
26933
26937
|
* @remarks
|
|
26934
|
-
* The
|
|
26938
|
+
* The SMQ topic.
|
|
26935
26939
|
*
|
|
26936
26940
|
* @example
|
|
26937
26941
|
* topic_sample
|
|
@@ -27382,7 +27386,21 @@ export declare class DescribeGroupMonitoringAgentProcessResponseBodyProcessesPro
|
|
|
27382
27386
|
* @remarks
|
|
27383
27387
|
* 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:
|
|
27384
27388
|
*
|
|
27385
|
-
* {Service name abbreviation}: the abbreviation of the service name.
|
|
27389
|
+
* * {Service name abbreviation}: the abbreviation of the service name. Set the value to Simple Message Queue (formerly MNS) (SMQ).
|
|
27390
|
+
*
|
|
27391
|
+
* * {userId}: the ID of the Alibaba Cloud account.
|
|
27392
|
+
*
|
|
27393
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
27394
|
+
*
|
|
27395
|
+
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
|
27396
|
+
*
|
|
27397
|
+
* * **queues**
|
|
27398
|
+
* * **topics**
|
|
27399
|
+
*
|
|
27400
|
+
* * {Resource name}: the resource name.
|
|
27401
|
+
*
|
|
27402
|
+
* * If the resource type is **queues**, the resource name is the queue name.
|
|
27403
|
+
* * If the resource type is **topics**, the resource name is the topic name.
|
|
27386
27404
|
*
|
|
27387
27405
|
* @example
|
|
27388
27406
|
* acs:mns:cn-hangzhou:120886317861****:/queues/test/message
|
|
@@ -27406,9 +27424,11 @@ export declare class DescribeGroupMonitoringAgentProcessResponseBodyProcessesPro
|
|
|
27406
27424
|
jsonParmas?: string;
|
|
27407
27425
|
/**
|
|
27408
27426
|
* @remarks
|
|
27409
|
-
* The level
|
|
27427
|
+
* The alert level. Valid values:
|
|
27410
27428
|
*
|
|
27411
|
-
* INFO
|
|
27429
|
+
* * INFO
|
|
27430
|
+
* * WARN
|
|
27431
|
+
* * CRITICAL
|
|
27412
27432
|
*
|
|
27413
27433
|
* @example
|
|
27414
27434
|
* CRITICAL
|
|
@@ -27505,7 +27525,7 @@ export declare class DescribeGroupMonitoringAgentProcessResponseBodyProcessesPro
|
|
|
27505
27525
|
statistics?: string;
|
|
27506
27526
|
/**
|
|
27507
27527
|
* @remarks
|
|
27508
|
-
* The
|
|
27528
|
+
* The resources for which alerts are triggered.
|
|
27509
27529
|
*/
|
|
27510
27530
|
targetList?: DescribeGroupMonitoringAgentProcessResponseBodyProcessesProcessAlertConfigAlertConfigTargetList;
|
|
27511
27531
|
/**
|
|
@@ -33372,6 +33392,8 @@ export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJ
|
|
|
33372
33392
|
* testKey:testValue
|
|
33373
33393
|
*/
|
|
33374
33394
|
header?: string;
|
|
33395
|
+
hostBinding?: string;
|
|
33396
|
+
hostBindingType?: number;
|
|
33375
33397
|
/**
|
|
33376
33398
|
* @remarks
|
|
33377
33399
|
* The HTTP request method. Valid values:
|
|
@@ -33526,6 +33548,7 @@ export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJ
|
|
|
33526
33548
|
* false
|
|
33527
33549
|
*/
|
|
33528
33550
|
screenShot?: boolean;
|
|
33551
|
+
scrollEnd?: boolean;
|
|
33529
33552
|
/**
|
|
33530
33553
|
* @example
|
|
33531
33554
|
* false
|
|
@@ -35317,13 +35340,13 @@ export declare class ModifyHostAvailabilityRequestAlertConfigTargetList extends
|
|
|
35317
35340
|
*
|
|
35318
35341
|
* Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`. Example: `acs:mns:cn-hangzhou:120886317861****:/queues/test123/message`. Fields:
|
|
35319
35342
|
*
|
|
35320
|
-
* * {Service name abbreviation}: the abbreviation of the service name.
|
|
35343
|
+
* * {Service name abbreviation}: the abbreviation of the service name. Set the value to Simple Message Queue (formerly MNS) (SMQ).
|
|
35321
35344
|
*
|
|
35322
35345
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
35323
35346
|
*
|
|
35324
|
-
* * {regionId}: the region ID of the
|
|
35347
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
35325
35348
|
*
|
|
35326
|
-
* * {Resource type}: the type of the resource
|
|
35349
|
+
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
|
35327
35350
|
*
|
|
35328
35351
|
* * **queues**
|
|
35329
35352
|
* * **topics**
|
|
@@ -36302,9 +36325,9 @@ export declare class PutEventRuleTargetsRequestContactParameters extends $tea.Mo
|
|
|
36302
36325
|
id?: string;
|
|
36303
36326
|
/**
|
|
36304
36327
|
* @remarks
|
|
36305
|
-
* The alert
|
|
36328
|
+
* The alert notification methods. Valid values of N: 1 to 5. Valid values:
|
|
36306
36329
|
*
|
|
36307
|
-
* 4: Alert notifications are sent by using DingTalk
|
|
36330
|
+
* 4: Alert notifications are sent by using DingTalk and emails.
|
|
36308
36331
|
*
|
|
36309
36332
|
* @example
|
|
36310
36333
|
* 3
|
|
@@ -36374,7 +36397,7 @@ export declare class PutEventRuleTargetsRequestMnsParameters extends $tea.Model
|
|
|
36374
36397
|
id?: string;
|
|
36375
36398
|
/**
|
|
36376
36399
|
* @remarks
|
|
36377
|
-
* The name of the
|
|
36400
|
+
* The name of the SMQ queue. Valid values of N: 1 to 5.
|
|
36378
36401
|
*
|
|
36379
36402
|
* @example
|
|
36380
36403
|
* queue1
|
|
@@ -36382,7 +36405,7 @@ export declare class PutEventRuleTargetsRequestMnsParameters extends $tea.Model
|
|
|
36382
36405
|
queue?: string;
|
|
36383
36406
|
/**
|
|
36384
36407
|
* @remarks
|
|
36385
|
-
* The region
|
|
36408
|
+
* The region for SMQ. Valid values of N: 1 to 5.
|
|
36386
36409
|
*
|
|
36387
36410
|
* @example
|
|
36388
36411
|
* cn-hangzhou
|
|
@@ -36390,7 +36413,7 @@ export declare class PutEventRuleTargetsRequestMnsParameters extends $tea.Model
|
|
|
36390
36413
|
region?: string;
|
|
36391
36414
|
/**
|
|
36392
36415
|
* @remarks
|
|
36393
|
-
* The
|
|
36416
|
+
* The SMQ topic.
|
|
36394
36417
|
*
|
|
36395
36418
|
* @example
|
|
36396
36419
|
* topic_sample
|
|
@@ -36592,9 +36615,9 @@ export declare class PutEventRuleTargetsResponseBodyFailedContactParametersConta
|
|
|
36592
36615
|
id?: number;
|
|
36593
36616
|
/**
|
|
36594
36617
|
* @remarks
|
|
36595
|
-
* The alert
|
|
36618
|
+
* The alert notification methods. Valid values:
|
|
36596
36619
|
*
|
|
36597
|
-
* 4: Alert notifications are sent by using DingTalk
|
|
36620
|
+
* 4: Alert notifications are sent by using DingTalk and emails.
|
|
36598
36621
|
*
|
|
36599
36622
|
* @example
|
|
36600
36623
|
* 3
|
|
@@ -37202,13 +37225,13 @@ export declare class PutLogMonitorRequestValueFilter extends $tea.Model {
|
|
|
37202
37225
|
export declare class PutMetricRuleTargetsRequestTargets extends $tea.Model {
|
|
37203
37226
|
/**
|
|
37204
37227
|
* @remarks
|
|
37205
|
-
* The Alibaba Cloud Resource Name (ARN) of the resource. Message
|
|
37228
|
+
* 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.
|
|
37206
37229
|
*
|
|
37207
|
-
* The following part describes the ARN of
|
|
37230
|
+
* The following part describes the ARN of SMQ and the parameters in the ARN:
|
|
37208
37231
|
*
|
|
37209
37232
|
* `acs:mns:{regionId}:{userId}:/{Resource type}/{Resource name}/message`.
|
|
37210
37233
|
*
|
|
37211
|
-
* * {regionId}: the region ID of the
|
|
37234
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
37212
37235
|
*
|
|
37213
37236
|
* * {userId}: the ID of the Alibaba Cloud account that owns the resource.
|
|
37214
37237
|
*
|
|
@@ -37254,7 +37277,7 @@ export declare class PutMetricRuleTargetsRequestTargets extends $tea.Model {
|
|
|
37254
37277
|
id?: string;
|
|
37255
37278
|
/**
|
|
37256
37279
|
* @remarks
|
|
37257
|
-
* The
|
|
37280
|
+
* The parameters of the alert callback. The parameters are in the JSON format.
|
|
37258
37281
|
*
|
|
37259
37282
|
* @example
|
|
37260
37283
|
* {"customField1":"value1","customField2":"$.name"}
|
|
@@ -37285,13 +37308,13 @@ export declare class PutMetricRuleTargetsRequestTargets extends $tea.Model {
|
|
|
37285
37308
|
export declare class PutMetricRuleTargetsResponseBodyFailDataTargetsTarget extends $tea.Model {
|
|
37286
37309
|
/**
|
|
37287
37310
|
* @remarks
|
|
37288
|
-
* The ARN of the resource. Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`.
|
|
37311
|
+
* 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:
|
|
37289
37312
|
*
|
|
37290
37313
|
* * {Service name abbreviation}: mns.
|
|
37291
37314
|
*
|
|
37292
37315
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
37293
37316
|
*
|
|
37294
|
-
* * {regionId}: the region ID of the
|
|
37317
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
37295
37318
|
*
|
|
37296
37319
|
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
|
37297
37320
|
*
|
|
@@ -38761,13 +38784,13 @@ export default class Client extends OpenApi {
|
|
|
38761
38784
|
*/
|
|
38762
38785
|
createHybridMonitorNamespace(request: CreateHybridMonitorNamespaceRequest): Promise<CreateHybridMonitorNamespaceResponse>;
|
|
38763
38786
|
/**
|
|
38764
|
-
* Creates a Logstore group
|
|
38787
|
+
* Creates a Logstore group of Hybrid Cloud Monitoring.
|
|
38765
38788
|
*
|
|
38766
38789
|
* @remarks
|
|
38767
|
-
* #
|
|
38790
|
+
* ## [](#)Prerequisites
|
|
38768
38791
|
* 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).
|
|
38769
|
-
* #
|
|
38770
|
-
*
|
|
38792
|
+
* ## [](#)Description
|
|
38793
|
+
* 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.
|
|
38771
38794
|
*
|
|
38772
38795
|
* @param request - CreateHybridMonitorSLSGroupRequest
|
|
38773
38796
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -38775,13 +38798,13 @@ export default class Client extends OpenApi {
|
|
|
38775
38798
|
*/
|
|
38776
38799
|
createHybridMonitorSLSGroupWithOptions(request: CreateHybridMonitorSLSGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateHybridMonitorSLSGroupResponse>;
|
|
38777
38800
|
/**
|
|
38778
|
-
* Creates a Logstore group
|
|
38801
|
+
* Creates a Logstore group of Hybrid Cloud Monitoring.
|
|
38779
38802
|
*
|
|
38780
38803
|
* @remarks
|
|
38781
|
-
* #
|
|
38804
|
+
* ## [](#)Prerequisites
|
|
38782
38805
|
* 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).
|
|
38783
|
-
* #
|
|
38784
|
-
*
|
|
38806
|
+
* ## [](#)Description
|
|
38807
|
+
* 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.
|
|
38785
38808
|
*
|
|
38786
38809
|
* @param request - CreateHybridMonitorSLSGroupRequest
|
|
38787
38810
|
* @returns CreateHybridMonitorSLSGroupResponse
|
|
@@ -39756,7 +39779,7 @@ export default class Client extends OpenApi {
|
|
|
39756
39779
|
*/
|
|
39757
39780
|
describeEventRuleList(request: DescribeEventRuleListRequest): Promise<DescribeEventRuleListResponse>;
|
|
39758
39781
|
/**
|
|
39759
|
-
* Queries
|
|
39782
|
+
* Queries event-triggered alert rules.
|
|
39760
39783
|
*
|
|
39761
39784
|
* @remarks
|
|
39762
39785
|
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
@@ -39767,7 +39790,7 @@ export default class Client extends OpenApi {
|
|
|
39767
39790
|
*/
|
|
39768
39791
|
describeEventRuleTargetListWithOptions(request: DescribeEventRuleTargetListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEventRuleTargetListResponse>;
|
|
39769
39792
|
/**
|
|
39770
|
-
* Queries
|
|
39793
|
+
* Queries event-triggered alert rules.
|
|
39771
39794
|
*
|
|
39772
39795
|
* @remarks
|
|
39773
39796
|
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
@@ -41419,6 +41442,7 @@ export default class Client extends OpenApi {
|
|
|
41419
41442
|
*
|
|
41420
41443
|
* @remarks
|
|
41421
41444
|
* 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`.
|
|
41445
|
+
* > 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).
|
|
41422
41446
|
*
|
|
41423
41447
|
* @param tmpReq - PutResourceMetricRuleRequest
|
|
41424
41448
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -41430,6 +41454,7 @@ export default class Client extends OpenApi {
|
|
|
41430
41454
|
*
|
|
41431
41455
|
* @remarks
|
|
41432
41456
|
* 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`.
|
|
41457
|
+
* > 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).
|
|
41433
41458
|
*
|
|
41434
41459
|
* @param request - PutResourceMetricRuleRequest
|
|
41435
41460
|
* @returns PutResourceMetricRuleResponse
|
|
@@ -41440,6 +41465,7 @@ export default class Client extends OpenApi {
|
|
|
41440
41465
|
*
|
|
41441
41466
|
* @remarks
|
|
41442
41467
|
* 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`.
|
|
41468
|
+
* > 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).
|
|
41443
41469
|
*
|
|
41444
41470
|
* @param request - PutResourceMetricRulesRequest
|
|
41445
41471
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -41451,6 +41477,7 @@ export default class Client extends OpenApi {
|
|
|
41451
41477
|
*
|
|
41452
41478
|
* @remarks
|
|
41453
41479
|
* 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`.
|
|
41480
|
+
* > 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).
|
|
41454
41481
|
*
|
|
41455
41482
|
* @param request - PutResourceMetricRulesRequest
|
|
41456
41483
|
* @returns PutResourceMetricRulesResponse
|
package/dist/client.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -18614,6 +18624,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18614
18624
|
expectValue: 'expect_value',
|
|
18615
18625
|
failureRate: 'failure_rate',
|
|
18616
18626
|
header: 'header',
|
|
18627
|
+
hostBinding: 'host_binding',
|
|
18628
|
+
hostBindingType: 'host_binding_type',
|
|
18617
18629
|
httpMethod: 'http_method',
|
|
18618
18630
|
ipNetwork: 'ip_network',
|
|
18619
18631
|
isBase64Encode: 'isBase64Encode',
|
|
@@ -18633,6 +18645,7 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18633
18645
|
responseFormat: 'response_format',
|
|
18634
18646
|
retryDelay: 'retry_delay',
|
|
18635
18647
|
screenShot: 'screen_shot',
|
|
18648
|
+
scrollEnd: 'scroll_end',
|
|
18636
18649
|
strictMode: 'strict_mode',
|
|
18637
18650
|
timeOut: 'time_out',
|
|
18638
18651
|
trafficHijackElementBlacklist: 'traffic_hijack_element_blacklist',
|
|
@@ -18666,6 +18679,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18666
18679
|
expectValue: 'string',
|
|
18667
18680
|
failureRate: 'number',
|
|
18668
18681
|
header: 'string',
|
|
18682
|
+
hostBinding: 'string',
|
|
18683
|
+
hostBindingType: 'number',
|
|
18669
18684
|
httpMethod: 'string',
|
|
18670
18685
|
ipNetwork: 'string',
|
|
18671
18686
|
isBase64Encode: 'string',
|
|
@@ -18685,6 +18700,7 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18685
18700
|
responseFormat: 'string',
|
|
18686
18701
|
retryDelay: 'number',
|
|
18687
18702
|
screenShot: 'boolean',
|
|
18703
|
+
scrollEnd: 'boolean',
|
|
18688
18704
|
strictMode: 'boolean',
|
|
18689
18705
|
timeOut: 'number',
|
|
18690
18706
|
trafficHijackElementBlacklist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist,
|
|
@@ -21663,13 +21679,13 @@ class Client extends openapi_client_1.default {
|
|
|
21663
21679
|
return await this.createHybridMonitorNamespaceWithOptions(request, runtime);
|
|
21664
21680
|
}
|
|
21665
21681
|
/**
|
|
21666
|
-
* Creates a Logstore group
|
|
21682
|
+
* Creates a Logstore group of Hybrid Cloud Monitoring.
|
|
21667
21683
|
*
|
|
21668
21684
|
* @remarks
|
|
21669
|
-
* #
|
|
21685
|
+
* ## [](#)Prerequisites
|
|
21670
21686
|
* 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).
|
|
21671
|
-
* #
|
|
21672
|
-
*
|
|
21687
|
+
* ## [](#)Description
|
|
21688
|
+
* 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.
|
|
21673
21689
|
*
|
|
21674
21690
|
* @param request - CreateHybridMonitorSLSGroupRequest
|
|
21675
21691
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21704,13 +21720,13 @@ class Client extends openapi_client_1.default {
|
|
|
21704
21720
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateHybridMonitorSLSGroupResponse({}));
|
|
21705
21721
|
}
|
|
21706
21722
|
/**
|
|
21707
|
-
* Creates a Logstore group
|
|
21723
|
+
* Creates a Logstore group of Hybrid Cloud Monitoring.
|
|
21708
21724
|
*
|
|
21709
21725
|
* @remarks
|
|
21710
|
-
* #
|
|
21726
|
+
* ## [](#)Prerequisites
|
|
21711
21727
|
* 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).
|
|
21712
|
-
* #
|
|
21713
|
-
*
|
|
21728
|
+
* ## [](#)Description
|
|
21729
|
+
* 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.
|
|
21714
21730
|
*
|
|
21715
21731
|
* @param request - CreateHybridMonitorSLSGroupRequest
|
|
21716
21732
|
* @returns CreateHybridMonitorSLSGroupResponse
|
|
@@ -24507,7 +24523,7 @@ class Client extends openapi_client_1.default {
|
|
|
24507
24523
|
return await this.describeEventRuleListWithOptions(request, runtime);
|
|
24508
24524
|
}
|
|
24509
24525
|
/**
|
|
24510
|
-
* Queries
|
|
24526
|
+
* Queries event-triggered alert rules.
|
|
24511
24527
|
*
|
|
24512
24528
|
* @remarks
|
|
24513
24529
|
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
@@ -24539,7 +24555,7 @@ class Client extends openapi_client_1.default {
|
|
|
24539
24555
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEventRuleTargetListResponse({}));
|
|
24540
24556
|
}
|
|
24541
24557
|
/**
|
|
24542
|
-
* Queries
|
|
24558
|
+
* Queries event-triggered alert rules.
|
|
24543
24559
|
*
|
|
24544
24560
|
* @remarks
|
|
24545
24561
|
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
@@ -29363,6 +29379,7 @@ class Client extends openapi_client_1.default {
|
|
|
29363
29379
|
*
|
|
29364
29380
|
* @remarks
|
|
29365
29381
|
* 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`.
|
|
29382
|
+
* > 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).
|
|
29366
29383
|
*
|
|
29367
29384
|
* @param tmpReq - PutResourceMetricRuleRequest
|
|
29368
29385
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29454,6 +29471,7 @@ class Client extends openapi_client_1.default {
|
|
|
29454
29471
|
*
|
|
29455
29472
|
* @remarks
|
|
29456
29473
|
* 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`.
|
|
29474
|
+
* > 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).
|
|
29457
29475
|
*
|
|
29458
29476
|
* @param request - PutResourceMetricRuleRequest
|
|
29459
29477
|
* @returns PutResourceMetricRuleResponse
|
|
@@ -29467,6 +29485,7 @@ class Client extends openapi_client_1.default {
|
|
|
29467
29485
|
*
|
|
29468
29486
|
* @remarks
|
|
29469
29487
|
* 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`.
|
|
29488
|
+
* > 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).
|
|
29470
29489
|
*
|
|
29471
29490
|
* @param request - PutResourceMetricRulesRequest
|
|
29472
29491
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29499,6 +29518,7 @@ class Client extends openapi_client_1.default {
|
|
|
29499
29518
|
*
|
|
29500
29519
|
* @remarks
|
|
29501
29520
|
* 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`.
|
|
29521
|
+
* > 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).
|
|
29502
29522
|
*
|
|
29503
29523
|
* @param request - PutResourceMetricRulesRequest
|
|
29504
29524
|
* @returns PutResourceMetricRulesResponse
|