文档

UpdatePrometheusMonitoringStatus - 更新Prometheus实例监控配置状态

更新时间:

更新Prometheus实例监控配置状态。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
RegionIdstring

地域 ID。

cn-hangzhou
ClusterIdstring

Prometheus 实例 ID。

cc7a37ee31aea4ed1a059eff8034b****
MonitoringNamestring

监控配置名称。

customJob1
Typestring

容器服务类型的实例支持:serviceMonitor、podMonitor、customJob。 ecs 类型的实例支持:customJob。 不支持 probe 的状态修改。

customJob
Statusstring

监控配置状态:run, stop。 probe 暂不支持状态设置。

run

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

Id of the request

21E85B16-75A6-429A-9F65-8AAC9A54****
Codeinteger

状态码。说明 200 表示成功。

200
Datastring

操作结果信息。

success
Messagestring

返回结果的提示信息。

message

示例

正常返回示例

JSON格式

{
  "RequestId": "21E85B16-75A6-429A-9F65-8AAC9A54****",
  "Code": 200,
  "Data": "success",
  "Message": "message"
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (1)
文档反馈