| object | | |
Code | integer | | 200 |
Message | string | | success |
RequestId | string | The information about clusters. | 1053-08e4-47a5-b2ab-5c0323de**** |
ClusterList | array | The CPU oversold ratio supported by a Docker cluster. Valid values: - 1: 1:1, which indicates that resources are not oversold.
- 2: 1:2, which indicates that resources are oversold by 1:2.
- 4: 1:4, which indicates that resources are oversold by 1:4.
- 8: 1:8, which indicates that resources are oversold by 1:8.
| |
| object | | |
VpcId | string | The time when the cluster was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. | vpc-23727**** |
OversoldFactor | integer | The size of used memory. Unit: MB. | 1 |
UpdateTime | long | The provider of the cluster. | 1533820823203 |
MemUsed | integer | The time when the cluster was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. | 200 |
IaasProvider | string | The number of used CPU cores. | ALIYUN |
CreateTime | long | The total size of memory. Unit: MB. | 1502888064561 |
CpuUsed | integer | The region ID of the cluster. | 1 |
Mem | integer | The total number of CPU cores. | 3072 |
RegionId | string | The ID of the cluster in Container Service for Kubernetes (ACK). | cn-beijing |
Cpu | integer | The network type of the cluster. Valid values: - 1: classic network
- 2: virtual private cloud (VPC)
| 2 |
CsClusterId | string | The description of the cluster. | c2ce************b9203a9 |
NetworkMode | integer | | 1 |
Description | string | The type of the cluster. Valid values: - 0: a regular Docker cluster
- 1: a Swarm cluster
- 2: an Elastic Compute Service (ECS) cluster
- 3: a self-managed Kubernetes cluster in Enterprise Distributed Application Service (EDAS)
- 4: a cluster in which Pandora automatically registers applications
- 5: an ACK cluster
| The ID of the resource group. |
ClusterType | integer | | 2 |
ResourceGroupId | string | The number of nodes in the cluster. | 461 |
ClusterName | string | The ID of the cluster in EDAS. | cluster-test |
NodeNum | integer | POST /pop/v5/resource/cluster_list HTTP/1.1
Common request headers | 2 |
ClusterId | string | {
"ClusterList": {
"Cluster": {
"OversoldFactor": 1,
"Description": "Test",
"ResourceGroupId": 461,
"NodeNum": 2,
"ClusterId": "b98b5919-c111-4dad-9f74-7233********",
"CreateTime": 1502888064561,
"Cpu": 2,
"NetworkMode": 1,
"ClusterType": 2,
"CsClusterId": "c2ce******b9203a9",
"MemUsed": 200,
"Mem": 3072,
"VpcId": "vpc-23727**",
"UpdateTime": 1533820823203,
"ClusterName": "cluster-test",
"IaasProvider": "ALIYUN",
"RegionId": "cn-beijing",
"CpuUsed": 1
}
},
"RequestId": "1053-08e4-47a5-b2ab-5c0323de",
"Message": "success",
"Code": 200
} | b98b5919-c111-4dad-9f74-7233******** |