全部產品
Search
文件中心

Application Real-Time Monitoring Service:GetCloudClusterAllUrl - 擷取雲產品各種URL

更新時間:Apr 11, 2026

擷取CloudMonitor雲產品讀寫地址,pushgateway,grafana 地址。

說明

目前該API介面已標記為棄用,推薦使用替代API:ARMS(2019-08-08) - GetRemoteWriteUrl

調試

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

調試

授權資訊

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

請求參數

名稱

類型

必填

描述

樣本值

RegionId

string

地區 ID。例如 cn-hangzhou。

cn-beijing

ClusterId

string

CloudMonitor執行個體 ID

ca9676014babd4

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

Id of the request

99A663CB-8D7B-4B0D-A006-03C8EE38E7BB

Data

array<object>

數群組類型

array<object>

彙總執行個體列表,為 JSON 格式字串。

ProductCode

string

雲產品標識

amp

Region

string

地區。

cn-hangzhou

RemoteUrl

object

讀寫對象 json 結構

RemoteWriteUrl

string

內網遠程寫地址

"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

InternetRemoteWriteUrl

string

公網遠程寫地址

"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

RemoteReadUrl

string

內網遠程讀地址

"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

InternetRemoteReadUrl

string

公網遠程讀地址

"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

GrafanaUrl

string

內網 grafana 資料來源地址

"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

InternetGrafanaUrl

string

公網 grafana 資料來源地址

"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

InternetPushGatewayUrl

string

公網 pushgateway 地址

"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

PushGatewayUrl

string

內網 pushgateway 地址

"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

AuthToken

boolean

是否開啟鑒權

true

Token

string

如果開啟,token 的值

"eyJhbGciOiJIUzI1NiJ9.DKEIFJSL.KYK6uOtNVxTVHXJbH5MNqlsAuUtKzNlUvmAIiKc-QXw"

Code

integer

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

200

Message

string

詳細資料。

success

Success

boolean

操作是否成功:true:操作成功 false:操作失敗

true

樣本

正常返回樣本

JSON格式

{
  "RequestId": "99A663CB-8D7B-4B0D-A006-03C8EE38E7BB",
  "Data": [
    {
      "ProductCode": "amp",
      "Region": "cn-hangzhou",
      "RemoteUrl": {
        "RemoteWriteUrl": "\"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "InternetRemoteWriteUrl": "\"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "RemoteReadUrl": "\"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "InternetRemoteReadUrl": "\"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"",
        "GrafanaUrl": "\"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "InternetGrafanaUrl": "\"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "InternetPushGatewayUrl": "\"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "PushGatewayUrl": "\"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "AuthToken": true,
        "Token": "\"eyJhbGciOiJIUzI1NiJ9.DKEIFJSL.KYK6uOtNVxTVHXJbH5MNqlsAuUtKzNlUvmAIiKc-QXw\""
      }
    }
  ],
  "Code": 200,
  "Message": "success",
  "Success": true
}

錯誤碼

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

變更歷史

更多資訊,參考變更詳情