Queries clusters.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /pop/v5/resource/cluster_list
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. For more information, see ListUserDefineRegion .
| cn-beijing:test |
ResourceGroupId | string | No | The ID of the resource group. You can call the ListResourceGroup operation to query the resource group ID. For more information, see ListResourceGroup .
| 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\n",
"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.
Change history
Change time | Summary of changes | Operation |
---|
No change history