@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/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
|
/**
|
|
@@ -33035,6 +33055,16 @@ export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsIspCiti
|
|
|
33035
33055
|
* The carrier name.
|
|
33036
33056
|
*/
|
|
33037
33057
|
ispName?: string;
|
|
33058
|
+
/**
|
|
33059
|
+
* @remarks
|
|
33060
|
+
* 探测点网络类型。取值:
|
|
33061
|
+
* IDC: IDC机房
|
|
33062
|
+
* LASTMILE: 网民家宽
|
|
33063
|
+
* MOBILE: 移动蜂窝网
|
|
33064
|
+
*
|
|
33065
|
+
* @example
|
|
33066
|
+
* IDC
|
|
33067
|
+
*/
|
|
33038
33068
|
type?: string;
|
|
33039
33069
|
static names(): {
|
|
33040
33070
|
[key: string]: string;
|
|
@@ -33362,6 +33392,8 @@ export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJ
|
|
|
33362
33392
|
* testKey:testValue
|
|
33363
33393
|
*/
|
|
33364
33394
|
header?: string;
|
|
33395
|
+
hostBinding?: string;
|
|
33396
|
+
hostBindingType?: number;
|
|
33365
33397
|
/**
|
|
33366
33398
|
* @remarks
|
|
33367
33399
|
* The HTTP request method. Valid values:
|
|
@@ -33508,7 +33540,15 @@ export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJ
|
|
|
33508
33540
|
* 0
|
|
33509
33541
|
*/
|
|
33510
33542
|
retryDelay?: number;
|
|
33543
|
+
/**
|
|
33544
|
+
* @remarks
|
|
33545
|
+
* 是否开启页面截图
|
|
33546
|
+
*
|
|
33547
|
+
* @example
|
|
33548
|
+
* false
|
|
33549
|
+
*/
|
|
33511
33550
|
screenShot?: boolean;
|
|
33551
|
+
scrollEnd?: boolean;
|
|
33512
33552
|
/**
|
|
33513
33553
|
* @example
|
|
33514
33554
|
* false
|
|
@@ -33553,9 +33593,28 @@ export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJ
|
|
|
33553
33593
|
});
|
|
33554
33594
|
}
|
|
33555
33595
|
export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsVpcConfig extends $tea.Model {
|
|
33596
|
+
/**
|
|
33597
|
+
* @remarks
|
|
33598
|
+
* 内网拨测任务的目标站点所在地域。
|
|
33599
|
+
*
|
|
33600
|
+
* @example
|
|
33601
|
+
* cn-beijing
|
|
33602
|
+
*/
|
|
33556
33603
|
region?: string;
|
|
33604
|
+
/**
|
|
33605
|
+
* @example
|
|
33606
|
+
* sg-xxxxxx
|
|
33607
|
+
*/
|
|
33557
33608
|
securityGroupId?: string;
|
|
33609
|
+
/**
|
|
33610
|
+
* @example
|
|
33611
|
+
* vpc-xxxxxx
|
|
33612
|
+
*/
|
|
33558
33613
|
vpcId?: string;
|
|
33614
|
+
/**
|
|
33615
|
+
* @example
|
|
33616
|
+
* vsw-xxxxxx
|
|
33617
|
+
*/
|
|
33559
33618
|
vswitchId?: string;
|
|
33560
33619
|
static names(): {
|
|
33561
33620
|
[key: string]: string;
|
|
@@ -35281,13 +35340,13 @@ export declare class ModifyHostAvailabilityRequestAlertConfigTargetList extends
|
|
|
35281
35340
|
*
|
|
35282
35341
|
* Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`. Example: `acs:mns:cn-hangzhou:120886317861****:/queues/test123/message`. Fields:
|
|
35283
35342
|
*
|
|
35284
|
-
* * {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).
|
|
35285
35344
|
*
|
|
35286
35345
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
35287
35346
|
*
|
|
35288
|
-
* * {regionId}: the region ID of the
|
|
35347
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
35289
35348
|
*
|
|
35290
|
-
* * {Resource type}: the type of the resource
|
|
35349
|
+
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
|
35291
35350
|
*
|
|
35292
35351
|
* * **queues**
|
|
35293
35352
|
* * **topics**
|
|
@@ -36266,9 +36325,9 @@ export declare class PutEventRuleTargetsRequestContactParameters extends $tea.Mo
|
|
|
36266
36325
|
id?: string;
|
|
36267
36326
|
/**
|
|
36268
36327
|
* @remarks
|
|
36269
|
-
* The alert
|
|
36328
|
+
* The alert notification methods. Valid values of N: 1 to 5. Valid values:
|
|
36270
36329
|
*
|
|
36271
|
-
* 4: Alert notifications are sent by using DingTalk
|
|
36330
|
+
* 4: Alert notifications are sent by using DingTalk and emails.
|
|
36272
36331
|
*
|
|
36273
36332
|
* @example
|
|
36274
36333
|
* 3
|
|
@@ -36338,7 +36397,7 @@ export declare class PutEventRuleTargetsRequestMnsParameters extends $tea.Model
|
|
|
36338
36397
|
id?: string;
|
|
36339
36398
|
/**
|
|
36340
36399
|
* @remarks
|
|
36341
|
-
* The name of the
|
|
36400
|
+
* The name of the SMQ queue. Valid values of N: 1 to 5.
|
|
36342
36401
|
*
|
|
36343
36402
|
* @example
|
|
36344
36403
|
* queue1
|
|
@@ -36346,7 +36405,7 @@ export declare class PutEventRuleTargetsRequestMnsParameters extends $tea.Model
|
|
|
36346
36405
|
queue?: string;
|
|
36347
36406
|
/**
|
|
36348
36407
|
* @remarks
|
|
36349
|
-
* The region
|
|
36408
|
+
* The region for SMQ. Valid values of N: 1 to 5.
|
|
36350
36409
|
*
|
|
36351
36410
|
* @example
|
|
36352
36411
|
* cn-hangzhou
|
|
@@ -36354,7 +36413,7 @@ export declare class PutEventRuleTargetsRequestMnsParameters extends $tea.Model
|
|
|
36354
36413
|
region?: string;
|
|
36355
36414
|
/**
|
|
36356
36415
|
* @remarks
|
|
36357
|
-
* The
|
|
36416
|
+
* The SMQ topic.
|
|
36358
36417
|
*
|
|
36359
36418
|
* @example
|
|
36360
36419
|
* topic_sample
|
|
@@ -36556,9 +36615,9 @@ export declare class PutEventRuleTargetsResponseBodyFailedContactParametersConta
|
|
|
36556
36615
|
id?: number;
|
|
36557
36616
|
/**
|
|
36558
36617
|
* @remarks
|
|
36559
|
-
* The alert
|
|
36618
|
+
* The alert notification methods. Valid values:
|
|
36560
36619
|
*
|
|
36561
|
-
* 4: Alert notifications are sent by using DingTalk
|
|
36620
|
+
* 4: Alert notifications are sent by using DingTalk and emails.
|
|
36562
36621
|
*
|
|
36563
36622
|
* @example
|
|
36564
36623
|
* 3
|
|
@@ -37166,13 +37225,13 @@ export declare class PutLogMonitorRequestValueFilter extends $tea.Model {
|
|
|
37166
37225
|
export declare class PutMetricRuleTargetsRequestTargets extends $tea.Model {
|
|
37167
37226
|
/**
|
|
37168
37227
|
* @remarks
|
|
37169
|
-
* 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.
|
|
37170
37229
|
*
|
|
37171
|
-
* The following part describes the ARN of
|
|
37230
|
+
* The following part describes the ARN of SMQ and the parameters in the ARN:
|
|
37172
37231
|
*
|
|
37173
37232
|
* `acs:mns:{regionId}:{userId}:/{Resource type}/{Resource name}/message`.
|
|
37174
37233
|
*
|
|
37175
|
-
* * {regionId}: the region ID of the
|
|
37234
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
37176
37235
|
*
|
|
37177
37236
|
* * {userId}: the ID of the Alibaba Cloud account that owns the resource.
|
|
37178
37237
|
*
|
|
@@ -37218,7 +37277,7 @@ export declare class PutMetricRuleTargetsRequestTargets extends $tea.Model {
|
|
|
37218
37277
|
id?: string;
|
|
37219
37278
|
/**
|
|
37220
37279
|
* @remarks
|
|
37221
|
-
* The
|
|
37280
|
+
* The parameters of the alert callback. The parameters are in the JSON format.
|
|
37222
37281
|
*
|
|
37223
37282
|
* @example
|
|
37224
37283
|
* {"customField1":"value1","customField2":"$.name"}
|
|
@@ -37249,13 +37308,13 @@ export declare class PutMetricRuleTargetsRequestTargets extends $tea.Model {
|
|
|
37249
37308
|
export declare class PutMetricRuleTargetsResponseBodyFailDataTargetsTarget extends $tea.Model {
|
|
37250
37309
|
/**
|
|
37251
37310
|
* @remarks
|
|
37252
|
-
* 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:
|
|
37253
37312
|
*
|
|
37254
37313
|
* * {Service name abbreviation}: mns.
|
|
37255
37314
|
*
|
|
37256
37315
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
37257
37316
|
*
|
|
37258
|
-
* * {regionId}: the region ID of the
|
|
37317
|
+
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
37259
37318
|
*
|
|
37260
37319
|
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
|
37261
37320
|
*
|
|
@@ -38725,13 +38784,13 @@ export default class Client extends OpenApi {
|
|
|
38725
38784
|
*/
|
|
38726
38785
|
createHybridMonitorNamespace(request: CreateHybridMonitorNamespaceRequest): Promise<CreateHybridMonitorNamespaceResponse>;
|
|
38727
38786
|
/**
|
|
38728
|
-
* Creates a Logstore group
|
|
38787
|
+
* Creates a Logstore group of Hybrid Cloud Monitoring.
|
|
38729
38788
|
*
|
|
38730
38789
|
* @remarks
|
|
38731
|
-
* #
|
|
38790
|
+
* ## [](#)Prerequisites
|
|
38732
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).
|
|
38733
|
-
* #
|
|
38734
|
-
*
|
|
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.
|
|
38735
38794
|
*
|
|
38736
38795
|
* @param request - CreateHybridMonitorSLSGroupRequest
|
|
38737
38796
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -38739,13 +38798,13 @@ export default class Client extends OpenApi {
|
|
|
38739
38798
|
*/
|
|
38740
38799
|
createHybridMonitorSLSGroupWithOptions(request: CreateHybridMonitorSLSGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateHybridMonitorSLSGroupResponse>;
|
|
38741
38800
|
/**
|
|
38742
|
-
* Creates a Logstore group
|
|
38801
|
+
* Creates a Logstore group of Hybrid Cloud Monitoring.
|
|
38743
38802
|
*
|
|
38744
38803
|
* @remarks
|
|
38745
|
-
* #
|
|
38804
|
+
* ## [](#)Prerequisites
|
|
38746
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).
|
|
38747
|
-
* #
|
|
38748
|
-
*
|
|
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.
|
|
38749
38808
|
*
|
|
38750
38809
|
* @param request - CreateHybridMonitorSLSGroupRequest
|
|
38751
38810
|
* @returns CreateHybridMonitorSLSGroupResponse
|
|
@@ -39720,7 +39779,7 @@ export default class Client extends OpenApi {
|
|
|
39720
39779
|
*/
|
|
39721
39780
|
describeEventRuleList(request: DescribeEventRuleListRequest): Promise<DescribeEventRuleListResponse>;
|
|
39722
39781
|
/**
|
|
39723
|
-
* Queries
|
|
39782
|
+
* Queries event-triggered alert rules.
|
|
39724
39783
|
*
|
|
39725
39784
|
* @remarks
|
|
39726
39785
|
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
@@ -39731,7 +39790,7 @@ export default class Client extends OpenApi {
|
|
|
39731
39790
|
*/
|
|
39732
39791
|
describeEventRuleTargetListWithOptions(request: DescribeEventRuleTargetListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEventRuleTargetListResponse>;
|
|
39733
39792
|
/**
|
|
39734
|
-
* Queries
|
|
39793
|
+
* Queries event-triggered alert rules.
|
|
39735
39794
|
*
|
|
39736
39795
|
* @remarks
|
|
39737
39796
|
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
@@ -41383,6 +41442,7 @@ export default class Client extends OpenApi {
|
|
|
41383
41442
|
*
|
|
41384
41443
|
* @remarks
|
|
41385
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).
|
|
41386
41446
|
*
|
|
41387
41447
|
* @param tmpReq - PutResourceMetricRuleRequest
|
|
41388
41448
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -41394,6 +41454,7 @@ export default class Client extends OpenApi {
|
|
|
41394
41454
|
*
|
|
41395
41455
|
* @remarks
|
|
41396
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).
|
|
41397
41458
|
*
|
|
41398
41459
|
* @param request - PutResourceMetricRuleRequest
|
|
41399
41460
|
* @returns PutResourceMetricRuleResponse
|
|
@@ -41404,6 +41465,7 @@ export default class Client extends OpenApi {
|
|
|
41404
41465
|
*
|
|
41405
41466
|
* @remarks
|
|
41406
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).
|
|
41407
41469
|
*
|
|
41408
41470
|
* @param request - PutResourceMetricRulesRequest
|
|
41409
41471
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -41415,6 +41477,7 @@ export default class Client extends OpenApi {
|
|
|
41415
41477
|
*
|
|
41416
41478
|
* @remarks
|
|
41417
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).
|
|
41418
41481
|
*
|
|
41419
41482
|
* @param request - PutResourceMetricRulesRequest
|
|
41420
41483
|
* @returns PutResourceMetricRulesResponse
|