日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

GetPrometheusInstance - 獲取指定Prometheus實例信息

獲取指定Prometheus實例信息。

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權信息

當前API暫無授權信息透出。

請求參數

名稱類型必填描述示例值
RegionIdstring

地域 ID。

cn-hangzhou
ClusterIdstring

Prometheus 實例 ID。

c77f6f2397ea74672872acf5e31374a27

返回參數

名稱類型描述示例值
object

Schema of Response

RequestIdstring

Id of the request

52C422FD-6B43-524D-B8A1-A4693294318C
Messagestring

返回結果的提示信息。

message
Codeinteger

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

200
Dataobject

返回信息。

ClusterIdstring

Prometheus 實例 ID。

c589a1b8db05c4561aefbb898ca8fb1cf
RegionIdstring

地域 ID。

cn-beijing
UserIdstring

用戶 ID。

167275301789****
ClusterNamestring

集群名稱。

prom1
ClusterTypestring
  • remote-write(Prometheus for 通用)
  • ecs(Prometheus for ECS)
  • cloud-monitor(Prometheus for 云服務中國內地)
  • cloud-product(Prometheus for 云服務國外)
  • global-view(Prometheus for GlobalView)
  • aliyun-cs(Prometheus for 容器服務)
remote-write
VpcIdstring

集群所對應的 VPC。(僅 Prometheus for ECS 透出)

vpc-8vb02uk57qbcktqcvqqqj
VSwitchIdstring

交換機 ID。(僅 Prometheus for ECS 透出)

vsw-f8z73vcja1tqnw90aav5a
SecurityGroupIdstring

安全組 ID。(僅 Prometheus for ECS 透出)

sg-8vbdgmf4nraiqa9bx0jo
SubClustersJsonstring

globalView 實例的子實例 json 串。

[{"headers":{},"regionId":"cn-hangzhou","sourceType":"AlibabaPrometheus","extras":{},"clusterId":"c39a1048921e04fceb039db2fbb73***","sourceName":"arms-luyao-test","dataSource":"","userId":"167275301789***"},{"headers":{},"regionId":"cn-beijing","sourceType":"AlibabaPrometheus","extras":{},"clusterId":"c6b6485496d5b400abde22cb47b5****","sourceName":"agent-321-測試","dataSource":"","userId":"1672753017899***"},{"headers":{},"regionId":"cn-zhangjiakou","sourceType":"AlibabaPrometheus","extras":{},"clusterId":"c261a4f3200c446659133f1ade789b15e","sourceName":"zaifeng-cardinality-01","dataSource":"","userId":"167275301789***"}]
RemoteReadIntraUrlstring

remote read 內網地址

http://cn-beijing-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/xxx/api/v1/read
RemoteReadInterUrlstring

remote read 公網地址

http://cn-beijing.arms.aliyuncs.com:9090/api/v1/prometheus/xxx/api/v1/read
RemoteWriteIntraUrlstring

remote write 內網地址

http://cn-beijing-intranet.arms.aliyuncs.com/prometheus/xxx/api/v3/write
RemoteWriteInterUrlstring

remote write 公網地址

https://cn-beijing.arms.aliyuncs.com/prometheus/xxx/api/v3/write
PushGatewayIntraUrlstring

push gateway 內網地址

http://cn-beijing-intranet.arms.aliyuncs.com/prometheus/xxx/api/v2
PushGatewayInterUrlstring

push gateway 公網地址

https://cn-beijing.arms.aliyuncs.com/prometheus/xxx/api/v2
HttpApiIntraUrlstring

http api 內網地址

http://cn-beijing-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/xxx
HttpApiInterUrlstring

http api 公網地址

https://cn-beijing.arms.aliyuncs.com:9443/api/v1/prometheus/xxx
AuthTokenstring

授權 token 串

GciOiJIUzI1NiJ9***
AccessTypestring

權限類型: readWrite、readOnly、httpReadOnly

readWrite
PaymentTypestring

付費類型。

  • PREPAY-包年包月
  • POSTPAY-按量付費
PREPAY
StorageDurationinteger

存儲時長(天)。

90
ArchiveDurationinteger

存儲到期后,自動歸檔保存的天數(可選值:60、90、180、365)。0 表示不歸檔保存。

60
GrafanaInstanceIdstring

Grafana 工作區 ID。

grafana-rnggfvhlcdl6m71***
ResourceGroupIdstring

實例所屬的資源組 ID。

rg-aek2vezare****
ResourceTypestring

固定值:PROMETHEUS。

PROMETHEUS
EnableAuthTokenstring

是否開啟訪問 Token 鑒權

true
SupportAuthTypesarray

支持的認證鑒權類型。

SupportAuthTypestring

支持的認證鑒權類型。

枚舉值:
  • BasicAuthhttp基礎鑒權。
  • AuthFree免密。
  • AuthTokentoken鑒權
AuthFree
EnableAuthFreeReadboolean

是否開啟讀免密。

AuthFreeReadPolicystring

讀免密地址白名單策略。

EnableAuthFreeWriteboolean

是否開啟寫免密。

