获取Prometheus实例大盘列表。
接口说明
获取 Prometheus 实例大盘列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
cms:ListPrometheusDashboards |
list |
*PrometheusInstance
|
无 | 无 |
请求语法
GET /prometheus-instances/{prometheusInstanceId}/dashboards HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| prometheusInstanceId |
string |
是 |
实例 ID。 |
rw-abc123 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| resourceGroupId |
string |
否 |
资源组 ID。 |
rg-acfm3gn5i6bigbi |
| aliyunLang |
string |
否 |
语言环境, 默认为中文 zh | en |
zh |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| prometheusDashboards |
array<object> |
Prometheus 实例大盘列表。 |
|
|
object |
|||
| id |
string |
大盘 ID。 |
1 |
| uid |
string |
大盘 UID。 |
1987395500251724 |
| name |
string |
大盘名称。 |
pod |
| title |
string |
大盘标题。 |
ceshi |
| url |
string |
大盘 URL 地址。 |
https://gnew.console.aliyun.com/d/xxx-17460385-807-7-6/cs-cost-application |
| tags |
array |
标签。 |
|
|
string |
标签值。 |
[{\"tagName\":\"key1\",\"tagDefinePrompt\":\"value1\"}] |
|
| requestId |
string |
Id of the request |
8FDE2569-626B-5176-9844-28877A***** |
| totalCount |
integer |
总实例数 |
66 |
示例
正常返回示例
JSON格式
{
"prometheusDashboards": [
{
"id": "1",
"uid": "1987395500251724",
"name": "pod",
"title": "ceshi",
"url": "https://gnew.console.aliyun.com/d/xxx-17460385-807-7-6/cs-cost-application",
"tags": [
"[{\\\"tagName\\\":\\\"key1\\\",\\\"tagDefinePrompt\\\":\\\"value1\\\"}]"
]
}
],
"requestId": "8FDE2569-626B-5176-9844-28877A*****",
"totalCount": 66
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。