@alicloud/cms20190101 2.0.8 → 2.0.9
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 +176 -174
- package/dist/client.js +191 -174
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +204 -174
package/dist/client.d.ts
CHANGED
|
@@ -2998,6 +2998,7 @@ export declare class DescribeAlertLogListResponse extends $tea.Model {
|
|
|
2998
2998
|
});
|
|
2999
2999
|
}
|
|
3000
3000
|
export declare class DescribeAlertingMetricRuleResourcesRequest extends $tea.Model {
|
|
3001
|
+
alertBeforeTime?: string;
|
|
3001
3002
|
dimensions?: string;
|
|
3002
3003
|
groupId?: string;
|
|
3003
3004
|
namespace?: string;
|
|
@@ -12454,6 +12455,20 @@ export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQu
|
|
|
12454
12455
|
[key: string]: any;
|
|
12455
12456
|
});
|
|
12456
12457
|
}
|
|
12458
|
+
export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorBrowser extends $tea.Model {
|
|
12459
|
+
quotaLimit?: number;
|
|
12460
|
+
quotaPackage?: number;
|
|
12461
|
+
quotaUsed?: number;
|
|
12462
|
+
static names(): {
|
|
12463
|
+
[key: string]: string;
|
|
12464
|
+
};
|
|
12465
|
+
static types(): {
|
|
12466
|
+
[key: string]: any;
|
|
12467
|
+
};
|
|
12468
|
+
constructor(map?: {
|
|
12469
|
+
[key: string]: any;
|
|
12470
|
+
});
|
|
12471
|
+
}
|
|
12457
12472
|
export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorEcsProbe extends $tea.Model {
|
|
12458
12473
|
quotaLimit?: number;
|
|
12459
12474
|
quotaPackage?: number;
|
|
@@ -12468,6 +12483,20 @@ export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQu
|
|
|
12468
12483
|
[key: string]: any;
|
|
12469
12484
|
});
|
|
12470
12485
|
}
|
|
12486
|
+
export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorMobile extends $tea.Model {
|
|
12487
|
+
quotaLimit?: number;
|
|
12488
|
+
quotaPackage?: number;
|
|
12489
|
+
quotaUsed?: number;
|
|
12490
|
+
static names(): {
|
|
12491
|
+
[key: string]: string;
|
|
12492
|
+
};
|
|
12493
|
+
static types(): {
|
|
12494
|
+
[key: string]: any;
|
|
12495
|
+
};
|
|
12496
|
+
constructor(map?: {
|
|
12497
|
+
[key: string]: any;
|
|
12498
|
+
});
|
|
12499
|
+
}
|
|
12471
12500
|
export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorOperatorProbe extends $tea.Model {
|
|
12472
12501
|
quotaLimit?: number;
|
|
12473
12502
|
quotaPackage?: number;
|
|
@@ -12506,7 +12535,9 @@ export declare class DescribeMonitorResourceQuotaAttributeResponseBodyResourceQu
|
|
|
12506
12535
|
logMonitor?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaLogMonitor;
|
|
12507
12536
|
phone?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaPhone;
|
|
12508
12537
|
SMS?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSMS;
|
|
12538
|
+
siteMonitorBrowser?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorBrowser;
|
|
12509
12539
|
siteMonitorEcsProbe?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorEcsProbe;
|
|
12540
|
+
siteMonitorMobile?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorMobile;
|
|
12510
12541
|
siteMonitorOperatorProbe?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorOperatorProbe;
|
|
12511
12542
|
siteMonitorTask?: DescribeMonitorResourceQuotaAttributeResponseBodyResourceQuotaSiteMonitorTask;
|
|
12512
12543
|
suitInfo?: string;
|
|
@@ -14609,8 +14640,7 @@ export default class Client extends OpenApi {
|
|
|
14609
14640
|
*/
|
|
14610
14641
|
addTags(request: AddTagsRequest): Promise<AddTagsResponse>;
|
|
14611
14642
|
/**
|
|
14612
|
-
*
|
|
14613
|
-
* For more information about how to query the ID of an application group, see [DescribeMonitorGroups](~~115032~~).
|
|
14643
|
+
* 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
14644
|
*
|
|
14615
14645
|
* @param request ApplyMetricRuleTemplateRequest
|
|
14616
14646
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14618,15 +14648,14 @@ export default class Client extends OpenApi {
|
|
|
14618
14648
|
*/
|
|
14619
14649
|
applyMetricRuleTemplateWithOptions(request: ApplyMetricRuleTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ApplyMetricRuleTemplateResponse>;
|
|
14620
14650
|
/**
|
|
14621
|
-
*
|
|
14622
|
-
* 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`.
|
|
14623
14652
|
*
|
|
14624
14653
|
* @param request ApplyMetricRuleTemplateRequest
|
|
14625
14654
|
* @return ApplyMetricRuleTemplateResponse
|
|
14626
14655
|
*/
|
|
14627
14656
|
applyMetricRuleTemplate(request: ApplyMetricRuleTemplateRequest): Promise<ApplyMetricRuleTemplateResponse>;
|
|
14628
14657
|
/**
|
|
14629
|
-
*
|
|
14658
|
+
* 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
14659
|
*
|
|
14631
14660
|
* @param request BatchCreateInstantSiteMonitorRequest
|
|
14632
14661
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14634,7 +14663,7 @@ export default class Client extends OpenApi {
|
|
|
14634
14663
|
*/
|
|
14635
14664
|
batchCreateInstantSiteMonitorWithOptions(request: BatchCreateInstantSiteMonitorRequest, runtime: $Util.RuntimeOptions): Promise<BatchCreateInstantSiteMonitorResponse>;
|
|
14636
14665
|
/**
|
|
14637
|
-
*
|
|
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****`.
|
|
14638
14667
|
*
|
|
14639
14668
|
* @param request BatchCreateInstantSiteMonitorRequest
|
|
14640
14669
|
* @return BatchCreateInstantSiteMonitorResponse
|
|
@@ -14683,9 +14712,8 @@ export default class Client extends OpenApi {
|
|
|
14683
14712
|
createCmsSmspackageOrderWithOptions(request: CreateCmsSmspackageOrderRequest, runtime: $Util.RuntimeOptions): Promise<CreateCmsSmspackageOrderResponse>;
|
|
14684
14713
|
createCmsSmspackageOrder(request: CreateCmsSmspackageOrderRequest): Promise<CreateCmsSmspackageOrderResponse>;
|
|
14685
14714
|
/**
|
|
14686
|
-
*
|
|
14687
|
-
*
|
|
14688
|
-
* * false (default value): The application group does not automatically subscribe to event notifications.
|
|
14715
|
+
* This operation is available for Elastic Compute Service (ECS), ApsaraDB RDS, and Server Load Balancer (SLB).
|
|
14716
|
+
* 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
14717
|
*
|
|
14690
14718
|
* @param request CreateDynamicTagGroupRequest
|
|
14691
14719
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14693,16 +14721,15 @@ export default class Client extends OpenApi {
|
|
|
14693
14721
|
*/
|
|
14694
14722
|
createDynamicTagGroupWithOptions(request: CreateDynamicTagGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateDynamicTagGroupResponse>;
|
|
14695
14723
|
/**
|
|
14696
|
-
*
|
|
14697
|
-
*
|
|
14698
|
-
* * false (default value): The application group does not automatically subscribe to event notifications.
|
|
14724
|
+
* This operation is available for Elastic Compute Service (ECS), ApsaraDB RDS, and Server Load Balancer (SLB).
|
|
14725
|
+
* 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
14726
|
*
|
|
14700
14727
|
* @param request CreateDynamicTagGroupRequest
|
|
14701
14728
|
* @return CreateDynamicTagGroupResponse
|
|
14702
14729
|
*/
|
|
14703
14730
|
createDynamicTagGroup(request: CreateDynamicTagGroupRequest): Promise<CreateDynamicTagGroupResponse>;
|
|
14704
14731
|
/**
|
|
14705
|
-
* The
|
|
14732
|
+
* 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
14733
|
*
|
|
14707
14734
|
* @param request CreateGroupMetricRulesRequest
|
|
14708
14735
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14710,7 +14737,7 @@ export default class Client extends OpenApi {
|
|
|
14710
14737
|
*/
|
|
14711
14738
|
createGroupMetricRulesWithOptions(request: CreateGroupMetricRulesRequest, runtime: $Util.RuntimeOptions): Promise<CreateGroupMetricRulesResponse>;
|
|
14712
14739
|
/**
|
|
14713
|
-
* 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.
|
|
14714
14741
|
*
|
|
14715
14742
|
* @param request CreateGroupMetricRulesRequest
|
|
14716
14743
|
* @return CreateGroupMetricRulesResponse
|
|
@@ -14734,9 +14761,8 @@ export default class Client extends OpenApi {
|
|
|
14734
14761
|
*/
|
|
14735
14762
|
createHostAvailability(request: CreateHostAvailabilityRequest): Promise<CreateHostAvailabilityResponse>;
|
|
14736
14763
|
/**
|
|
14737
|
-
*
|
|
14738
|
-
*
|
|
14739
|
-
* * false: The call failed.
|
|
14764
|
+
* ## Prerequisites
|
|
14765
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14740
14766
|
*
|
|
14741
14767
|
* @param request CreateHybridMonitorNamespaceRequest
|
|
14742
14768
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14744,17 +14770,18 @@ export default class Client extends OpenApi {
|
|
|
14744
14770
|
*/
|
|
14745
14771
|
createHybridMonitorNamespaceWithOptions(request: CreateHybridMonitorNamespaceRequest, runtime: $Util.RuntimeOptions): Promise<CreateHybridMonitorNamespaceResponse>;
|
|
14746
14772
|
/**
|
|
14747
|
-
*
|
|
14748
|
-
*
|
|
14749
|
-
* * false: The call failed.
|
|
14773
|
+
* ## Prerequisites
|
|
14774
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14750
14775
|
*
|
|
14751
14776
|
* @param request CreateHybridMonitorNamespaceRequest
|
|
14752
14777
|
* @return CreateHybridMonitorNamespaceResponse
|
|
14753
14778
|
*/
|
|
14754
14779
|
createHybridMonitorNamespace(request: CreateHybridMonitorNamespaceRequest): Promise<CreateHybridMonitorNamespaceResponse>;
|
|
14755
14780
|
/**
|
|
14756
|
-
*
|
|
14757
|
-
*
|
|
14781
|
+
* # Prerequisites
|
|
14782
|
+
* Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](~~54604~~).
|
|
14783
|
+
* # Description
|
|
14784
|
+
* 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
14785
|
*
|
|
14759
14786
|
* @param request CreateHybridMonitorSLSGroupRequest
|
|
14760
14787
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14762,15 +14789,19 @@ export default class Client extends OpenApi {
|
|
|
14762
14789
|
*/
|
|
14763
14790
|
createHybridMonitorSLSGroupWithOptions(request: CreateHybridMonitorSLSGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateHybridMonitorSLSGroupResponse>;
|
|
14764
14791
|
/**
|
|
14765
|
-
*
|
|
14766
|
-
*
|
|
14792
|
+
* # Prerequisites
|
|
14793
|
+
* Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](~~54604~~).
|
|
14794
|
+
* # Description
|
|
14795
|
+
* 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
14796
|
*
|
|
14768
14797
|
* @param request CreateHybridMonitorSLSGroupRequest
|
|
14769
14798
|
* @return CreateHybridMonitorSLSGroupResponse
|
|
14770
14799
|
*/
|
|
14771
14800
|
createHybridMonitorSLSGroup(request: CreateHybridMonitorSLSGroupRequest): Promise<CreateHybridMonitorSLSGroupResponse>;
|
|
14772
14801
|
/**
|
|
14773
|
-
*
|
|
14802
|
+
* ## Prerequisites
|
|
14803
|
+
* * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14804
|
+
* * 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
14805
|
*
|
|
14775
14806
|
* @param request CreateHybridMonitorTaskRequest
|
|
14776
14807
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14778,7 +14809,9 @@ export default class Client extends OpenApi {
|
|
|
14778
14809
|
*/
|
|
14779
14810
|
createHybridMonitorTaskWithOptions(request: CreateHybridMonitorTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateHybridMonitorTaskResponse>;
|
|
14780
14811
|
/**
|
|
14781
|
-
*
|
|
14812
|
+
* ## Prerequisites
|
|
14813
|
+
* * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
14814
|
+
* * 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
14815
|
*
|
|
14783
14816
|
* @param request CreateHybridMonitorTaskRequest
|
|
14784
14817
|
* @return CreateHybridMonitorTaskResponse
|
|
@@ -14827,7 +14860,7 @@ export default class Client extends OpenApi {
|
|
|
14827
14860
|
createMonitorAgentProcessWithOptions(request: CreateMonitorAgentProcessRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorAgentProcessResponse>;
|
|
14828
14861
|
createMonitorAgentProcess(request: CreateMonitorAgentProcessRequest): Promise<CreateMonitorAgentProcessResponse>;
|
|
14829
14862
|
/**
|
|
14830
|
-
*
|
|
14863
|
+
* In this example, the application group named `ECS_Group` is created.
|
|
14831
14864
|
*
|
|
14832
14865
|
* @param request CreateMonitorGroupRequest
|
|
14833
14866
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14835,7 +14868,7 @@ export default class Client extends OpenApi {
|
|
|
14835
14868
|
*/
|
|
14836
14869
|
createMonitorGroupWithOptions(request: CreateMonitorGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorGroupResponse>;
|
|
14837
14870
|
/**
|
|
14838
|
-
*
|
|
14871
|
+
* In this example, the application group named `ECS_Group` is created.
|
|
14839
14872
|
*
|
|
14840
14873
|
* @param request CreateMonitorGroupRequest
|
|
14841
14874
|
* @return CreateMonitorGroupResponse
|
|
@@ -14857,8 +14890,8 @@ export default class Client extends OpenApi {
|
|
|
14857
14890
|
*/
|
|
14858
14891
|
createMonitorGroupByResourceGroupId(request: CreateMonitorGroupByResourceGroupIdRequest): Promise<CreateMonitorGroupByResourceGroupIdResponse>;
|
|
14859
14892
|
/**
|
|
14860
|
-
*
|
|
14861
|
-
*
|
|
14893
|
+
* 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.
|
|
14894
|
+
* 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
14895
|
*
|
|
14863
14896
|
* @param request CreateMonitorGroupInstancesRequest
|
|
14864
14897
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14866,15 +14899,16 @@ export default class Client extends OpenApi {
|
|
|
14866
14899
|
*/
|
|
14867
14900
|
createMonitorGroupInstancesWithOptions(request: CreateMonitorGroupInstancesRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorGroupInstancesResponse>;
|
|
14868
14901
|
/**
|
|
14869
|
-
*
|
|
14870
|
-
*
|
|
14902
|
+
* 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.
|
|
14903
|
+
* 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
14904
|
*
|
|
14872
14905
|
* @param request CreateMonitorGroupInstancesRequest
|
|
14873
14906
|
* @return CreateMonitorGroupInstancesResponse
|
|
14874
14907
|
*/
|
|
14875
14908
|
createMonitorGroupInstances(request: CreateMonitorGroupInstancesRequest): Promise<CreateMonitorGroupInstancesResponse>;
|
|
14876
14909
|
/**
|
|
14877
|
-
*
|
|
14910
|
+
* If the policy is valid, no alert notifications are sent for the application group.
|
|
14911
|
+
* 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
14912
|
*
|
|
14879
14913
|
* @param request CreateMonitorGroupNotifyPolicyRequest
|
|
14880
14914
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14882,7 +14916,8 @@ export default class Client extends OpenApi {
|
|
|
14882
14916
|
*/
|
|
14883
14917
|
createMonitorGroupNotifyPolicyWithOptions(request: CreateMonitorGroupNotifyPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateMonitorGroupNotifyPolicyResponse>;
|
|
14884
14918
|
/**
|
|
14885
|
-
*
|
|
14919
|
+
* If the policy is valid, no alert notifications are sent for the application group.
|
|
14920
|
+
* 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
14921
|
*
|
|
14887
14922
|
* @param request CreateMonitorGroupNotifyPolicyRequest
|
|
14888
14923
|
* @return CreateMonitorGroupNotifyPolicyResponse
|
|
@@ -14951,9 +14986,8 @@ export default class Client extends OpenApi {
|
|
|
14951
14986
|
deleteHostAvailabilityWithOptions(request: DeleteHostAvailabilityRequest, runtime: $Util.RuntimeOptions): Promise<DeleteHostAvailabilityResponse>;
|
|
14952
14987
|
deleteHostAvailability(request: DeleteHostAvailabilityRequest): Promise<DeleteHostAvailabilityResponse>;
|
|
14953
14988
|
/**
|
|
14954
|
-
*
|
|
14955
|
-
*
|
|
14956
|
-
* * false: The call failed.
|
|
14989
|
+
* > If a metric import task is created for metrics in a namespace, you cannot delete the namespace unless you delete the task first.
|
|
14990
|
+
* This topic provides an example on how to delete a namespace named `aliyun`. The response shows that the namespace is deleted.
|
|
14957
14991
|
*
|
|
14958
14992
|
* @param request DeleteHybridMonitorNamespaceRequest
|
|
14959
14993
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14961,9 +14995,8 @@ export default class Client extends OpenApi {
|
|
|
14961
14995
|
*/
|
|
14962
14996
|
deleteHybridMonitorNamespaceWithOptions(request: DeleteHybridMonitorNamespaceRequest, runtime: $Util.RuntimeOptions): Promise<DeleteHybridMonitorNamespaceResponse>;
|
|
14963
14997
|
/**
|
|
14964
|
-
*
|
|
14965
|
-
*
|
|
14966
|
-
* * false: The call failed.
|
|
14998
|
+
* > If a metric import task is created for metrics in a namespace, you cannot delete the namespace unless you delete the task first.
|
|
14999
|
+
* This topic provides an example on how to delete a namespace named `aliyun`. The response shows that the namespace is deleted.
|
|
14967
15000
|
*
|
|
14968
15001
|
* @param request DeleteHybridMonitorNamespaceRequest
|
|
14969
15002
|
* @return DeleteHybridMonitorNamespaceResponse
|
|
@@ -15073,9 +15106,7 @@ export default class Client extends OpenApi {
|
|
|
15073
15106
|
*/
|
|
15074
15107
|
describeAlertLogHistogram(request: DescribeAlertLogHistogramRequest): Promise<DescribeAlertLogHistogramResponse>;
|
|
15075
15108
|
/**
|
|
15076
|
-
*
|
|
15077
|
-
* * true: The call was successful.
|
|
15078
|
-
* * false: The call failed.
|
|
15109
|
+
* This topic provides an example to show how to query the alert logs of Elastic Compute Service (ECS) based on the `product` dimension.
|
|
15079
15110
|
*
|
|
15080
15111
|
* @param request DescribeAlertLogListRequest
|
|
15081
15112
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15083,9 +15114,7 @@ export default class Client extends OpenApi {
|
|
|
15083
15114
|
*/
|
|
15084
15115
|
describeAlertLogListWithOptions(request: DescribeAlertLogListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAlertLogListResponse>;
|
|
15085
15116
|
/**
|
|
15086
|
-
*
|
|
15087
|
-
* * true: The call was successful.
|
|
15088
|
-
* * 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.
|
|
15089
15118
|
*
|
|
15090
15119
|
* @param request DescribeAlertLogListRequest
|
|
15091
15120
|
* @return DescribeAlertLogListResponse
|
|
@@ -15102,7 +15131,7 @@ export default class Client extends OpenApi {
|
|
|
15102
15131
|
describeCustomEventAttributeWithOptions(request: DescribeCustomEventAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCustomEventAttributeResponse>;
|
|
15103
15132
|
describeCustomEventAttribute(request: DescribeCustomEventAttributeRequest): Promise<DescribeCustomEventAttributeResponse>;
|
|
15104
15133
|
/**
|
|
15105
|
-
*
|
|
15134
|
+
* > This operation counts the number of times that a custom event occurred for each service.
|
|
15106
15135
|
*
|
|
15107
15136
|
* @param request DescribeCustomEventCountRequest
|
|
15108
15137
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15110,7 +15139,7 @@ export default class Client extends OpenApi {
|
|
|
15110
15139
|
*/
|
|
15111
15140
|
describeCustomEventCountWithOptions(request: DescribeCustomEventCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCustomEventCountResponse>;
|
|
15112
15141
|
/**
|
|
15113
|
-
*
|
|
15142
|
+
* > This operation counts the number of times that a custom event occurred for each service.
|
|
15114
15143
|
*
|
|
15115
15144
|
* @param request DescribeCustomEventCountRequest
|
|
15116
15145
|
* @return DescribeCustomEventCountResponse
|
|
@@ -15119,8 +15148,7 @@ export default class Client extends OpenApi {
|
|
|
15119
15148
|
describeCustomEventHistogramWithOptions(request: DescribeCustomEventHistogramRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCustomEventHistogramResponse>;
|
|
15120
15149
|
describeCustomEventHistogram(request: DescribeCustomEventHistogramRequest): Promise<DescribeCustomEventHistogramResponse>;
|
|
15121
15150
|
/**
|
|
15122
|
-
*
|
|
15123
|
-
* For more information, see [DescribeMonitorGroups](~~115032~~).
|
|
15151
|
+
* > You can call the DescribeMetricList operation to query the metrics of a cloud service. For more information, see [DescribeMetricList](~~51936~~).
|
|
15124
15152
|
*
|
|
15125
15153
|
* @param request DescribeCustomMetricListRequest
|
|
15126
15154
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15128,16 +15156,14 @@ export default class Client extends OpenApi {
|
|
|
15128
15156
|
*/
|
|
15129
15157
|
describeCustomMetricListWithOptions(request: DescribeCustomMetricListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCustomMetricListResponse>;
|
|
15130
15158
|
/**
|
|
15131
|
-
*
|
|
15132
|
-
* 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~~).
|
|
15133
15160
|
*
|
|
15134
15161
|
* @param request DescribeCustomMetricListRequest
|
|
15135
15162
|
* @return DescribeCustomMetricListResponse
|
|
15136
15163
|
*/
|
|
15137
15164
|
describeCustomMetricList(request: DescribeCustomMetricListRequest): Promise<DescribeCustomMetricListResponse>;
|
|
15138
15165
|
/**
|
|
15139
|
-
* The
|
|
15140
|
-
* > The status code 200 indicates that the call was successful.
|
|
15166
|
+
* 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
15167
|
*
|
|
15142
15168
|
* @param request DescribeDynamicTagRuleListRequest
|
|
15143
15169
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15145,8 +15171,7 @@ export default class Client extends OpenApi {
|
|
|
15145
15171
|
*/
|
|
15146
15172
|
describeDynamicTagRuleListWithOptions(request: DescribeDynamicTagRuleListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDynamicTagRuleListResponse>;
|
|
15147
15173
|
/**
|
|
15148
|
-
* The
|
|
15149
|
-
* > 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****`.
|
|
15150
15175
|
*
|
|
15151
15176
|
* @param request DescribeDynamicTagRuleListRequest
|
|
15152
15177
|
* @return DescribeDynamicTagRuleListResponse
|
|
@@ -15170,7 +15195,7 @@ export default class Client extends OpenApi {
|
|
|
15170
15195
|
describeEventRuleListWithOptions(request: DescribeEventRuleListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEventRuleListResponse>;
|
|
15171
15196
|
describeEventRuleList(request: DescribeEventRuleListRequest): Promise<DescribeEventRuleListResponse>;
|
|
15172
15197
|
/**
|
|
15173
|
-
*
|
|
15198
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
15174
15199
|
*
|
|
15175
15200
|
* @param request DescribeEventRuleTargetListRequest
|
|
15176
15201
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15178,7 +15203,7 @@ export default class Client extends OpenApi {
|
|
|
15178
15203
|
*/
|
|
15179
15204
|
describeEventRuleTargetListWithOptions(request: DescribeEventRuleTargetListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEventRuleTargetListResponse>;
|
|
15180
15205
|
/**
|
|
15181
|
-
*
|
|
15206
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
15182
15207
|
*
|
|
15183
15208
|
* @param request DescribeEventRuleTargetListRequest
|
|
15184
15209
|
* @return DescribeEventRuleTargetListResponse
|
|
@@ -15189,7 +15214,7 @@ export default class Client extends OpenApi {
|
|
|
15189
15214
|
describeExporterRuleListWithOptions(request: DescribeExporterRuleListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeExporterRuleListResponse>;
|
|
15190
15215
|
describeExporterRuleList(request: DescribeExporterRuleListRequest): Promise<DescribeExporterRuleListResponse>;
|
|
15191
15216
|
/**
|
|
15192
|
-
*
|
|
15217
|
+
* 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
15218
|
*
|
|
15194
15219
|
* @param request DescribeGroupMonitoringAgentProcessRequest
|
|
15195
15220
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15197,14 +15222,14 @@ export default class Client extends OpenApi {
|
|
|
15197
15222
|
*/
|
|
15198
15223
|
describeGroupMonitoringAgentProcessWithOptions(request: DescribeGroupMonitoringAgentProcessRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupMonitoringAgentProcessResponse>;
|
|
15199
15224
|
/**
|
|
15200
|
-
*
|
|
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.
|
|
15201
15226
|
*
|
|
15202
15227
|
* @param request DescribeGroupMonitoringAgentProcessRequest
|
|
15203
15228
|
* @return DescribeGroupMonitoringAgentProcessResponse
|
|
15204
15229
|
*/
|
|
15205
15230
|
describeGroupMonitoringAgentProcess(request: DescribeGroupMonitoringAgentProcessRequest): Promise<DescribeGroupMonitoringAgentProcessResponse>;
|
|
15206
15231
|
/**
|
|
15207
|
-
*
|
|
15232
|
+
* 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
15233
|
*
|
|
15209
15234
|
* @param request DescribeHostAvailabilityListRequest
|
|
15210
15235
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15212,14 +15237,15 @@ export default class Client extends OpenApi {
|
|
|
15212
15237
|
*/
|
|
15213
15238
|
describeHostAvailabilityListWithOptions(request: DescribeHostAvailabilityListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHostAvailabilityListResponse>;
|
|
15214
15239
|
/**
|
|
15215
|
-
*
|
|
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`.
|
|
15216
15241
|
*
|
|
15217
15242
|
* @param request DescribeHostAvailabilityListRequest
|
|
15218
15243
|
* @return DescribeHostAvailabilityListResponse
|
|
15219
15244
|
*/
|
|
15220
15245
|
describeHostAvailabilityList(request: DescribeHostAvailabilityListRequest): Promise<DescribeHostAvailabilityListResponse>;
|
|
15221
15246
|
/**
|
|
15222
|
-
*
|
|
15247
|
+
* ## Prerequisites
|
|
15248
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
15223
15249
|
*
|
|
15224
15250
|
* @param request DescribeHybridMonitorDataListRequest
|
|
15225
15251
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15227,20 +15253,15 @@ export default class Client extends OpenApi {
|
|
|
15227
15253
|
*/
|
|
15228
15254
|
describeHybridMonitorDataListWithOptions(request: DescribeHybridMonitorDataListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHybridMonitorDataListResponse>;
|
|
15229
15255
|
/**
|
|
15230
|
-
*
|
|
15256
|
+
* ## Prerequisites
|
|
15257
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
15231
15258
|
*
|
|
15232
15259
|
* @param request DescribeHybridMonitorDataListRequest
|
|
15233
15260
|
* @return DescribeHybridMonitorDataListResponse
|
|
15234
15261
|
*/
|
|
15235
15262
|
describeHybridMonitorDataList(request: DescribeHybridMonitorDataListRequest): Promise<DescribeHybridMonitorDataListResponse>;
|
|
15236
15263
|
/**
|
|
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.
|
|
15264
|
+
* 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
15265
|
*
|
|
15245
15266
|
* @param request DescribeHybridMonitorNamespaceListRequest
|
|
15246
15267
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15248,13 +15269,7 @@ export default class Client extends OpenApi {
|
|
|
15248
15269
|
*/
|
|
15249
15270
|
describeHybridMonitorNamespaceListWithOptions(request: DescribeHybridMonitorNamespaceListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHybridMonitorNamespaceListResponse>;
|
|
15250
15271
|
/**
|
|
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.
|
|
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`.
|
|
15258
15273
|
*
|
|
15259
15274
|
* @param request DescribeHybridMonitorNamespaceListRequest
|
|
15260
15275
|
* @return DescribeHybridMonitorNamespaceListResponse
|
|
@@ -15295,12 +15310,9 @@ export default class Client extends OpenApi {
|
|
|
15295
15310
|
describeLogMonitorListWithOptions(request: DescribeLogMonitorListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLogMonitorListResponse>;
|
|
15296
15311
|
describeLogMonitorList(request: DescribeLogMonitorListRequest): Promise<DescribeLogMonitorListResponse>;
|
|
15297
15312
|
/**
|
|
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~~).
|
|
15313
|
+
* ## Limits
|
|
15314
|
+
* 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.
|
|
15315
|
+
* > 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
15316
|
*
|
|
15305
15317
|
* @param request DescribeMetricDataRequest
|
|
15306
15318
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15308,12 +15320,9 @@ export default class Client extends OpenApi {
|
|
|
15308
15320
|
*/
|
|
15309
15321
|
describeMetricDataWithOptions(request: DescribeMetricDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricDataResponse>;
|
|
15310
15322
|
/**
|
|
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~~).
|
|
15323
|
+
* ## Limits
|
|
15324
|
+
* 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.
|
|
15325
|
+
* > 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
15326
|
*
|
|
15318
15327
|
* @param request DescribeMetricDataRequest
|
|
15319
15328
|
* @return DescribeMetricDataResponse
|
|
@@ -15351,8 +15360,9 @@ export default class Client extends OpenApi {
|
|
|
15351
15360
|
*/
|
|
15352
15361
|
describeMetricLast(request: DescribeMetricLastRequest): Promise<DescribeMetricLastResponse>;
|
|
15353
15362
|
/**
|
|
15354
|
-
*
|
|
15355
|
-
*
|
|
15363
|
+
* ## Limits
|
|
15364
|
+
* 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.
|
|
15365
|
+
* >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
15366
|
*
|
|
15357
15367
|
* @param request DescribeMetricListRequest
|
|
15358
15368
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15360,16 +15370,16 @@ export default class Client extends OpenApi {
|
|
|
15360
15370
|
*/
|
|
15361
15371
|
describeMetricListWithOptions(request: DescribeMetricListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricListResponse>;
|
|
15362
15372
|
/**
|
|
15363
|
-
*
|
|
15364
|
-
*
|
|
15373
|
+
* ## Limits
|
|
15374
|
+
* 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.
|
|
15375
|
+
* >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
15376
|
*
|
|
15366
15377
|
* @param request DescribeMetricListRequest
|
|
15367
15378
|
* @return DescribeMetricListResponse
|
|
15368
15379
|
*/
|
|
15369
15380
|
describeMetricList(request: DescribeMetricListRequest): Promise<DescribeMetricListResponse>;
|
|
15370
15381
|
/**
|
|
15371
|
-
*
|
|
15372
|
-
* For more information, see [Appendix 1: Metrics](~~163515~~).
|
|
15382
|
+
* This operation is usually used with DescribeMetricList and DescribeMetricLast. For more information, see [DescribeMetricList](~~51936~~) and [DescribeMetricLast](~~51939~~).
|
|
15373
15383
|
*
|
|
15374
15384
|
* @param request DescribeMetricMetaListRequest
|
|
15375
15385
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15377,8 +15387,7 @@ export default class Client extends OpenApi {
|
|
|
15377
15387
|
*/
|
|
15378
15388
|
describeMetricMetaListWithOptions(request: DescribeMetricMetaListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricMetaListResponse>;
|
|
15379
15389
|
/**
|
|
15380
|
-
*
|
|
15381
|
-
* 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~~).
|
|
15382
15391
|
*
|
|
15383
15392
|
* @param request DescribeMetricMetaListRequest
|
|
15384
15393
|
* @return DescribeMetricMetaListResponse
|
|
@@ -15404,7 +15413,9 @@ export default class Client extends OpenApi {
|
|
|
15404
15413
|
*/
|
|
15405
15414
|
describeMetricRuleList(request: DescribeMetricRuleListRequest): Promise<DescribeMetricRuleListResponse>;
|
|
15406
15415
|
/**
|
|
15407
|
-
*
|
|
15416
|
+
* ## Limit
|
|
15417
|
+
* This operation supports only Message Service (MNS) resources.
|
|
15418
|
+
* >This topic provides an example on how to query the resources that are associated with an alert rule whose ID is `ae06917_75a8c43178ab66****`.
|
|
15408
15419
|
*
|
|
15409
15420
|
* @param request DescribeMetricRuleTargetsRequest
|
|
15410
15421
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15412,14 +15423,16 @@ export default class Client extends OpenApi {
|
|
|
15412
15423
|
*/
|
|
15413
15424
|
describeMetricRuleTargetsWithOptions(request: DescribeMetricRuleTargetsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricRuleTargetsResponse>;
|
|
15414
15425
|
/**
|
|
15415
|
-
*
|
|
15426
|
+
* ## Limit
|
|
15427
|
+
* This operation supports only Message Service (MNS) resources.
|
|
15428
|
+
* >This topic provides an example on how to query the resources that are associated with an alert rule whose ID is `ae06917_75a8c43178ab66****`.
|
|
15416
15429
|
*
|
|
15417
15430
|
* @param request DescribeMetricRuleTargetsRequest
|
|
15418
15431
|
* @return DescribeMetricRuleTargetsResponse
|
|
15419
15432
|
*/
|
|
15420
15433
|
describeMetricRuleTargets(request: DescribeMetricRuleTargetsRequest): Promise<DescribeMetricRuleTargetsResponse>;
|
|
15421
15434
|
/**
|
|
15422
|
-
*
|
|
15435
|
+
* This topic provides an example to show how to query the details of an alert template whose ID is `70****`.
|
|
15423
15436
|
*
|
|
15424
15437
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
15425
15438
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15427,7 +15440,7 @@ export default class Client extends OpenApi {
|
|
|
15427
15440
|
*/
|
|
15428
15441
|
describeMetricRuleTemplateAttributeWithOptions(request: DescribeMetricRuleTemplateAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricRuleTemplateAttributeResponse>;
|
|
15429
15442
|
/**
|
|
15430
|
-
*
|
|
15443
|
+
* This topic provides an example to show how to query the details of an alert template whose ID is `70****`.
|
|
15431
15444
|
*
|
|
15432
15445
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
15433
15446
|
* @return DescribeMetricRuleTemplateAttributeResponse
|
|
@@ -15513,7 +15526,8 @@ export default class Client extends OpenApi {
|
|
|
15513
15526
|
describeMonitoringAgentHostsWithOptions(request: DescribeMonitoringAgentHostsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMonitoringAgentHostsResponse>;
|
|
15514
15527
|
describeMonitoringAgentHosts(request: DescribeMonitoringAgentHostsRequest): Promise<DescribeMonitoringAgentHostsResponse>;
|
|
15515
15528
|
/**
|
|
15516
|
-
*
|
|
15529
|
+
* > Before you call this operation, call the CreateMonitoringAgentProcess operation to create processes. For more information, see [CreateMonitoringAgentProcess](~~114951~~~).
|
|
15530
|
+
* 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
15531
|
*
|
|
15518
15532
|
* @param request DescribeMonitoringAgentProcessesRequest
|
|
15519
15533
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15521,7 +15535,8 @@ export default class Client extends OpenApi {
|
|
|
15521
15535
|
*/
|
|
15522
15536
|
describeMonitoringAgentProcessesWithOptions(request: DescribeMonitoringAgentProcessesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMonitoringAgentProcessesResponse>;
|
|
15523
15537
|
/**
|
|
15524
|
-
*
|
|
15538
|
+
* > Before you call this operation, call the CreateMonitoringAgentProcess operation to create processes. For more information, see [CreateMonitoringAgentProcess](~~114951~~~).
|
|
15539
|
+
* 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
15540
|
*
|
|
15526
15541
|
* @param request DescribeMonitoringAgentProcessesRequest
|
|
15527
15542
|
* @return DescribeMonitoringAgentProcessesResponse
|
|
@@ -15545,7 +15560,7 @@ export default class Client extends OpenApi {
|
|
|
15545
15560
|
describeMonitoringConfigWithOptions(request: DescribeMonitoringConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMonitoringConfigResponse>;
|
|
15546
15561
|
describeMonitoringConfig(request: DescribeMonitoringConfigRequest): Promise<DescribeMonitoringConfigResponse>;
|
|
15547
15562
|
/**
|
|
15548
|
-
*
|
|
15563
|
+
* > If a tag is attached to multiple cloud resources in the region, the key of the tag is returned only once.
|
|
15549
15564
|
*
|
|
15550
15565
|
* @param request DescribeProductResourceTagKeyListRequest
|
|
15551
15566
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15553,7 +15568,7 @@ export default class Client extends OpenApi {
|
|
|
15553
15568
|
*/
|
|
15554
15569
|
describeProductResourceTagKeyListWithOptions(request: DescribeProductResourceTagKeyListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeProductResourceTagKeyListResponse>;
|
|
15555
15570
|
/**
|
|
15556
|
-
*
|
|
15571
|
+
* > If a tag is attached to multiple cloud resources in the region, the key of the tag is returned only once.
|
|
15557
15572
|
*
|
|
15558
15573
|
* @param request DescribeProductResourceTagKeyListRequest
|
|
15559
15574
|
* @return DescribeProductResourceTagKeyListResponse
|
|
@@ -15577,7 +15592,7 @@ export default class Client extends OpenApi {
|
|
|
15577
15592
|
*/
|
|
15578
15593
|
describeProjectMeta(request: DescribeProjectMetaRequest): Promise<DescribeProjectMetaResponse>;
|
|
15579
15594
|
/**
|
|
15580
|
-
* The
|
|
15595
|
+
* 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
15596
|
*
|
|
15582
15597
|
* @param request DescribeSiteMonitorAttributeRequest
|
|
15583
15598
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15585,7 +15600,7 @@ export default class Client extends OpenApi {
|
|
|
15585
15600
|
*/
|
|
15586
15601
|
describeSiteMonitorAttributeWithOptions(request: DescribeSiteMonitorAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorAttributeResponse>;
|
|
15587
15602
|
/**
|
|
15588
|
-
* 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`.
|
|
15589
15604
|
*
|
|
15590
15605
|
* @param request DescribeSiteMonitorAttributeRequest
|
|
15591
15606
|
* @return DescribeSiteMonitorAttributeResponse
|
|
@@ -15609,7 +15624,7 @@ export default class Client extends OpenApi {
|
|
|
15609
15624
|
*/
|
|
15610
15625
|
describeSiteMonitorISPCityList(request: DescribeSiteMonitorISPCityListRequest): Promise<DescribeSiteMonitorISPCityListResponse>;
|
|
15611
15626
|
/**
|
|
15612
|
-
*
|
|
15627
|
+
* 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
15628
|
*
|
|
15614
15629
|
* @param request DescribeSiteMonitorListRequest
|
|
15615
15630
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15617,7 +15632,7 @@ export default class Client extends OpenApi {
|
|
|
15617
15632
|
*/
|
|
15618
15633
|
describeSiteMonitorListWithOptions(request: DescribeSiteMonitorListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorListResponse>;
|
|
15619
15634
|
/**
|
|
15620
|
-
*
|
|
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`.
|
|
15621
15636
|
*
|
|
15622
15637
|
* @param request DescribeSiteMonitorListRequest
|
|
15623
15638
|
* @return DescribeSiteMonitorListResponse
|
|
@@ -15642,12 +15657,25 @@ export default class Client extends OpenApi {
|
|
|
15642
15657
|
describeSiteMonitorLog(request: DescribeSiteMonitorLogRequest): Promise<DescribeSiteMonitorLogResponse>;
|
|
15643
15658
|
describeSiteMonitorQuotaWithOptions(request: DescribeSiteMonitorQuotaRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorQuotaResponse>;
|
|
15644
15659
|
describeSiteMonitorQuota(request: DescribeSiteMonitorQuotaRequest): Promise<DescribeSiteMonitorQuotaResponse>;
|
|
15660
|
+
/**
|
|
15661
|
+
* 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%`.
|
|
15662
|
+
*
|
|
15663
|
+
* @param request DescribeSiteMonitorStatisticsRequest
|
|
15664
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15665
|
+
* @return DescribeSiteMonitorStatisticsResponse
|
|
15666
|
+
*/
|
|
15645
15667
|
describeSiteMonitorStatisticsWithOptions(request: DescribeSiteMonitorStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorStatisticsResponse>;
|
|
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
|
+
* @return DescribeSiteMonitorStatisticsResponse
|
|
15673
|
+
*/
|
|
15646
15674
|
describeSiteMonitorStatistics(request: DescribeSiteMonitorStatisticsRequest): Promise<DescribeSiteMonitorStatisticsResponse>;
|
|
15647
15675
|
describeSystemEventAttributeWithOptions(request: DescribeSystemEventAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSystemEventAttributeResponse>;
|
|
15648
15676
|
describeSystemEventAttribute(request: DescribeSystemEventAttributeRequest): Promise<DescribeSystemEventAttributeResponse>;
|
|
15649
15677
|
/**
|
|
15650
|
-
*
|
|
15678
|
+
* 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
15679
|
*
|
|
15652
15680
|
* @param request DescribeSystemEventCountRequest
|
|
15653
15681
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15655,7 +15683,7 @@ export default class Client extends OpenApi {
|
|
|
15655
15683
|
*/
|
|
15656
15684
|
describeSystemEventCountWithOptions(request: DescribeSystemEventCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSystemEventCountResponse>;
|
|
15657
15685
|
/**
|
|
15658
|
-
*
|
|
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.
|
|
15659
15687
|
*
|
|
15660
15688
|
* @param request DescribeSystemEventCountRequest
|
|
15661
15689
|
* @return DescribeSystemEventCountResponse
|
|
@@ -15668,7 +15696,7 @@ export default class Client extends OpenApi {
|
|
|
15668
15696
|
describeTagKeyListWithOptions(request: DescribeTagKeyListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTagKeyListResponse>;
|
|
15669
15697
|
describeTagKeyList(request: DescribeTagKeyListRequest): Promise<DescribeTagKeyListResponse>;
|
|
15670
15698
|
/**
|
|
15671
|
-
*
|
|
15699
|
+
* This topic provides an example of how to query the tag values corresponding to `tagKey1`. The return results are `tagValue1` and `tagValue2`.
|
|
15672
15700
|
*
|
|
15673
15701
|
* @param request DescribeTagValueListRequest
|
|
15674
15702
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15676,7 +15704,7 @@ export default class Client extends OpenApi {
|
|
|
15676
15704
|
*/
|
|
15677
15705
|
describeTagValueListWithOptions(request: DescribeTagValueListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTagValueListResponse>;
|
|
15678
15706
|
/**
|
|
15679
|
-
*
|
|
15707
|
+
* This topic provides an example of how to query the tag values corresponding to `tagKey1`. The return results are `tagValue1` and `tagValue2`.
|
|
15680
15708
|
*
|
|
15681
15709
|
* @param request DescribeTagValueListRequest
|
|
15682
15710
|
* @return DescribeTagValueListResponse
|
|
@@ -15707,9 +15735,8 @@ export default class Client extends OpenApi {
|
|
|
15707
15735
|
enableSiteMonitorsWithOptions(request: EnableSiteMonitorsRequest, runtime: $Util.RuntimeOptions): Promise<EnableSiteMonitorsResponse>;
|
|
15708
15736
|
enableSiteMonitors(request: EnableSiteMonitorsRequest): Promise<EnableSiteMonitorsResponse>;
|
|
15709
15737
|
/**
|
|
15710
|
-
*
|
|
15711
|
-
*
|
|
15712
|
-
* * false: The call failed.
|
|
15738
|
+
* ## Prerequisites
|
|
15739
|
+
* 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
15740
|
*
|
|
15714
15741
|
* @param request InstallMonitoringAgentRequest
|
|
15715
15742
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15717,9 +15744,8 @@ export default class Client extends OpenApi {
|
|
|
15717
15744
|
*/
|
|
15718
15745
|
installMonitoringAgentWithOptions(request: InstallMonitoringAgentRequest, runtime: $Util.RuntimeOptions): Promise<InstallMonitoringAgentResponse>;
|
|
15719
15746
|
/**
|
|
15720
|
-
*
|
|
15721
|
-
*
|
|
15722
|
-
* * false: The call failed.
|
|
15747
|
+
* ## Prerequisites
|
|
15748
|
+
* 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
15749
|
*
|
|
15724
15750
|
* @param request InstallMonitoringAgentRequest
|
|
15725
15751
|
* @return InstallMonitoringAgentResponse
|
|
@@ -15758,9 +15784,7 @@ export default class Client extends OpenApi {
|
|
|
15758
15784
|
*/
|
|
15759
15785
|
modifyHostInfo(request: ModifyHostInfoRequest): Promise<ModifyHostInfoResponse>;
|
|
15760
15786
|
/**
|
|
15761
|
-
*
|
|
15762
|
-
* * true: The call was successful.
|
|
15763
|
-
* * false: The call failed.
|
|
15787
|
+
* 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
15788
|
*
|
|
15765
15789
|
* @param request ModifyHybridMonitorNamespaceRequest
|
|
15766
15790
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15768,17 +15792,14 @@ export default class Client extends OpenApi {
|
|
|
15768
15792
|
*/
|
|
15769
15793
|
modifyHybridMonitorNamespaceWithOptions(request: ModifyHybridMonitorNamespaceRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHybridMonitorNamespaceResponse>;
|
|
15770
15794
|
/**
|
|
15771
|
-
*
|
|
15772
|
-
* * true: The call was successful.
|
|
15773
|
-
* * 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.
|
|
15774
15796
|
*
|
|
15775
15797
|
* @param request ModifyHybridMonitorNamespaceRequest
|
|
15776
15798
|
* @return ModifyHybridMonitorNamespaceResponse
|
|
15777
15799
|
*/
|
|
15778
15800
|
modifyHybridMonitorNamespace(request: ModifyHybridMonitorNamespaceRequest): Promise<ModifyHybridMonitorNamespaceResponse>;
|
|
15779
15801
|
/**
|
|
15780
|
-
* The
|
|
15781
|
-
* Valid values of N: 1 to 25.
|
|
15802
|
+
* 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
15803
|
*
|
|
15783
15804
|
* @param request ModifyHybridMonitorSLSGroupRequest
|
|
15784
15805
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15786,8 +15807,7 @@ export default class Client extends OpenApi {
|
|
|
15786
15807
|
*/
|
|
15787
15808
|
modifyHybridMonitorSLSGroupWithOptions(request: ModifyHybridMonitorSLSGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyHybridMonitorSLSGroupResponse>;
|
|
15788
15809
|
/**
|
|
15789
|
-
* The
|
|
15790
|
-
* 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.
|
|
15791
15811
|
*
|
|
15792
15812
|
* @param request ModifyHybridMonitorSLSGroupRequest
|
|
15793
15813
|
* @return ModifyHybridMonitorSLSGroupResponse
|
|
@@ -15811,9 +15831,7 @@ export default class Client extends OpenApi {
|
|
|
15811
15831
|
modifyMetricRuleBlackListWithOptions(request: ModifyMetricRuleBlackListRequest, runtime: $Util.RuntimeOptions): Promise<ModifyMetricRuleBlackListResponse>;
|
|
15812
15832
|
modifyMetricRuleBlackList(request: ModifyMetricRuleBlackListRequest): Promise<ModifyMetricRuleBlackListResponse>;
|
|
15813
15833
|
/**
|
|
15814
|
-
*
|
|
15815
|
-
* * true: The call was successful.
|
|
15816
|
-
* * false: The call failed.
|
|
15834
|
+
* 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
15835
|
*
|
|
15818
15836
|
* @param request ModifyMetricRuleTemplateRequest
|
|
15819
15837
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15821,9 +15839,7 @@ export default class Client extends OpenApi {
|
|
|
15821
15839
|
*/
|
|
15822
15840
|
modifyMetricRuleTemplateWithOptions(request: ModifyMetricRuleTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ModifyMetricRuleTemplateResponse>;
|
|
15823
15841
|
/**
|
|
15824
|
-
*
|
|
15825
|
-
* * true: The call was successful.
|
|
15826
|
-
* * 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.
|
|
15827
15843
|
*
|
|
15828
15844
|
* @param request ModifyMetricRuleTemplateRequest
|
|
15829
15845
|
* @return ModifyMetricRuleTemplateResponse
|
|
@@ -15865,7 +15881,7 @@ export default class Client extends OpenApi {
|
|
|
15865
15881
|
putContactWithOptions(request: PutContactRequest, runtime: $Util.RuntimeOptions): Promise<PutContactResponse>;
|
|
15866
15882
|
putContact(request: PutContactRequest): Promise<PutContactResponse>;
|
|
15867
15883
|
/**
|
|
15868
|
-
*
|
|
15884
|
+
* This topic provides an example on how to create an alert contact group named `ECS_Group`.
|
|
15869
15885
|
*
|
|
15870
15886
|
* @param request PutContactGroupRequest
|
|
15871
15887
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15873,7 +15889,7 @@ export default class Client extends OpenApi {
|
|
|
15873
15889
|
*/
|
|
15874
15890
|
putContactGroupWithOptions(request: PutContactGroupRequest, runtime: $Util.RuntimeOptions): Promise<PutContactGroupResponse>;
|
|
15875
15891
|
/**
|
|
15876
|
-
*
|
|
15892
|
+
* This topic provides an example on how to create an alert contact group named `ECS_Group`.
|
|
15877
15893
|
*
|
|
15878
15894
|
* @param request PutContactGroupRequest
|
|
15879
15895
|
* @return PutContactGroupResponse
|
|
@@ -15882,7 +15898,7 @@ export default class Client extends OpenApi {
|
|
|
15882
15898
|
putCustomEventWithOptions(request: PutCustomEventRequest, runtime: $Util.RuntimeOptions): Promise<PutCustomEventResponse>;
|
|
15883
15899
|
putCustomEvent(request: PutCustomEventRequest): Promise<PutCustomEventResponse>;
|
|
15884
15900
|
/**
|
|
15885
|
-
*
|
|
15901
|
+
* 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
15902
|
*
|
|
15887
15903
|
* @param request PutCustomEventRuleRequest
|
|
15888
15904
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15890,18 +15906,14 @@ export default class Client extends OpenApi {
|
|
|
15890
15906
|
*/
|
|
15891
15907
|
putCustomEventRuleWithOptions(request: PutCustomEventRuleRequest, runtime: $Util.RuntimeOptions): Promise<PutCustomEventRuleResponse>;
|
|
15892
15908
|
/**
|
|
15893
|
-
*
|
|
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~~).
|
|
15894
15910
|
*
|
|
15895
15911
|
* @param request PutCustomEventRuleRequest
|
|
15896
15912
|
* @return PutCustomEventRuleResponse
|
|
15897
15913
|
*/
|
|
15898
15914
|
putCustomEventRule(request: PutCustomEventRuleRequest): Promise<PutCustomEventRuleResponse>;
|
|
15899
15915
|
/**
|
|
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.
|
|
15916
|
+
* > We recommend that you call the [PutHybridMonitorMetricData](~~383455~~) operation of Hybrid Cloud Monitoring to report monitoring data.
|
|
15905
15917
|
*
|
|
15906
15918
|
* @param request PutCustomMetricRequest
|
|
15907
15919
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15909,18 +15921,14 @@ export default class Client extends OpenApi {
|
|
|
15909
15921
|
*/
|
|
15910
15922
|
putCustomMetricWithOptions(request: PutCustomMetricRequest, runtime: $Util.RuntimeOptions): Promise<PutCustomMetricResponse>;
|
|
15911
15923
|
/**
|
|
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.
|
|
15924
|
+
* > We recommend that you call the [PutHybridMonitorMetricData](~~383455~~) operation of Hybrid Cloud Monitoring to report monitoring data.
|
|
15917
15925
|
*
|
|
15918
15926
|
* @param request PutCustomMetricRequest
|
|
15919
15927
|
* @return PutCustomMetricResponse
|
|
15920
15928
|
*/
|
|
15921
15929
|
putCustomMetric(request: PutCustomMetricRequest): Promise<PutCustomMetricResponse>;
|
|
15922
15930
|
/**
|
|
15923
|
-
*
|
|
15931
|
+
* Before you call this operation, call the PutCustomMetric operation to report custom monitoring data. For more information, see [PutCustomMetric](~~115004~~).
|
|
15924
15932
|
*
|
|
15925
15933
|
* @param request PutCustomMetricRuleRequest
|
|
15926
15934
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15928,14 +15936,15 @@ export default class Client extends OpenApi {
|
|
|
15928
15936
|
*/
|
|
15929
15937
|
putCustomMetricRuleWithOptions(request: PutCustomMetricRuleRequest, runtime: $Util.RuntimeOptions): Promise<PutCustomMetricRuleResponse>;
|
|
15930
15938
|
/**
|
|
15931
|
-
*
|
|
15939
|
+
* Before you call this operation, call the PutCustomMetric operation to report custom monitoring data. For more information, see [PutCustomMetric](~~115004~~).
|
|
15932
15940
|
*
|
|
15933
15941
|
* @param request PutCustomMetricRuleRequest
|
|
15934
15942
|
* @return PutCustomMetricRuleResponse
|
|
15935
15943
|
*/
|
|
15936
15944
|
putCustomMetricRule(request: PutCustomMetricRuleRequest): Promise<PutCustomMetricRuleResponse>;
|
|
15937
15945
|
/**
|
|
15938
|
-
*
|
|
15946
|
+
* 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.
|
|
15947
|
+
* In this example, the `myRuleName` alert rule is created for the `ecs` cloud service.
|
|
15939
15948
|
*
|
|
15940
15949
|
* @param request PutEventRuleRequest
|
|
15941
15950
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15943,7 +15952,8 @@ export default class Client extends OpenApi {
|
|
|
15943
15952
|
*/
|
|
15944
15953
|
putEventRuleWithOptions(request: PutEventRuleRequest, runtime: $Util.RuntimeOptions): Promise<PutEventRuleResponse>;
|
|
15945
15954
|
/**
|
|
15946
|
-
*
|
|
15955
|
+
* 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.
|
|
15956
|
+
* In this example, the `myRuleName` alert rule is created for the `ecs` cloud service.
|
|
15947
15957
|
*
|
|
15948
15958
|
* @param request PutEventRuleRequest
|
|
15949
15959
|
* @return PutEventRuleResponse
|
|
@@ -16009,7 +16019,7 @@ export default class Client extends OpenApi {
|
|
|
16009
16019
|
*/
|
|
16010
16020
|
putHybridMonitorMetricData(request: PutHybridMonitorMetricDataRequest): Promise<PutHybridMonitorMetricDataResponse>;
|
|
16011
16021
|
/**
|
|
16012
|
-
*
|
|
16022
|
+
* 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
16023
|
*
|
|
16014
16024
|
* @param request PutLogMonitorRequest
|
|
16015
16025
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16017,16 +16027,15 @@ export default class Client extends OpenApi {
|
|
|
16017
16027
|
*/
|
|
16018
16028
|
putLogMonitorWithOptions(request: PutLogMonitorRequest, runtime: $Util.RuntimeOptions): Promise<PutLogMonitorResponse>;
|
|
16019
16029
|
/**
|
|
16020
|
-
*
|
|
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****`.
|
|
16021
16031
|
*
|
|
16022
16032
|
* @param request PutLogMonitorRequest
|
|
16023
16033
|
* @return PutLogMonitorResponse
|
|
16024
16034
|
*/
|
|
16025
16035
|
putLogMonitor(request: PutLogMonitorRequest): Promise<PutLogMonitorResponse>;
|
|
16026
16036
|
/**
|
|
16027
|
-
*
|
|
16028
|
-
*
|
|
16029
|
-
* * false: The call failed.
|
|
16037
|
+
* ## Limit
|
|
16038
|
+
* This operation supports only Message Service (MNS) resources.
|
|
16030
16039
|
*
|
|
16031
16040
|
* @param request PutMetricRuleTargetsRequest
|
|
16032
16041
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16034,9 +16043,8 @@ export default class Client extends OpenApi {
|
|
|
16034
16043
|
*/
|
|
16035
16044
|
putMetricRuleTargetsWithOptions(request: PutMetricRuleTargetsRequest, runtime: $Util.RuntimeOptions): Promise<PutMetricRuleTargetsResponse>;
|
|
16036
16045
|
/**
|
|
16037
|
-
*
|
|
16038
|
-
*
|
|
16039
|
-
* * false: The call failed.
|
|
16046
|
+
* ## Limit
|
|
16047
|
+
* This operation supports only Message Service (MNS) resources.
|
|
16040
16048
|
*
|
|
16041
16049
|
* @param request PutMetricRuleTargetsRequest
|
|
16042
16050
|
* @return PutMetricRuleTargetsResponse
|
|
@@ -16062,9 +16070,7 @@ export default class Client extends OpenApi {
|
|
|
16062
16070
|
*/
|
|
16063
16071
|
putResourceMetricRule(request: PutResourceMetricRuleRequest): Promise<PutResourceMetricRuleResponse>;
|
|
16064
16072
|
/**
|
|
16065
|
-
*
|
|
16066
|
-
* * true: The call was successful.
|
|
16067
|
-
* * false: The call failed.
|
|
16073
|
+
* 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
16074
|
*
|
|
16069
16075
|
* @param request PutResourceMetricRulesRequest
|
|
16070
16076
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16072,9 +16078,7 @@ export default class Client extends OpenApi {
|
|
|
16072
16078
|
*/
|
|
16073
16079
|
putResourceMetricRulesWithOptions(request: PutResourceMetricRulesRequest, runtime: $Util.RuntimeOptions): Promise<PutResourceMetricRulesResponse>;
|
|
16074
16080
|
/**
|
|
16075
|
-
*
|
|
16076
|
-
* * true: The call was successful.
|
|
16077
|
-
* * 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`.
|
|
16078
16082
|
*
|
|
16079
16083
|
* @param request PutResourceMetricRulesRequest
|
|
16080
16084
|
* @return PutResourceMetricRulesResponse
|
|
@@ -16083,8 +16087,7 @@ export default class Client extends OpenApi {
|
|
|
16083
16087
|
removeTagsWithOptions(request: RemoveTagsRequest, runtime: $Util.RuntimeOptions): Promise<RemoveTagsResponse>;
|
|
16084
16088
|
removeTags(request: RemoveTagsRequest): Promise<RemoveTagsResponse>;
|
|
16085
16089
|
/**
|
|
16086
|
-
*
|
|
16087
|
-
* > For information about the system events supported by Cloud Monitor for Alibaba Cloud services, see [System events](~~167388~~).
|
|
16090
|
+
* 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
16091
|
*
|
|
16089
16092
|
* @param request SendDryRunSystemEventRequest
|
|
16090
16093
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16092,15 +16095,14 @@ export default class Client extends OpenApi {
|
|
|
16092
16095
|
*/
|
|
16093
16096
|
sendDryRunSystemEventWithOptions(request: SendDryRunSystemEventRequest, runtime: $Util.RuntimeOptions): Promise<SendDryRunSystemEventResponse>;
|
|
16094
16097
|
/**
|
|
16095
|
-
*
|
|
16096
|
-
* > 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.
|
|
16097
16099
|
*
|
|
16098
16100
|
* @param request SendDryRunSystemEventRequest
|
|
16099
16101
|
* @return SendDryRunSystemEventResponse
|
|
16100
16102
|
*/
|
|
16101
16103
|
sendDryRunSystemEvent(request: SendDryRunSystemEventRequest): Promise<SendDryRunSystemEventResponse>;
|
|
16102
16104
|
/**
|
|
16103
|
-
*
|
|
16105
|
+
* > 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
16106
|
*
|
|
16105
16107
|
* @param request UninstallMonitoringAgentRequest
|
|
16106
16108
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16108,7 +16110,7 @@ export default class Client extends OpenApi {
|
|
|
16108
16110
|
*/
|
|
16109
16111
|
uninstallMonitoringAgentWithOptions(request: UninstallMonitoringAgentRequest, runtime: $Util.RuntimeOptions): Promise<UninstallMonitoringAgentResponse>;
|
|
16110
16112
|
/**
|
|
16111
|
-
*
|
|
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~~).
|
|
16112
16114
|
*
|
|
16113
16115
|
* @param request UninstallMonitoringAgentRequest
|
|
16114
16116
|
* @return UninstallMonitoringAgentResponse
|