Description

Disable an alert policy. Disable an alarm rule. After an alarm rule is disabled, the monitoring metrics of the associated instances are no longer detected.

Request Parameters

Name Type Required or not Description
Action String Yes The parameter specified by the system. Value: DisableAlarm
Id String Required  Alarm rule ID

Response parameters

Name Type Description
Success Boolean Whether the request is successful
RequestId String Requested UUID, which is used for log query
Code String Request failure status code. The value 200 indicates that the request is successful, and a non-200 value indicates that the request fails
Message String Request failure prompt message

Examples

Request example
http://metrics.cn-hangzhou.aliyuncs.com/?Action=DisableAlarm
&Id=576fbae7-2fd1-411a-ae13-6f09f4fafdde
&<Common Request Parameters>

Response example

  • XML format
    <DisableAlarmResponse>
      <RequestId>CF9F20A2-D4CF-4FA0-B8A3-1F4C151B3C91</RequestId>
      <Success>true</Success>
      <Code>200</Code>
    </DisableAlarmResponse>
  • JSON format
    {
        "RequestId": "DEF01F10-E747-42FE-9152-85CB43B1B552", 
        "Success": true, 
        "Code": "200"
    }