全部產品
Search
文件中心

Application Real-Time Monitoring Service:UpdatePrometheusMonitoringStatus - 更新Prometheus執行個體監控配置狀態

更新時間:Apr 11, 2026

更新Prometheus執行個體監控配置狀態。

說明

目前該API介面已標記為棄用。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

RegionId

string

地區 ID。

cn-hangzhou

ClusterId

string

Prometheus 執行個體 ID。

cc7a37ee31aea4ed1a059eff8034b****

MonitoringName

string

監控配置名稱。

customJob1

Type

string

Container Service類型的執行個體支援:serviceMonitor、podMonitor、customJob。 ecs 類型的執行個體支援:customJob。 不支援 probe 的狀態修改。

customJob

Status

string

監控配置狀態:run, stop。 probe 暫不支援狀態設定。

run

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

Id of the request

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

Code

integer

狀態代碼。說明 200 表示成功。

200

Data

string

操作結果資訊。

success

Message

string

返回結果的提示資訊。

message

樣本

正常返回樣本

JSON格式

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

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情