Deletes the monitoring configuration of a Prometheus instance.
This API has been deprecated with no replacement. While temporary access is maintained, no further updates or bug fixes will be provided. To ensure continued functionality, plan your migration and contact your account manager for support.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| ClusterId |
string |
Yes |
The ID of the Prometheus instance. |
cc7a37ee31aea4ed1a059eff8034b**** |
| Type |
string |
Yes |
The type of the monitoring configuration. Valid values for a Prometheus instance for Container Service: serviceMonitor, podMonitor, customJob, and probe. Valid values for a Prometheus instance for ECS: customJob and probe. |
probe |
| MonitoringName |
string |
Yes |
The name of the monitoring configuration. |
customJob1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
4D6C358A-A58B-4F4B-94CE-F5AAF023**** |
| Code |
integer |
The status code. A value of 200 indicates a successful request. |
200 |
| Data |
string |
The result of the operation. |
success |
| Message |
string |
The returned message. |
message |
Examples
Success response
JSON format
{
"RequestId": "4D6C358A-A58B-4F4B-94CE-F5AAF023****",
"Code": 200,
"Data": "success",
"Message": "message"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.