Unbind Alarm Rule and Object

Last updated: 2017-07-25 11:23:36

1. API Description

This API (UnbindAlarmRuleObjects) is used to unbind alarm rule from object. Once unbound from the object, the alarm rule will no longer analyze the data reported by the object.

Domain name: monitor.api.qcloud.com

2. Input Parameters

Parameter Name Required Type Description
alarmRuleId Yes String Rule ID, which can be queried by calling the API Query Alarm Rule (DescribeAlarmRuleList)
dimensions.n.name Yes String Key of the dimension group, which can be queried by calling the API Query Objects Bound with Alarm Rule (DescribeAlarmRuleByObject)
dimensions.n.value Yes string Value of the dimension group, which can be queried by calling the API Query Objects Bound with Alarm Rule (DescribeAlarmRuleByObject)

3. Output Parameters

Parameter Name Type Description
code Int Error code, 0: Successful. Other values: Failed. For more information, please see Common Error Codes on the Error Codes page
message String Error message

4. Example

Input


https://monitor.api.qcloud.com/v2/index.php?
&<Common request parameters>
&alarmRuleId = policy-f3h1bxvcsb
&dimensions.0.name=diskname
&dimensions.1.name=ip
&dimensions.0.value=sda
&dimensions.1.value=172.31.58.160

Output

{
    "code":"0",
    "message":""
}