import * as $dara from '@darabonba/typescript'; import OpenApi from '@alicloud/openapi-core'; import { $OpenApiUtil } from '@alicloud/openapi-core'; import * as $_model from './models/model'; export * from './models/model'; export default class Client extends OpenApi { constructor(config: $OpenApiUtil.Config); getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: { [key: string]: string; }, endpoint: string): string; /** * Adds tags to an application group. * * @remarks * This topic provides an example on how to add a tag to an application group whose ID is `7301****`. In this example, the key of the tag is `key1` and the value of the tag is `value1`. * * @param request - AddTagsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddTagsResponse */ addTagsWithOptions(request: $_model.AddTagsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddTagsResponse>; /** * Adds tags to an application group. * * @remarks * This topic provides an example on how to add a tag to an application group whose ID is `7301****`. In this example, the key of the tag is `key1` and the value of the tag is `value1`. * * @param request - AddTagsRequest * @returns AddTagsResponse */ addTags(request: $_model.AddTagsRequest): Promise<$_model.AddTagsResponse>; /** * Applies an alert template to an application group to generate an alert rule. * * @remarks * 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`. * * @param request - ApplyMetricRuleTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ApplyMetricRuleTemplateResponse */ applyMetricRuleTemplateWithOptions(request: $_model.ApplyMetricRuleTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ApplyMetricRuleTemplateResponse>; /** * Applies an alert template to an application group to generate an alert rule. * * @remarks * 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`. * * @param request - ApplyMetricRuleTemplateRequest * @returns ApplyMetricRuleTemplateResponse */ applyMetricRuleTemplate(request: $_model.ApplyMetricRuleTemplateRequest): Promise<$_model.ApplyMetricRuleTemplateResponse>; /** * Creates site monitoring tasks. * * @remarks * 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****`. * * @param request - BatchCreateInstantSiteMonitorRequest * @param runtime - runtime options for this request RuntimeOptions * @returns BatchCreateInstantSiteMonitorResponse */ batchCreateInstantSiteMonitorWithOptions(request: $_model.BatchCreateInstantSiteMonitorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BatchCreateInstantSiteMonitorResponse>; /** * Creates site monitoring tasks. * * @remarks * 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****`. * * @param request - BatchCreateInstantSiteMonitorRequest * @returns BatchCreateInstantSiteMonitorResponse */ batchCreateInstantSiteMonitor(request: $_model.BatchCreateInstantSiteMonitorRequest): Promise<$_model.BatchCreateInstantSiteMonitorResponse>; /** * Exports the monitoring data that is defined in the Cursor operation. * * @remarks * ### [](#)Prerequisites * The `Cursor` information is returned by calling the [Cursor](https://help.aliyun.com/document_detail/2330730.html) operation. * ### [](#)Description * This topic provides an example on how to export the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The `Cursor` information is specified. A maximum of 1,000 data entries can be returned in each response. * * @param tmpReq - BatchExportRequest * @param runtime - runtime options for this request RuntimeOptions * @returns BatchExportResponse */ batchExportWithOptions(tmpReq: $_model.BatchExportRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BatchExportResponse>; /** * Exports the monitoring data that is defined in the Cursor operation. * * @remarks * ### [](#)Prerequisites * The `Cursor` information is returned by calling the [Cursor](https://help.aliyun.com/document_detail/2330730.html) operation. * ### [](#)Description * This topic provides an example on how to export the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The `Cursor` information is specified. A maximum of 1,000 data entries can be returned in each response. * * @param request - BatchExportRequest * @returns BatchExportResponse */ batchExport(request: $_model.BatchExportRequest): Promise<$_model.BatchExportResponse>; /** * Creates an application group based on the tags of cloud resources. * * @remarks * This operation is available for Elastic Compute Service (ECS), ApsaraDB RDS, and Server Load Balancer (SLB). * 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`. * * @param request - CreateDynamicTagGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateDynamicTagGroupResponse */ createDynamicTagGroupWithOptions(request: $_model.CreateDynamicTagGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDynamicTagGroupResponse>; /** * Creates an application group based on the tags of cloud resources. * * @remarks * This operation is available for Elastic Compute Service (ECS), ApsaraDB RDS, and Server Load Balancer (SLB). * 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`. * * @param request - CreateDynamicTagGroupRequest * @returns CreateDynamicTagGroupResponse */ createDynamicTagGroup(request: $_model.CreateDynamicTagGroupRequest): Promise<$_model.CreateDynamicTagGroupResponse>; /** * Creates one or more alert rules for a specified application group. * * @remarks * 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. * * @param request - CreateGroupMetricRulesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateGroupMetricRulesResponse */ createGroupMetricRulesWithOptions(request: $_model.CreateGroupMetricRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGroupMetricRulesResponse>; /** * Creates one or more alert rules for a specified application group. * * @remarks * 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. * * @param request - CreateGroupMetricRulesRequest * @returns CreateGroupMetricRulesResponse */ createGroupMetricRules(request: $_model.CreateGroupMetricRulesRequest): Promise<$_model.CreateGroupMetricRulesResponse>; /** * Creates a process monitoring task for an application group. * * @param request - CreateGroupMonitoringAgentProcessRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateGroupMonitoringAgentProcessResponse */ createGroupMonitoringAgentProcessWithOptions(request: $_model.CreateGroupMonitoringAgentProcessRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGroupMonitoringAgentProcessResponse>; /** * Creates a process monitoring task for an application group. * * @param request - CreateGroupMonitoringAgentProcessRequest * @returns CreateGroupMonitoringAgentProcessResponse */ createGroupMonitoringAgentProcess(request: $_model.CreateGroupMonitoringAgentProcessRequest): Promise<$_model.CreateGroupMonitoringAgentProcessResponse>; /** * Creates an availability monitoring task. * * @remarks * This topic provides an example on how to create an availability monitoring task named `task1` in an application group named `123456`. The TaskType parameter of the task is set to `HTTP`. After you start the task, the system sends alerts by using the specified email address and DingTalk chatbot. * * @param request - CreateHostAvailabilityRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateHostAvailabilityResponse */ createHostAvailabilityWithOptions(request: $_model.CreateHostAvailabilityRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateHostAvailabilityResponse>; /** * Creates an availability monitoring task. * * @remarks * This topic provides an example on how to create an availability monitoring task named `task1` in an application group named `123456`. The TaskType parameter of the task is set to `HTTP`. After you start the task, the system sends alerts by using the specified email address and DingTalk chatbot. * * @param request - CreateHostAvailabilityRequest * @returns CreateHostAvailabilityResponse */ createHostAvailability(request: $_model.CreateHostAvailabilityRequest): Promise<$_model.CreateHostAvailabilityResponse>; /** * Creates a namespace. * * @remarks * ## [](#)Prerequisites * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](https://help.aliyun.com/document_detail/250773.html). * ## [](#)Operation description * This topic provides an example on how to create a namespace named `aliyun`. In this example, the data retention period of the namespace is set to `cms.s1.3xlarge`. The returned result indicates that the namespace is created. * * @param request - CreateHybridMonitorNamespaceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateHybridMonitorNamespaceResponse */ createHybridMonitorNamespaceWithOptions(request: $_model.CreateHybridMonitorNamespaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateHybridMonitorNamespaceResponse>; /** * Creates a namespace. * * @remarks * ## [](#)Prerequisites * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](https://help.aliyun.com/document_detail/250773.html). * ## [](#)Operation description * This topic provides an example on how to create a namespace named `aliyun`. In this example, the data retention period of the namespace is set to `cms.s1.3xlarge`. The returned result indicates that the namespace is created. * * @param request - CreateHybridMonitorNamespaceRequest * @returns CreateHybridMonitorNamespaceResponse */ createHybridMonitorNamespace(request: $_model.CreateHybridMonitorNamespaceRequest): Promise<$_model.CreateHybridMonitorNamespaceResponse>; /** * Creates a Logstore group of Hybrid Cloud Monitoring. * * @remarks * ### [](#)Prerequisites * Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](https://help.aliyun.com/document_detail/54604.html). * ### [](#)Operation description * This topic provides an example on how to create a Logstore group named `Logstore_test`. The region ID is `cn-hangzhou`. The project is `aliyun-project`. The Logstore is `Logstore-ECS`. The response shows that the Logstore group is created. * * @param request - CreateHybridMonitorSLSGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateHybridMonitorSLSGroupResponse */ createHybridMonitorSLSGroupWithOptions(request: $_model.CreateHybridMonitorSLSGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateHybridMonitorSLSGroupResponse>; /** * Creates a Logstore group of Hybrid Cloud Monitoring. * * @remarks * ### [](#)Prerequisites * Simple Log Service is activated. A project and a Logstore are created in Simple Log Service. For more information, see [Getting Started](https://help.aliyun.com/document_detail/54604.html). * ### [](#)Operation description * This topic provides an example on how to create a Logstore group named `Logstore_test`. The region ID is `cn-hangzhou`. The project is `aliyun-project`. The Logstore is `Logstore-ECS`. The response shows that the Logstore group is created. * * @param request - CreateHybridMonitorSLSGroupRequest * @returns CreateHybridMonitorSLSGroupResponse */ createHybridMonitorSLSGroup(request: $_model.CreateHybridMonitorSLSGroupRequest): Promise<$_model.CreateHybridMonitorSLSGroupResponse>; /** * Creates a metric import task for an Alibaba Cloud service or creates a metric for logs imported from Simple Log Service. * * @remarks * # [](#)Prerequisites * * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](https://help.aliyun.com/document_detail/250773.html). * * If you want to create a metric for logs imported from Simple Log Service, make sure that you have activated Simple Log Service and created a project and a Logstore. For more information, see [Getting Started](https://help.aliyun.com/document_detail/54604.html). * # [](#)Description * This topic provides an example on how to create a metric import task named `aliyun_task` for Elastic Compute Service (ECS). The task imports the `cpu_total` metric to the `aliyun` namespace. The response shows that the metric import task is created. * * @param request - CreateHybridMonitorTaskRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateHybridMonitorTaskResponse */ createHybridMonitorTaskWithOptions(request: $_model.CreateHybridMonitorTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateHybridMonitorTaskResponse>; /** * Creates a metric import task for an Alibaba Cloud service or creates a metric for logs imported from Simple Log Service. * * @remarks * # [](#)Prerequisites * * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](https://help.aliyun.com/document_detail/250773.html). * * If you want to create a metric for logs imported from Simple Log Service, make sure that you have activated Simple Log Service and created a project and a Logstore. For more information, see [Getting Started](https://help.aliyun.com/document_detail/54604.html). * # [](#)Description * This topic provides an example on how to create a metric import task named `aliyun_task` for Elastic Compute Service (ECS). The task imports the `cpu_total` metric to the `aliyun` namespace. The response shows that the metric import task is created. * * @param request - CreateHybridMonitorTaskRequest * @returns CreateHybridMonitorTaskResponse */ createHybridMonitorTask(request: $_model.CreateHybridMonitorTaskRequest): Promise<$_model.CreateHybridMonitorTaskResponse>; /** * Creates an instant test task. * * @remarks * You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring. * This topic provides an example to show how to create an instant test task. The name of the task is `task1`. The tested address is `http://www.aliyun.com`. The test type is `HTTP`. The number of detection points is `1`. * * @param request - CreateInstantSiteMonitorRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateInstantSiteMonitorResponse */ createInstantSiteMonitorWithOptions(request: $_model.CreateInstantSiteMonitorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateInstantSiteMonitorResponse>; /** * Creates an instant test task. * * @remarks * You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring. * This topic provides an example to show how to create an instant test task. The name of the task is `task1`. The tested address is `http://www.aliyun.com`. The test type is `HTTP`. The number of detection points is `1`. * * @param request - CreateInstantSiteMonitorRequest * @returns CreateInstantSiteMonitorResponse */ createInstantSiteMonitor(request: $_model.CreateInstantSiteMonitorRequest): Promise<$_model.CreateInstantSiteMonitorResponse>; /** * Creates a blacklist policy. * * @remarks * ### Background information * * CloudMonitor blocks alert notifications based on the blacklist policies that take effect. To block alert notifications when the value of a metric that belongs to a cloud service reaches the threshold that you specified, add the metric to a blacklist policy. * * CloudMonitor allows you to create blacklist policies only based on threshold metrics. You cannot create blacklist policies based on system events. For more information about the cloud services and the thresholds of the metrics that are supported by CloudMonitor, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html). * * @param request - CreateMetricRuleBlackListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMetricRuleBlackListResponse */ createMetricRuleBlackListWithOptions(request: $_model.CreateMetricRuleBlackListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMetricRuleBlackListResponse>; /** * Creates a blacklist policy. * * @remarks * ### Background information * * CloudMonitor blocks alert notifications based on the blacklist policies that take effect. To block alert notifications when the value of a metric that belongs to a cloud service reaches the threshold that you specified, add the metric to a blacklist policy. * * CloudMonitor allows you to create blacklist policies only based on threshold metrics. You cannot create blacklist policies based on system events. For more information about the cloud services and the thresholds of the metrics that are supported by CloudMonitor, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html). * * @param request - CreateMetricRuleBlackListRequest * @returns CreateMetricRuleBlackListResponse */ createMetricRuleBlackList(request: $_model.CreateMetricRuleBlackListRequest): Promise<$_model.CreateMetricRuleBlackListResponse>; /** * Associates resources with an alert rule. * * @param request - CreateMetricRuleResourcesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMetricRuleResourcesResponse */ createMetricRuleResourcesWithOptions(request: $_model.CreateMetricRuleResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMetricRuleResourcesResponse>; /** * Associates resources with an alert rule. * * @param request - CreateMetricRuleResourcesRequest * @returns CreateMetricRuleResourcesResponse */ createMetricRuleResources(request: $_model.CreateMetricRuleResourcesRequest): Promise<$_model.CreateMetricRuleResourcesResponse>; /** * Creates an alert template. * * @param request - CreateMetricRuleTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMetricRuleTemplateResponse */ createMetricRuleTemplateWithOptions(request: $_model.CreateMetricRuleTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMetricRuleTemplateResponse>; /** * Creates an alert template. * * @param request - CreateMetricRuleTemplateRequest * @returns CreateMetricRuleTemplateResponse */ createMetricRuleTemplate(request: $_model.CreateMetricRuleTemplateRequest): Promise<$_model.CreateMetricRuleTemplateResponse>; /** * Creates a task to monitor a process. * * @param request - CreateMonitorAgentProcessRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMonitorAgentProcessResponse */ createMonitorAgentProcessWithOptions(request: $_model.CreateMonitorAgentProcessRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMonitorAgentProcessResponse>; /** * Creates a task to monitor a process. * * @param request - CreateMonitorAgentProcessRequest * @returns CreateMonitorAgentProcessResponse */ createMonitorAgentProcess(request: $_model.CreateMonitorAgentProcessRequest): Promise<$_model.CreateMonitorAgentProcessResponse>; /** * Creates an application group. * * @remarks * In this example, an application group named `ECS_Group` is created. * * @param request - CreateMonitorGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMonitorGroupResponse */ createMonitorGroupWithOptions(request: $_model.CreateMonitorGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMonitorGroupResponse>; /** * Creates an application group. * * @remarks * In this example, an application group named `ECS_Group` is created. * * @param request - CreateMonitorGroupRequest * @returns CreateMonitorGroupResponse */ createMonitorGroup(request: $_model.CreateMonitorGroupRequest): Promise<$_model.CreateMonitorGroupResponse>; /** * Creates an application group by using a resource group. * * @remarks * This topic provides an example on how to create an application group by using the resource group `CloudMonitor` and the alert contact group `ECS_Group`. The region ID of the resource group is `cn-hangzhou`. * * @param request - CreateMonitorGroupByResourceGroupIdRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMonitorGroupByResourceGroupIdResponse */ createMonitorGroupByResourceGroupIdWithOptions(request: $_model.CreateMonitorGroupByResourceGroupIdRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMonitorGroupByResourceGroupIdResponse>; /** * Creates an application group by using a resource group. * * @remarks * This topic provides an example on how to create an application group by using the resource group `CloudMonitor` and the alert contact group `ECS_Group`. The region ID of the resource group is `cn-hangzhou`. * * @param request - CreateMonitorGroupByResourceGroupIdRequest * @returns CreateMonitorGroupByResourceGroupIdResponse */ createMonitorGroupByResourceGroupId(request: $_model.CreateMonitorGroupByResourceGroupIdRequest): Promise<$_model.CreateMonitorGroupByResourceGroupIdResponse>; /** * Adds resources to an application group. * * @remarks * 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. * 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`. * * @param request - CreateMonitorGroupInstancesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMonitorGroupInstancesResponse */ createMonitorGroupInstancesWithOptions(request: $_model.CreateMonitorGroupInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMonitorGroupInstancesResponse>; /** * Adds resources to an application group. * * @remarks * 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. * 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`. * * @param request - CreateMonitorGroupInstancesRequest * @returns CreateMonitorGroupInstancesResponse */ createMonitorGroupInstances(request: $_model.CreateMonitorGroupInstancesRequest): Promise<$_model.CreateMonitorGroupInstancesResponse>; /** * Creates a policy to pause alert notifications for an application group. * * @remarks * If the policy is valid, no alert notifications are sent for the application group. * This topic describes how to create a `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`. * * @param request - CreateMonitorGroupNotifyPolicyRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMonitorGroupNotifyPolicyResponse */ createMonitorGroupNotifyPolicyWithOptions(request: $_model.CreateMonitorGroupNotifyPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMonitorGroupNotifyPolicyResponse>; /** * Creates a policy to pause alert notifications for an application group. * * @remarks * If the policy is valid, no alert notifications are sent for the application group. * This topic describes how to create a `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`. * * @param request - CreateMonitorGroupNotifyPolicyRequest * @returns CreateMonitorGroupNotifyPolicyResponse */ createMonitorGroupNotifyPolicy(request: $_model.CreateMonitorGroupNotifyPolicyRequest): Promise<$_model.CreateMonitorGroupNotifyPolicyResponse>; /** * Creates a task to monitor a process. * * @param request - CreateMonitoringAgentProcessRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMonitoringAgentProcessResponse */ createMonitoringAgentProcessWithOptions(request: $_model.CreateMonitoringAgentProcessRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMonitoringAgentProcessResponse>; /** * Creates a task to monitor a process. * * @param request - CreateMonitoringAgentProcessRequest * @returns CreateMonitoringAgentProcessResponse */ createMonitoringAgentProcess(request: $_model.CreateMonitoringAgentProcessRequest): Promise<$_model.CreateMonitoringAgentProcessResponse>; /** * Creates a site monitoring task. * * @remarks * This topic provides an example on how to create a site monitoring task named `HanZhou_ECS1`. The URL that is monitored by the task is `https://www.aliyun.com` and the type of the task is `HTTPS`. * * @param request - CreateSiteMonitorRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateSiteMonitorResponse */ createSiteMonitorWithOptions(request: $_model.CreateSiteMonitorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSiteMonitorResponse>; /** * Creates a site monitoring task. * * @remarks * This topic provides an example on how to create a site monitoring task named `HanZhou_ECS1`. The URL that is monitored by the task is `https://www.aliyun.com` and the type of the task is `HTTPS`. * * @param request - CreateSiteMonitorRequest * @returns CreateSiteMonitorResponse */ createSiteMonitor(request: $_model.CreateSiteMonitorRequest): Promise<$_model.CreateSiteMonitorResponse>; /** * Defines the range of monitoring data that you want to export. The Cursor information is returned. When you call the BatchExport operation for the first time, you must specify the Cursor information. * * @remarks * ### [](#)Prerequisites * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](https://help.aliyun.com/document_detail/250773.html). * ### [](#)Background information * You can call this operation to obtain the Cursor information and then call the [BatchExport](https://help.aliyun.com/document_detail/2329847.html) operation to export the monitoring data. * ### [](#)Description * This topic provides an example on how to define the monitoring data of a specified metric for a specified cloud service. In this example, the namespace of the cloud service is set to `acs_ecs_dashboard`, the metric is set to `cpu_idle`, the start time is set to `1641627000000`, and the end time is set to `1641645000000`. The number of idle CPU cores on your Elastic Compute Service (ECS) instances is measured every 60 seconds from 15:30:00, January 8, 2022 to 20:30:00, January 8, 2022. The `Cursor` information is returned. * * @param tmpReq - CursorRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CursorResponse */ cursorWithOptions(tmpReq: $_model.CursorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CursorResponse>; /** * Defines the range of monitoring data that you want to export. The Cursor information is returned. When you call the BatchExport operation for the first time, you must specify the Cursor information. * * @remarks * ### [](#)Prerequisites * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](https://help.aliyun.com/document_detail/250773.html). * ### [](#)Background information * You can call this operation to obtain the Cursor information and then call the [BatchExport](https://help.aliyun.com/document_detail/2329847.html) operation to export the monitoring data. * ### [](#)Description * This topic provides an example on how to define the monitoring data of a specified metric for a specified cloud service. In this example, the namespace of the cloud service is set to `acs_ecs_dashboard`, the metric is set to `cpu_idle`, the start time is set to `1641627000000`, and the end time is set to `1641645000000`. The number of idle CPU cores on your Elastic Compute Service (ECS) instances is measured every 60 seconds from 15:30:00, January 8, 2022 to 20:30:00, January 8, 2022. The `Cursor` information is returned. * * @param request - CursorRequest * @returns CursorResponse */ cursor(request: $_model.CursorRequest): Promise<$_model.CursorResponse>; /** * Deletes an alert contact. * * @param request - DeleteContactRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteContactResponse */ deleteContactWithOptions(request: $_model.DeleteContactRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteContactResponse>; /** * Deletes an alert contact. * * @param request - DeleteContactRequest * @returns DeleteContactResponse */ deleteContact(request: $_model.DeleteContactRequest): Promise<$_model.DeleteContactResponse>; /** * Deletes an alert contact group. * * @param request - DeleteContactGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteContactGroupResponse */ deleteContactGroupWithOptions(request: $_model.DeleteContactGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteContactGroupResponse>; /** * Deletes an alert contact group. * * @param request - DeleteContactGroupRequest * @returns DeleteContactGroupResponse */ deleteContactGroup(request: $_model.DeleteContactGroupRequest): Promise<$_model.DeleteContactGroupResponse>; /** * Deletes the reported monitoring data of a metric. * * @param request - DeleteCustomMetricRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteCustomMetricResponse */ deleteCustomMetricWithOptions(request: $_model.DeleteCustomMetricRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCustomMetricResponse>; /** * Deletes the reported monitoring data of a metric. * * @param request - DeleteCustomMetricRequest * @returns DeleteCustomMetricResponse */ deleteCustomMetric(request: $_model.DeleteCustomMetricRequest): Promise<$_model.DeleteCustomMetricResponse>; /** * Deletes a tag rule. * * @param request - DeleteDynamicTagGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteDynamicTagGroupResponse */ deleteDynamicTagGroupWithOptions(request: $_model.DeleteDynamicTagGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteDynamicTagGroupResponse>; /** * Deletes a tag rule. * * @param request - DeleteDynamicTagGroupRequest * @returns DeleteDynamicTagGroupResponse */ deleteDynamicTagGroup(request: $_model.DeleteDynamicTagGroupRequest): Promise<$_model.DeleteDynamicTagGroupResponse>; /** * Deletes the push channels of an event-triggered alert rule. * * @param request - DeleteEventRuleTargetsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteEventRuleTargetsResponse */ deleteEventRuleTargetsWithOptions(request: $_model.DeleteEventRuleTargetsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteEventRuleTargetsResponse>; /** * Deletes the push channels of an event-triggered alert rule. * * @param request - DeleteEventRuleTargetsRequest * @returns DeleteEventRuleTargetsResponse */ deleteEventRuleTargets(request: $_model.DeleteEventRuleTargetsRequest): Promise<$_model.DeleteEventRuleTargetsResponse>; /** * Deletes event-triggered alert rules. * * @param request - DeleteEventRulesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteEventRulesResponse */ deleteEventRulesWithOptions(request: $_model.DeleteEventRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteEventRulesResponse>; /** * Deletes event-triggered alert rules. * * @param request - DeleteEventRulesRequest * @returns DeleteEventRulesResponse */ deleteEventRules(request: $_model.DeleteEventRulesRequest): Promise<$_model.DeleteEventRulesResponse>; /** * Deletes a configuration set that is used to export monitoring data. * * @param request - DeleteExporterOutputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteExporterOutputResponse */ deleteExporterOutputWithOptions(request: $_model.DeleteExporterOutputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteExporterOutputResponse>; /** * Deletes a configuration set that is used to export monitoring data. * * @param request - DeleteExporterOutputRequest * @returns DeleteExporterOutputResponse */ deleteExporterOutput(request: $_model.DeleteExporterOutputRequest): Promise<$_model.DeleteExporterOutputResponse>; /** * Deletes a data export rule. * * @param request - DeleteExporterRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteExporterRuleResponse */ deleteExporterRuleWithOptions(request: $_model.DeleteExporterRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteExporterRuleResponse>; /** * Deletes a data export rule. * * @param request - DeleteExporterRuleRequest * @returns DeleteExporterRuleResponse */ deleteExporterRule(request: $_model.DeleteExporterRuleRequest): Promise<$_model.DeleteExporterRuleResponse>; /** * Deletes a process monitoring task for an application group. * * @param request - DeleteGroupMonitoringAgentProcessRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteGroupMonitoringAgentProcessResponse */ deleteGroupMonitoringAgentProcessWithOptions(request: $_model.DeleteGroupMonitoringAgentProcessRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteGroupMonitoringAgentProcessResponse>; /** * Deletes a process monitoring task for an application group. * * @param request - DeleteGroupMonitoringAgentProcessRequest * @returns DeleteGroupMonitoringAgentProcessResponse */ deleteGroupMonitoringAgentProcess(request: $_model.DeleteGroupMonitoringAgentProcessRequest): Promise<$_model.DeleteGroupMonitoringAgentProcessResponse>; /** * Deletes availability monitoring tasks. * * @param request - DeleteHostAvailabilityRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteHostAvailabilityResponse */ deleteHostAvailabilityWithOptions(request: $_model.DeleteHostAvailabilityRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteHostAvailabilityResponse>; /** * Deletes availability monitoring tasks. * * @param request - DeleteHostAvailabilityRequest * @returns DeleteHostAvailabilityResponse */ deleteHostAvailability(request: $_model.DeleteHostAvailabilityRequest): Promise<$_model.DeleteHostAvailabilityResponse>; /** * Deletes a namespace. * * @remarks * > If a metric import task is created for metrics in a namespace, you cannot delete the namespace unless you delete the task first. * This topic provides an example on how to delete a namespace named `aliyun`. The response shows that the namespace is deleted. * * @param request - DeleteHybridMonitorNamespaceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteHybridMonitorNamespaceResponse */ deleteHybridMonitorNamespaceWithOptions(request: $_model.DeleteHybridMonitorNamespaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteHybridMonitorNamespaceResponse>; /** * Deletes a namespace. * * @remarks * > If a metric import task is created for metrics in a namespace, you cannot delete the namespace unless you delete the task first. * This topic provides an example on how to delete a namespace named `aliyun`. The response shows that the namespace is deleted. * * @param request - DeleteHybridMonitorNamespaceRequest * @returns DeleteHybridMonitorNamespaceResponse */ deleteHybridMonitorNamespace(request: $_model.DeleteHybridMonitorNamespaceRequest): Promise<$_model.DeleteHybridMonitorNamespaceResponse>; /** * Deletes a Logstore group. * * @remarks * This topic provides an example on how to delete a Logstore group named `Logstore_test`. The response shows that the Logstore group is deleted. * * @param request - DeleteHybridMonitorSLSGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteHybridMonitorSLSGroupResponse */ deleteHybridMonitorSLSGroupWithOptions(request: $_model.DeleteHybridMonitorSLSGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteHybridMonitorSLSGroupResponse>; /** * Deletes a Logstore group. * * @remarks * This topic provides an example on how to delete a Logstore group named `Logstore_test`. The response shows that the Logstore group is deleted. * * @param request - DeleteHybridMonitorSLSGroupRequest * @returns DeleteHybridMonitorSLSGroupResponse */ deleteHybridMonitorSLSGroup(request: $_model.DeleteHybridMonitorSLSGroupRequest): Promise<$_model.DeleteHybridMonitorSLSGroupResponse>; /** * Deletes a metric import task for Alibaba Cloud services or a metric for the logs that are imported from Log Service. * * @remarks * This topic provides an example on how to delete a metric import task whose ID is `36****`. The returned result indicates that the metric import task is deleted. * * @param request - DeleteHybridMonitorTaskRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteHybridMonitorTaskResponse */ deleteHybridMonitorTaskWithOptions(request: $_model.DeleteHybridMonitorTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteHybridMonitorTaskResponse>; /** * Deletes a metric import task for Alibaba Cloud services or a metric for the logs that are imported from Log Service. * * @remarks * This topic provides an example on how to delete a metric import task whose ID is `36****`. The returned result indicates that the metric import task is deleted. * * @param request - DeleteHybridMonitorTaskRequest * @returns DeleteHybridMonitorTaskResponse */ deleteHybridMonitorTask(request: $_model.DeleteHybridMonitorTaskRequest): Promise<$_model.DeleteHybridMonitorTaskResponse>; /** * Deletes a log monitoring metric. * * @param request - DeleteLogMonitorRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteLogMonitorResponse */ deleteLogMonitorWithOptions(request: $_model.DeleteLogMonitorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLogMonitorResponse>; /** * Deletes a log monitoring metric. * * @param request - DeleteLogMonitorRequest * @returns DeleteLogMonitorResponse */ deleteLogMonitor(request: $_model.DeleteLogMonitorRequest): Promise<$_model.DeleteLogMonitorResponse>; /** * Deletes multiple blacklist policies at a time. * * @param request - DeleteMetricRuleBlackListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMetricRuleBlackListResponse */ deleteMetricRuleBlackListWithOptions(request: $_model.DeleteMetricRuleBlackListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMetricRuleBlackListResponse>; /** * Deletes multiple blacklist policies at a time. * * @param request - DeleteMetricRuleBlackListRequest * @returns DeleteMetricRuleBlackListResponse */ deleteMetricRuleBlackList(request: $_model.DeleteMetricRuleBlackListRequest): Promise<$_model.DeleteMetricRuleBlackListResponse>; /** * Disassociates resources from an alert rule. * * @param request - DeleteMetricRuleResourcesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMetricRuleResourcesResponse */ deleteMetricRuleResourcesWithOptions(request: $_model.DeleteMetricRuleResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMetricRuleResourcesResponse>; /** * Disassociates resources from an alert rule. * * @param request - DeleteMetricRuleResourcesRequest * @returns DeleteMetricRuleResourcesResponse */ deleteMetricRuleResources(request: $_model.DeleteMetricRuleResourcesRequest): Promise<$_model.DeleteMetricRuleResourcesResponse>; /** * Delete the push channels of an alert rule. * * @param request - DeleteMetricRuleTargetsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMetricRuleTargetsResponse */ deleteMetricRuleTargetsWithOptions(request: $_model.DeleteMetricRuleTargetsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMetricRuleTargetsResponse>; /** * Delete the push channels of an alert rule. * * @param request - DeleteMetricRuleTargetsRequest * @returns DeleteMetricRuleTargetsResponse */ deleteMetricRuleTargets(request: $_model.DeleteMetricRuleTargetsRequest): Promise<$_model.DeleteMetricRuleTargetsResponse>; /** * Deletes an alert template. * * @param request - DeleteMetricRuleTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMetricRuleTemplateResponse */ deleteMetricRuleTemplateWithOptions(request: $_model.DeleteMetricRuleTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMetricRuleTemplateResponse>; /** * Deletes an alert template. * * @param request - DeleteMetricRuleTemplateRequest * @returns DeleteMetricRuleTemplateResponse */ deleteMetricRuleTemplate(request: $_model.DeleteMetricRuleTemplateRequest): Promise<$_model.DeleteMetricRuleTemplateResponse>; /** * Deletes one or more alert rules. * * @param request - DeleteMetricRulesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMetricRulesResponse */ deleteMetricRulesWithOptions(request: $_model.DeleteMetricRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMetricRulesResponse>; /** * Deletes one or more alert rules. * * @param request - DeleteMetricRulesRequest * @returns DeleteMetricRulesResponse */ deleteMetricRules(request: $_model.DeleteMetricRulesRequest): Promise<$_model.DeleteMetricRulesResponse>; /** * Deletes an application group. * * @param request - DeleteMonitorGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMonitorGroupResponse */ deleteMonitorGroupWithOptions(request: $_model.DeleteMonitorGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMonitorGroupResponse>; /** * Deletes an application group. * * @param request - DeleteMonitorGroupRequest * @returns DeleteMonitorGroupResponse */ deleteMonitorGroup(request: $_model.DeleteMonitorGroupRequest): Promise<$_model.DeleteMonitorGroupResponse>; /** * Deletes a rule that is used to dynamically add the instances of a service to an application group. * * @param request - DeleteMonitorGroupDynamicRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMonitorGroupDynamicRuleResponse */ deleteMonitorGroupDynamicRuleWithOptions(request: $_model.DeleteMonitorGroupDynamicRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMonitorGroupDynamicRuleResponse>; /** * Deletes a rule that is used to dynamically add the instances of a service to an application group. * * @param request - DeleteMonitorGroupDynamicRuleRequest * @returns DeleteMonitorGroupDynamicRuleResponse */ deleteMonitorGroupDynamicRule(request: $_model.DeleteMonitorGroupDynamicRuleRequest): Promise<$_model.DeleteMonitorGroupDynamicRuleResponse>; /** * Removes instances from an application group. * * @param request - DeleteMonitorGroupInstancesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMonitorGroupInstancesResponse */ deleteMonitorGroupInstancesWithOptions(request: $_model.DeleteMonitorGroupInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMonitorGroupInstancesResponse>; /** * Removes instances from an application group. * * @param request - DeleteMonitorGroupInstancesRequest * @returns DeleteMonitorGroupInstancesResponse */ deleteMonitorGroupInstances(request: $_model.DeleteMonitorGroupInstancesRequest): Promise<$_model.DeleteMonitorGroupInstancesResponse>; /** * Deletes a policy that is used to pause alert notifications for an application group. * * @param request - DeleteMonitorGroupNotifyPolicyRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMonitorGroupNotifyPolicyResponse */ deleteMonitorGroupNotifyPolicyWithOptions(request: $_model.DeleteMonitorGroupNotifyPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMonitorGroupNotifyPolicyResponse>; /** * Deletes a policy that is used to pause alert notifications for an application group. * * @param request - DeleteMonitorGroupNotifyPolicyRequest * @returns DeleteMonitorGroupNotifyPolicyResponse */ deleteMonitorGroupNotifyPolicy(request: $_model.DeleteMonitorGroupNotifyPolicyRequest): Promise<$_model.DeleteMonitorGroupNotifyPolicyResponse>; /** * Disables monitoring on a process. * * @param request - DeleteMonitoringAgentProcessRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMonitoringAgentProcessResponse */ deleteMonitoringAgentProcessWithOptions(request: $_model.DeleteMonitoringAgentProcessRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMonitoringAgentProcessResponse>; /** * Disables monitoring on a process. * * @param request - DeleteMonitoringAgentProcessRequest * @returns DeleteMonitoringAgentProcessResponse */ deleteMonitoringAgentProcess(request: $_model.DeleteMonitoringAgentProcessRequest): Promise<$_model.DeleteMonitoringAgentProcessResponse>; /** * Deletes one or more site monitoring tasks. * * @param request - DeleteSiteMonitorsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteSiteMonitorsResponse */ deleteSiteMonitorsWithOptions(request: $_model.DeleteSiteMonitorsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSiteMonitorsResponse>; /** * Deletes one or more site monitoring tasks. * * @param request - DeleteSiteMonitorsRequest * @returns DeleteSiteMonitorsResponse */ deleteSiteMonitors(request: $_model.DeleteSiteMonitorsRequest): Promise<$_model.DeleteSiteMonitorsResponse>; /** * Queries the details of initiative alert rules. * * @param request - DescribeActiveMetricRuleListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeActiveMetricRuleListResponse */ describeActiveMetricRuleListWithOptions(request: $_model.DescribeActiveMetricRuleListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeActiveMetricRuleListResponse>; /** * Queries the details of initiative alert rules. * * @param request - DescribeActiveMetricRuleListRequest * @returns DescribeActiveMetricRuleListResponse */ describeActiveMetricRuleList(request: $_model.DescribeActiveMetricRuleListRequest): Promise<$_model.DescribeActiveMetricRuleListResponse>; /** * Queries historical alerts. * * @remarks * This API operation is no longer maintained. We recommend that you call the [DescribeAlertLogList](https://help.aliyun.com/document_detail/201087.html) operation. * * @deprecated OpenAPI DescribeAlertHistoryList is deprecated, please use Cms::2019-01-01::DescribeAlertLogList instead. * * @param request - DescribeAlertHistoryListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeAlertHistoryListResponse */ describeAlertHistoryListWithOptions(request: $_model.DescribeAlertHistoryListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAlertHistoryListResponse>; /** * Queries historical alerts. * * @remarks * This API operation is no longer maintained. We recommend that you call the [DescribeAlertLogList](https://help.aliyun.com/document_detail/201087.html) operation. * * @deprecated OpenAPI DescribeAlertHistoryList is deprecated, please use Cms::2019-01-01::DescribeAlertLogList instead. * * @param request - DescribeAlertHistoryListRequest * @returns DescribeAlertHistoryListResponse */ describeAlertHistoryList(request: $_model.DescribeAlertHistoryListRequest): Promise<$_model.DescribeAlertHistoryListResponse>; /** * Queries the statistics of alert logs. * * @remarks * Queries the statistics of alert logs. * This topic provides an example on how to query the statistics of alert logs for Elastic Compute Service (ECS) based on the `product` dimension. * * @param request - DescribeAlertLogCountRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeAlertLogCountResponse */ describeAlertLogCountWithOptions(request: $_model.DescribeAlertLogCountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAlertLogCountResponse>; /** * Queries the statistics of alert logs. * * @remarks * Queries the statistics of alert logs. * This topic provides an example on how to query the statistics of alert logs for Elastic Compute Service (ECS) based on the `product` dimension. * * @param request - DescribeAlertLogCountRequest * @returns DescribeAlertLogCountResponse */ describeAlertLogCount(request: $_model.DescribeAlertLogCountRequest): Promise<$_model.DescribeAlertLogCountResponse>; /** * Queries the number of alert logs that are generated during each interval within a period of time. * * @remarks * This topic provides an example on how to query the number of alert logs for Elastic Compute Service (ECS) based on the `product` dimension. * * @param request - DescribeAlertLogHistogramRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeAlertLogHistogramResponse */ describeAlertLogHistogramWithOptions(request: $_model.DescribeAlertLogHistogramRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAlertLogHistogramResponse>; /** * Queries the number of alert logs that are generated during each interval within a period of time. * * @remarks * This topic provides an example on how to query the number of alert logs for Elastic Compute Service (ECS) based on the `product` dimension. * * @param request - DescribeAlertLogHistogramRequest * @returns DescribeAlertLogHistogramResponse */ describeAlertLogHistogram(request: $_model.DescribeAlertLogHistogramRequest): Promise<$_model.DescribeAlertLogHistogramResponse>; /** * Queries alert logs. * * @remarks * You can call the operation to query only the alert logs within the last year. * This topic provides an example to show how to query the alert logs of Elastic Compute Service (ECS) based on the `product` dimension. * * @param request - DescribeAlertLogListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeAlertLogListResponse */ describeAlertLogListWithOptions(request: $_model.DescribeAlertLogListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAlertLogListResponse>; /** * Queries alert logs. * * @remarks * You can call the operation to query only the alert logs within the last year. * This topic provides an example to show how to query the alert logs of Elastic Compute Service (ECS) based on the `product` dimension. * * @param request - DescribeAlertLogListRequest * @returns DescribeAlertLogListResponse */ describeAlertLogList(request: $_model.DescribeAlertLogListRequest): Promise<$_model.DescribeAlertLogListResponse>; /** * Queries the resources for which active alerts are triggered based on an alert rule. * * @param request - DescribeAlertingMetricRuleResourcesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeAlertingMetricRuleResourcesResponse */ describeAlertingMetricRuleResourcesWithOptions(request: $_model.DescribeAlertingMetricRuleResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAlertingMetricRuleResourcesResponse>; /** * Queries the resources for which active alerts are triggered based on an alert rule. * * @param request - DescribeAlertingMetricRuleResourcesRequest * @returns DescribeAlertingMetricRuleResourcesResponse */ describeAlertingMetricRuleResources(request: $_model.DescribeAlertingMetricRuleResourcesRequest): Promise<$_model.DescribeAlertingMetricRuleResourcesResponse>; /** * Call the DescribeContactGroupList interface to query the list of alarm contact groups. * * @param request - DescribeContactGroupListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeContactGroupListResponse */ describeContactGroupListWithOptions(request: $_model.DescribeContactGroupListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeContactGroupListResponse>; /** * Call the DescribeContactGroupList interface to query the list of alarm contact groups. * * @param request - DescribeContactGroupListRequest * @returns DescribeContactGroupListResponse */ describeContactGroupList(request: $_model.DescribeContactGroupListRequest): Promise<$_model.DescribeContactGroupListResponse>; /** * Queries alert contacts. * * @param request - DescribeContactListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeContactListResponse */ describeContactListWithOptions(request: $_model.DescribeContactListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeContactListResponse>; /** * Queries alert contacts. * * @param request - DescribeContactListRequest * @returns DescribeContactListResponse */ describeContactList(request: $_model.DescribeContactListRequest): Promise<$_model.DescribeContactListResponse>; /** * Queries the alert contacts in an alert contact group. * * @param request - DescribeContactListByContactGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeContactListByContactGroupResponse */ describeContactListByContactGroupWithOptions(request: $_model.DescribeContactListByContactGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeContactListByContactGroupResponse>; /** * Queries the alert contacts in an alert contact group. * * @param request - DescribeContactListByContactGroupRequest * @returns DescribeContactListByContactGroupResponse */ describeContactListByContactGroup(request: $_model.DescribeContactListByContactGroupRequest): Promise<$_model.DescribeContactListByContactGroupResponse>; /** * Queries the details of a custom event. * * @param request - DescribeCustomEventAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeCustomEventAttributeResponse */ describeCustomEventAttributeWithOptions(request: $_model.DescribeCustomEventAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCustomEventAttributeResponse>; /** * Queries the details of a custom event. * * @param request - DescribeCustomEventAttributeRequest * @returns DescribeCustomEventAttributeResponse */ describeCustomEventAttribute(request: $_model.DescribeCustomEventAttributeRequest): Promise<$_model.DescribeCustomEventAttributeResponse>; /** * Queries the number of times that a custom event occurred within a period of time. * * @remarks * > This operation queries the number of times that a custom event occurred for each service. * * @param request - DescribeCustomEventCountRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeCustomEventCountResponse */ describeCustomEventCountWithOptions(request: $_model.DescribeCustomEventCountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCustomEventCountResponse>; /** * Queries the number of times that a custom event occurred within a period of time. * * @remarks * > This operation queries the number of times that a custom event occurred for each service. * * @param request - DescribeCustomEventCountRequest * @returns DescribeCustomEventCountResponse */ describeCustomEventCount(request: $_model.DescribeCustomEventCountRequest): Promise<$_model.DescribeCustomEventCountResponse>; /** * Queries the number of times that a custom event occurred during each interval within a period of time. * * @param request - DescribeCustomEventHistogramRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeCustomEventHistogramResponse */ describeCustomEventHistogramWithOptions(request: $_model.DescribeCustomEventHistogramRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCustomEventHistogramResponse>; /** * Queries the number of times that a custom event occurred during each interval within a period of time. * * @param request - DescribeCustomEventHistogramRequest * @returns DescribeCustomEventHistogramResponse */ describeCustomEventHistogram(request: $_model.DescribeCustomEventHistogramRequest): Promise<$_model.DescribeCustomEventHistogramResponse>; /** * Queries the reported monitoring data. * * @remarks * > You can call the DescribeMetricList operation to query the metrics of cloud services. For more information, see [DescribeMetricList](https://help.aliyun.com/document_detail/51936.html). * * @param request - DescribeCustomMetricListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeCustomMetricListResponse */ describeCustomMetricListWithOptions(request: $_model.DescribeCustomMetricListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCustomMetricListResponse>; /** * Queries the reported monitoring data. * * @remarks * > You can call the DescribeMetricList operation to query the metrics of cloud services. For more information, see [DescribeMetricList](https://help.aliyun.com/document_detail/51936.html). * * @param request - DescribeCustomMetricListRequest * @returns DescribeCustomMetricListResponse */ describeCustomMetricList(request: $_model.DescribeCustomMetricListRequest): Promise<$_model.DescribeCustomMetricListResponse>; /** * Queries tag rules. * * @remarks * 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****`. * * @param request - DescribeDynamicTagRuleListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeDynamicTagRuleListResponse */ describeDynamicTagRuleListWithOptions(request: $_model.DescribeDynamicTagRuleListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDynamicTagRuleListResponse>; /** * Queries tag rules. * * @remarks * 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****`. * * @param request - DescribeDynamicTagRuleListRequest * @returns DescribeDynamicTagRuleListResponse */ describeDynamicTagRuleList(request: $_model.DescribeDynamicTagRuleListRequest): Promise<$_model.DescribeDynamicTagRuleListResponse>; /** * Queries the details of an event-triggered alert rule. * * @remarks * This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`. * * @param request - DescribeEventRuleAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeEventRuleAttributeResponse */ describeEventRuleAttributeWithOptions(request: $_model.DescribeEventRuleAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeEventRuleAttributeResponse>; /** * Queries the details of an event-triggered alert rule. * * @remarks * This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`. * * @param request - DescribeEventRuleAttributeRequest * @returns DescribeEventRuleAttributeResponse */ describeEventRuleAttribute(request: $_model.DescribeEventRuleAttributeRequest): Promise<$_model.DescribeEventRuleAttributeResponse>; /** * Queries event-triggered alert rules. * * @param request - DescribeEventRuleListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeEventRuleListResponse */ describeEventRuleListWithOptions(request: $_model.DescribeEventRuleListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeEventRuleListResponse>; /** * Queries event-triggered alert rules. * * @param request - DescribeEventRuleListRequest * @returns DescribeEventRuleListResponse */ describeEventRuleList(request: $_model.DescribeEventRuleListRequest): Promise<$_model.DescribeEventRuleListResponse>; /** * Queries event-triggered alert rules. * * @remarks * This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`. * * @param request - DescribeEventRuleTargetListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeEventRuleTargetListResponse */ describeEventRuleTargetListWithOptions(request: $_model.DescribeEventRuleTargetListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeEventRuleTargetListResponse>; /** * Queries event-triggered alert rules. * * @remarks * This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`. * * @param request - DescribeEventRuleTargetListRequest * @returns DescribeEventRuleTargetListResponse */ describeEventRuleTargetList(request: $_model.DescribeEventRuleTargetListRequest): Promise<$_model.DescribeEventRuleTargetListResponse>; /** * Queries configuration sets that are used to export monitoring data. * * @param request - DescribeExporterOutputListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeExporterOutputListResponse */ describeExporterOutputListWithOptions(request: $_model.DescribeExporterOutputListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeExporterOutputListResponse>; /** * Queries configuration sets that are used to export monitoring data. * * @param request - DescribeExporterOutputListRequest * @returns DescribeExporterOutputListResponse */ describeExporterOutputList(request: $_model.DescribeExporterOutputListRequest): Promise<$_model.DescribeExporterOutputListResponse>; /** * Queries data export rules. * * @param request - DescribeExporterRuleListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeExporterRuleListResponse */ describeExporterRuleListWithOptions(request: $_model.DescribeExporterRuleListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeExporterRuleListResponse>; /** * Queries data export rules. * * @param request - DescribeExporterRuleListRequest * @returns DescribeExporterRuleListResponse */ describeExporterRuleList(request: $_model.DescribeExporterRuleListRequest): Promise<$_model.DescribeExporterRuleListResponse>; /** * Queries the process monitoring tasks for an application group. * * @remarks * You can create a process monitoring task to monitor all or the specified Elastic Compute Service (ECS) instances in an application group and configure alert rules for the process monitoring task. * * @param request - DescribeGroupMonitoringAgentProcessRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeGroupMonitoringAgentProcessResponse */ describeGroupMonitoringAgentProcessWithOptions(request: $_model.DescribeGroupMonitoringAgentProcessRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGroupMonitoringAgentProcessResponse>; /** * Queries the process monitoring tasks for an application group. * * @remarks * You can create a process monitoring task to monitor all or the specified Elastic Compute Service (ECS) instances in an application group and configure alert rules for the process monitoring task. * * @param request - DescribeGroupMonitoringAgentProcessRequest * @returns DescribeGroupMonitoringAgentProcessResponse */ describeGroupMonitoringAgentProcess(request: $_model.DescribeGroupMonitoringAgentProcessRequest): Promise<$_model.DescribeGroupMonitoringAgentProcessResponse>; /** * Queries availability monitoring tasks. * * @remarks * 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`. * * @param request - DescribeHostAvailabilityListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeHostAvailabilityListResponse */ describeHostAvailabilityListWithOptions(request: $_model.DescribeHostAvailabilityListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeHostAvailabilityListResponse>; /** * Queries availability monitoring tasks. * * @remarks * 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`. * * @param request - DescribeHostAvailabilityListRequest * @returns DescribeHostAvailabilityListResponse */ describeHostAvailabilityList(request: $_model.DescribeHostAvailabilityListRequest): Promise<$_model.DescribeHostAvailabilityListResponse>; /** * Queries the monitoring data in a namespace. * * @remarks * ## [](#)Prerequisites * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](https://help.aliyun.com/document_detail/250773.html). * ## [](#)Limits * The size of monitoring data that is returned in each call cannot exceed 1.5 MB. If the returned data reaches the upper limit, the query fails. You must reset the query conditions. * ## [](#)Operation description * This topic provides an example to show how to query the monitoring data of the `AliyunEcs_cpu_total` metric in the `default-aliyun` namespace from `1653804865` (14:14:25 on May 29, 2022) to `1653805225` (14:20:25 on May 29, 2022). * * @param request - DescribeHybridMonitorDataListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeHybridMonitorDataListResponse */ describeHybridMonitorDataListWithOptions(request: $_model.DescribeHybridMonitorDataListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeHybridMonitorDataListResponse>; /** * Queries the monitoring data in a namespace. * * @remarks * ## [](#)Prerequisites * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](https://help.aliyun.com/document_detail/250773.html). * ## [](#)Limits * The size of monitoring data that is returned in each call cannot exceed 1.5 MB. If the returned data reaches the upper limit, the query fails. You must reset the query conditions. * ## [](#)Operation description * This topic provides an example to show how to query the monitoring data of the `AliyunEcs_cpu_total` metric in the `default-aliyun` namespace from `1653804865` (14:14:25 on May 29, 2022) to `1653805225` (14:20:25 on May 29, 2022). * * @param request - DescribeHybridMonitorDataListRequest * @returns DescribeHybridMonitorDataListResponse */ describeHybridMonitorDataList(request: $_model.DescribeHybridMonitorDataListRequest): Promise<$_model.DescribeHybridMonitorDataListResponse>; /** * Queries namespaces and the details of the related metric import tasks. * * @remarks * 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`. * * @param request - DescribeHybridMonitorNamespaceListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeHybridMonitorNamespaceListResponse */ describeHybridMonitorNamespaceListWithOptions(request: $_model.DescribeHybridMonitorNamespaceListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeHybridMonitorNamespaceListResponse>; /** * Queries namespaces and the details of the related metric import tasks. * * @remarks * 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`. * * @param request - DescribeHybridMonitorNamespaceListRequest * @returns DescribeHybridMonitorNamespaceListResponse */ describeHybridMonitorNamespaceList(request: $_model.DescribeHybridMonitorNamespaceListRequest): Promise<$_model.DescribeHybridMonitorNamespaceListResponse>; /** * Queries Logstore groups. * * @remarks * In this example, all Logstore groups within the current account are queried. The response shows that the current account has two Logstore groups: `Logstore_test` and `Logstore_aliyun`. * * @param request - DescribeHybridMonitorSLSGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeHybridMonitorSLSGroupResponse */ describeHybridMonitorSLSGroupWithOptions(request: $_model.DescribeHybridMonitorSLSGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeHybridMonitorSLSGroupResponse>; /** * Queries Logstore groups. * * @remarks * In this example, all Logstore groups within the current account are queried. The response shows that the current account has two Logstore groups: `Logstore_test` and `Logstore_aliyun`. * * @param request - DescribeHybridMonitorSLSGroupRequest * @returns DescribeHybridMonitorSLSGroupResponse */ describeHybridMonitorSLSGroup(request: $_model.DescribeHybridMonitorSLSGroupRequest): Promise<$_model.DescribeHybridMonitorSLSGroupResponse>; /** * Queries metric import tasks. * * @remarks * This topic provides an example on how to query all metric import tasks that belong to the current Alibaba Cloud account. The returned result indicates that the current account has only one metric import task. The metric import task is named `aliyun_task`. * * @param request - DescribeHybridMonitorTaskListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeHybridMonitorTaskListResponse */ describeHybridMonitorTaskListWithOptions(request: $_model.DescribeHybridMonitorTaskListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeHybridMonitorTaskListResponse>; /** * Queries metric import tasks. * * @remarks * This topic provides an example on how to query all metric import tasks that belong to the current Alibaba Cloud account. The returned result indicates that the current account has only one metric import task. The metric import task is named `aliyun_task`. * * @param request - DescribeHybridMonitorTaskListRequest * @returns DescribeHybridMonitorTaskListResponse */ describeHybridMonitorTaskList(request: $_model.DescribeHybridMonitorTaskListRequest): Promise<$_model.DescribeHybridMonitorTaskListResponse>; /** * Queries the details of a log monitoring metric. * * @param request - DescribeLogMonitorAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeLogMonitorAttributeResponse */ describeLogMonitorAttributeWithOptions(request: $_model.DescribeLogMonitorAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeLogMonitorAttributeResponse>; /** * Queries the details of a log monitoring metric. * * @param request - DescribeLogMonitorAttributeRequest * @returns DescribeLogMonitorAttributeResponse */ describeLogMonitorAttribute(request: $_model.DescribeLogMonitorAttributeRequest): Promise<$_model.DescribeLogMonitorAttributeResponse>; /** * Queries log monitoring metrics. * * @param request - DescribeLogMonitorListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeLogMonitorListResponse */ describeLogMonitorListWithOptions(request: $_model.DescribeLogMonitorListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeLogMonitorListResponse>; /** * Queries log monitoring metrics. * * @param request - DescribeLogMonitorListRequest * @returns DescribeLogMonitorListResponse */ describeLogMonitorList(request: $_model.DescribeLogMonitorListRequest): Promise<$_model.DescribeLogMonitorListResponse>; /** * Queries the monitoring data of a metric for a cloud service. * * @remarks * ### [](#)Limits * * The total free quota is 1 million calls per month for the DescribeMetricLast, DescribeMetricList, DescribeMetricData, and DescribeMetricTop operations. If the free quota is used up and CloudMonitor Basic (pay-as-you-go) is not activated, these API operations can no longer be called as expected. If you have activated CloudMonitor Basic (pay-as-you-go), these API operations can still be called even if the free quota is used up. If the free quota is used up, you are automatically charged for the excess usage based on the pay-as-you-go billing method. For more information about how to activate CloudMonitor Basic (pay-as-you-go), see [Enable the pay-as-you-go billing method](https://common-buy.aliyun.com/?spm=a2c4g.11186623.0.0.6c8f3481IbSHgG\\&commodityCode=cms_basic_public_cn\\&from_biz_channel=help_bill). * * Each API operation can be called up to 10 times per second. An Alibaba Cloud account and the Resource Access Management (RAM) users within the account share the quota. * ### [](#)Description * > Different from [DescribeMetricList](https://help.aliyun.com/document_detail/51936.html), 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 on how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. * * @param request - DescribeMetricDataRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMetricDataResponse */ describeMetricDataWithOptions(request: $_model.DescribeMetricDataRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMetricDataResponse>; /** * Queries the monitoring data of a metric for a cloud service. * * @remarks * ### [](#)Limits * * The total free quota is 1 million calls per month for the DescribeMetricLast, DescribeMetricList, DescribeMetricData, and DescribeMetricTop operations. If the free quota is used up and CloudMonitor Basic (pay-as-you-go) is not activated, these API operations can no longer be called as expected. If you have activated CloudMonitor Basic (pay-as-you-go), these API operations can still be called even if the free quota is used up. If the free quota is used up, you are automatically charged for the excess usage based on the pay-as-you-go billing method. For more information about how to activate CloudMonitor Basic (pay-as-you-go), see [Enable the pay-as-you-go billing method](https://common-buy.aliyun.com/?spm=a2c4g.11186623.0.0.6c8f3481IbSHgG\\&commodityCode=cms_basic_public_cn\\&from_biz_channel=help_bill). * * Each API operation can be called up to 10 times per second. An Alibaba Cloud account and the Resource Access Management (RAM) users within the account share the quota. * ### [](#)Description * > Different from [DescribeMetricList](https://help.aliyun.com/document_detail/51936.html), 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 on how to query the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. * * @param request - DescribeMetricDataRequest * @returns DescribeMetricDataResponse */ describeMetricData(request: $_model.DescribeMetricDataRequest): Promise<$_model.DescribeMetricDataResponse>; /** * Queries the latest monitoring data of a metric. * * @remarks * ### [](#)Limits * * The total free quota is 1 million calls per month for the DescribeMetricLast, DescribeMetricList, DescribeMetricData, and DescribeMetricTop operations. If the free quota is used up and CloudMonitor Basic (pay-as-you-go) is not activated, these API operations can no longer be called as expected. If you have activated CloudMonitor Basic (pay-as-you-go), these API operations can still be called even if the free quota is used up. After the free quota is used up, you are charged for the excess usage based on the pay-as-you-go billing method. For more information about how to activate CloudMonitor Basic (pay-as-you-go), see [Enable the pay-as-you-go billing method](https://common-buy.aliyun.com/?spm=a2c4g.11186623.0.0.6c8f3481IbSHgG\\&commodityCode=cms_basic_public_cn\\&from_biz_channel=help_bill). * * Each API operation can be called up to 50 times per second. An Alibaba Cloud account and the Resource Access Management (RAM) users within the account share the quota. * > If `Throttling.User` or `Request was denied due to user flow control` is returned when you call an API operation, the API operation is throttled. For more information about how to handle the issue, see [How do I handle the throttling of a query API?](https://help.aliyun.com/document_detail/2615031.html) * ### [](#)Precautions * The storage duration of the monitoring data of each cloud service is related to the `Period` parameter (statistical period). A larger value of the `Period` parameter indicates that the monitoring data is distributed in a larger time range and the storage duration of the monitoring data is longer. The following list describes the specific relationships: * * The storage duration is 7 days if the value of the `Period` parameter is less than 60 seconds. * * The storage duration is 31 days if the value of the `Period` parameter is 60 seconds. * * The storage duration is 91 days if the value of the `Period` parameter is greater than or equal to 300 seconds. * ### [](#)Operation description * This topic provides an example on how to query the latest monitoring data of the `CPUUtilization` 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 `123456789876****` is queried at an interval of 60 seconds. The maximum, minimum, and average values of the metric are 100, 93.1, and 99.52. * * @param request - DescribeMetricLastRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMetricLastResponse */ describeMetricLastWithOptions(request: $_model.DescribeMetricLastRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMetricLastResponse>; /** * Queries the latest monitoring data of a metric. * * @remarks * ### [](#)Limits * * The total free quota is 1 million calls per month for the DescribeMetricLast, DescribeMetricList, DescribeMetricData, and DescribeMetricTop operations. If the free quota is used up and CloudMonitor Basic (pay-as-you-go) is not activated, these API operations can no longer be called as expected. If you have activated CloudMonitor Basic (pay-as-you-go), these API operations can still be called even if the free quota is used up. After the free quota is used up, you are charged for the excess usage based on the pay-as-you-go billing method. For more information about how to activate CloudMonitor Basic (pay-as-you-go), see [Enable the pay-as-you-go billing method](https://common-buy.aliyun.com/?spm=a2c4g.11186623.0.0.6c8f3481IbSHgG\\&commodityCode=cms_basic_public_cn\\&from_biz_channel=help_bill). * * Each API operation can be called up to 50 times per second. An Alibaba Cloud account and the Resource Access Management (RAM) users within the account share the quota. * > If `Throttling.User` or `Request was denied due to user flow control` is returned when you call an API operation, the API operation is throttled. For more information about how to handle the issue, see [How do I handle the throttling of a query API?](https://help.aliyun.com/document_detail/2615031.html) * ### [](#)Precautions * The storage duration of the monitoring data of each cloud service is related to the `Period` parameter (statistical period). A larger value of the `Period` parameter indicates that the monitoring data is distributed in a larger time range and the storage duration of the monitoring data is longer. The following list describes the specific relationships: * * The storage duration is 7 days if the value of the `Period` parameter is less than 60 seconds. * * The storage duration is 31 days if the value of the `Period` parameter is 60 seconds. * * The storage duration is 91 days if the value of the `Period` parameter is greater than or equal to 300 seconds. * ### [](#)Operation description * This topic provides an example on how to query the latest monitoring data of the `CPUUtilization` 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 `123456789876****` is queried at an interval of 60 seconds. The maximum, minimum, and average values of the metric are 100, 93.1, and 99.52. * * @param request - DescribeMetricLastRequest * @returns DescribeMetricLastResponse */ describeMetricLast(request: $_model.DescribeMetricLastRequest): Promise<$_model.DescribeMetricLastResponse>; /** * Queries the monitoring data of a metric for a specified cloud service. * * @remarks * ## Limits * 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. * >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. * * @param request - DescribeMetricListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMetricListResponse */ describeMetricListWithOptions(request: $_model.DescribeMetricListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMetricListResponse>; /** * Queries the monitoring data of a metric for a specified cloud service. * * @remarks * ## Limits * 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. * >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. * * @param request - DescribeMetricListRequest * @returns DescribeMetricListResponse */ describeMetricList(request: $_model.DescribeMetricListRequest): Promise<$_model.DescribeMetricListResponse>; /** * Queries the details of metrics that are supported in CloudMonitor. * * @remarks * This operation is used together with DescribeMetricList and DescribeMetricLast. For more information, see [DescribeMetricList](https://help.aliyun.com/document_detail/51936.html) and [DescribeMetricLast](https://help.aliyun.com/document_detail/51939.html). * * @param request - DescribeMetricMetaListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMetricMetaListResponse */ describeMetricMetaListWithOptions(request: $_model.DescribeMetricMetaListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMetricMetaListResponse>; /** * Queries the details of metrics that are supported in CloudMonitor. * * @remarks * This operation is used together with DescribeMetricList and DescribeMetricLast. For more information, see [DescribeMetricList](https://help.aliyun.com/document_detail/51936.html) and [DescribeMetricLast](https://help.aliyun.com/document_detail/51939.html). * * @param request - DescribeMetricMetaListRequest * @returns DescribeMetricMetaListResponse */ describeMetricMetaList(request: $_model.DescribeMetricMetaListRequest): Promise<$_model.DescribeMetricMetaListResponse>; /** * @param request - DescribeMetricRuleBlackListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMetricRuleBlackListResponse */ describeMetricRuleBlackListWithOptions(request: $_model.DescribeMetricRuleBlackListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMetricRuleBlackListResponse>; /** * @param request - DescribeMetricRuleBlackListRequest * @returns DescribeMetricRuleBlackListResponse */ describeMetricRuleBlackList(request: $_model.DescribeMetricRuleBlackListRequest): Promise<$_model.DescribeMetricRuleBlackListResponse>; /** * Queries the number of alert rules in each state. * * @param request - DescribeMetricRuleCountRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMetricRuleCountResponse */ describeMetricRuleCountWithOptions(request: $_model.DescribeMetricRuleCountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMetricRuleCountResponse>; /** * Queries the number of alert rules in each state. * * @param request - DescribeMetricRuleCountRequest * @returns DescribeMetricRuleCountResponse */ describeMetricRuleCount(request: $_model.DescribeMetricRuleCountRequest): Promise<$_model.DescribeMetricRuleCountResponse>; /** * Queries alert rules. * * @remarks * This topic provides an example on how to query all alert rules within your Alibaba Cloud account. The returned result shows that only one alert rule is found. The name of the alert rule is `Rule_01` and the ID is `applyTemplate344cfd42-0f32-4fd6-805a-88d7908a****`. * * @param request - DescribeMetricRuleListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMetricRuleListResponse */ describeMetricRuleListWithOptions(request: $_model.DescribeMetricRuleListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMetricRuleListResponse>; /** * Queries alert rules. * * @remarks * This topic provides an example on how to query all alert rules within your Alibaba Cloud account. The returned result shows that only one alert rule is found. The name of the alert rule is `Rule_01` and the ID is `applyTemplate344cfd42-0f32-4fd6-805a-88d7908a****`. * * @param request - DescribeMetricRuleListRequest * @returns DescribeMetricRuleListResponse */ describeMetricRuleList(request: $_model.DescribeMetricRuleListRequest): Promise<$_model.DescribeMetricRuleListResponse>; /** * Queries the resources that are associated with a specified alert rule. * * @remarks * ## Limit * This operation supports only Message Service (MNS) resources. * >This topic provides an example on how to query the resources that are associated with an alert rule whose ID is `ae06917_75a8c43178ab66****`. * * @param request - DescribeMetricRuleTargetsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMetricRuleTargetsResponse */ describeMetricRuleTargetsWithOptions(request: $_model.DescribeMetricRuleTargetsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMetricRuleTargetsResponse>; /** * Queries the resources that are associated with a specified alert rule. * * @remarks * ## Limit * This operation supports only Message Service (MNS) resources. * >This topic provides an example on how to query the resources that are associated with an alert rule whose ID is `ae06917_75a8c43178ab66****`. * * @param request - DescribeMetricRuleTargetsRequest * @returns DescribeMetricRuleTargetsResponse */ describeMetricRuleTargets(request: $_model.DescribeMetricRuleTargetsRequest): Promise<$_model.DescribeMetricRuleTargetsResponse>; /** * Queries the details of an alert template. * * @remarks * This topic provides an example on how to query the details of an alert template whose ID is `70****`. * * @param request - DescribeMetricRuleTemplateAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMetricRuleTemplateAttributeResponse */ describeMetricRuleTemplateAttributeWithOptions(request: $_model.DescribeMetricRuleTemplateAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMetricRuleTemplateAttributeResponse>; /** * Queries the details of an alert template. * * @remarks * This topic provides an example on how to query the details of an alert template whose ID is `70****`. * * @param request - DescribeMetricRuleTemplateAttributeRequest * @returns DescribeMetricRuleTemplateAttributeResponse */ describeMetricRuleTemplateAttribute(request: $_model.DescribeMetricRuleTemplateAttributeRequest): Promise<$_model.DescribeMetricRuleTemplateAttributeResponse>; /** * Queries alert templates. * * @remarks * This topic provides an example on how to query alert templates. In this example, the following alert templates are returned in the response: `ECS_Template1` and `ECS_Template2`. * * @param request - DescribeMetricRuleTemplateListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMetricRuleTemplateListResponse */ describeMetricRuleTemplateListWithOptions(request: $_model.DescribeMetricRuleTemplateListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMetricRuleTemplateListResponse>; /** * Queries alert templates. * * @remarks * This topic provides an example on how to query alert templates. In this example, the following alert templates are returned in the response: `ECS_Template1` and `ECS_Template2`. * * @param request - DescribeMetricRuleTemplateListRequest * @returns DescribeMetricRuleTemplateListResponse */ describeMetricRuleTemplateList(request: $_model.DescribeMetricRuleTemplateListRequest): Promise<$_model.DescribeMetricRuleTemplateListResponse>; /** * Queries the latest monitoring data of a metric for a cloud service. The data can be sorted by a specified order. * * @remarks * ### [](#)Limits * * The total free quota is 1 million calls per month for the DescribeMetricLast, DescribeMetricList, DescribeMetricData, and DescribeMetricTop operations. If the free quota is used up and CloudMonitor Basic (pay-as-you-go) is not activated, these API operations can no longer be called as expected. If you have activated CloudMonitor Basic (pay-as-you-go), these API operations can still be called even if the free quota is used up. After the free quota is used up, you are charged for the excess usage based on the pay-as-you-go billing method. For more information about how to activate CloudMonitor Basic (pay-as-you-go), see [Enable the pay-as-you-go billing method](https://common-buy.aliyun.com/?spm=a2c4g.11186623.0.0.6c8f3481IbSHgG\\&commodityCode=cms_basic_public_cn\\&from_biz_channel=help_bill). * * Each API operation can be called up to 10 times per second. An Alibaba Cloud account and the Resource Access Management (RAM) users within the account share the quota. * ### [](#)Precautions * The storage duration of the monitoring data of each cloud service is related to the `Period` parameter (statistical period). A larger value of the `Period` parameter indicates that the monitoring data is distributed in a larger time range and the storage duration of the monitoring data is longer. The following list describes the specific relationships: * * The storage duration is 7 days if the value of the `Period` parameter is less than 60 seconds. * * The storage duration is 31 days if the value of the `Period` parameter is 60 seconds. * * The storage duration is 91 days if the value of the `Period` is greater than or equal to 300 seconds. * ### [](#)Operation description * This topic provides an example on how to query the monitoring data of the `cpu_idle` metric in the last 60 seconds for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The monitoring data is sorted in descending order based on the `Average` field. * * @param request - DescribeMetricTopRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMetricTopResponse */ describeMetricTopWithOptions(request: $_model.DescribeMetricTopRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMetricTopResponse>; /** * Queries the latest monitoring data of a metric for a cloud service. The data can be sorted by a specified order. * * @remarks * ### [](#)Limits * * The total free quota is 1 million calls per month for the DescribeMetricLast, DescribeMetricList, DescribeMetricData, and DescribeMetricTop operations. If the free quota is used up and CloudMonitor Basic (pay-as-you-go) is not activated, these API operations can no longer be called as expected. If you have activated CloudMonitor Basic (pay-as-you-go), these API operations can still be called even if the free quota is used up. After the free quota is used up, you are charged for the excess usage based on the pay-as-you-go billing method. For more information about how to activate CloudMonitor Basic (pay-as-you-go), see [Enable the pay-as-you-go billing method](https://common-buy.aliyun.com/?spm=a2c4g.11186623.0.0.6c8f3481IbSHgG\\&commodityCode=cms_basic_public_cn\\&from_biz_channel=help_bill). * * Each API operation can be called up to 10 times per second. An Alibaba Cloud account and the Resource Access Management (RAM) users within the account share the quota. * ### [](#)Precautions * The storage duration of the monitoring data of each cloud service is related to the `Period` parameter (statistical period). A larger value of the `Period` parameter indicates that the monitoring data is distributed in a larger time range and the storage duration of the monitoring data is longer. The following list describes the specific relationships: * * The storage duration is 7 days if the value of the `Period` parameter is less than 60 seconds. * * The storage duration is 31 days if the value of the `Period` parameter is 60 seconds. * * The storage duration is 91 days if the value of the `Period` is greater than or equal to 300 seconds. * ### [](#)Operation description * This topic provides an example on how to query the monitoring data of the `cpu_idle` metric in the last 60 seconds for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The monitoring data is sorted in descending order based on the `Average` field. * * @param request - DescribeMetricTopRequest * @returns DescribeMetricTopResponse */ describeMetricTop(request: $_model.DescribeMetricTopRequest): Promise<$_model.DescribeMetricTopResponse>; /** * Queries the cloud services to which the resources in an application group belong and the number of resources that belong to each cloud service in the application group. * * @param request - DescribeMonitorGroupCategoriesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMonitorGroupCategoriesResponse */ describeMonitorGroupCategoriesWithOptions(request: $_model.DescribeMonitorGroupCategoriesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMonitorGroupCategoriesResponse>; /** * Queries the cloud services to which the resources in an application group belong and the number of resources that belong to each cloud service in the application group. * * @param request - DescribeMonitorGroupCategoriesRequest * @returns DescribeMonitorGroupCategoriesResponse */ describeMonitorGroupCategories(request: $_model.DescribeMonitorGroupCategoriesRequest): Promise<$_model.DescribeMonitorGroupCategoriesResponse>; /** * Queries the dynamic rules of an application group. * * @param request - DescribeMonitorGroupDynamicRulesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMonitorGroupDynamicRulesResponse */ describeMonitorGroupDynamicRulesWithOptions(request: $_model.DescribeMonitorGroupDynamicRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMonitorGroupDynamicRulesResponse>; /** * Queries the dynamic rules of an application group. * * @param request - DescribeMonitorGroupDynamicRulesRequest * @returns DescribeMonitorGroupDynamicRulesResponse */ describeMonitorGroupDynamicRules(request: $_model.DescribeMonitorGroupDynamicRulesRequest): Promise<$_model.DescribeMonitorGroupDynamicRulesResponse>; /** * Queries the details of the resources in an application group. * * @param request - DescribeMonitorGroupInstanceAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMonitorGroupInstanceAttributeResponse */ describeMonitorGroupInstanceAttributeWithOptions(request: $_model.DescribeMonitorGroupInstanceAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMonitorGroupInstanceAttributeResponse>; /** * Queries the details of the resources in an application group. * * @param request - DescribeMonitorGroupInstanceAttributeRequest * @returns DescribeMonitorGroupInstanceAttributeResponse */ describeMonitorGroupInstanceAttribute(request: $_model.DescribeMonitorGroupInstanceAttributeRequest): Promise<$_model.DescribeMonitorGroupInstanceAttributeResponse>; /** * Queries the resources in an application group. * * @param request - DescribeMonitorGroupInstancesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMonitorGroupInstancesResponse */ describeMonitorGroupInstancesWithOptions(request: $_model.DescribeMonitorGroupInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMonitorGroupInstancesResponse>; /** * Queries the resources in an application group. * * @param request - DescribeMonitorGroupInstancesRequest * @returns DescribeMonitorGroupInstancesResponse */ describeMonitorGroupInstances(request: $_model.DescribeMonitorGroupInstancesRequest): Promise<$_model.DescribeMonitorGroupInstancesResponse>; /** * Queries the policies that are used to pause alert notifications for an application group. * * @param request - DescribeMonitorGroupNotifyPolicyListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMonitorGroupNotifyPolicyListResponse */ describeMonitorGroupNotifyPolicyListWithOptions(request: $_model.DescribeMonitorGroupNotifyPolicyListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMonitorGroupNotifyPolicyListResponse>; /** * Queries the policies that are used to pause alert notifications for an application group. * * @param request - DescribeMonitorGroupNotifyPolicyListRequest * @returns DescribeMonitorGroupNotifyPolicyListResponse */ describeMonitorGroupNotifyPolicyList(request: $_model.DescribeMonitorGroupNotifyPolicyListRequest): Promise<$_model.DescribeMonitorGroupNotifyPolicyListResponse>; /** * Queries application groups. * * @remarks * This topic provides an example of how to query the application groups of the current account. The response shows that the current account has two application groups: `testGroup124` and `test123`. * * @param request - DescribeMonitorGroupsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMonitorGroupsResponse */ describeMonitorGroupsWithOptions(request: $_model.DescribeMonitorGroupsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMonitorGroupsResponse>; /** * Queries application groups. * * @remarks * This topic provides an example of how to query the application groups of the current account. The response shows that the current account has two application groups: `testGroup124` and `test123`. * * @param request - DescribeMonitorGroupsRequest * @returns DescribeMonitorGroupsResponse */ describeMonitorGroups(request: $_model.DescribeMonitorGroupsRequest): Promise<$_model.DescribeMonitorGroupsResponse>; /** * Queries the resource quotas of CloudMonitor. * * @param request - DescribeMonitorResourceQuotaAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMonitorResourceQuotaAttributeResponse */ describeMonitorResourceQuotaAttributeWithOptions(request: $_model.DescribeMonitorResourceQuotaAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMonitorResourceQuotaAttributeResponse>; /** * Queries the resource quotas of CloudMonitor. * * @param request - DescribeMonitorResourceQuotaAttributeRequest * @returns DescribeMonitorResourceQuotaAttributeResponse */ describeMonitorResourceQuotaAttribute(request: $_model.DescribeMonitorResourceQuotaAttributeRequest): Promise<$_model.DescribeMonitorResourceQuotaAttributeResponse>; /** * Queries the AccessKey ID and AccessKey secret that are required to install the CloudMonitor agent on a third-party host. * * @param request - DescribeMonitoringAgentAccessKeyRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMonitoringAgentAccessKeyResponse */ describeMonitoringAgentAccessKeyWithOptions(request: $_model.DescribeMonitoringAgentAccessKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMonitoringAgentAccessKeyResponse>; /** * Queries the AccessKey ID and AccessKey secret that are required to install the CloudMonitor agent on a third-party host. * * @param request - DescribeMonitoringAgentAccessKeyRequest * @returns DescribeMonitoringAgentAccessKeyResponse */ describeMonitoringAgentAccessKey(request: $_model.DescribeMonitoringAgentAccessKeyRequest): Promise<$_model.DescribeMonitoringAgentAccessKeyResponse>; /** * Queries the configurations of the CloudMonitor agent. * * @param request - DescribeMonitoringAgentConfigRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMonitoringAgentConfigResponse */ describeMonitoringAgentConfigWithOptions(request: $_model.DescribeMonitoringAgentConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMonitoringAgentConfigResponse>; /** * Queries the configurations of the CloudMonitor agent. * * @param request - DescribeMonitoringAgentConfigRequest * @returns DescribeMonitoringAgentConfigResponse */ describeMonitoringAgentConfig(request: $_model.DescribeMonitoringAgentConfigRequest): Promise<$_model.DescribeMonitoringAgentConfigResponse>; /** * Queries all hosts within the current Alibaba Cloud account, including hosts on which the CloudMonitor agent is installed and uninstalled. * * @param request - DescribeMonitoringAgentHostsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMonitoringAgentHostsResponse */ describeMonitoringAgentHostsWithOptions(request: $_model.DescribeMonitoringAgentHostsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMonitoringAgentHostsResponse>; /** * Queries all hosts within the current Alibaba Cloud account, including hosts on which the CloudMonitor agent is installed and uninstalled. * * @param request - DescribeMonitoringAgentHostsRequest * @returns DescribeMonitoringAgentHostsResponse */ describeMonitoringAgentHosts(request: $_model.DescribeMonitoringAgentHostsRequest): Promise<$_model.DescribeMonitoringAgentHostsResponse>; /** * 查询指定资源的进程数列表 * * @remarks * > Before you call this operation, call the CreateMonitoringAgentProcess operation to create processes. For more information, see [CreateMonitoringAgentProcess](https://help.aliyun.com/document_detail/114951.html~). * 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. * * @param request - DescribeMonitoringAgentProcessesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMonitoringAgentProcessesResponse */ describeMonitoringAgentProcessesWithOptions(request: $_model.DescribeMonitoringAgentProcessesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMonitoringAgentProcessesResponse>; /** * 查询指定资源的进程数列表 * * @remarks * > Before you call this operation, call the CreateMonitoringAgentProcess operation to create processes. For more information, see [CreateMonitoringAgentProcess](https://help.aliyun.com/document_detail/114951.html~). * 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. * * @param request - DescribeMonitoringAgentProcessesRequest * @returns DescribeMonitoringAgentProcessesResponse */ describeMonitoringAgentProcesses(request: $_model.DescribeMonitoringAgentProcessesRequest): Promise<$_model.DescribeMonitoringAgentProcessesResponse>; /** * Queries the status of the CloudMonitor agent. * * @remarks * This topic describes how to query the status of the CloudMonitor agent that is installed on the `i-hp3dunahluwajv6f****` instance. The result indicates that the CloudMonitor agent is in the `running` state. * * @param request - DescribeMonitoringAgentStatusesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMonitoringAgentStatusesResponse */ describeMonitoringAgentStatusesWithOptions(request: $_model.DescribeMonitoringAgentStatusesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMonitoringAgentStatusesResponse>; /** * Queries the status of the CloudMonitor agent. * * @remarks * This topic describes how to query the status of the CloudMonitor agent that is installed on the `i-hp3dunahluwajv6f****` instance. The result indicates that the CloudMonitor agent is in the `running` state. * * @param request - DescribeMonitoringAgentStatusesRequest * @returns DescribeMonitoringAgentStatusesResponse */ describeMonitoringAgentStatuses(request: $_model.DescribeMonitoringAgentStatusesRequest): Promise<$_model.DescribeMonitoringAgentStatusesResponse>; /** * Queries the global configurations of the CloudMonitor agent. * * @param request - DescribeMonitoringConfigRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMonitoringConfigResponse */ describeMonitoringConfigWithOptions(request: $_model.DescribeMonitoringConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMonitoringConfigResponse>; /** * Queries the global configurations of the CloudMonitor agent. * * @param request - DescribeMonitoringConfigRequest * @returns DescribeMonitoringConfigResponse */ describeMonitoringConfig(request: $_model.DescribeMonitoringConfigRequest): Promise<$_model.DescribeMonitoringConfigResponse>; /** * Queries the keys of all tags that are attached to cloud resources in a region. * * @remarks * > If a tag is attached to multiple cloud resources in the region, the key of the tag is returned only once. * * @param request - DescribeProductResourceTagKeyListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeProductResourceTagKeyListResponse */ describeProductResourceTagKeyListWithOptions(request: $_model.DescribeProductResourceTagKeyListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeProductResourceTagKeyListResponse>; /** * Queries the keys of all tags that are attached to cloud resources in a region. * * @remarks * > If a tag is attached to multiple cloud resources in the region, the key of the tag is returned only once. * * @param request - DescribeProductResourceTagKeyListRequest * @returns DescribeProductResourceTagKeyListResponse */ describeProductResourceTagKeyList(request: $_model.DescribeProductResourceTagKeyListRequest): Promise<$_model.DescribeProductResourceTagKeyListResponse>; /** * Queries the cloud services for which the initiative alert feature is enabled. * * @param request - DescribeProductsOfActiveMetricRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeProductsOfActiveMetricRuleResponse */ describeProductsOfActiveMetricRuleWithOptions(request: $_model.DescribeProductsOfActiveMetricRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeProductsOfActiveMetricRuleResponse>; /** * Queries the cloud services for which the initiative alert feature is enabled. * * @param request - DescribeProductsOfActiveMetricRuleRequest * @returns DescribeProductsOfActiveMetricRuleResponse */ describeProductsOfActiveMetricRule(request: $_model.DescribeProductsOfActiveMetricRuleRequest): Promise<$_model.DescribeProductsOfActiveMetricRuleResponse>; /** * Queries the information about monitored services in CloudMonitor. * * @remarks * The information obtained by this operation includes the service description, namespace, and tags. * * @param request - DescribeProjectMetaRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeProjectMetaResponse */ describeProjectMetaWithOptions(request: $_model.DescribeProjectMetaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeProjectMetaResponse>; /** * Queries the information about monitored services in CloudMonitor. * * @remarks * The information obtained by this operation includes the service description, namespace, and tags. * * @param request - DescribeProjectMetaRequest * @returns DescribeProjectMetaResponse */ describeProjectMeta(request: $_model.DescribeProjectMetaRequest): Promise<$_model.DescribeProjectMetaResponse>; /** * Queries the details of a site monitoring task. * * @remarks * 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`. * * @param request - DescribeSiteMonitorAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSiteMonitorAttributeResponse */ describeSiteMonitorAttributeWithOptions(request: $_model.DescribeSiteMonitorAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSiteMonitorAttributeResponse>; /** * Queries the details of a site monitoring task. * * @remarks * 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`. * * @param request - DescribeSiteMonitorAttributeRequest * @returns DescribeSiteMonitorAttributeResponse */ describeSiteMonitorAttribute(request: $_model.DescribeSiteMonitorAttributeRequest): Promise<$_model.DescribeSiteMonitorAttributeResponse>; /** * Queries the fine-grained monitoring data of a site monitoring task. * * @param request - DescribeSiteMonitorDataRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSiteMonitorDataResponse */ describeSiteMonitorDataWithOptions(request: $_model.DescribeSiteMonitorDataRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSiteMonitorDataResponse>; /** * Queries the fine-grained monitoring data of a site monitoring task. * * @param request - DescribeSiteMonitorDataRequest * @returns DescribeSiteMonitorDataResponse */ describeSiteMonitorData(request: $_model.DescribeSiteMonitorDataRequest): Promise<$_model.DescribeSiteMonitorDataResponse>; /** * Queries the detection points that are provided by carriers. * * @remarks * This topic provides an example on how to query the detection points that are provided by China Unicom in Guiyang. * * @param request - DescribeSiteMonitorISPCityListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSiteMonitorISPCityListResponse */ describeSiteMonitorISPCityListWithOptions(request: $_model.DescribeSiteMonitorISPCityListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSiteMonitorISPCityListResponse>; /** * Queries the detection points that are provided by carriers. * * @remarks * This topic provides an example on how to query the detection points that are provided by China Unicom in Guiyang. * * @param request - DescribeSiteMonitorISPCityListRequest * @returns DescribeSiteMonitorISPCityListResponse */ describeSiteMonitorISPCityList(request: $_model.DescribeSiteMonitorISPCityListRequest): Promise<$_model.DescribeSiteMonitorISPCityListResponse>; /** * Queries site monitoring tasks. * * @remarks * 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`. * * @param request - DescribeSiteMonitorListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSiteMonitorListResponse */ describeSiteMonitorListWithOptions(request: $_model.DescribeSiteMonitorListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSiteMonitorListResponse>; /** * Queries site monitoring tasks. * * @remarks * 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`. * * @param request - DescribeSiteMonitorListRequest * @returns DescribeSiteMonitorListResponse */ describeSiteMonitorList(request: $_model.DescribeSiteMonitorListRequest): Promise<$_model.DescribeSiteMonitorListResponse>; /** * Queries the logs of one or more instant test tasks. * * @remarks * You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring. * This topic provides an example to show how to query the logs of an instant test task whose ID is `afa5c3ce-f944-4363-9edb-ce919a29****`. * * @param request - DescribeSiteMonitorLogRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSiteMonitorLogResponse */ describeSiteMonitorLogWithOptions(request: $_model.DescribeSiteMonitorLogRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSiteMonitorLogResponse>; /** * Queries the logs of one or more instant test tasks. * * @remarks * You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring. * This topic provides an example to show how to query the logs of an instant test task whose ID is `afa5c3ce-f944-4363-9edb-ce919a29****`. * * @param request - DescribeSiteMonitorLogRequest * @returns DescribeSiteMonitorLogResponse */ describeSiteMonitorLog(request: $_model.DescribeSiteMonitorLogRequest): Promise<$_model.DescribeSiteMonitorLogResponse>; /** * Queries the quotas and version of site monitoring. * * @param request - DescribeSiteMonitorQuotaRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSiteMonitorQuotaResponse */ describeSiteMonitorQuotaWithOptions(request: $_model.DescribeSiteMonitorQuotaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSiteMonitorQuotaResponse>; /** * Queries the quotas and version of site monitoring. * * @param request - DescribeSiteMonitorQuotaRequest * @returns DescribeSiteMonitorQuotaResponse */ describeSiteMonitorQuota(request: $_model.DescribeSiteMonitorQuotaRequest): Promise<$_model.DescribeSiteMonitorQuotaResponse>; /** * Queries the statistics of a specified metric for a specified site monitoring task. * * @remarks * This topic provides an example on 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%`. * * @param request - DescribeSiteMonitorStatisticsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSiteMonitorStatisticsResponse */ describeSiteMonitorStatisticsWithOptions(request: $_model.DescribeSiteMonitorStatisticsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSiteMonitorStatisticsResponse>; /** * Queries the statistics of a specified metric for a specified site monitoring task. * * @remarks * This topic provides an example on 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%`. * * @param request - DescribeSiteMonitorStatisticsRequest * @returns DescribeSiteMonitorStatisticsResponse */ describeSiteMonitorStatistics(request: $_model.DescribeSiteMonitorStatisticsRequest): Promise<$_model.DescribeSiteMonitorStatisticsResponse>; /** * 查询拨测探测节点列表 * * @param request - DescribeSyntheticProbeListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSyntheticProbeListResponse */ describeSyntheticProbeListWithOptions(request: $_model.DescribeSyntheticProbeListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSyntheticProbeListResponse>; /** * 查询拨测探测节点列表 * * @param request - DescribeSyntheticProbeListRequest * @returns DescribeSyntheticProbeListResponse */ describeSyntheticProbeList(request: $_model.DescribeSyntheticProbeListRequest): Promise<$_model.DescribeSyntheticProbeListResponse>; /** * Queries the details of a system event. * * @param request - DescribeSystemEventAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSystemEventAttributeResponse */ describeSystemEventAttributeWithOptions(request: $_model.DescribeSystemEventAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSystemEventAttributeResponse>; /** * Queries the details of a system event. * * @param request - DescribeSystemEventAttributeRequest * @returns DescribeSystemEventAttributeResponse */ describeSystemEventAttribute(request: $_model.DescribeSystemEventAttributeRequest): Promise<$_model.DescribeSystemEventAttributeResponse>; /** * Queries the number of times that a system event of a cloud service has occurred. * * @remarks * ### [](#)Background information * You can call the [DescribeSystemEventMetaList](https://help.aliyun.com/document_detail/114972.html) operation to query the cloud services supported by CloudMonitor and their system events. * ### [](#)Description * This topic provides an example on how to query the number of times that a system event of `Elastic Compute Service (ECS)` has occurred. The returned result shows that the specified system event has occurred three times. * * @param request - DescribeSystemEventCountRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSystemEventCountResponse */ describeSystemEventCountWithOptions(request: $_model.DescribeSystemEventCountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSystemEventCountResponse>; /** * Queries the number of times that a system event of a cloud service has occurred. * * @remarks * ### [](#)Background information * You can call the [DescribeSystemEventMetaList](https://help.aliyun.com/document_detail/114972.html) operation to query the cloud services supported by CloudMonitor and their system events. * ### [](#)Description * This topic provides an example on how to query the number of times that a system event of `Elastic Compute Service (ECS)` has occurred. The returned result shows that the specified system event has occurred three times. * * @param request - DescribeSystemEventCountRequest * @returns DescribeSystemEventCountResponse */ describeSystemEventCount(request: $_model.DescribeSystemEventCountRequest): Promise<$_model.DescribeSystemEventCountResponse>; /** * Queries the number of times a system event occurred during each interval within a period of time. * * @param request - DescribeSystemEventHistogramRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSystemEventHistogramResponse */ describeSystemEventHistogramWithOptions(request: $_model.DescribeSystemEventHistogramRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSystemEventHistogramResponse>; /** * Queries the number of times a system event occurred during each interval within a period of time. * * @param request - DescribeSystemEventHistogramRequest * @returns DescribeSystemEventHistogramResponse */ describeSystemEventHistogram(request: $_model.DescribeSystemEventHistogramRequest): Promise<$_model.DescribeSystemEventHistogramResponse>; /** * Queries the meta information about system events. * * @param request - DescribeSystemEventMetaListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeSystemEventMetaListResponse */ describeSystemEventMetaListWithOptions(request: $_model.DescribeSystemEventMetaListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSystemEventMetaListResponse>; /** * Queries the meta information about system events. * * @param request - DescribeSystemEventMetaListRequest * @returns DescribeSystemEventMetaListResponse */ describeSystemEventMetaList(request: $_model.DescribeSystemEventMetaListRequest): Promise<$_model.DescribeSystemEventMetaListResponse>; /** * Queries tag keys. * * @param request - DescribeTagKeyListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeTagKeyListResponse */ describeTagKeyListWithOptions(request: $_model.DescribeTagKeyListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTagKeyListResponse>; /** * Queries tag keys. * * @param request - DescribeTagKeyListRequest * @returns DescribeTagKeyListResponse */ describeTagKeyList(request: $_model.DescribeTagKeyListRequest): Promise<$_model.DescribeTagKeyListResponse>; /** * Queries the tag values corresponding to a specified tag key. * * @remarks * This topic provides an example of how to query the tag values corresponding to `tagKey1`. The return results are `tagValue1` and `tagValue2`. * * @param request - DescribeTagValueListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeTagValueListResponse */ describeTagValueListWithOptions(request: $_model.DescribeTagValueListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTagValueListResponse>; /** * Queries the tag values corresponding to a specified tag key. * * @remarks * This topic provides an example of how to query the tag values corresponding to `tagKey1`. The return results are `tagValue1` and `tagValue2`. * * @param request - DescribeTagValueListRequest * @returns DescribeTagValueListResponse */ describeTagValueList(request: $_model.DescribeTagValueListRequest): Promise<$_model.DescribeTagValueListResponse>; /** * Queries unhealthy instances detected by availability monitoring tasks. * * @param request - DescribeUnhealthyHostAvailabilityRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeUnhealthyHostAvailabilityResponse */ describeUnhealthyHostAvailabilityWithOptions(request: $_model.DescribeUnhealthyHostAvailabilityRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeUnhealthyHostAvailabilityResponse>; /** * Queries unhealthy instances detected by availability monitoring tasks. * * @param request - DescribeUnhealthyHostAvailabilityRequest * @returns DescribeUnhealthyHostAvailabilityResponse */ describeUnhealthyHostAvailability(request: $_model.DescribeUnhealthyHostAvailabilityRequest): Promise<$_model.DescribeUnhealthyHostAvailabilityResponse>; /** * Disables the initiative alert feature for a cloud service. * * @param request - DisableActiveMetricRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DisableActiveMetricRuleResponse */ disableActiveMetricRuleWithOptions(request: $_model.DisableActiveMetricRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableActiveMetricRuleResponse>; /** * Disables the initiative alert feature for a cloud service. * * @param request - DisableActiveMetricRuleRequest * @returns DisableActiveMetricRuleResponse */ disableActiveMetricRule(request: $_model.DisableActiveMetricRuleRequest): Promise<$_model.DisableActiveMetricRuleResponse>; /** * @param request - DisableEventRulesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DisableEventRulesResponse */ disableEventRulesWithOptions(request: $_model.DisableEventRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableEventRulesResponse>; /** * @param request - DisableEventRulesRequest * @returns DisableEventRulesResponse */ disableEventRules(request: $_model.DisableEventRulesRequest): Promise<$_model.DisableEventRulesResponse>; /** * Disables availability monitoring tasks. * * @param request - DisableHostAvailabilityRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DisableHostAvailabilityResponse */ disableHostAvailabilityWithOptions(request: $_model.DisableHostAvailabilityRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableHostAvailabilityResponse>; /** * Disables availability monitoring tasks. * * @param request - DisableHostAvailabilityRequest * @returns DisableHostAvailabilityResponse */ disableHostAvailability(request: $_model.DisableHostAvailabilityRequest): Promise<$_model.DisableHostAvailabilityResponse>; /** * Disables alert rules. * * @param request - DisableMetricRulesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DisableMetricRulesResponse */ disableMetricRulesWithOptions(request: $_model.DisableMetricRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableMetricRulesResponse>; /** * Disables alert rules. * * @param request - DisableMetricRulesRequest * @returns DisableMetricRulesResponse */ disableMetricRules(request: $_model.DisableMetricRulesRequest): Promise<$_model.DisableMetricRulesResponse>; /** * Disables site monitoring tasks. * * @param request - DisableSiteMonitorsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DisableSiteMonitorsResponse */ disableSiteMonitorsWithOptions(request: $_model.DisableSiteMonitorsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableSiteMonitorsResponse>; /** * Disables site monitoring tasks. * * @param request - DisableSiteMonitorsRequest * @returns DisableSiteMonitorsResponse */ disableSiteMonitors(request: $_model.DisableSiteMonitorsRequest): Promise<$_model.DisableSiteMonitorsResponse>; /** * Enables the initiative alert feature for a cloud service. * * @param request - EnableActiveMetricRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns EnableActiveMetricRuleResponse */ enableActiveMetricRuleWithOptions(request: $_model.EnableActiveMetricRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableActiveMetricRuleResponse>; /** * Enables the initiative alert feature for a cloud service. * * @param request - EnableActiveMetricRuleRequest * @returns EnableActiveMetricRuleResponse */ enableActiveMetricRule(request: $_model.EnableActiveMetricRuleRequest): Promise<$_model.EnableActiveMetricRuleResponse>; /** * @param request - EnableEventRulesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns EnableEventRulesResponse */ enableEventRulesWithOptions(request: $_model.EnableEventRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableEventRulesResponse>; /** * @param request - EnableEventRulesRequest * @returns EnableEventRulesResponse */ enableEventRules(request: $_model.EnableEventRulesRequest): Promise<$_model.EnableEventRulesResponse>; /** * Enables availability monitoring tasks. * * @param request - EnableHostAvailabilityRequest * @param runtime - runtime options for this request RuntimeOptions * @returns EnableHostAvailabilityResponse */ enableHostAvailabilityWithOptions(request: $_model.EnableHostAvailabilityRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableHostAvailabilityResponse>; /** * Enables availability monitoring tasks. * * @param request - EnableHostAvailabilityRequest * @returns EnableHostAvailabilityResponse */ enableHostAvailability(request: $_model.EnableHostAvailabilityRequest): Promise<$_model.EnableHostAvailabilityResponse>; /** * Enables or disables multiple blacklist policies at a time. * * @param request - EnableMetricRuleBlackListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns EnableMetricRuleBlackListResponse */ enableMetricRuleBlackListWithOptions(request: $_model.EnableMetricRuleBlackListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableMetricRuleBlackListResponse>; /** * Enables or disables multiple blacklist policies at a time. * * @param request - EnableMetricRuleBlackListRequest * @returns EnableMetricRuleBlackListResponse */ enableMetricRuleBlackList(request: $_model.EnableMetricRuleBlackListRequest): Promise<$_model.EnableMetricRuleBlackListResponse>; /** * Enables alert rules. * * @param request - EnableMetricRulesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns EnableMetricRulesResponse */ enableMetricRulesWithOptions(request: $_model.EnableMetricRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableMetricRulesResponse>; /** * Enables alert rules. * * @param request - EnableMetricRulesRequest * @returns EnableMetricRulesResponse */ enableMetricRules(request: $_model.EnableMetricRulesRequest): Promise<$_model.EnableMetricRulesResponse>; /** * Enables site monitoring tasks. * * @param request - EnableSiteMonitorsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns EnableSiteMonitorsResponse */ enableSiteMonitorsWithOptions(request: $_model.EnableSiteMonitorsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableSiteMonitorsResponse>; /** * Enables site monitoring tasks. * * @param request - EnableSiteMonitorsRequest * @returns EnableSiteMonitorsResponse */ enableSiteMonitors(request: $_model.EnableSiteMonitorsRequest): Promise<$_model.EnableSiteMonitorsResponse>; /** * InstallMonitoringAgent * * @remarks * ## Prerequisites * The Cloud Assistant client is installed on an ECS instance. For more information about how to install the Cloud Assistant client, see [Overview](https://help.aliyun.com/document_detail/64601.html). * * @param request - InstallMonitoringAgentRequest * @param runtime - runtime options for this request RuntimeOptions * @returns InstallMonitoringAgentResponse */ installMonitoringAgentWithOptions(request: $_model.InstallMonitoringAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.InstallMonitoringAgentResponse>; /** * InstallMonitoringAgent * * @remarks * ## Prerequisites * The Cloud Assistant client is installed on an ECS instance. For more information about how to install the Cloud Assistant client, see [Overview](https://help.aliyun.com/document_detail/64601.html). * * @param request - InstallMonitoringAgentRequest * @returns InstallMonitoringAgentResponse */ installMonitoringAgent(request: $_model.InstallMonitoringAgentRequest): Promise<$_model.InstallMonitoringAgentResponse>; /** * 修改应用分组内的进程监控 * * @param request - ModifyGroupMonitoringAgentProcessRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyGroupMonitoringAgentProcessResponse */ modifyGroupMonitoringAgentProcessWithOptions(request: $_model.ModifyGroupMonitoringAgentProcessRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyGroupMonitoringAgentProcessResponse>; /** * 修改应用分组内的进程监控 * * @param request - ModifyGroupMonitoringAgentProcessRequest * @returns ModifyGroupMonitoringAgentProcessResponse */ modifyGroupMonitoringAgentProcess(request: $_model.ModifyGroupMonitoringAgentProcessRequest): Promise<$_model.ModifyGroupMonitoringAgentProcessResponse>; /** * Modifies an availability monitoring task. * * @remarks * This topic provides an example on how to change the name of an availability monitoring task named `12345` in an application group named `123456` to `task2`. * * @param request - ModifyHostAvailabilityRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyHostAvailabilityResponse */ modifyHostAvailabilityWithOptions(request: $_model.ModifyHostAvailabilityRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyHostAvailabilityResponse>; /** * Modifies an availability monitoring task. * * @remarks * This topic provides an example on how to change the name of an availability monitoring task named `12345` in an application group named `123456` to `task2`. * * @param request - ModifyHostAvailabilityRequest * @returns ModifyHostAvailabilityResponse */ modifyHostAvailability(request: $_model.ModifyHostAvailabilityRequest): Promise<$_model.ModifyHostAvailabilityResponse>; /** * 修改非阿里云的主机显示信息 * * @remarks * *** * * @param request - ModifyHostInfoRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyHostInfoResponse */ modifyHostInfoWithOptions(request: $_model.ModifyHostInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyHostInfoResponse>; /** * 修改非阿里云的主机显示信息 * * @remarks * *** * * @param request - ModifyHostInfoRequest * @returns ModifyHostInfoResponse */ modifyHostInfo(request: $_model.ModifyHostInfoRequest): Promise<$_model.ModifyHostInfoResponse>; /** * Modifies a namespace. * * @remarks * 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. * * @param request - ModifyHybridMonitorNamespaceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyHybridMonitorNamespaceResponse */ modifyHybridMonitorNamespaceWithOptions(request: $_model.ModifyHybridMonitorNamespaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyHybridMonitorNamespaceResponse>; /** * Modifies a namespace. * * @remarks * 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. * * @param request - ModifyHybridMonitorNamespaceRequest * @returns ModifyHybridMonitorNamespaceResponse */ modifyHybridMonitorNamespace(request: $_model.ModifyHybridMonitorNamespaceRequest): Promise<$_model.ModifyHybridMonitorNamespaceResponse>; /** * Modifies a Logstore group. * * @remarks * 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. * * @param request - ModifyHybridMonitorSLSGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyHybridMonitorSLSGroupResponse */ modifyHybridMonitorSLSGroupWithOptions(request: $_model.ModifyHybridMonitorSLSGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyHybridMonitorSLSGroupResponse>; /** * Modifies a Logstore group. * * @remarks * 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. * * @param request - ModifyHybridMonitorSLSGroupRequest * @returns ModifyHybridMonitorSLSGroupResponse */ modifyHybridMonitorSLSGroup(request: $_model.ModifyHybridMonitorSLSGroupRequest): Promise<$_model.ModifyHybridMonitorSLSGroupResponse>; /** * Modifies a metric for the logs that are imported from Log Service. * * @remarks * This topic provides an example on how to change the collection period of a metric import task whose ID is `36****` to `15` seconds. The task is used to monitor the logs that are imported from Log Service. The returned result indicates that the metric is modified. * * @param request - ModifyHybridMonitorTaskRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyHybridMonitorTaskResponse */ modifyHybridMonitorTaskWithOptions(request: $_model.ModifyHybridMonitorTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyHybridMonitorTaskResponse>; /** * Modifies a metric for the logs that are imported from Log Service. * * @remarks * This topic provides an example on how to change the collection period of a metric import task whose ID is `36****` to `15` seconds. The task is used to monitor the logs that are imported from Log Service. The returned result indicates that the metric is modified. * * @param request - ModifyHybridMonitorTaskRequest * @returns ModifyHybridMonitorTaskResponse */ modifyHybridMonitorTask(request: $_model.ModifyHybridMonitorTaskRequest): Promise<$_model.ModifyHybridMonitorTaskResponse>; /** * Modifies a blacklist policy. * * @param request - ModifyMetricRuleBlackListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyMetricRuleBlackListResponse */ modifyMetricRuleBlackListWithOptions(request: $_model.ModifyMetricRuleBlackListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyMetricRuleBlackListResponse>; /** * Modifies a blacklist policy. * * @param request - ModifyMetricRuleBlackListRequest * @returns ModifyMetricRuleBlackListResponse */ modifyMetricRuleBlackList(request: $_model.ModifyMetricRuleBlackListRequest): Promise<$_model.ModifyMetricRuleBlackListResponse>; /** * Modifies an alert template. * * @remarks * 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. * * @param request - ModifyMetricRuleTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyMetricRuleTemplateResponse */ modifyMetricRuleTemplateWithOptions(request: $_model.ModifyMetricRuleTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyMetricRuleTemplateResponse>; /** * Modifies an alert template. * * @remarks * 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. * * @param request - ModifyMetricRuleTemplateRequest * @returns ModifyMetricRuleTemplateResponse */ modifyMetricRuleTemplate(request: $_model.ModifyMetricRuleTemplateRequest): Promise<$_model.ModifyMetricRuleTemplateResponse>; /** * 修改应用分组 * * @param request - ModifyMonitorGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyMonitorGroupResponse */ modifyMonitorGroupWithOptions(request: $_model.ModifyMonitorGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyMonitorGroupResponse>; /** * 修改应用分组 * * @param request - ModifyMonitorGroupRequest * @returns ModifyMonitorGroupResponse */ modifyMonitorGroup(request: $_model.ModifyMonitorGroupRequest): Promise<$_model.ModifyMonitorGroupResponse>; /** * 修改应用分组中的资源 * * @param request - ModifyMonitorGroupInstancesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyMonitorGroupInstancesResponse */ modifyMonitorGroupInstancesWithOptions(request: $_model.ModifyMonitorGroupInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyMonitorGroupInstancesResponse>; /** * 修改应用分组中的资源 * * @param request - ModifyMonitorGroupInstancesRequest * @returns ModifyMonitorGroupInstancesResponse */ modifyMonitorGroupInstances(request: $_model.ModifyMonitorGroupInstancesRequest): Promise<$_model.ModifyMonitorGroupInstancesResponse>; /** * Modifies a site monitoring task. * * @remarks * The number of site monitoring tasks. * * @param request - ModifySiteMonitorRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifySiteMonitorResponse */ modifySiteMonitorWithOptions(request: $_model.ModifySiteMonitorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySiteMonitorResponse>; /** * Modifies a site monitoring task. * * @remarks * The number of site monitoring tasks. * * @param request - ModifySiteMonitorRequest * @returns ModifySiteMonitorResponse */ modifySiteMonitor(request: $_model.ModifySiteMonitorRequest): Promise<$_model.ModifySiteMonitorResponse>; /** * Creates or modifies an alert contact. * * @param request - PutContactRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutContactResponse */ putContactWithOptions(request: $_model.PutContactRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutContactResponse>; /** * Creates or modifies an alert contact. * * @param request - PutContactRequest * @returns PutContactResponse */ putContact(request: $_model.PutContactRequest): Promise<$_model.PutContactResponse>; /** * Creates or modifies an alert contact group. * * @remarks * This topic provides an example on how to create an alert contact group named `ECS_Group`. * * @param request - PutContactGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutContactGroupResponse */ putContactGroupWithOptions(request: $_model.PutContactGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutContactGroupResponse>; /** * Creates or modifies an alert contact group. * * @remarks * This topic provides an example on how to create an alert contact group named `ECS_Group`. * * @param request - PutContactGroupRequest * @returns PutContactGroupResponse */ putContactGroup(request: $_model.PutContactGroupRequest): Promise<$_model.PutContactGroupResponse>; /** * Reports custom events. * * @param request - PutCustomEventRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutCustomEventResponse */ putCustomEventWithOptions(request: $_model.PutCustomEventRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutCustomEventResponse>; /** * Reports custom events. * * @param request - PutCustomEventRequest * @returns PutCustomEventResponse */ putCustomEvent(request: $_model.PutCustomEventRequest): Promise<$_model.PutCustomEventResponse>; /** * @remarks * Before you call this operation, call the PutCustomEvent operation to report the monitoring data of the custom event. For more information, see [PutCustomEvent](https://help.aliyun.com/document_detail/115012.html). * * @param request - PutCustomEventRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutCustomEventRuleResponse */ putCustomEventRuleWithOptions(request: $_model.PutCustomEventRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutCustomEventRuleResponse>; /** * @remarks * Before you call this operation, call the PutCustomEvent operation to report the monitoring data of the custom event. For more information, see [PutCustomEvent](https://help.aliyun.com/document_detail/115012.html). * * @param request - PutCustomEventRuleRequest * @returns PutCustomEventRuleResponse */ putCustomEventRule(request: $_model.PutCustomEventRuleRequest): Promise<$_model.PutCustomEventRuleResponse>; /** * Reports monitoring data. * * @remarks * > We recommend that you call the [PutHybridMonitorMetricData](https://help.aliyun.com/document_detail/383455.html) operation of Hybrid Cloud Monitoring to report monitoring data. * * @param request - PutCustomMetricRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutCustomMetricResponse */ putCustomMetricWithOptions(request: $_model.PutCustomMetricRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutCustomMetricResponse>; /** * Reports monitoring data. * * @remarks * > We recommend that you call the [PutHybridMonitorMetricData](https://help.aliyun.com/document_detail/383455.html) operation of Hybrid Cloud Monitoring to report monitoring data. * * @param request - PutCustomMetricRequest * @returns PutCustomMetricResponse */ putCustomMetric(request: $_model.PutCustomMetricRequest): Promise<$_model.PutCustomMetricResponse>; /** * Creates a custom alert rule. * * @remarks * Before you call this operation, call the PutCustomMetric operation to report custom monitoring data. For more information, see [PutCustomMetric](https://help.aliyun.com/document_detail/115004.html). * * @param request - PutCustomMetricRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutCustomMetricRuleResponse */ putCustomMetricRuleWithOptions(request: $_model.PutCustomMetricRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutCustomMetricRuleResponse>; /** * Creates a custom alert rule. * * @remarks * Before you call this operation, call the PutCustomMetric operation to report custom monitoring data. For more information, see [PutCustomMetric](https://help.aliyun.com/document_detail/115004.html). * * @param request - PutCustomMetricRuleRequest * @returns PutCustomMetricRuleResponse */ putCustomMetricRule(request: $_model.PutCustomMetricRuleRequest): Promise<$_model.PutCustomMetricRuleResponse>; /** * 创建或者修改事件监控 * * @remarks * 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. * In this example, the `myRuleName` alert rule is created for the `ecs` cloud service. * * @param request - PutEventRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutEventRuleResponse */ putEventRuleWithOptions(request: $_model.PutEventRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutEventRuleResponse>; /** * 创建或者修改事件监控 * * @remarks * 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. * In this example, the `myRuleName` alert rule is created for the `ecs` cloud service. * * @param request - PutEventRuleRequest * @returns PutEventRuleResponse */ putEventRule(request: $_model.PutEventRuleRequest): Promise<$_model.PutEventRuleResponse>; /** * Adds or modifies the push channels of an event-triggered alert rule. * * @param request - PutEventRuleTargetsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutEventRuleTargetsResponse */ putEventRuleTargetsWithOptions(request: $_model.PutEventRuleTargetsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutEventRuleTargetsResponse>; /** * Adds or modifies the push channels of an event-triggered alert rule. * * @param request - PutEventRuleTargetsRequest * @returns PutEventRuleTargetsResponse */ putEventRuleTargets(request: $_model.PutEventRuleTargetsRequest): Promise<$_model.PutEventRuleTargetsResponse>; /** * Creates or modifies a configuration set for exporting monitoring data. * * @remarks * > The monitoring data can be exported only to Log Service. More services will be supported in the future. * * @param request - PutExporterOutputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutExporterOutputResponse */ putExporterOutputWithOptions(request: $_model.PutExporterOutputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutExporterOutputResponse>; /** * Creates or modifies a configuration set for exporting monitoring data. * * @remarks * > The monitoring data can be exported only to Log Service. More services will be supported in the future. * * @param request - PutExporterOutputRequest * @returns PutExporterOutputResponse */ putExporterOutput(request: $_model.PutExporterOutputRequest): Promise<$_model.PutExporterOutputResponse>; /** * Creates or modifies a data export rule. * * @param request - PutExporterRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutExporterRuleResponse */ putExporterRuleWithOptions(request: $_model.PutExporterRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutExporterRuleResponse>; /** * Creates or modifies a data export rule. * * @param request - PutExporterRuleRequest * @returns PutExporterRuleResponse */ putExporterRule(request: $_model.PutExporterRuleRequest): Promise<$_model.PutExporterRuleResponse>; /** * Creates or modifies an alert rule for an application group. * * @remarks * This topic provides an example on how to create an alert rule for the `cpu_total` metric of Elastic Compute Service (ECS) in the `17285****` application group. The ID of the alert rule is `123456`. The name of the alert rule is `Rule_test`. The alert level is `Critical`. The statistical method is `Average`. The alert threshold comparator is `GreaterThanOrEqualToThreshold`. The alert threshold is `90`. The number of alert retries is `3`. The returned result shows that the alert rule is created and the alert rule ID is `123456`. * * @param request - PutGroupMetricRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutGroupMetricRuleResponse */ putGroupMetricRuleWithOptions(request: $_model.PutGroupMetricRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutGroupMetricRuleResponse>; /** * Creates or modifies an alert rule for an application group. * * @remarks * This topic provides an example on how to create an alert rule for the `cpu_total` metric of Elastic Compute Service (ECS) in the `17285****` application group. The ID of the alert rule is `123456`. The name of the alert rule is `Rule_test`. The alert level is `Critical`. The statistical method is `Average`. The alert threshold comparator is `GreaterThanOrEqualToThreshold`. The alert threshold is `90`. The number of alert retries is `3`. The returned result shows that the alert rule is created and the alert rule ID is `123456`. * * @param request - PutGroupMetricRuleRequest * @returns PutGroupMetricRuleResponse */ putGroupMetricRule(request: $_model.PutGroupMetricRuleRequest): Promise<$_model.PutGroupMetricRuleResponse>; /** * Imports the monitoring data of a metric to a namespace of Hybrid Cloud Monitoring. * * @remarks * ## [](#)Prerequisites * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](https://help.aliyun.com/document_detail/250773.html). * ## [](#)Limits * The size of the monitoring data that you import at a time must be less than or equal to 1 MB. * ## [](#)Operation description * This topic provides an example on how to import the monitoring data of the `CPU_Usage` metric to the `default-aliyun` namespace of Hybrid Cloud Monitoring. * * @param request - PutHybridMonitorMetricDataRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutHybridMonitorMetricDataResponse */ putHybridMonitorMetricDataWithOptions(request: $_model.PutHybridMonitorMetricDataRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutHybridMonitorMetricDataResponse>; /** * Imports the monitoring data of a metric to a namespace of Hybrid Cloud Monitoring. * * @remarks * ## [](#)Prerequisites * Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](https://help.aliyun.com/document_detail/250773.html). * ## [](#)Limits * The size of the monitoring data that you import at a time must be less than or equal to 1 MB. * ## [](#)Operation description * This topic provides an example on how to import the monitoring data of the `CPU_Usage` metric to the `default-aliyun` namespace of Hybrid Cloud Monitoring. * * @param request - PutHybridMonitorMetricDataRequest * @returns PutHybridMonitorMetricDataResponse */ putHybridMonitorMetricData(request: $_model.PutHybridMonitorMetricDataRequest): Promise<$_model.PutHybridMonitorMetricDataResponse>; /** * Creates or modifies a log monitoring metric. * * @remarks * 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****`. * * @param request - PutLogMonitorRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutLogMonitorResponse */ putLogMonitorWithOptions(request: $_model.PutLogMonitorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutLogMonitorResponse>; /** * Creates or modifies a log monitoring metric. * * @remarks * 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****`. * * @param request - PutLogMonitorRequest * @returns PutLogMonitorResponse */ putLogMonitor(request: $_model.PutLogMonitorRequest): Promise<$_model.PutLogMonitorResponse>; /** * Adds or modifies the push channels of an alert rule. * * @remarks * # [](#) * This topic provides an example on how to associate an alert rule with a resource. In this example, the alert rule is `ae06917_75a8c43178ab66****`, the resource is `acs:mns:cn-hangzhou:120886317861****:/queues/test/message`, and the ID of the resource for which alerts are triggered is `1`. The response indicates that the resource is associated with the specified alert rule. * * @param request - PutMetricRuleTargetsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutMetricRuleTargetsResponse */ putMetricRuleTargetsWithOptions(request: $_model.PutMetricRuleTargetsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutMetricRuleTargetsResponse>; /** * Adds or modifies the push channels of an alert rule. * * @remarks * # [](#) * This topic provides an example on how to associate an alert rule with a resource. In this example, the alert rule is `ae06917_75a8c43178ab66****`, the resource is `acs:mns:cn-hangzhou:120886317861****:/queues/test/message`, and the ID of the resource for which alerts are triggered is `1`. The response indicates that the resource is associated with the specified alert rule. * * @param request - PutMetricRuleTargetsRequest * @returns PutMetricRuleTargetsResponse */ putMetricRuleTargets(request: $_model.PutMetricRuleTargetsRequest): Promise<$_model.PutMetricRuleTargetsResponse>; /** * Creates or modifies an alert rule to dynamically add instances that meet the rule to an application group. * * @param request - PutMonitorGroupDynamicRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutMonitorGroupDynamicRuleResponse */ putMonitorGroupDynamicRuleWithOptions(request: $_model.PutMonitorGroupDynamicRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutMonitorGroupDynamicRuleResponse>; /** * Creates or modifies an alert rule to dynamically add instances that meet the rule to an application group. * * @param request - PutMonitorGroupDynamicRuleRequest * @returns PutMonitorGroupDynamicRuleResponse */ putMonitorGroupDynamicRule(request: $_model.PutMonitorGroupDynamicRuleRequest): Promise<$_model.PutMonitorGroupDynamicRuleResponse>; /** * Configures global settings for the CloudMonitor agent. * * @param request - PutMonitoringConfigRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutMonitoringConfigResponse */ putMonitoringConfigWithOptions(request: $_model.PutMonitoringConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutMonitoringConfigResponse>; /** * Configures global settings for the CloudMonitor agent. * * @param request - PutMonitoringConfigRequest * @returns PutMonitoringConfigResponse */ putMonitoringConfig(request: $_model.PutMonitoringConfigRequest): Promise<$_model.PutMonitoringConfigResponse>; /** * Configures an alert rule. * * @remarks * This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of an Elastic Compute Service (ECS) instance whose ID is `i-uf6j91r34rnwawoo****`. The namespace of ECS metrics is `acs_ecs_dashboard`. The alert contact group of the alert rule is `ECS_Group`. The name of the alert rule is `test123`. The ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`. The comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`. The threshold for Critical-level alerts is `90`. The consecutive number of times for which the metric value meets the trigger condition before a Critical-level alert is triggered is `3`. * > Statistics verification was added on August 15, 2024. Only the statistical value of the corresponding metric can be set for the Statistics parameter. For more information about how to obtain the value of this parameter, see [Appendix 1: Metrics](https://www.alibabacloud.com/help/en/cms/support/appendix-1-metrics). * * @param tmpReq - PutResourceMetricRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutResourceMetricRuleResponse */ putResourceMetricRuleWithOptions(tmpReq: $_model.PutResourceMetricRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutResourceMetricRuleResponse>; /** * Configures an alert rule. * * @remarks * This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of an Elastic Compute Service (ECS) instance whose ID is `i-uf6j91r34rnwawoo****`. The namespace of ECS metrics is `acs_ecs_dashboard`. The alert contact group of the alert rule is `ECS_Group`. The name of the alert rule is `test123`. The ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`. The comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`. The threshold for Critical-level alerts is `90`. The consecutive number of times for which the metric value meets the trigger condition before a Critical-level alert is triggered is `3`. * > Statistics verification was added on August 15, 2024. Only the statistical value of the corresponding metric can be set for the Statistics parameter. For more information about how to obtain the value of this parameter, see [Appendix 1: Metrics](https://www.alibabacloud.com/help/en/cms/support/appendix-1-metrics). * * @param request - PutResourceMetricRuleRequest * @returns PutResourceMetricRuleResponse */ putResourceMetricRule(request: $_model.PutResourceMetricRuleRequest): Promise<$_model.PutResourceMetricRuleResponse>; /** * Creates multiple alert rules for the specified metric of a specified resource. * * @remarks * This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of an Elastic Compute Service (ECS) instance whose ID is `i-uf6j91r34rnwawoo****`. The namespace of ECS metrics is `acs_ecs_dashboard`. The alert contact group of the alert rule is `ECS_Group`. The name of the alert rule is `test123`. The ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`. The comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`. The threshold for Critical-level alerts is `90`. The consecutive number of times for which the metric value meets the trigger condition before a Critical-level alert is triggered is `3`. * > Statistics verification was added on August 15, 2024. Only the statistical value of the corresponding metric can be set for the Statistics parameter. For more information about how to obtain the value of this parameter, see [Appendix 1: Metrics](https://www.alibabacloud.com/help/en/cms/support/appendix-1-metrics). * * @param request - PutResourceMetricRulesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PutResourceMetricRulesResponse */ putResourceMetricRulesWithOptions(request: $_model.PutResourceMetricRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutResourceMetricRulesResponse>; /** * Creates multiple alert rules for the specified metric of a specified resource. * * @remarks * This topic provides an example on how to create a threshold-triggered alert rule for the `cpu_total` metric of an Elastic Compute Service (ECS) instance whose ID is `i-uf6j91r34rnwawoo****`. The namespace of ECS metrics is `acs_ecs_dashboard`. The alert contact group of the alert rule is `ECS_Group`. The name of the alert rule is `test123`. The ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`. The comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`. The threshold for Critical-level alerts is `90`. The consecutive number of times for which the metric value meets the trigger condition before a Critical-level alert is triggered is `3`. * > Statistics verification was added on August 15, 2024. Only the statistical value of the corresponding metric can be set for the Statistics parameter. For more information about how to obtain the value of this parameter, see [Appendix 1: Metrics](https://www.alibabacloud.com/help/en/cms/support/appendix-1-metrics). * * @param request - PutResourceMetricRulesRequest * @returns PutResourceMetricRulesResponse */ putResourceMetricRules(request: $_model.PutResourceMetricRulesRequest): Promise<$_model.PutResourceMetricRulesResponse>; /** * Deletes tags. * * @param request - RemoveTagsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns RemoveTagsResponse */ removeTagsWithOptions(request: $_model.RemoveTagsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveTagsResponse>; /** * Deletes tags. * * @param request - RemoveTagsRequest * @returns RemoveTagsResponse */ removeTags(request: $_model.RemoveTagsRequest): Promise<$_model.RemoveTagsResponse>; /** * Debugs a system event of an Alibaba Cloud service. * * @remarks * 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 the system event triggers an alert. * * @param request - SendDryRunSystemEventRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SendDryRunSystemEventResponse */ sendDryRunSystemEventWithOptions(request: $_model.SendDryRunSystemEventRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SendDryRunSystemEventResponse>; /** * Debugs a system event of an Alibaba Cloud service. * * @remarks * 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 the system event triggers an alert. * * @param request - SendDryRunSystemEventRequest * @returns SendDryRunSystemEventResponse */ sendDryRunSystemEvent(request: $_model.SendDryRunSystemEventRequest): Promise<$_model.SendDryRunSystemEventResponse>; /** * Uninstalls the CloudMonitor agent from a third-party host. * * @remarks * > This API operation is not applicable to Elastic Compute Service (ECS) instances. To uninstall the agent from an ECS instance, see [Install and uninstall the CloudMonitor agent](https://help.aliyun.com/document_detail/183482.html). * * @param request - UninstallMonitoringAgentRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UninstallMonitoringAgentResponse */ uninstallMonitoringAgentWithOptions(request: $_model.UninstallMonitoringAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UninstallMonitoringAgentResponse>; /** * Uninstalls the CloudMonitor agent from a third-party host. * * @remarks * > This API operation is not applicable to Elastic Compute Service (ECS) instances. To uninstall the agent from an ECS instance, see [Install and uninstall the CloudMonitor agent](https://help.aliyun.com/document_detail/183482.html). * * @param request - UninstallMonitoringAgentRequest * @returns UninstallMonitoringAgentResponse */ uninstallMonitoringAgent(request: $_model.UninstallMonitoringAgentRequest): Promise<$_model.UninstallMonitoringAgentResponse>; }