调用DescribeGWSClusters查询可视化服务集群信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
ClusterId | string | 否 | 可视化服务集群 ID。 | gws-rhz99q8rc**** |
PageNumber | integer | 否 | 当前页码。 起始值:1 默认值:1 | 1 |
PageSize | integer | 否 | 每页显示的条数。取值范围:1~50 默认值:10 | 10 |
返回参数
示例
正常返回示例
JSON
格式
{
"PageSize": 10,
"PageNumber": 1,
"RequestId": "2777461A-E45E-42F8-8E67-0EBF132E93E0",
"CallerType": "sub",
"TotalCount": 1,
"Clusters": {
"ClusterInfo": [
{
"VpcId": "vpc-bp1nq8oshqudln3hy****",
"Status": "running",
"InstanceCount": 3,
"CreateTime": "2019-05-15T06:05:40.000Z",
"ClusterId": "gws-rhz99q8rc****"
}
]
}
}
JSON
格式
{
"PageSize": 10,
"PageNumber": 1,
"RequestId": "2777461A-E45E-42F8-8E67-0EBF132E93E0",
"CallerType": "sub",
"TotalCount": 1,
"Clusters": {
"ClusterInfo": [
{
"VpcId": "vpc-bp1nq8oshqudln3hy****",
"Status": "running",
"InstanceCount": 3,
"CreateTime": "2019-05-15T06:05:40.000Z",
"ClusterId": "gws-rhz99q8rc****"
}
]
}
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | InvalidParams | Invalid param: %s | - |
406 | AliyunError | 其他云产品接口请求失败 | |
407 | NotAuthorized | 此请求未获得RAM授权 | |
500 | UnknownError | 未知错误 | |
503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | 请求失败,服务暂时不可用 |
访问错误中心查看更多错误码。