Queries clusters.
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
LogicalRegionId | string | No | The ID of the namespace. You can call the ListUserDefineRegion operation to query the namespace ID.
| cn-beijing:test |
ResourceGroupId | string | No | The ID of the resource group. You can call the ListResourceGroup operation to query the resource group ID.
| 461 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": 200,
"Message": "success",
"RequestId": "1053-08e4-47a5-b2ab-5c0323de****",
"ClusterList": {
"Cluster": [
{
"VpcId": "vpc-23727****",
"OversoldFactor": 1,
"UpdateTime": 1533820823203,
"MemUsed": 200,
"IaasProvider": "ALIYUN",
"CreateTime": 1502888064561,
"CpuUsed": 1,
"Mem": 3072,
"RegionId": "cn-beijing",
"Cpu": 2,
"CsClusterId": "c2ce************b9203a9",
"NetworkMode": 1,
"Description": "Test",
"ClusterType": 2,
"ResourceGroupId": "461",
"ClusterName": "cluster-test",
"NodeNum": 2,
"ClusterId": "b98b5919-c111-4dad-9f74-7233********"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.