Deletes a Prometheus alert rule.
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 obtain the ID from the response of the ListPrometheusAlertRules API operation. |
3888704 |
| ClusterId |
string |
No |
The ID of the cluster for which the Prometheus alert rule is configured. |
cc7a37ee31aea4ed1a059eff8034b**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the deletion was successful. Valid values:
|
true |
| RequestId |
string |
The ID of the request. |
9FEA6D00-317F-45E3-9004-7FB8B0B7**** |
| Code |
integer |
The status code. A value of 200 indicates success, while other values indicate errors. |
200 |
| Message |
string |
The detailed 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.