DeletePrometheusAlertRule
Deletes an alert rule of Prometheus Service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
arms:DeletePrometheusAlertRule |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AlertId |
integer |
Yes |
The ID of the alert rule. You can call the ListPrometheusAlertRules operation to query the ID of the alert rule. |
3888704 |
| ClusterId |
string |
No |
The cluster ID of the Prometheus monitoring alarm rule. |
cc7a37ee31aea4ed1a059eff8034b**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the alert rule was deleted. Valid values:
|
true |
| RequestId |
string |
The ID of the request. |
9FEA6D00-317F-45E3-9004-7FB8B0B7**** |
| Code |
integer |
Status code. 200 means success, other status codes are exceptions. |
200 |
| Message |
string |
More Information. |
success |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "9FEA6D00-317F-45E3-9004-7FB8B0B7****",
"Code": 200,
"Message": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.