@alicloud/cms20190101 2.0.8 → 2.0.10
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 +184 -174
- package/dist/client.js +213 -174
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +236 -174
package/dist/client.d.ts
CHANGED
|
@@ -853,6 +853,8 @@ export declare class CreateHostAvailabilityResponse extends $tea.Model {
|
|
|
853
853
|
export declare class CreateHybridMonitorNamespaceRequest extends $tea.Model {
|
|
854
854
|
description?: string;
|
|
855
855
|
namespace?: string;
|
|
856
|
+
namespaceRegion?: string;
|
|
857
|
+
namespaceType?: string;
|
|
856
858
|
regionId?: string;
|
|
857
859
|
spec?: string;
|
|
858
860
|
static names(): {
|
|
@@ -2998,6 +3000,7 @@ export declare class DescribeAlertLogListResponse extends $tea.Model {
|
|
|
2998
3000
|
});
|
|
2999
3001
|
}
|
|
3000
3002
|
export declare class DescribeAlertingMetricRuleResourcesRequest extends $tea.Model {
|
|
3003
|
+
alertBeforeTime?: string;
|
|
3001
3004
|
dimensions?: string;
|
|
3002
3005
|
groupId?: string;
|
|
3003
3006
|
namespace?: string;
|
|
@@ -8320,6 +8323,7 @@ export declare class EscalationRuleEscalationsContactGroupsByLevel extends $tea.
|
|
|
8320
8323
|
});
|
|
8321
8324
|
}
|
|
8322
8325
|
export declare class EscalationRuleEscalations extends $tea.Model {
|
|
8326
|
+
backupContactGroups?: string[];
|
|
8323
8327
|
contactGroups?: string[];
|
|
8324
8328
|
contactGroupsByLevel?: EscalationRuleEscalationsContactGroupsByLevel;
|
|
8325
8329
|
escalateMin?: number;
|
|
@@ -11201,6 +11205,8 @@ export declare class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybri
|
|
|
11201
11205
|
});
|
|
11202
11206
|
}
|
|
11203
11207
|
export declare class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybridMonitorNamespaceDetail extends $tea.Model {
|
|
11208
|
+
namespaceRegion?: string;
|
|
11209
|
+
SLSProject?: string;
|
|
11204
11210
|
spec?: string;
|
|
11205
11211
|
static names(): {
|
|
11206
11212
|
[key: string]: string;
|
|
@@ -11221,6 +11227,7 @@ export declare class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybri
|
|
|
11221
11227
|
isDelete?: number;
|
|
11222
11228
|
modifyTime?: string;
|
|
11223
11229
|
namespace?: string;
|
|
11230
|
+
namespaceType?: string;
|
|
11224
11231
|
notAliyunTaskNumber?: number;
|
|
11225
11232
|
static names(): {
|
|
11226
11233
|
[key: string]: string;
|
|
@@ -12454,6 +12461,20 @@ export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQu
|
|
|
12454
12461
|
[key: string]: any;
|
|
12455
12462
|
});
|
|
12456
12463
|
}
|
|
12464
|
+
export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorBrowser extends $tea.Model {
|
|
12465
|
+
quotaLimit?: number;
|
|
12466
|
+
quotaPackage?: number;
|
|
12467
|
+
quotaUsed?: number;
|
|
12468
|
+
static names(): {
|
|
12469
|
+
[key: string]: string;
|
|
12470
|
+
};
|
|
12471
|
+
static types(): {
|
|
12472
|
+
[key: string]: any;
|
|
12473
|
+
};
|
|
12474
|
+
constructor(map?: {
|
|
12475
|
+
[key: string]: any;
|
|
12476
|
+
});
|
|
12477
|
+
}
|
|
12457
12478
|
export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorEcsProbe extends $tea.Model {
|
|
12458
12479
|
quotaLimit?: number;
|
|
12459
12480
|
quotaPackage?: number;
|
|
@@ -12468,6 +12489,20 @@ export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQu
|
|
|
12468
12489
|
[key: string]: any;
|
|
12469
12490
|
});
|
|
12470
12491
|
}
|
|
12492
|
+
export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorMobile extends $tea.Model {
|
|
12493
|
+
quotaLimit?: number;
|
|
12494
|
+
quotaPackage?: number;
|
|
12495
|
+
quotaUsed?: number;
|
|
12496
|
+
static names(): {
|
|
12497
|
+
[key: string]: string;
|
|
12498
|
+
};
|
|
12499
|
+
static types(): {
|
|
12500
|
+
[key: string]: any;
|
|
12501
|
+
};
|
|
12502
|
+
constructor(map?: {
|
|
12503
|
+
[key: string]: any;
|
|
12504
|
+
});
|
|
12505
|
+
}
|
|
12471
12506
|
export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorOperatorProbe extends $tea.Model {
|
|
12472
12507
|
quotaLimit?: number;
|
|
12473
12508
|
quotaPackage?: number;
|
|
@@ -12506,7 +12541,9 @@ export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQu
|
|
|
12506
12541
|
logMonitor?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaLogMonitor;
|
|
12507
12542
|
phone?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaPhone;
|
|
12508
12543
|
SMS?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSMS;
|
|
12544
|
+
siteMonitorBrowser?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorBrowser;
|
|
12509
12545
|
siteMonitorEcsProbe?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorEcsProbe;
|
|
12546
|
+
siteMonitorMobile?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorMobile;
|
|
12510
12547
|
siteMonitorOperatorProbe?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorOperatorProbe;
|
|
12511
12548
|
siteMonitorTask?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorTask;
|
|
12512
12549
|
suitInfo?: string;
|
|
@@ -12630,7 +12667,9 @@ export declare class DescribeProductResourceTagKeyListResponseBodyTagKeys extend
|
|
|
12630
12667
|
});
|
|
12631
12668
|
}
|
|
12632
12669
|
export declare class DescribeProductsOfActiveMetricRuleResponseBodyAllProductInitMetricRuleListAllProductInitMetricRuleAlertInitConfigListAlertInitConfig extends $tea.Model {
|
|
12670
|
+
comparisonOperator?: string;
|
|
12633
12671
|
evaluationCount?: string;
|
|
12672
|
+
level?: string;
|
|
12634
12673
|
metricName?: string;
|
|
12635
12674
|
namespace?: string;
|
|
12636
12675
|
period?: string;
|
|
@@ -14609,8 +14648,7 @@ export default class Client extends OpenApi {
|
|
|
14609
14648
|
*/
|
|
14610
14649
|
addTags(request: AddTagsRequest): Promise<AddTagsResponse>;
|
|
14611
14650
|
/**
|
|
14612
|
-
*
|
|
14613
|
-
* For more information about how to query the ID of an application group, see [DescribeMonitorGroups](~~115032~~).
|
|
14651
|
+
* In this example, the `700****` alert template is applied to the `123456` application group. For the generated alert rule, the ID is `applyTemplate8ab74c6b-9f27-47ab-8841-de01dc08****`, and the name is `test123`.
|
|
14614
14652
|
*
|
|
14615
14653
|
* @param request ApplyMetricRuleTemplateRequest
|
|
14616
14654
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14618,15 +14656,14 @@ export default class Client extends OpenApi {
|
|
|
14618
14656
|
*/
|
|
14619
14657
|
applyMetricRuleTemplateWithOptions(request: ApplyMetricRuleTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ApplyMetricRuleTemplateResponse>;
|
|
14620
14658
|
/**
|
|
14621
|
-
*
|
|
14622
|
-
* For more information about how to query the ID of an application group, see [DescribeMonitorGroups](~~115032~~).
|
|
14659
|
+
* In this example, the `700****` alert template is applied to the `123456` application group. For the generated alert rule, the ID is `applyTemplate8ab74c6b-9f27-47ab-8841-de01dc08****`, and the name is `test123`.
|
|
14623
14660
|
*
|
|
14624
14661
|
* @param request ApplyMetricRuleTemplateRequest
|
|
14625
14662
|
* @return ApplyMetricRuleTemplateResponse
|
|
14626
14663
|
*/
|
|
14627
14664
|
applyMetricRuleTemplate(request: ApplyMetricRuleTemplateRequest): Promise<ApplyMetricRuleTemplateResponse>;
|
|
14628
14665
|
/**
|
|
14629
|
-
*
|
|
14666
|
+
* This topic provides an example on how to create a site monitoring task named `HangZhou_ECS1`. The URL that is monitored by the task is `https://www.aliyun.com` and the type of the task is `HTTP`. The returned result shows that the site monitoring task is created. The name of the site monitoring task is `HangZhou_ECS1` and the task ID is `679fbe4f-b80b-4706-91b2-5427b43e****`.
|
|
14630
14667
|
*
|
|
14631
14668
|
* @param request BatchCreateInstantSiteMonitorRequest
|
|
14632
14669
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14634,7 +14671,7 @@ export default class Client extends OpenApi {
|
|
|
14634
14671
|
*/
|
|
14635
14672
|
batchCreateInstantSiteMonitorWithOptions(request: BatchCreateInstantSiteMonitorRequest, runtime: $Util.RuntimeOptions): Promise<BatchCreateInstantSiteMonitorResponse>;
|
|
14636
14673
|
/**
|
|
14637
|
-
*
|
|
14674
|
+
* This topic provides an example on how to create a site monitoring task named `HangZhou_ECS1`. The URL that is monitored by the task is `https://www.aliyun.com` and the type of the task is `HTTP`. The returned result shows that the site monitoring task is created. The name of the site monitoring task is `HangZhou_ECS1` and the task ID is `679fbe4f-b80b-4706-91b2-5427b43e****`.
|
|
14638
14675
|
*
|
|
14639
14676
|
* @param request BatchCreateInstantSiteMonitorRequest
|
|
14640
14677
|
* @return BatchCreateInstantSiteMonitorResponse
|
|
@@ -14683,9 +14720,8 @@ export default class Client extends OpenApi {
|
|
|
14683
14720
|
createCmsSmspackageOrderWithOptions(request: CreateCmsSmspackageOrderRequest, runtime: $Util.RuntimeOptions): Promise<CreateCmsSmspackageOrderResponse>;
|
|
14684
14721
|
createCmsSmspackageOrder(request: CreateCmsSmspackageOrderRequest): Promise<CreateCmsSmspackageOrderResponse>;
|
|
14685
14722
|
/**
|
|
14686
|
-
*
|
|
14687
|
-
*
|
|
14688
|
-
* * false (default value): The application group does not automatically subscribe to event notifications.
|
|
14723
|
+
* This operation is available for Elastic Compute Service (ECS), ApsaraDB RDS, and Server Load Balancer (SLB).
|
|
14724
|
+
* This topic provides an example to show how to create an application group for resources whose tag key is `ecs_instance`. In this example, the alert contact group of the application group is `ECS_Group`.
|
|
14689
14725
|
*
|
|
14690
14726
|
* @param request CreateDynamicTagGroupRequest
|
|
14691
14727
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14693,16 +14729,15 @@ export default class Client extends OpenApi {
|
|
|
14693
14729
|
*/
|
|
14694
14730
|
createDynamicTagGroupWithOptions(request: CreateDynamicTagGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateDynamicTagGroupResponse>;
|
|
14695
14731
|
/**
|
|
14696
|
-
*
|
|
14697
|
-
*
|
|
14698
|
-
* * false (default value): The application group does not automatically subscribe to event notifications.
|
|
14732
|
+
* This operation is available for Elastic Compute Service (ECS), ApsaraDB RDS, and Server Load Balancer (SLB).
|
|
14733
|
+
* This topic provides an example to show how to create an application group for resources whose tag key is `ecs_instance`. In this example, the alert contact group of the application group is `ECS_Group`.
|
|
14699
14734
|
*
|
|
14700
14735
|
* @param request CreateDynamicTagGroupRequest
|
|
14701
14736
|
* @return CreateDynamicTagGroupResponse
|
|
14702
14737
|
*/
|
|
14703
14738
|
createDynamicTagGroup(request: CreateDynamicTagGroupRequest): Promise<CreateDynamicTagGroupResponse>;
|
|
14704
14739
|
/**
|
|
14705
|
-
* The
|
|
14740
|
+
* This topic provides an example to show how to create an alert rule for the `cpu_total` metric of Elastic Compute Service (ECS) in the `123456` application group. The ID of the alert rule is `456789`. The name of the alert rule is `ECS_Rule1`. The alert level is `Critical`. The statistical method is `Average`. The comparison operator is `GreaterThanOrEqualToThreshold`. The alert threshold is `90`. The number of alert retries is `3`. The response shows that the alert rule named `ECS_Rule1` is created.
|
|
14706
14741
|
*
|
|
14707
14742
|
* @param request CreateGroupMetricRulesRequest
|
|
14708
14743
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14710,7 +14745,7 @@ export default class Client extends OpenApi {
|
|
|
14710
14745
|
*/
|
|
14711
14746
|
createGroupMetricRulesWithOptions(request: CreateGroupMetricRulesRequest, runtime: $Util.RuntimeOptions): Promise<CreateGroupMetricRulesResponse>;
|
|
14712
14747
|
/**
|
|
14713
|
-
* The
|
|
14748
|
+
* This topic provides an example to show how to create an alert rule for the `cpu_total` metric of Elastic Compute Service (ECS) in the `123456` application group. The ID of the alert rule is `456789`. The name of the alert rule is `ECS_Rule1`. The alert level is `Critical`. The statistical method is `Average`. The comparison operator is `GreaterThanOrEqualToThreshold`. The alert threshold is `90`. The number of alert retries is `3`. The response shows that the alert rule named `ECS_Rule1` is created.
|
|
14714
14749
|
*
|
|
14715
14750
|
* @param request CreateGroupMetricRulesRequest
|
|
14716
14751
|
* @return CreateGroupMetricRulesResponse
|
|
@@ -14734,9 +14769,8 @@ export default class Client extends OpenApi {
|
|
|
14734
14769
|
*/
|
|
14735
14770
|
createHostAvailability(request: CreateHostAvailabilityRequest): Promise<CreateHostAvailabilityResponse>;
|
|
14736
14771
|
/**
|
|
14737
|
-
*
|
|
14738
|
-
*
|
|
14739
|
-
* * false: The call failed.
|
|
14772
|
+
* ## Prerequisites
|
|
14773
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14740
14774
|
*
|
|
14741
14775
|
* @param request CreateHybridMonitorNamespaceRequest
|
|
14742
14776
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14744,17 +14778,18 @@ export default class Client extends OpenApi {
|
|
|
14744
14778
|
*/
|
|
14745
14779
|
createHybridMonitorNamespaceWithOptions(request: CreateHybridMonitorNamespaceRequest, runtime: $Util.RuntimeOptions): Promise<CreateHybridMonitorNamespaceResponse>;
|
|
14746
14780
|
/**
|
|
14747
|
-
*
|
|
14748
|
-
*
|
|
14749
|
-
* * false: The call failed.
|
|
14781
|
+
* ## Prerequisites
|
|
14782
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14750
14783
|
*
|
|
14751
14784
|
* @param request CreateHybridMonitorNamespaceRequest
|
|
14752
14785
|
* @return CreateHybridMonitorNamespaceResponse
|
|
14753
14786
|
*/
|
|
14754
14787
|
createHybridMonitorNamespace(request: CreateHybridMonitorNamespaceRequest): Promise<CreateHybridMonitorNamespaceResponse>;
|
|
14755
14788
|
/**
|
|
14756
|
-
*
|
|
14757
|
-
*
|
|
14789
|
+
* # Prerequisites
|
|
14790
|
+
* Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](~~54604~~).
|
|
14791
|
+
* # Description
|
|
14792
|
+
* In this example, a Logstore group named `Logstore_test` is created. 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.
|
|
14758
14793
|
*
|
|
14759
14794
|
* @param request CreateHybridMonitorSLSGroupRequest
|
|
14760
14795
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14762,15 +14797,19 @@ export default class Client extends OpenApi {
|
|
|
14762
14797
|
*/
|
|
14763
14798
|
createHybridMonitorSLSGroupWithOptions(request: CreateHybridMonitorSLSGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateHybridMonitorSLSGroupResponse>;
|
|
14764
14799
|
/**
|
|
14765
|
-
*
|
|
14766
|
-
*
|
|
14800
|
+
* # Prerequisites
|
|
14801
|
+
* Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](~~54604~~).
|
|
14802
|
+
* # Description
|
|
14803
|
+
* In this example, a Logstore group named `Logstore_test` is created. 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.
|
|
14767
14804
|
*
|
|
14768
14805
|
* @param request CreateHybridMonitorSLSGroupRequest
|
|
14769
14806
|
* @return CreateHybridMonitorSLSGroupResponse
|
|
14770
14807
|
*/
|
|
14771
14808
|
createHybridMonitorSLSGroup(request: CreateHybridMonitorSLSGroupRequest): Promise<CreateHybridMonitorSLSGroupResponse>;
|
|
14772
14809
|
/**
|
|
14773
|
-
*
|
|
14810
|
+
* ## Prerequisites
|
|
14811
|
+
* * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14812
|
+
* * If you want to create a metric for logs imported from Log Service, make sure that you have activated Log Service and created a project and a Logstore. For more information, see [Getting Started](~~54604~~).
|
|
14774
14813
|
*
|
|
14775
14814
|
* @param request CreateHybridMonitorTaskRequest
|
|
14776
14815
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14778,7 +14817,9 @@ export default class Client extends OpenApi {
|
|
|
14778
14817
|
*/
|
|
14779
14818
|
createHybridMonitorTaskWithOptions(request: CreateHybridMonitorTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateHybridMonitorTaskResponse>;
|
|
14780
14819
|
/**
|
|
14781
|
-
*
|
|
14820
|
+
* ## Prerequisites
|
|
14821
|
+
* * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14822
|
+
* * If you want to create a metric for logs imported from Log Service, make sure that you have activated Log Service and created a project and a Logstore. For more information, see [Getting Started](~~54604~~).
|
|
14782
14823
|
*
|
|
14783
14824
|
* @param request CreateHybridMonitorTaskRequest
|
|
14784
14825
|
* @return CreateHybridMonitorTaskResponse
|
|
@@ -14827,7 +14868,7 @@ export default class Client extends OpenApi {
|
|
|
14827
14868
|
createMonitorAgentProcessWithOptions(request: CreateMonitorAgentProcessRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorAgentProcessResponse>;
|
|
14828
14869
|
createMonitorAgentProcess(request: CreateMonitorAgentProcessRequest): Promise<CreateMonitorAgentProcessResponse>;
|
|
14829
14870
|
/**
|
|
14830
|
-
*
|
|
14871
|
+
* In this example, the application group named `ECS_Group` is created.
|
|
14831
14872
|
*
|
|
14832
14873
|
* @param request CreateMonitorGroupRequest
|
|
14833
14874
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14835,7 +14876,7 @@ export default class Client extends OpenApi {
|
|
|
14835
14876
|
*/
|
|
14836
14877
|
createMonitorGroupWithOptions(request: CreateMonitorGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorGroupResponse>;
|
|
14837
14878
|
/**
|
|
14838
|
-
*
|
|
14879
|
+
* In this example, the application group named `ECS_Group` is created.
|
|
14839
14880
|
*
|
|
14840
14881
|
* @param request CreateMonitorGroupRequest
|
|
14841
14882
|
* @return CreateMonitorGroupResponse
|
|
@@ -14857,8 +14898,8 @@ export default class Client extends OpenApi {
|
|
|
14857
14898
|
*/
|
|
14858
14899
|
createMonitorGroupByResourceGroupId(request: CreateMonitorGroupByResourceGroupIdRequest): Promise<CreateMonitorGroupByResourceGroupIdResponse>;
|
|
14859
14900
|
/**
|
|
14860
|
-
*
|
|
14861
|
-
*
|
|
14901
|
+
* You can add a maximum of 1,000 instances to an application group at a time. You can add a maximum of 3,000 instances of an Alibaba Cloud service to an application group. The total number of instances that you can add to an application group is unlimited.
|
|
14902
|
+
* In this example, an Elastic Compute Service (ECS) instance in the `China (Hangzhou)` region is added to the `3607****` application group. The instance ID is `i-2ze26xj5wwy12****` and the instance name is `test-instance-ecs`.
|
|
14862
14903
|
*
|
|
14863
14904
|
* @param request CreateMonitorGroupInstancesRequest
|
|
14864
14905
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14866,15 +14907,16 @@ export default class Client extends OpenApi {
|
|
|
14866
14907
|
*/
|
|
14867
14908
|
createMonitorGroupInstancesWithOptions(request: CreateMonitorGroupInstancesRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorGroupInstancesResponse>;
|
|
14868
14909
|
/**
|
|
14869
|
-
*
|
|
14870
|
-
*
|
|
14910
|
+
* You can add a maximum of 1,000 instances to an application group at a time. You can add a maximum of 3,000 instances of an Alibaba Cloud service to an application group. The total number of instances that you can add to an application group is unlimited.
|
|
14911
|
+
* In this example, an Elastic Compute Service (ECS) instance in the `China (Hangzhou)` region is added to the `3607****` application group. The instance ID is `i-2ze26xj5wwy12****` and the instance name is `test-instance-ecs`.
|
|
14871
14912
|
*
|
|
14872
14913
|
* @param request CreateMonitorGroupInstancesRequest
|
|
14873
14914
|
* @return CreateMonitorGroupInstancesResponse
|
|
14874
14915
|
*/
|
|
14875
14916
|
createMonitorGroupInstances(request: CreateMonitorGroupInstancesRequest): Promise<CreateMonitorGroupInstancesResponse>;
|
|
14876
14917
|
/**
|
|
14877
|
-
*
|
|
14918
|
+
* If the policy is valid, no alert notifications are sent for the application group.
|
|
14919
|
+
* This topic describes how to create the `PauseNotify` policy to pause alert notifications for the `7301****` application group. The StartTime parameter is set to `1622949300000` and the EndTime parameter is set to `1623208500000`. This indicates that the policy is valid from `2021-06-06 11:15:00 UTC+8` to `2021-06-09 11:15:00 UTC+8`.
|
|
14878
14920
|
*
|
|
14879
14921
|
* @param request CreateMonitorGroupNotifyPolicyRequest
|
|
14880
14922
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14882,7 +14924,8 @@ export default class Client extends OpenApi {
|
|
|
14882
14924
|
*/
|
|
14883
14925
|
createMonitorGroupNotifyPolicyWithOptions(request: CreateMonitorGroupNotifyPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorGroupNotifyPolicyResponse>;
|
|
14884
14926
|
/**
|
|
14885
|
-
*
|
|
14927
|
+
* If the policy is valid, no alert notifications are sent for the application group.
|
|
14928
|
+
* This topic describes how to create the `PauseNotify` policy to pause alert notifications for the `7301****` application group. The StartTime parameter is set to `1622949300000` and the EndTime parameter is set to `1623208500000`. This indicates that the policy is valid from `2021-06-06 11:15:00 UTC+8` to `2021-06-09 11:15:00 UTC+8`.
|
|
14886
14929
|
*
|
|
14887
14930
|
* @param request CreateMonitorGroupNotifyPolicyRequest
|
|
14888
14931
|
* @return CreateMonitorGroupNotifyPolicyResponse
|
|
@@ -14951,9 +14994,8 @@ export default class Client extends OpenApi {
|
|
|
14951
14994
|
deleteHostAvailabilityWithOptions(request: DeleteHostAvailabilityRequest, runtime: $Util.RuntimeOptions): Promise<DeleteHostAvailabilityResponse>;
|
|
14952
14995
|
deleteHostAvailability(request: DeleteHostAvailabilityRequest): Promise<DeleteHostAvailabilityResponse>;
|
|
14953
14996
|
/**
|
|
14954
|
-
*
|
|
14955
|
-
*
|
|
14956
|
-
* * false: The call failed.
|
|
14997
|
+
* > If a metric import task is created for metrics in a namespace, you cannot delete the namespace unless you delete the task first.
|
|
14998
|
+
* This topic provides an example on how to delete a namespace named `aliyun`. The response shows that the namespace is deleted.
|
|
14957
14999
|
*
|
|
14958
15000
|
* @param request DeleteHybridMonitorNamespaceRequest
|
|
14959
15001
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14961,9 +15003,8 @@ export default class Client extends OpenApi {
|
|
|
14961
15003
|
*/
|
|
14962
15004
|
deleteHybridMonitorNamespaceWithOptions(request: DeleteHybridMonitorNamespaceRequest, runtime: $Util.RuntimeOptions): Promise<DeleteHybridMonitorNamespaceResponse>;
|
|
14963
15005
|
/**
|
|
14964
|
-
*
|
|
14965
|
-
*
|
|
14966
|
-
* * false: The call failed.
|
|
15006
|
+
* > If a metric import task is created for metrics in a namespace, you cannot delete the namespace unless you delete the task first.
|
|
15007
|
+
* This topic provides an example on how to delete a namespace named `aliyun`. The response shows that the namespace is deleted.
|
|
14967
15008
|
*
|
|
14968
15009
|
* @param request DeleteHybridMonitorNamespaceRequest
|
|
14969
15010
|
* @return DeleteHybridMonitorNamespaceResponse
|
|
@@ -15073,9 +15114,7 @@ export default class Client extends OpenApi {
|
|
|
15073
15114
|
*/
|
|
15074
15115
|
describeAlertLogHistogram(request: DescribeAlertLogHistogramRequest): Promise<DescribeAlertLogHistogramResponse>;
|
|
15075
15116
|
/**
|
|
15076
|
-
*
|
|
15077
|
-
* * true: The call was successful.
|
|
15078
|
-
* * false: The call failed.
|
|
15117
|
+
* This topic provides an example to show how to query the alert logs of Elastic Compute Service (ECS) based on the `product` dimension.
|
|
15079
15118
|
*
|
|
15080
15119
|
* @param request DescribeAlertLogListRequest
|
|
15081
15120
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15083,9 +15122,7 @@ export default class Client extends OpenApi {
|
|
|
15083
15122
|
*/
|
|
15084
15123
|
describeAlertLogListWithOptions(request: DescribeAlertLogListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAlertLogListResponse>;
|
|
15085
15124
|
/**
|
|
15086
|
-
*
|
|
15087
|
-
* * true: The call was successful.
|
|
15088
|
-
* * false: The call failed.
|
|
15125
|
+
* This topic provides an example to show how to query the alert logs of Elastic Compute Service (ECS) based on the `product` dimension.
|
|
15089
15126
|
*
|
|
15090
15127
|
* @param request DescribeAlertLogListRequest
|
|
15091
15128
|
* @return DescribeAlertLogListResponse
|
|
@@ -15102,7 +15139,7 @@ export default class Client extends OpenApi {
|
|
|
15102
15139
|
describeCustomEventAttributeWithOptions(request: DescribeCustomEventAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCustomEventAttributeResponse>;
|
|
15103
15140
|
describeCustomEventAttribute(request: DescribeCustomEventAttributeRequest): Promise<DescribeCustomEventAttributeResponse>;
|
|
15104
15141
|
/**
|
|
15105
|
-
*
|
|
15142
|
+
* > This operation counts the number of times that a custom event occurred for each service.
|
|
15106
15143
|
*
|
|
15107
15144
|
* @param request DescribeCustomEventCountRequest
|
|
15108
15145
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15110,7 +15147,7 @@ export default class Client extends OpenApi {
|
|
|
15110
15147
|
*/
|
|
15111
15148
|
describeCustomEventCountWithOptions(request: DescribeCustomEventCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCustomEventCountResponse>;
|
|
15112
15149
|
/**
|
|
15113
|
-
*
|
|
15150
|
+
* > This operation counts the number of times that a custom event occurred for each service.
|
|
15114
15151
|
*
|
|
15115
15152
|
* @param request DescribeCustomEventCountRequest
|
|
15116
15153
|
* @return DescribeCustomEventCountResponse
|
|
@@ -15119,8 +15156,7 @@ export default class Client extends OpenApi {
|
|
|
15119
15156
|
describeCustomEventHistogramWithOptions(request: DescribeCustomEventHistogramRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCustomEventHistogramResponse>;
|
|
15120
15157
|
describeCustomEventHistogram(request: DescribeCustomEventHistogramRequest): Promise<DescribeCustomEventHistogramResponse>;
|
|
15121
15158
|
/**
|
|
15122
|
-
*
|
|
15123
|
-
* For more information, see [DescribeMonitorGroups](~~115032~~).
|
|
15159
|
+
* > You can call the DescribeMetricList operation to query the metrics of a cloud service. For more information, see [DescribeMetricList](~~51936~~).
|
|
15124
15160
|
*
|
|
15125
15161
|
* @param request DescribeCustomMetricListRequest
|
|
15126
15162
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15128,16 +15164,14 @@ export default class Client extends OpenApi {
|
|
|
15128
15164
|
*/
|
|
15129
15165
|
describeCustomMetricListWithOptions(request: DescribeCustomMetricListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCustomMetricListResponse>;
|
|
15130
15166
|
/**
|
|
15131
|
-
*
|
|
15132
|
-
* For more information, see [DescribeMonitorGroups](~~115032~~).
|
|
15167
|
+
* > You can call the DescribeMetricList operation to query the metrics of a cloud service. For more information, see [DescribeMetricList](~~51936~~).
|
|
15133
15168
|
*
|
|
15134
15169
|
* @param request DescribeCustomMetricListRequest
|
|
15135
15170
|
* @return DescribeCustomMetricListResponse
|
|
15136
15171
|
*/
|
|
15137
15172
|
describeCustomMetricList(request: DescribeCustomMetricListRequest): Promise<DescribeCustomMetricListResponse>;
|
|
15138
15173
|
/**
|
|
15139
|
-
* The
|
|
15140
|
-
* > The status code 200 indicates that the call was successful.
|
|
15174
|
+
* This topic provides an example to show how to query tag rules that are related to `tagkey1`. The sample responses indicate that two tag rules are found. The rule IDs are `1536df65-a719-429d-8813-73cc40d7****` and `56e8cebb-b3d7-4a91-9880-78a8c84f****`.
|
|
15141
15175
|
*
|
|
15142
15176
|
* @param request DescribeDynamicTagRuleListRequest
|
|
15143
15177
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15145,8 +15179,7 @@ export default class Client extends OpenApi {
|
|
|
15145
15179
|
*/
|
|
15146
15180
|
describeDynamicTagRuleListWithOptions(request: DescribeDynamicTagRuleListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDynamicTagRuleListResponse>;
|
|
15147
15181
|
/**
|
|
15148
|
-
* The
|
|
15149
|
-
* > The status code 200 indicates that the call was successful.
|
|
15182
|
+
* This topic provides an example to show how to query tag rules that are related to `tagkey1`. The sample responses indicate that two tag rules are found. The rule IDs are `1536df65-a719-429d-8813-73cc40d7****` and `56e8cebb-b3d7-4a91-9880-78a8c84f****`.
|
|
15150
15183
|
*
|
|
15151
15184
|
* @param request DescribeDynamicTagRuleListRequest
|
|
15152
15185
|
* @return DescribeDynamicTagRuleListResponse
|
|
@@ -15170,7 +15203,7 @@ export default class Client extends OpenApi {
|
|
|
15170
15203
|
describeEventRuleListWithOptions(request: DescribeEventRuleListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEventRuleListResponse>;
|
|
15171
15204
|
describeEventRuleList(request: DescribeEventRuleListRequest): Promise<DescribeEventRuleListResponse>;
|
|
15172
15205
|
/**
|
|
15173
|
-
*
|
|
15206
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
15174
15207
|
*
|
|
15175
15208
|
* @param request DescribeEventRuleTargetListRequest
|
|
15176
15209
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15178,7 +15211,7 @@ export default class Client extends OpenApi {
|
|
|
15178
15211
|
*/
|
|
15179
15212
|
describeEventRuleTargetListWithOptions(request: DescribeEventRuleTargetListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEventRuleTargetListResponse>;
|
|
15180
15213
|
/**
|
|
15181
|
-
*
|
|
15214
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
15182
15215
|
*
|
|
15183
15216
|
* @param request DescribeEventRuleTargetListRequest
|
|
15184
15217
|
* @return DescribeEventRuleTargetListResponse
|
|
@@ -15189,7 +15222,7 @@ export default class Client extends OpenApi {
|
|
|
15189
15222
|
describeExporterRuleListWithOptions(request: DescribeExporterRuleListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeExporterRuleListResponse>;
|
|
15190
15223
|
describeExporterRuleList(request: DescribeExporterRuleListRequest): Promise<DescribeExporterRuleListResponse>;
|
|
15191
15224
|
/**
|
|
15192
|
-
*
|
|
15225
|
+
* You can create a process monitoring task to monitor all or the specified Elastic Compute Service (ECS) instances in an application group and set alert rules for the process monitoring task.
|
|
15193
15226
|
*
|
|
15194
15227
|
* @param request DescribeGroupMonitoringAgentProcessRequest
|
|
15195
15228
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15197,14 +15230,14 @@ export default class Client extends OpenApi {
|
|
|
15197
15230
|
*/
|
|
15198
15231
|
describeGroupMonitoringAgentProcessWithOptions(request: DescribeGroupMonitoringAgentProcessRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupMonitoringAgentProcessResponse>;
|
|
15199
15232
|
/**
|
|
15200
|
-
*
|
|
15233
|
+
* You can create a process monitoring task to monitor all or the specified Elastic Compute Service (ECS) instances in an application group and set alert rules for the process monitoring task.
|
|
15201
15234
|
*
|
|
15202
15235
|
* @param request DescribeGroupMonitoringAgentProcessRequest
|
|
15203
15236
|
* @return DescribeGroupMonitoringAgentProcessResponse
|
|
15204
15237
|
*/
|
|
15205
15238
|
describeGroupMonitoringAgentProcess(request: DescribeGroupMonitoringAgentProcessRequest): Promise<DescribeGroupMonitoringAgentProcessResponse>;
|
|
15206
15239
|
/**
|
|
15207
|
-
*
|
|
15240
|
+
* This topic provides an example to show how to query all the availability monitoring tasks of your Alibaba Cloud account. The sample responses indicate that the account has one availability monitoring task named `ecs_instance`.
|
|
15208
15241
|
*
|
|
15209
15242
|
* @param request DescribeHostAvailabilityListRequest
|
|
15210
15243
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15212,14 +15245,15 @@ export default class Client extends OpenApi {
|
|
|
15212
15245
|
*/
|
|
15213
15246
|
describeHostAvailabilityListWithOptions(request: DescribeHostAvailabilityListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHostAvailabilityListResponse>;
|
|
15214
15247
|
/**
|
|
15215
|
-
*
|
|
15248
|
+
* This topic provides an example to show how to query all the availability monitoring tasks of your Alibaba Cloud account. The sample responses indicate that the account has one availability monitoring task named `ecs_instance`.
|
|
15216
15249
|
*
|
|
15217
15250
|
* @param request DescribeHostAvailabilityListRequest
|
|
15218
15251
|
* @return DescribeHostAvailabilityListResponse
|
|
15219
15252
|
*/
|
|
15220
15253
|
describeHostAvailabilityList(request: DescribeHostAvailabilityListRequest): Promise<DescribeHostAvailabilityListResponse>;
|
|
15221
15254
|
/**
|
|
15222
|
-
*
|
|
15255
|
+
* ## Prerequisites
|
|
15256
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
15223
15257
|
*
|
|
15224
15258
|
* @param request DescribeHybridMonitorDataListRequest
|
|
15225
15259
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15227,20 +15261,15 @@ export default class Client extends OpenApi {
|
|
|
15227
15261
|
*/
|
|
15228
15262
|
describeHybridMonitorDataListWithOptions(request: DescribeHybridMonitorDataListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHybridMonitorDataListResponse>;
|
|
15229
15263
|
/**
|
|
15230
|
-
*
|
|
15264
|
+
* ## Prerequisites
|
|
15265
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
15231
15266
|
*
|
|
15232
15267
|
* @param request DescribeHybridMonitorDataListRequest
|
|
15233
15268
|
* @return DescribeHybridMonitorDataListResponse
|
|
15234
15269
|
*/
|
|
15235
15270
|
describeHybridMonitorDataList(request: DescribeHybridMonitorDataListRequest): Promise<DescribeHybridMonitorDataListResponse>;
|
|
15236
15271
|
/**
|
|
15237
|
-
*
|
|
15238
|
-
* * cms.s1.large: Data is stored for 15 days.
|
|
15239
|
-
* * cms.s1.xlarge: Data is stored for 32 days.
|
|
15240
|
-
* * cms.s1.2xlarge: Data is stored for 63 days.
|
|
15241
|
-
* * cms.s1.3xlarge: Data is stored for 93 days.
|
|
15242
|
-
* * cms.s1.6xlarge: Data is stored for 185 days.
|
|
15243
|
-
* * cms.s1.12xlarge: Data is stored for 376 days.
|
|
15272
|
+
* In this example, all namespaces within the current account are queried. The response shows that the current account has only one namespace named `aliyun-test`.
|
|
15244
15273
|
*
|
|
15245
15274
|
* @param request DescribeHybridMonitorNamespaceListRequest
|
|
15246
15275
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15248,13 +15277,7 @@ export default class Client extends OpenApi {
|
|
|
15248
15277
|
*/
|
|
15249
15278
|
describeHybridMonitorNamespaceListWithOptions(request: DescribeHybridMonitorNamespaceListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHybridMonitorNamespaceListResponse>;
|
|
15250
15279
|
/**
|
|
15251
|
-
*
|
|
15252
|
-
* * cms.s1.large: Data is stored for 15 days.
|
|
15253
|
-
* * cms.s1.xlarge: Data is stored for 32 days.
|
|
15254
|
-
* * cms.s1.2xlarge: Data is stored for 63 days.
|
|
15255
|
-
* * cms.s1.3xlarge: Data is stored for 93 days.
|
|
15256
|
-
* * cms.s1.6xlarge: Data is stored for 185 days.
|
|
15257
|
-
* * cms.s1.12xlarge: Data is stored for 376 days.
|
|
15280
|
+
* In this example, all namespaces within the current account are queried. The response shows that the current account has only one namespace named `aliyun-test`.
|
|
15258
15281
|
*
|
|
15259
15282
|
* @param request DescribeHybridMonitorNamespaceListRequest
|
|
15260
15283
|
* @return DescribeHybridMonitorNamespaceListResponse
|
|
@@ -15295,12 +15318,9 @@ export default class Client extends OpenApi {
|
|
|
15295
15318
|
describeLogMonitorListWithOptions(request: DescribeLogMonitorListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLogMonitorListResponse>;
|
|
15296
15319
|
describeLogMonitorList(request: DescribeLogMonitorListRequest): Promise<DescribeLogMonitorListResponse>;
|
|
15297
15320
|
/**
|
|
15298
|
-
*
|
|
15299
|
-
*
|
|
15300
|
-
*
|
|
15301
|
-
* >
|
|
15302
|
-
* * If this parameter is not specified, monitoring data is queried based on the period in which metric values are reported.
|
|
15303
|
-
* * For more information about the statistical period of a metric that is specified by the `MetricName` parameter, see [Appendix 1: Metrics](~~163515~~).
|
|
15321
|
+
* ## Limits
|
|
15322
|
+
* Each API operation can be called up to 10 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
15323
|
+
* > Different from [DescribeMetricList](~~51936~~), the DescribeMetricData operation provides statistical features. You can set the `Dimension` parameter to {"instanceId": "i-abcdefgh12****"} to aggregate all data of your Alibaba Cloud account. This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`.
|
|
15304
15324
|
*
|
|
15305
15325
|
* @param request DescribeMetricDataRequest
|
|
15306
15326
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15308,12 +15328,9 @@ export default class Client extends OpenApi {
|
|
|
15308
15328
|
*/
|
|
15309
15329
|
describeMetricDataWithOptions(request: DescribeMetricDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricDataResponse>;
|
|
15310
15330
|
/**
|
|
15311
|
-
*
|
|
15312
|
-
*
|
|
15313
|
-
*
|
|
15314
|
-
* >
|
|
15315
|
-
* * If this parameter is not specified, monitoring data is queried based on the period in which metric values are reported.
|
|
15316
|
-
* * For more information about the statistical period of a metric that is specified by the `MetricName` parameter, see [Appendix 1: Metrics](~~163515~~).
|
|
15331
|
+
* ## Limits
|
|
15332
|
+
* Each API operation can be called up to 10 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
15333
|
+
* > Different from [DescribeMetricList](~~51936~~), the DescribeMetricData operation provides statistical features. You can set the `Dimension` parameter to {"instanceId": "i-abcdefgh12****"} to aggregate all data of your Alibaba Cloud account. This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`.
|
|
15317
15334
|
*
|
|
15318
15335
|
* @param request DescribeMetricDataRequest
|
|
15319
15336
|
* @return DescribeMetricDataResponse
|
|
@@ -15351,8 +15368,9 @@ export default class Client extends OpenApi {
|
|
|
15351
15368
|
*/
|
|
15352
15369
|
describeMetricLast(request: DescribeMetricLastRequest): Promise<DescribeMetricLastResponse>;
|
|
15353
15370
|
/**
|
|
15354
|
-
*
|
|
15355
|
-
*
|
|
15371
|
+
* ## Limits
|
|
15372
|
+
* Each API operation can be called up to 50 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
15373
|
+
* >This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The returned result indicates that the monitoring data for the instance `i-abcdefgh12****` of the account `120886317861****` is queried at an interval of 60 seconds. The maximum, minimum, and average values of the metric are 100, 93.1, and 99.52.
|
|
15356
15374
|
*
|
|
15357
15375
|
* @param request DescribeMetricListRequest
|
|
15358
15376
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15360,16 +15378,16 @@ export default class Client extends OpenApi {
|
|
|
15360
15378
|
*/
|
|
15361
15379
|
describeMetricListWithOptions(request: DescribeMetricListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricListResponse>;
|
|
15362
15380
|
/**
|
|
15363
|
-
*
|
|
15364
|
-
*
|
|
15381
|
+
* ## Limits
|
|
15382
|
+
* Each API operation can be called up to 50 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
15383
|
+
* >This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The returned result indicates that the monitoring data for the instance `i-abcdefgh12****` of the account `120886317861****` is queried at an interval of 60 seconds. The maximum, minimum, and average values of the metric are 100, 93.1, and 99.52.
|
|
15365
15384
|
*
|
|
15366
15385
|
* @param request DescribeMetricListRequest
|
|
15367
15386
|
* @return DescribeMetricListResponse
|
|
15368
15387
|
*/
|
|
15369
15388
|
describeMetricList(request: DescribeMetricListRequest): Promise<DescribeMetricListResponse>;
|
|
15370
15389
|
/**
|
|
15371
|
-
*
|
|
15372
|
-
* For more information, see [Appendix 1: Metrics](~~163515~~).
|
|
15390
|
+
* This operation is usually used with DescribeMetricList and DescribeMetricLast. For more information, see [DescribeMetricList](~~51936~~) and [DescribeMetricLast](~~51939~~).
|
|
15373
15391
|
*
|
|
15374
15392
|
* @param request DescribeMetricMetaListRequest
|
|
15375
15393
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15377,8 +15395,7 @@ export default class Client extends OpenApi {
|
|
|
15377
15395
|
*/
|
|
15378
15396
|
describeMetricMetaListWithOptions(request: DescribeMetricMetaListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricMetaListResponse>;
|
|
15379
15397
|
/**
|
|
15380
|
-
*
|
|
15381
|
-
* For more information, see [Appendix 1: Metrics](~~163515~~).
|
|
15398
|
+
* This operation is usually used with DescribeMetricList and DescribeMetricLast. For more information, see [DescribeMetricList](~~51936~~) and [DescribeMetricLast](~~51939~~).
|
|
15382
15399
|
*
|
|
15383
15400
|
* @param request DescribeMetricMetaListRequest
|
|
15384
15401
|
* @return DescribeMetricMetaListResponse
|
|
@@ -15404,7 +15421,9 @@ export default class Client extends OpenApi {
|
|
|
15404
15421
|
*/
|
|
15405
15422
|
describeMetricRuleList(request: DescribeMetricRuleListRequest): Promise<DescribeMetricRuleListResponse>;
|
|
15406
15423
|
/**
|
|
15407
|
-
*
|
|
15424
|
+
* ## Limit
|
|
15425
|
+
* This operation supports only Message Service (MNS) resources.
|
|
15426
|
+
* >This topic provides an example on how to query the resources that are associated with an alert rule whose ID is `ae06917_75a8c43178ab66****`.
|
|
15408
15427
|
*
|
|
15409
15428
|
* @param request DescribeMetricRuleTargetsRequest
|
|
15410
15429
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15412,14 +15431,16 @@ export default class Client extends OpenApi {
|
|
|
15412
15431
|
*/
|
|
15413
15432
|
describeMetricRuleTargetsWithOptions(request: DescribeMetricRuleTargetsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricRuleTargetsResponse>;
|
|
15414
15433
|
/**
|
|
15415
|
-
*
|
|
15434
|
+
* ## Limit
|
|
15435
|
+
* This operation supports only Message Service (MNS) resources.
|
|
15436
|
+
* >This topic provides an example on how to query the resources that are associated with an alert rule whose ID is `ae06917_75a8c43178ab66****`.
|
|
15416
15437
|
*
|
|
15417
15438
|
* @param request DescribeMetricRuleTargetsRequest
|
|
15418
15439
|
* @return DescribeMetricRuleTargetsResponse
|
|
15419
15440
|
*/
|
|
15420
15441
|
describeMetricRuleTargets(request: DescribeMetricRuleTargetsRequest): Promise<DescribeMetricRuleTargetsResponse>;
|
|
15421
15442
|
/**
|
|
15422
|
-
*
|
|
15443
|
+
* This topic provides an example on how to query the details of an alert template whose ID is `70****`.
|
|
15423
15444
|
*
|
|
15424
15445
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
15425
15446
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15427,7 +15448,7 @@ export default class Client extends OpenApi {
|
|
|
15427
15448
|
*/
|
|
15428
15449
|
describeMetricRuleTemplateAttributeWithOptions(request: DescribeMetricRuleTemplateAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricRuleTemplateAttributeResponse>;
|
|
15429
15450
|
/**
|
|
15430
|
-
*
|
|
15451
|
+
* This topic provides an example on how to query the details of an alert template whose ID is `70****`.
|
|
15431
15452
|
*
|
|
15432
15453
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
15433
15454
|
* @return DescribeMetricRuleTemplateAttributeResponse
|
|
@@ -15513,7 +15534,8 @@ export default class Client extends OpenApi {
|
|
|
15513
15534
|
describeMonitoringAgentHostsWithOptions(request: DescribeMonitoringAgentHostsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMonitoringAgentHostsResponse>;
|
|
15514
15535
|
describeMonitoringAgentHosts(request: DescribeMonitoringAgentHostsRequest): Promise<DescribeMonitoringAgentHostsResponse>;
|
|
15515
15536
|
/**
|
|
15516
|
-
*
|
|
15537
|
+
* > Before you call this operation, call the CreateMonitoringAgentProcess operation to create processes. For more information, see [CreateMonitoringAgentProcess](~~114951~~~).
|
|
15538
|
+
* This topic provides an example of how to query the processes of the `i-hp3hl3cx1pbahzy8****` instance. The response indicates the details of the `NGINX` and `HTTP` processes.
|
|
15517
15539
|
*
|
|
15518
15540
|
* @param request DescribeMonitoringAgentProcessesRequest
|
|
15519
15541
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15521,7 +15543,8 @@ export default class Client extends OpenApi {
|
|
|
15521
15543
|
*/
|
|
15522
15544
|
describeMonitoringAgentProcessesWithOptions(request: DescribeMonitoringAgentProcessesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMonitoringAgentProcessesResponse>;
|
|
15523
15545
|
/**
|
|
15524
|
-
*
|
|
15546
|
+
* > Before you call this operation, call the CreateMonitoringAgentProcess operation to create processes. For more information, see [CreateMonitoringAgentProcess](~~114951~~~).
|
|
15547
|
+
* This topic provides an example of how to query the processes of the `i-hp3hl3cx1pbahzy8****` instance. The response indicates the details of the `NGINX` and `HTTP` processes.
|
|
15525
15548
|
*
|
|
15526
15549
|
* @param request DescribeMonitoringAgentProcessesRequest
|
|
15527
15550
|
* @return DescribeMonitoringAgentProcessesResponse
|
|
@@ -15545,7 +15568,7 @@ export default class Client extends OpenApi {
|
|
|
15545
15568
|
describeMonitoringConfigWithOptions(request: DescribeMonitoringConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMonitoringConfigResponse>;
|
|
15546
15569
|
describeMonitoringConfig(request: DescribeMonitoringConfigRequest): Promise<DescribeMonitoringConfigResponse>;
|
|
15547
15570
|
/**
|
|
15548
|
-
*
|
|
15571
|
+
* > If a tag is attached to multiple cloud resources in the region, the key of the tag is returned only once.
|
|
15549
15572
|
*
|
|
15550
15573
|
* @param request DescribeProductResourceTagKeyListRequest
|
|
15551
15574
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15553,7 +15576,7 @@ export default class Client extends OpenApi {
|
|
|
15553
15576
|
*/
|
|
15554
15577
|
describeProductResourceTagKeyListWithOptions(request: DescribeProductResourceTagKeyListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeProductResourceTagKeyListResponse>;
|
|
15555
15578
|
/**
|
|
15556
|
-
*
|
|
15579
|
+
* > If a tag is attached to multiple cloud resources in the region, the key of the tag is returned only once.
|
|
15557
15580
|
*
|
|
15558
15581
|
* @param request DescribeProductResourceTagKeyListRequest
|
|
15559
15582
|
* @return DescribeProductResourceTagKeyListResponse
|
|
@@ -15577,7 +15600,7 @@ export default class Client extends OpenApi {
|
|
|
15577
15600
|
*/
|
|
15578
15601
|
describeProjectMeta(request: DescribeProjectMetaRequest): Promise<DescribeProjectMetaResponse>;
|
|
15579
15602
|
/**
|
|
15580
|
-
* The
|
|
15603
|
+
* This topic provides an example on how to query the details of a site monitoring task whose ID is `cc641dff-c19d-45f3-ad0a-818a0c4f****`. The returned result indicates that the task name is `test123`, the URL that is monitored by the task is `https://aliyun.com`, and the name of the carrier is `Alibaba`.
|
|
15581
15604
|
*
|
|
15582
15605
|
* @param request DescribeSiteMonitorAttributeRequest
|
|
15583
15606
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15585,7 +15608,7 @@ export default class Client extends OpenApi {
|
|
|
15585
15608
|
*/
|
|
15586
15609
|
describeSiteMonitorAttributeWithOptions(request: DescribeSiteMonitorAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorAttributeResponse>;
|
|
15587
15610
|
/**
|
|
15588
|
-
* The
|
|
15611
|
+
* This topic provides an example on how to query the details of a site monitoring task whose ID is `cc641dff-c19d-45f3-ad0a-818a0c4f****`. The returned result indicates that the task name is `test123`, the URL that is monitored by the task is `https://aliyun.com`, and the name of the carrier is `Alibaba`.
|
|
15589
15612
|
*
|
|
15590
15613
|
* @param request DescribeSiteMonitorAttributeRequest
|
|
15591
15614
|
* @return DescribeSiteMonitorAttributeResponse
|
|
@@ -15609,7 +15632,7 @@ export default class Client extends OpenApi {
|
|
|
15609
15632
|
*/
|
|
15610
15633
|
describeSiteMonitorISPCityList(request: DescribeSiteMonitorISPCityListRequest): Promise<DescribeSiteMonitorISPCityListResponse>;
|
|
15611
15634
|
/**
|
|
15612
|
-
*
|
|
15635
|
+
* This topic provides an example on how to query all the site monitoring tasks of your Alibaba Cloud account. In this example, the returned result indicates that the Alibaba Cloud account has one site monitoring task named `HanZhou_ECS2`.
|
|
15613
15636
|
*
|
|
15614
15637
|
* @param request DescribeSiteMonitorListRequest
|
|
15615
15638
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15617,7 +15640,7 @@ export default class Client extends OpenApi {
|
|
|
15617
15640
|
*/
|
|
15618
15641
|
describeSiteMonitorListWithOptions(request: DescribeSiteMonitorListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorListResponse>;
|
|
15619
15642
|
/**
|
|
15620
|
-
*
|
|
15643
|
+
* This topic provides an example on how to query all the site monitoring tasks of your Alibaba Cloud account. In this example, the returned result indicates that the Alibaba Cloud account has one site monitoring task named `HanZhou_ECS2`.
|
|
15621
15644
|
*
|
|
15622
15645
|
* @param request DescribeSiteMonitorListRequest
|
|
15623
15646
|
* @return DescribeSiteMonitorListResponse
|
|
@@ -15642,12 +15665,25 @@ export default class Client extends OpenApi {
|
|
|
15642
15665
|
describeSiteMonitorLog(request: DescribeSiteMonitorLogRequest): Promise<DescribeSiteMonitorLogResponse>;
|
|
15643
15666
|
describeSiteMonitorQuotaWithOptions(request: DescribeSiteMonitorQuotaRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorQuotaResponse>;
|
|
15644
15667
|
describeSiteMonitorQuota(request: DescribeSiteMonitorQuotaRequest): Promise<DescribeSiteMonitorQuotaResponse>;
|
|
15668
|
+
/**
|
|
15669
|
+
* This topic provides an example to show how to query the statistics of the `Availability` metric for a site monitoring task whose ID is `ef4cdc8b-9dc7-43e7-810e-f950e56c****`. The result indicates that the availability rate of the site is `100%`.
|
|
15670
|
+
*
|
|
15671
|
+
* @param request DescribeSiteMonitorStatisticsRequest
|
|
15672
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15673
|
+
* @return DescribeSiteMonitorStatisticsResponse
|
|
15674
|
+
*/
|
|
15645
15675
|
describeSiteMonitorStatisticsWithOptions(request: DescribeSiteMonitorStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorStatisticsResponse>;
|
|
15676
|
+
/**
|
|
15677
|
+
* This topic provides an example to show how to query the statistics of the `Availability` metric for a site monitoring task whose ID is `ef4cdc8b-9dc7-43e7-810e-f950e56c****`. The result indicates that the availability rate of the site is `100%`.
|
|
15678
|
+
*
|
|
15679
|
+
* @param request DescribeSiteMonitorStatisticsRequest
|
|
15680
|
+
* @return DescribeSiteMonitorStatisticsResponse
|
|
15681
|
+
*/
|
|
15646
15682
|
describeSiteMonitorStatistics(request: DescribeSiteMonitorStatisticsRequest): Promise<DescribeSiteMonitorStatisticsResponse>;
|
|
15647
15683
|
describeSystemEventAttributeWithOptions(request: DescribeSystemEventAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSystemEventAttributeResponse>;
|
|
15648
15684
|
describeSystemEventAttribute(request: DescribeSystemEventAttributeRequest): Promise<DescribeSystemEventAttributeResponse>;
|
|
15649
15685
|
/**
|
|
15650
|
-
*
|
|
15686
|
+
* This topic provides an example on how to query the number of times that a system event occurred for Elastic Compute Service (`ECS`). The returned result indicates that the number of times that the specified system event occurred is 3.
|
|
15651
15687
|
*
|
|
15652
15688
|
* @param request DescribeSystemEventCountRequest
|
|
15653
15689
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15655,7 +15691,7 @@ export default class Client extends OpenApi {
|
|
|
15655
15691
|
*/
|
|
15656
15692
|
describeSystemEventCountWithOptions(request: DescribeSystemEventCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSystemEventCountResponse>;
|
|
15657
15693
|
/**
|
|
15658
|
-
*
|
|
15694
|
+
* This topic provides an example on how to query the number of times that a system event occurred for Elastic Compute Service (`ECS`). The returned result indicates that the number of times that the specified system event occurred is 3.
|
|
15659
15695
|
*
|
|
15660
15696
|
* @param request DescribeSystemEventCountRequest
|
|
15661
15697
|
* @return DescribeSystemEventCountResponse
|
|
@@ -15668,7 +15704,7 @@ export default class Client extends OpenApi {
|
|
|
15668
15704
|
describeTagKeyListWithOptions(request: DescribeTagKeyListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTagKeyListResponse>;
|
|
15669
15705
|
describeTagKeyList(request: DescribeTagKeyListRequest): Promise<DescribeTagKeyListResponse>;
|
|
15670
15706
|
/**
|
|
15671
|
-
*
|
|
15707
|
+
* This topic provides an example of how to query the tag values corresponding to `tagKey1`. The return results are `tagValue1` and `tagValue2`.
|
|
15672
15708
|
*
|
|
15673
15709
|
* @param request DescribeTagValueListRequest
|
|
15674
15710
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15676,7 +15712,7 @@ export default class Client extends OpenApi {
|
|
|
15676
15712
|
*/
|
|
15677
15713
|
describeTagValueListWithOptions(request: DescribeTagValueListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTagValueListResponse>;
|
|
15678
15714
|
/**
|
|
15679
|
-
*
|
|
15715
|
+
* This topic provides an example of how to query the tag values corresponding to `tagKey1`. The return results are `tagValue1` and `tagValue2`.
|
|
15680
15716
|
*
|
|
15681
15717
|
* @param request DescribeTagValueListRequest
|
|
15682
15718
|
* @return DescribeTagValueListResponse
|
|
@@ -15707,9 +15743,8 @@ export default class Client extends OpenApi {
|
|
|
15707
15743
|
enableSiteMonitorsWithOptions(request: EnableSiteMonitorsRequest, runtime: $Util.RuntimeOptions): Promise<EnableSiteMonitorsResponse>;
|
|
15708
15744
|
enableSiteMonitors(request: EnableSiteMonitorsRequest): Promise<EnableSiteMonitorsResponse>;
|
|
15709
15745
|
/**
|
|
15710
|
-
*
|
|
15711
|
-
*
|
|
15712
|
-
* * false: The call failed.
|
|
15746
|
+
* ## Prerequisites
|
|
15747
|
+
* The Cloud Assistant client is installed on an ECS instance. For more information about how to install the Cloud Assistant client, see [Overview](~~64601~~).
|
|
15713
15748
|
*
|
|
15714
15749
|
* @param request InstallMonitoringAgentRequest
|
|
15715
15750
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15717,9 +15752,8 @@ export default class Client extends OpenApi {
|
|
|
15717
15752
|
*/
|
|
15718
15753
|
installMonitoringAgentWithOptions(request: InstallMonitoringAgentRequest, runtime: $Util.RuntimeOptions): Promise<InstallMonitoringAgentResponse>;
|
|
15719
15754
|
/**
|
|
15720
|
-
*
|
|
15721
|
-
*
|
|
15722
|
-
* * false: The call failed.
|
|
15755
|
+
* ## Prerequisites
|
|
15756
|
+
* The Cloud Assistant client is installed on an ECS instance. For more information about how to install the Cloud Assistant client, see [Overview](~~64601~~).
|
|
15723
15757
|
*
|
|
15724
15758
|
* @param request InstallMonitoringAgentRequest
|
|
15725
15759
|
* @return InstallMonitoringAgentResponse
|
|
@@ -15758,9 +15792,7 @@ export default class Client extends OpenApi {
|
|
|
15758
15792
|
*/
|
|
15759
15793
|
modifyHostInfo(request: ModifyHostInfoRequest): Promise<ModifyHostInfoResponse>;
|
|
15760
15794
|
/**
|
|
15761
|
-
*
|
|
15762
|
-
* * true: The call was successful.
|
|
15763
|
-
* * false: The call failed.
|
|
15795
|
+
* This topic provides an example on how to change the data retention period of the `aliyun` namespace to `cms.s1.2xlarge`. The response shows that the namespace is modified.
|
|
15764
15796
|
*
|
|
15765
15797
|
* @param request ModifyHybridMonitorNamespaceRequest
|
|
15766
15798
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15768,17 +15800,14 @@ export default class Client extends OpenApi {
|
|
|
15768
15800
|
*/
|
|
15769
15801
|
modifyHybridMonitorNamespaceWithOptions(request: ModifyHybridMonitorNamespaceRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHybridMonitorNamespaceResponse>;
|
|
15770
15802
|
/**
|
|
15771
|
-
*
|
|
15772
|
-
* * true: The call was successful.
|
|
15773
|
-
* * false: The call failed.
|
|
15803
|
+
* This topic provides an example on how to change the data retention period of the `aliyun` namespace to `cms.s1.2xlarge`. The response shows that the namespace is modified.
|
|
15774
15804
|
*
|
|
15775
15805
|
* @param request ModifyHybridMonitorNamespaceRequest
|
|
15776
15806
|
* @return ModifyHybridMonitorNamespaceResponse
|
|
15777
15807
|
*/
|
|
15778
15808
|
modifyHybridMonitorNamespace(request: ModifyHybridMonitorNamespaceRequest): Promise<ModifyHybridMonitorNamespaceResponse>;
|
|
15779
15809
|
/**
|
|
15780
|
-
* The
|
|
15781
|
-
* Valid values of N: 1 to 25.
|
|
15810
|
+
* In this example, a Logstore group named `Logstore_test` is modified. The Logstore of the `aliyun-project` project in the `cn-hangzhou` region is changed to `Logstore-aliyun-all`. The response shows that the Logstore group is modified.
|
|
15782
15811
|
*
|
|
15783
15812
|
* @param request ModifyHybridMonitorSLSGroupRequest
|
|
15784
15813
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15786,8 +15815,7 @@ export default class Client extends OpenApi {
|
|
|
15786
15815
|
*/
|
|
15787
15816
|
modifyHybridMonitorSLSGroupWithOptions(request: ModifyHybridMonitorSLSGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHybridMonitorSLSGroupResponse>;
|
|
15788
15817
|
/**
|
|
15789
|
-
* The
|
|
15790
|
-
* Valid values of N: 1 to 25.
|
|
15818
|
+
* In this example, a Logstore group named `Logstore_test` is modified. The Logstore of the `aliyun-project` project in the `cn-hangzhou` region is changed to `Logstore-aliyun-all`. The response shows that the Logstore group is modified.
|
|
15791
15819
|
*
|
|
15792
15820
|
* @param request ModifyHybridMonitorSLSGroupRequest
|
|
15793
15821
|
* @return ModifyHybridMonitorSLSGroupResponse
|
|
@@ -15811,9 +15839,7 @@ export default class Client extends OpenApi {
|
|
|
15811
15839
|
modifyMetricRuleBlackListWithOptions(request: ModifyMetricRuleBlackListRequest, runtime: $Util.RuntimeOptions): Promise<ModifyMetricRuleBlackListResponse>;
|
|
15812
15840
|
modifyMetricRuleBlackList(request: ModifyMetricRuleBlackListRequest): Promise<ModifyMetricRuleBlackListResponse>;
|
|
15813
15841
|
/**
|
|
15814
|
-
*
|
|
15815
|
-
* * true: The call was successful.
|
|
15816
|
-
* * false: The call failed.
|
|
15842
|
+
* This topic provides an example on how to modify an alert template whose version is `1` and ID is `123456`. The alert level is changed to `Critical`. The statistical method is changed to `Average`. The alert threshold comparator is changed to `GreaterThanOrEqualToThreshold`. The alert threshold is changed to `90`. The number of alert retries is changed to `3`. The response shows that the alert template is modified.
|
|
15817
15843
|
*
|
|
15818
15844
|
* @param request ModifyMetricRuleTemplateRequest
|
|
15819
15845
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15821,9 +15847,7 @@ export default class Client extends OpenApi {
|
|
|
15821
15847
|
*/
|
|
15822
15848
|
modifyMetricRuleTemplateWithOptions(request: ModifyMetricRuleTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ModifyMetricRuleTemplateResponse>;
|
|
15823
15849
|
/**
|
|
15824
|
-
*
|
|
15825
|
-
* * true: The call was successful.
|
|
15826
|
-
* * false: The call failed.
|
|
15850
|
+
* This topic provides an example on how to modify an alert template whose version is `1` and ID is `123456`. The alert level is changed to `Critical`. The statistical method is changed to `Average`. The alert threshold comparator is changed to `GreaterThanOrEqualToThreshold`. The alert threshold is changed to `90`. The number of alert retries is changed to `3`. The response shows that the alert template is modified.
|
|
15827
15851
|
*
|
|
15828
15852
|
* @param request ModifyMetricRuleTemplateRequest
|
|
15829
15853
|
* @return ModifyMetricRuleTemplateResponse
|
|
@@ -15865,7 +15889,7 @@ export default class Client extends OpenApi {
|
|
|
15865
15889
|
putContactWithOptions(request: PutContactRequest, runtime: $Util.RuntimeOptions): Promise<PutContactResponse>;
|
|
15866
15890
|
putContact(request: PutContactRequest): Promise<PutContactResponse>;
|
|
15867
15891
|
/**
|
|
15868
|
-
*
|
|
15892
|
+
* This topic provides an example on how to create an alert contact group named `ECS_Group`.
|
|
15869
15893
|
*
|
|
15870
15894
|
* @param request PutContactGroupRequest
|
|
15871
15895
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15873,7 +15897,7 @@ export default class Client extends OpenApi {
|
|
|
15873
15897
|
*/
|
|
15874
15898
|
putContactGroupWithOptions(request: PutContactGroupRequest, runtime: $Util.RuntimeOptions): Promise<PutContactGroupResponse>;
|
|
15875
15899
|
/**
|
|
15876
|
-
*
|
|
15900
|
+
* This topic provides an example on how to create an alert contact group named `ECS_Group`.
|
|
15877
15901
|
*
|
|
15878
15902
|
* @param request PutContactGroupRequest
|
|
15879
15903
|
* @return PutContactGroupResponse
|
|
@@ -15882,7 +15906,7 @@ export default class Client extends OpenApi {
|
|
|
15882
15906
|
putCustomEventWithOptions(request: PutCustomEventRequest, runtime: $Util.RuntimeOptions): Promise<PutCustomEventResponse>;
|
|
15883
15907
|
putCustomEvent(request: PutCustomEventRequest): Promise<PutCustomEventResponse>;
|
|
15884
15908
|
/**
|
|
15885
|
-
*
|
|
15909
|
+
* Before you call this operation, call the PutCustomEvent operation to report the monitoring data of the custom event. For more information, see [PutCustomEvent](~~115012~~).
|
|
15886
15910
|
*
|
|
15887
15911
|
* @param request PutCustomEventRuleRequest
|
|
15888
15912
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15890,18 +15914,14 @@ export default class Client extends OpenApi {
|
|
|
15890
15914
|
*/
|
|
15891
15915
|
putCustomEventRuleWithOptions(request: PutCustomEventRuleRequest, runtime: $Util.RuntimeOptions): Promise<PutCustomEventRuleResponse>;
|
|
15892
15916
|
/**
|
|
15893
|
-
*
|
|
15917
|
+
* Before you call this operation, call the PutCustomEvent operation to report the monitoring data of the custom event. For more information, see [PutCustomEvent](~~115012~~).
|
|
15894
15918
|
*
|
|
15895
15919
|
* @param request PutCustomEventRuleRequest
|
|
15896
15920
|
* @return PutCustomEventRuleResponse
|
|
15897
15921
|
*/
|
|
15898
15922
|
putCustomEventRule(request: PutCustomEventRuleRequest): Promise<PutCustomEventRuleResponse>;
|
|
15899
15923
|
/**
|
|
15900
|
-
*
|
|
15901
|
-
* Set the value to a collection of key-value pairs. Format:`{"Key":"Value"}`.
|
|
15902
|
-
* The key or value must be 1 to 64 bytes in length. Excessive characters are truncated.
|
|
15903
|
-
* The key or value can contain letters, digits, periods (.), hyphens (-), underscores (\\_), forward slashes (/), and backslashes (\\\\).
|
|
15904
|
-
* > Dimensions must be formatted as a JSON string in a specified order.
|
|
15924
|
+
* > We recommend that you call the [PutHybridMonitorMetricData](~~383455~~) operation of Hybrid Cloud Monitoring to report monitoring data.
|
|
15905
15925
|
*
|
|
15906
15926
|
* @param request PutCustomMetricRequest
|
|
15907
15927
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15909,18 +15929,14 @@ export default class Client extends OpenApi {
|
|
|
15909
15929
|
*/
|
|
15910
15930
|
putCustomMetricWithOptions(request: PutCustomMetricRequest, runtime: $Util.RuntimeOptions): Promise<PutCustomMetricResponse>;
|
|
15911
15931
|
/**
|
|
15912
|
-
*
|
|
15913
|
-
* Set the value to a collection of key-value pairs. Format:`{"Key":"Value"}`.
|
|
15914
|
-
* The key or value must be 1 to 64 bytes in length. Excessive characters are truncated.
|
|
15915
|
-
* The key or value can contain letters, digits, periods (.), hyphens (-), underscores (\\_), forward slashes (/), and backslashes (\\\\).
|
|
15916
|
-
* > Dimensions must be formatted as a JSON string in a specified order.
|
|
15932
|
+
* > We recommend that you call the [PutHybridMonitorMetricData](~~383455~~) operation of Hybrid Cloud Monitoring to report monitoring data.
|
|
15917
15933
|
*
|
|
15918
15934
|
* @param request PutCustomMetricRequest
|
|
15919
15935
|
* @return PutCustomMetricResponse
|
|
15920
15936
|
*/
|
|
15921
15937
|
putCustomMetric(request: PutCustomMetricRequest): Promise<PutCustomMetricResponse>;
|
|
15922
15938
|
/**
|
|
15923
|
-
*
|
|
15939
|
+
* Before you call this operation, call the PutCustomMetric operation to report custom monitoring data. For more information, see [PutCustomMetric](~~115004~~).
|
|
15924
15940
|
*
|
|
15925
15941
|
* @param request PutCustomMetricRuleRequest
|
|
15926
15942
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15928,14 +15944,15 @@ export default class Client extends OpenApi {
|
|
|
15928
15944
|
*/
|
|
15929
15945
|
putCustomMetricRuleWithOptions(request: PutCustomMetricRuleRequest, runtime: $Util.RuntimeOptions): Promise<PutCustomMetricRuleResponse>;
|
|
15930
15946
|
/**
|
|
15931
|
-
*
|
|
15947
|
+
* Before you call this operation, call the PutCustomMetric operation to report custom monitoring data. For more information, see [PutCustomMetric](~~115004~~).
|
|
15932
15948
|
*
|
|
15933
15949
|
* @param request PutCustomMetricRuleRequest
|
|
15934
15950
|
* @return PutCustomMetricRuleResponse
|
|
15935
15951
|
*/
|
|
15936
15952
|
putCustomMetricRule(request: PutCustomMetricRuleRequest): Promise<PutCustomMetricRuleResponse>;
|
|
15937
15953
|
/**
|
|
15938
|
-
*
|
|
15954
|
+
* If the specified rule name does not exist, an event-triggered alert rule is created. If the specified rule name exists, the specified event-triggered alert rule is modified.
|
|
15955
|
+
* In this example, the `myRuleName` alert rule is created for the `ecs` cloud service.
|
|
15939
15956
|
*
|
|
15940
15957
|
* @param request PutEventRuleRequest
|
|
15941
15958
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15943,7 +15960,8 @@ export default class Client extends OpenApi {
|
|
|
15943
15960
|
*/
|
|
15944
15961
|
putEventRuleWithOptions(request: PutEventRuleRequest, runtime: $Util.RuntimeOptions): Promise<PutEventRuleResponse>;
|
|
15945
15962
|
/**
|
|
15946
|
-
*
|
|
15963
|
+
* If the specified rule name does not exist, an event-triggered alert rule is created. If the specified rule name exists, the specified event-triggered alert rule is modified.
|
|
15964
|
+
* In this example, the `myRuleName` alert rule is created for the `ecs` cloud service.
|
|
15947
15965
|
*
|
|
15948
15966
|
* @param request PutEventRuleRequest
|
|
15949
15967
|
* @return PutEventRuleResponse
|
|
@@ -16009,7 +16027,7 @@ export default class Client extends OpenApi {
|
|
|
16009
16027
|
*/
|
|
16010
16028
|
putHybridMonitorMetricData(request: PutHybridMonitorMetricDataRequest): Promise<PutHybridMonitorMetricDataResponse>;
|
|
16011
16029
|
/**
|
|
16012
|
-
*
|
|
16030
|
+
* In the example of this topic, the `cpu_total` log monitoring metric is created. The response shows that the log monitoring metric is created and the metric ID is `16****`.
|
|
16013
16031
|
*
|
|
16014
16032
|
* @param request PutLogMonitorRequest
|
|
16015
16033
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16017,16 +16035,15 @@ export default class Client extends OpenApi {
|
|
|
16017
16035
|
*/
|
|
16018
16036
|
putLogMonitorWithOptions(request: PutLogMonitorRequest, runtime: $Util.RuntimeOptions): Promise<PutLogMonitorResponse>;
|
|
16019
16037
|
/**
|
|
16020
|
-
*
|
|
16038
|
+
* In the example of this topic, the `cpu_total` log monitoring metric is created. The response shows that the log monitoring metric is created and the metric ID is `16****`.
|
|
16021
16039
|
*
|
|
16022
16040
|
* @param request PutLogMonitorRequest
|
|
16023
16041
|
* @return PutLogMonitorResponse
|
|
16024
16042
|
*/
|
|
16025
16043
|
putLogMonitor(request: PutLogMonitorRequest): Promise<PutLogMonitorResponse>;
|
|
16026
16044
|
/**
|
|
16027
|
-
*
|
|
16028
|
-
*
|
|
16029
|
-
* * false: The call failed.
|
|
16045
|
+
* ## Limit
|
|
16046
|
+
* This operation supports only Message Service (MNS) resources.
|
|
16030
16047
|
*
|
|
16031
16048
|
* @param request PutMetricRuleTargetsRequest
|
|
16032
16049
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16034,9 +16051,8 @@ export default class Client extends OpenApi {
|
|
|
16034
16051
|
*/
|
|
16035
16052
|
putMetricRuleTargetsWithOptions(request: PutMetricRuleTargetsRequest, runtime: $Util.RuntimeOptions): Promise<PutMetricRuleTargetsResponse>;
|
|
16036
16053
|
/**
|
|
16037
|
-
*
|
|
16038
|
-
*
|
|
16039
|
-
* * false: The call failed.
|
|
16054
|
+
* ## Limit
|
|
16055
|
+
* This operation supports only Message Service (MNS) resources.
|
|
16040
16056
|
*
|
|
16041
16057
|
* @param request PutMetricRuleTargetsRequest
|
|
16042
16058
|
* @return PutMetricRuleTargetsResponse
|
|
@@ -16062,9 +16078,7 @@ export default class Client extends OpenApi {
|
|
|
16062
16078
|
*/
|
|
16063
16079
|
putResourceMetricRule(request: PutResourceMetricRuleRequest): Promise<PutResourceMetricRuleResponse>;
|
|
16064
16080
|
/**
|
|
16065
|
-
*
|
|
16066
|
-
* * true: The call was successful.
|
|
16067
|
-
* * false: The call failed.
|
|
16081
|
+
* This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of the `i-uf6j91r34rnwawoo****` instance that belongs to Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. In this example, the alert contact group of the alert rule is `ECS_Group`, the name of the alert rule is `test123`, and 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`, and the consecutive number of times for which the metric value is measured before a Critical-level alert is triggered is `3`.
|
|
16068
16082
|
*
|
|
16069
16083
|
* @param request PutResourceMetricRulesRequest
|
|
16070
16084
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16072,9 +16086,7 @@ export default class Client extends OpenApi {
|
|
|
16072
16086
|
*/
|
|
16073
16087
|
putResourceMetricRulesWithOptions(request: PutResourceMetricRulesRequest, runtime: $Util.RuntimeOptions): Promise<PutResourceMetricRulesResponse>;
|
|
16074
16088
|
/**
|
|
16075
|
-
*
|
|
16076
|
-
* * true: The call was successful.
|
|
16077
|
-
* * false: The call failed.
|
|
16089
|
+
* This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of the `i-uf6j91r34rnwawoo****` instance that belongs to Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. In this example, the alert contact group of the alert rule is `ECS_Group`, the name of the alert rule is `test123`, and 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`, and the consecutive number of times for which the metric value is measured before a Critical-level alert is triggered is `3`.
|
|
16078
16090
|
*
|
|
16079
16091
|
* @param request PutResourceMetricRulesRequest
|
|
16080
16092
|
* @return PutResourceMetricRulesResponse
|
|
@@ -16083,8 +16095,7 @@ export default class Client extends OpenApi {
|
|
|
16083
16095
|
removeTagsWithOptions(request: RemoveTagsRequest, runtime: $Util.RuntimeOptions): Promise<RemoveTagsResponse>;
|
|
16084
16096
|
removeTags(request: RemoveTagsRequest): Promise<RemoveTagsResponse>;
|
|
16085
16097
|
/**
|
|
16086
|
-
*
|
|
16087
|
-
* > For information about the system events supported by Cloud Monitor for Alibaba Cloud services, see [System events](~~167388~~).
|
|
16098
|
+
* This operation is used to test whether a system event can be triggered as expected. You can call this operation to simulate a system event and check whether an expected response is returned after an alert is triggered by the system event.
|
|
16088
16099
|
*
|
|
16089
16100
|
* @param request SendDryRunSystemEventRequest
|
|
16090
16101
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16092,15 +16103,14 @@ export default class Client extends OpenApi {
|
|
|
16092
16103
|
*/
|
|
16093
16104
|
sendDryRunSystemEventWithOptions(request: SendDryRunSystemEventRequest, runtime: $Util.RuntimeOptions): Promise<SendDryRunSystemEventResponse>;
|
|
16094
16105
|
/**
|
|
16095
|
-
*
|
|
16096
|
-
* > For information about the system events supported by Cloud Monitor for Alibaba Cloud services, see [System events](~~167388~~).
|
|
16106
|
+
* This operation is used to test whether a system event can be triggered as expected. You can call this operation to simulate a system event and check whether an expected response is returned after an alert is triggered by the system event.
|
|
16097
16107
|
*
|
|
16098
16108
|
* @param request SendDryRunSystemEventRequest
|
|
16099
16109
|
* @return SendDryRunSystemEventResponse
|
|
16100
16110
|
*/
|
|
16101
16111
|
sendDryRunSystemEvent(request: SendDryRunSystemEventRequest): Promise<SendDryRunSystemEventResponse>;
|
|
16102
16112
|
/**
|
|
16103
|
-
*
|
|
16113
|
+
* > This API operation is not applicable to ECS instances. To uninstall the agent from an ECS instance, see [Install and uninstall the Cloud Monitor agent](~~183482~~).
|
|
16104
16114
|
*
|
|
16105
16115
|
* @param request UninstallMonitoringAgentRequest
|
|
16106
16116
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16108,7 +16118,7 @@ export default class Client extends OpenApi {
|
|
|
16108
16118
|
*/
|
|
16109
16119
|
uninstallMonitoringAgentWithOptions(request: UninstallMonitoringAgentRequest, runtime: $Util.RuntimeOptions): Promise<UninstallMonitoringAgentResponse>;
|
|
16110
16120
|
/**
|
|
16111
|
-
*
|
|
16121
|
+
* > This API operation is not applicable to ECS instances. To uninstall the agent from an ECS instance, see [Install and uninstall the Cloud Monitor agent](~~183482~~).
|
|
16112
16122
|
*
|
|
16113
16123
|
* @param request UninstallMonitoringAgentRequest
|
|
16114
16124
|
* @return UninstallMonitoringAgentResponse
|