AuthFreeWritePolicystring

寫免密地址白名單策略。

Productstring

prom 實例歸屬的產品(arms 或 cms)

arms
DbInstanceStatusstring

后端數據存儲狀態

RUNNING
Versionstring

版本

PaymentTypeUpdateTimestring

實例計費方式修改時間

ExtraInfoobject

擴展信息(僅控制臺請求才返回)

string
Tagsarray<object>

實例所綁定的標簽。

tagsobject

標簽。

TagKeystring

標簽鍵。

tag1
TagValuestring

標簽值。

tagValue1

示例

正常返回示例

JSON格式

{
  "RequestId": "52C422FD-6B43-524D-B8A1-A4693294318C",
  "Message": "message",
  "Code": 200,
  "Data": {
    "ClusterId": "c589a1b8db05c4561aefbb898ca8fb1cf",
    "RegionId": "cn-beijing",
    "UserId": "167275301789****",
    "ClusterName": "prom1",
    "ClusterType": "remote-write",
    "VpcId": "vpc-8vb02uk57qbcktqcvqqqj",
    "VSwitchId": "vsw-f8z73vcja1tqnw90aav5a",
    "SecurityGroupId": "sg-8vbdgmf4nraiqa9bx0jo",
    "SubClustersJson": "[{\"headers\":{},\"regionId\":\"cn-hangzhou\",\"sourceType\":\"AlibabaPrometheus\",\"extras\":{},\"clusterId\":\"c39a1048921e04fceb039db2fbb73***\",\"sourceName\":\"arms-luyao-test\",\"dataSource\":\"\",\"userId\":\"167275301789***\"},{\"headers\":{},\"regionId\":\"cn-beijing\",\"sourceType\":\"AlibabaPrometheus\",\"extras\":{},\"clusterId\":\"c6b6485496d5b400abde22cb47b5****\",\"sourceName\":\"agent-321-測試\",\"dataSource\":\"\",\"userId\":\"1672753017899***\"},{\"headers\":{},\"regionId\":\"cn-zhangjiakou\",\"sourceType\":\"AlibabaPrometheus\",\"extras\":{},\"clusterId\":\"c261a4f3200c446659133f1ade789b15e\",\"sourceName\":\"zaifeng-cardinality-01\",\"dataSource\":\"\",\"userId\":\"167275301789***\"}]",
    "RemoteReadIntraUrl": "http://cn-beijing-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/xxx/api/v1/read",
    "RemoteReadInterUrl": "http://cn-beijing.arms.aliyuncs.com:9090/api/v1/prometheus/xxx/api/v1/read",
    "RemoteWriteIntraUrl": "http://cn-beijing-intranet.arms.aliyuncs.com/prometheus/xxx/api/v3/write",
    "RemoteWriteInterUrl": "https://cn-beijing.arms.aliyuncs.com/prometheus/xxx/api/v3/write",
    "PushGatewayIntraUrl": "http://cn-beijing-intranet.arms.aliyuncs.com/prometheus/xxx/api/v2",
    "PushGatewayInterUrl": "https://cn-beijing.arms.aliyuncs.com/prometheus/xxx/api/v2",
    "HttpApiIntraUrl": "http://cn-beijing-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/xxx",
    "HttpApiInterUrl": "https://cn-beijing.arms.aliyuncs.com:9443/api/v1/prometheus/xxx",
    "AuthToken": "GciOiJIUzI1NiJ9***",
    "AccessType": "readWrite",
    "PaymentType": "PREPAY",
    "StorageDuration": 90,
    "ArchiveDuration": 60,
    "GrafanaInstanceId": "grafana-rnggfvhlcdl6m71***",
    "ResourceGroupId": "rg-aek2vezare****",
    "ResourceType": "PROMETHEUS",
    "EnableAuthToken": "true",
    "SupportAuthTypes": [
      "AuthFree"
    ],
    "EnableAuthFreeRead": true,
    "AuthFreeReadPolicy": "",
    "EnableAuthFreeWrite": true,
    "AuthFreeWritePolicy": "",
    "Product": "arms",
    "DbInstanceStatus": "RUNNING",
    "Version": "",
    "PaymentTypeUpdateTime": "",
    "ExtraInfo": {
      "key": ""
    },
    "Tags": [
      {
        "TagKey": "tag1",
        "TagValue": "tagValue1"
      }
    ]
  }
}

錯誤碼

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

變更歷史

變更時間變更內容概要操作
2024-12-05OpenAPI 返回結構發生變更查看變更詳情
2024-09-06OpenAPI 返回結構發生變更查看變更詳情
2024-09-02OpenAPI 返回結構發生變更查看變更詳情
2024-08-15OpenAPI 返回結構發生變更查看變更詳情
2024-08-02OpenAPI 返回結構發生變更查看變更詳情
2024-05-28OpenAPI 返回結構發生變更查看變更詳情
2024-05-27OpenAPI 返回結構發生變更查看變更詳情
2024-04-12OpenAPI 返回結構發生變更查看變更詳情
2023-12-06OpenAPI 返回結構發生變更查看變更詳情