全部產品
Search
文件中心

Cloud Monitor:BindPrometheusGrafanaInstance - 綁定Prometheus執行個體使用的Grafana工作區ID

更新時間:May 25, 2026

綁定Prometheus執行個體使用的Grafana工作區ID。

說明

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

調試

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

調試

授權資訊

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

請求參數

名稱

類型

必填

描述

樣本值

RegionId

string

地區 ID。

cn-hangzhou

ClusterId

string

Prometheus 執行個體 ID。

cc7a37ee31aea4ed1a059eff8034b****

ResourceGroupId

string

Prometheus 執行個體的資源群組 ID。

rg-acfmxyexli2****

GrafanaInstanceId

string

Grafana 工作區 ID。

grafana-bp1*****

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

Id of the request

27E653FA-5958-45BE-8AA9-14D884DC****

Data

boolean

操作是否成功。

  • true:成功

  • false:失敗

枚舉值:

  • true :

    成功

  • false :

    失敗

true

Message

string

返回結果的提示資訊。

message

Code

integer

狀態代碼。200 為成功,其他狀態代碼為異常。

200

樣本

正常返回樣本

JSON格式

{
  "RequestId": "27E653FA-5958-45BE-8AA9-14D884DC****",
  "Data": true,
  "Message": "message",
  "Code": 200
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 IdempotentParameterMismatch The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.

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

變更歷史

更多資訊,參考變更詳情