Cluster Related Interface
Create Cluster
Description
Create cluster instance.
Request structure
POST /v1/cluster HTTP/1.1
Host: cce.bj.agilecloud.com
Authorization: authorization string
Request header
There are no other special headers except the public headers.
Request parameter
Parameter name | Type | Required or not | Parameter position | Description |
---|---|---|---|---|
clusterName | String | Yes | RequestBody parameter | Cluster name |
version | String | Yes | RequestBody parameter | Version of k8s |
mainAvailableZone | String | Yes | RequestBody parameter | Main available zone: When the user selects multiple available zones, one of them is the primary available zone, which shall be explicitly passed to cce service |
containerNet | String | Yes | RequestBody parameter | Container network |
advancedOptions | AdvancedOptions | No | RequestBody parameter | Cluster advanced options configuration |
cdsPreMountInfo | CdsPreMountInfo | No | RequestBody parameter | For the pre-mount information of CDS disk, see the appendix for CdsPreMountInfo description |
comment | String | No | RequestBody parameter | Comments |
deployMode | String | Yes | RequestBody parameter | Node type (BCC, DCC) |
dccUuid | String | No | RequestBody parameter | DCC server UUID |
masterExposed | Boolean | No | RequestBody parameter | Customize master, default is false |
orderContent | BaseCreateOrderRequestVo |
Yes | RequestBody parameter | Order content created by BCC. T represents BCC, EIP, CDS configuration model. Refer to BCC config, EIP config, CDS config |
masterOrderContent | BaseCreateOrderRequestVo |
No | RequestBody parameter | Order content created by BCC. T represents BCC, EIP, CDS configuration model. Refer to BCC config, EIP config, CDS config |
Return header
There are no other special headers except the public headers.
Return parameter
Parameter name | Type | Description |
---|---|---|
clusterUuid | String | Cluster id |
orderId | List |
Order id list |
Request example
POST /v1/cluster HTTP/1.1
Host: cce.bj.agilecloud.com
Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2019-03-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
{
"clusterName":"agilec_auto",
"mainAvailableZone":"zoneA",
"containerNet":"192.168.128.0/17",
"version":"1.11.5",
"deployMode":"BCC",
"comment":"Just qa auto test.",
"cdsPreMountInfo":{
"mountPath":"/data",
"cdsConfig":[
{
"snapshotId":"",
"volumeType":"ssd",
"size":50
}
]
},
"orderContent":{
"items":[
{
"config":{
"name":"agilec",
"productType":"postpay",
"logicalZone":"zoneA",
"instanceType":7,
"cpu":2,
"memory":4,
"imageType":"common",
"osType":"CentOS",
"osVersion":"7.3 x86_64 (64bit)",
"subnetUuid":"d1c10575-d5b8-4359-9f85-afb853eba839",
"securityGroupId":"g-i0nbm8pjqr4c",
"purchaseLength":1,
"purchaseNum":1,
"autoRenewTimeUnit":"month",
"autoRenewTime":0,
"autoRenew":"false",
"imageId":"bc30e41d-5a01-44a2-8e3e-bbf103e2284f",
"osName":"osname-agilec",
"serviceType":"BCC",
"adminPass":"x7!Cxx57"
}
},
{
"config":{
"bandwidthInMbps":100,
"productType":"postpay",
"name":"eip_name",
"purchaseNum":1,
"subProductType":"netraffic",
"serviceType":"EIP"
}
},
{
"config":{
"productType":"postpay",
"purchaseNum":1,
"cdsDiskSize":[
{
"snapshotId":"",
"volumeType":"ssd",
"size":50
},
{
"snapshotId":"",
"size":5,
"volumeType":"sata"
}
],
"logicalZone":"zoneA",
"serviceType":"CDS",
"purchaseLength":2
}
}
]
}
}
Return example
HTTP/1.1 200 OK
x-bce-request-id: 1214cca7-4ad5-451d-9215-71cb844c0a50
Date: Thu, 16 Mar 2019 06:29:48 GMT
Content-Type: application/json;charset=UTF-8
Server: BWS
{
"clusterUuid": "c-NqYwWEhu",
"orderId": [
"8d58c20f46294a7ea4922928db1fddea"
]
}
Note Cluster sensitive information is stored in/etc/kubernetes/pki and /root/.kube/config of the virtual machine node. Please take care of it.
Cluster List
Description
Return cluster details of corresponding status.
Request structure
GET /v1/cluster?status={status} HTTP/1.1
Host: cce.bj.agilecloud.com
Authorization: authorization string
Request header
There are no other special headers except the public headers.
Request parameter
Parameter name | Type | Required or not | Parameter position | Description |
---|---|---|---|---|
marker | String | No | Query parameter | The starting location of query for batch acquisition of lists, and is one string generated by the system. |
maxKeys | Integer | No | Query parameter | The maximum quantity contained in each page. The maximum quantity usually does not exceed 1000. The default is 1000 |
status | String | No | Query parameter | ClusterStatus, statuses are separated by ","; if it is left blank, return to all statuses |
Return header
There are no other special headers except the public headers.
Return parameter
Parameter name | Type | Description |
---|---|---|
marker | String | It marks the queried starting position. |
isTruncated | boolean | True means there are additional data in the following pages and false means the current page is the last page. |
nextMarker | String | The marker value requiring to be passed in order to acquire the next page. The domain doesn't appear when isTruncated is false. |
maxKeys | Integer | Maximum number contained in each page. |
clusters | List<Cluster> | List of cluster information, in which Cluster description is shown in Appendix |
Request example
GET /v1/cluster?status=CREATING HTTP/1.1
Host: cce.bj.agilecloud.com
ContentType: application/json
Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2019-03-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
{
"marker": "-1",
"maxKeys": 1000,
"status":"CREATING,RUNNING,DELETING,CREATE_FAILED,ERROR"
}
Return example
HTTP/1.1 200 OK
x-bce-request-id: 1214cca7 4ad5 451d 9215 71cb844c0a50
Date: Thu, 16 Mar 2019 06:29:48 GMT
Content Type: application/json;charset=UTF-8
Server: BWS
{
"nextMarker": null,
"marker": "-1",
"maxKeys": 1000,
"isTruncated": false,
"clusters": [
{
"clusterUuid': "c-3hWhOIiR",
"clusterName": "cluster_cce_test",
"slaveVmCount": 1,
"masterVmCount": 1,
"containerNet": "192.168.100.0/24",
"region": "bj",
"status": "RUNNING",
"createTime": "2019-07-21T11:55:46Z",
"deleteTime": null,
"allInstanceNormal": true,
"instanceList":[
{
"instanceShortId":"i-Oivmgml6",
"instanceUuid":"364ff3f8-ca67-4f07-9f7a-f29f60252317",
"instanceName":"instance-s0yc0mo5",
"status":"RUNNING",
"clusterUuid": "c-cltgnkDb"
}
]
}
]
}
Cluster Details
Description
Cluster details.
Request structure
GET /v1/cluster/{clusterUuid} HTTP/1.1
Host: cce.bj.agilecloud.com
Authorization: authorization string
Request header
There are no other special headers except the public headers.
Request parameter
Parameter name | Type | Required or not | Parameter position | Description |
---|---|---|---|---|
clusterUuid | String | Yes | URL parameter | Cluster id |
Return header
There are no other special headers except the public headers.
Return parameter
Parameter name | Type | Description |
---|---|---|
clusterUuid | String | Cluster uuid |
clusterName | String | Cluster name |
version | String | K8S version |
region | String | Respective region |
slaveVmCount | Integer | Virtual machine number of k8s cluster slave node |
masterVmCount | Integer | Virtual machine number of k8s cluster primary node |
vpcId | String | vpc short id |
vpcUuid | String | vpc long id |
vpcCidr | String | vpc CIDR address field |
zoneSubnetMap | Map | Available zone ->subnet CIDR address |
containerNet | String | Container network |
advancedOptions | AdvancedOptions | Advanced configuration of cluster |
status | ClusterStatus | Cluster status |
createStartTime | Timestamp | Cluster creation time |
deleteTime | Timestamp | Cluster delete time |
comment | String | Cluster remarks |
instanceMode | String | Node type, bcc instance, dcc exclusive instance |
hasPrepay | Boolean | Including the prepayment node or not |
vpcName | String | VPC name |
secureContainerEnable | Boolean | If true, switch the runtime of the container to kata-container (implement hard container isolation) |
masterZoneSubnetMap | Map | Primary node available zone ->subnet CIDR address |
masterExposed | Boolean | Customize master node or not |
Request example
GET /v1/cluster/c-3hWhOIiR HTTP/1.1
Host: cce.bj.agilecloud.com
Authorization: authorization string
Return example
HTTP/1.1 200 OK
x-bce-request-id: 1214cca7 4ad5 451d 9215 71cb844c0a50
Date: Thu, 16 Mar 2019 06:29:48 GMT
Content Type: application/json;charset=UTF-8
Server: BWS
{
"clusterUuid": "c-n9NKMDfe",
"clusterName": "agilec_auto",
"version": "1.11.5",
"region": "bj",
"slaveVmCount": 2,
"masterVmCount": 3,
"vpcId": "vpc-t6d16myuuqyu",
"vpcUuid": "2d750722-d829-4886-9a44-1472885ae37f",
"vpcCidr": "192.168.0.0/20",
"zoneSubnetMap": {
"zoneA": "192.168.0.0/24"
},
"containerNet": "172.24.0.0/19",
"status": "RUNNING",
"deleteTime": "1971-01-01T00:00:01Z",
"comment": "Just qa auto test.",
"instanceMode": "BCC",
"hasPrepay": false,
"vpcName": "agilec-20",
"secureContainerEnable": null,
"advancedOptions": {
"secureContainerEnable": false,
"kubeProxyMode": "iptables",
"setOSSecurity": false
},
"masterZoneSubnetMap": {},
"masterExposed": false,
"createTime": "2019-05-13T09:54:57Z"
}
Delete Cluster
Description
Delete cluster.
Request structure
DELETE /v1/cluster/{clusterUuid} HTTP/1.1
Host: cce.bj.agilecloud.com
Authorization: authorization string
Request header
There are no other special headers except the public headers.
Request parameter
Parameter name | Type | Required or not | Parameter position | Description |
---|---|---|---|---|
clusterUuid | String | Yes | URL parameter | Cluster id |
deleteEipCds | Boolean | No | Query parameter | Delete eip and cds in linkage or not? The default is false |
deleteSnap | Boolean | No | Query parameter | Delete the snapshot in linkage or not? The default is false |
Return header
There are no other special headers except the public headers.
Return parameter
No special return parameters
Request example
DELETE /v1/cluster/1849ef6b-f73c HTTP/1.1
Host: cce.bj.agilecloud.com
ContentType: application/json
Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2019-03-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
Return example
HTTP/1.1 200 OK
x-bce-request-id: 1214cca7-4ad5-451d-9215-71cb844c0a50
Date: Thu, 16 Mar 2019 06:29:48 GMT
Content-Type: application/json;charset=UTF-8
Server: BWS
Cluster Expansion
Description
Add nodes for cluster.
Request structure
POST /v1/cluster?scalingUp= HTTP/1.1
Host: cce.bj.agilecloud.com
Authorization: authorization string
Request header
There are no other special headers except the public headers.
Request parameter
Parameter name | Type | Required or not | Parameter position | Description |
---|---|---|---|---|
scalingUp | String | Yes | Query parameter | The current value of the operation on the cluster is' ' |
clusterUuid | String | Yes | RequestBody parameter | Cluster id |
dccUuid | String | No | RequestBody parameter | DCC server UUID |
cdsPreMountInfo | CdsPreMountInfo | No | RequestBody parameter | For the pre-mount information of CDS disk, see the appendix for CdsPreMountInfo description |
orderContent | BaseCreateOrderRequestVo |
Yes | RequestBody parameter | Order content created by BCC. T represents BCC, EIP, CDS configuration model. Refer to BCC config, EIP config, CDS config |
Return header
There are no other special headers except the public headers.
Return parameter
Parameter name | Type | Description |
---|---|---|
clusterUuid | String | Cluster id |
orderId | List |
Order id list |
Request example
POST /v1/cluster?scalingUp= HTTP/1.1
Host: cce.bj.agilecloud.com
Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2019-03-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
{
"clusterUuid":"c-vNss7Lfw",
"cdsPreMountInfo":{
"mountPath":"/data",
"cdsConfig":[
{
"snapshotId":"",
"volumeType":"ssd",
"size":70
}
]
},
"orderContent":{
"items":[
{
"config":{
"name":"agilec",
"productType":"postpay",
"logicalZone":"zoneA",
"instanceType":7,
"cpu":2,
"memory":4,
"imageType":"common",
"osType":"linux",
"osVersion":"7.3 x86_64 (64bit)",
"subnetUuid":"d1c10575-d5b8-4359-9f85-afb853eba839",
"securityGroupId":"g-i0nbm8pjqr4c",
"purchaseLength":1,
"purchaseNum":2,
"autoRenewTimeUnit":"month",
"autoRenewTime":0,
"createEphemeralList":[
{
"storageType":"ssd",
"sizeInGB":100,
"volumeType":"ssd"
}
],
"autoRenew":"false",
"imageId":"bc30e41d-5a01-44a2-8e3e-bbf103e2284f",
"osName":"osname-agilec",
"serviceType":"BCC",
"adminPass":"x7!Cxx57"
}
},
{
"config":{
"bandwidthInMbps":100,
"productType":"postpay",
"name":"eip_name",
"purchaseNum":2,
"subProductType":"netraffic",
"serviceType":"EIP"
}
},
{
"config":{
"productType":"postpay",
"purchaseNum":2,
"cdsDiskSize":[
{
"snapshotId":"",
"volumeType":"ssd",
"size":70
},
{
"snapshotId":"",
"size":5,
"volumeType":"sata"
}
],
"logicalZone":"zoneA",
"serviceType":"CDS"
}
}
]
}
}
Return example
HTTP/1.1 200 OK
x-bce-request-id: 1214cca7-4ad5-451d-9215-71cb844c0a50
Date: Thu, 16 Mar 2019 06:29:48 GMT
Content-Type: application/json;charset=UTF-8
Server: BWS
{
"clusterUuid": "c-NqYwWEhu",
"orderId": [
"8d58c20f46294a7ea4922928db1fddea"
]
}
Cluster Scale-down
Description
Delete nodes for cluster.
Request structure
POST /v1/cluster?scalingDown= HTTP/1.1
Host: cce.bj.agilecloud.com
Authorization: authorization string
Request header
There are no other special headers except the public headers.
Request parameter
Parameter name | Type | Required or not | Parameter position | Description |
---|---|---|---|---|
scalingDown | String | Yes | Query parameter | The current value of the operation on the cluster is"" |
deleteEipCds | Boolean | No | Query parameter | Delete eip and cds in linkage or not, The default is false |
deleteSnap | Boolean | No | Query parameter | Delete the snapshot in linkage or not? The default is false |
clusterUuid | String | Yes | RequestBody parameter | Cluster UUid |
nodeInfo | List<NodeInfo> | Yes | RequestBody parameter | Delete the node information. See the appendix for the Nodeinfo description |
Return header
There are no other special headers except the public headers.
Return parameter
No return value.
Request example
POST /v1/cluster?scalingDown= HTTP/1.1
Host: cce.bj.agilecloud.com
Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2019-03-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
{
"clusterUuid": "c-NqYwWEhu",
"nodeInfo": [
{
"instanceId": "i-worker1"
},
{
"instanceId": "i-worker2"
}
]
}
Return example
HTTP/1.1 200 OK
x-bce-request-id: 1214cca7-4ad5-451d-9215-71cb844c0a50
Date: Thu, 16 Mar 2019 06:29:48 GMT
Content-Type: application/json;charset=UTF-8
Server: BWS
Node List
Description
Request cluster node list.
Request structure
GET /v1/node?clusterUuid={clusterUuid} HTTP/1.1
Host: cce.bj.agilecloud.com
Authorization: authorization string
Request header
There are no other special headers except the public headers.
Request parameter
Parameter name | Type | Required or not | Parameter position | Description |
---|---|---|---|---|
marker | String | No | Query parameter | Mark page start point |
maxKeys | Integer | No | Query parameter | Number of entries per page, default 1000 |
clusterUuid | String | Yes | Query parameter | Cluster id |
Return header
There are no other special headers except the public headers.
Return parameter
Parameter name | Type | Description |
---|---|---|
marker | String | It marks the queried starting position. |
isTruncated | boolean | True means there are additional data in the following pages and false means the current page is the last page. |
nextMarker | String | The marker value requiring to be passed in order to acquire the next page. The domain doesn't appear when isTruncated is false. |
maxKeys | Integer | Maximum number contained in each page. |
nodes | List<Node> | Node list results, where Node description is shown in appendix. |
Request example
GET /v1/node?clusterUuid=c-PwLBHYuy HTTP/1.1
Host: cce.bj.agilecloud.com
Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2019-03-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
Return example
HTTP/1.1 200 OK x-bce-request-id: 1214cca7-4ad5-451d-9215-71cb844c0a50 Date: Thu, 16 Mar 2019 06:29:48 GMT Content-Type: application/json;charset=UTF-8 Server: BWS
{
"marker": "-1",
"isTruncated": false,
"nextMarker": null,
"maxKeys": 1000,
"nodes": [
"instanceShortId": "i-vekAWwkd",
"instanceUuid": "0ac6ec37-5446-43c3-8a4c-b01bf03cf6a9",
"instanceName": "agilec",
"clusterUuid": "c-iIJmFze5",
"availableZone": "zoneA",
"vpcId": "vpc-t6d16myuuqyu",
"vpcCidr": "192.168.0.0/20",
"subnetId": "d1c10575-d5b8-4359-9f85-afb853eba839",
"subnetType": "BCC",
"eip": "106.12.12.154",
"eipBandwidth": 100,
"cpu": 2,
"memory": 4,
"sysDisk": 40,
"instanceType": "7",
"blb": "",
"floatingIp": "100.70.35.240",
"fixIp": "192.168.0.141",
"createTime": "2019-05-30T06:39:17Z",
"deleteTime": "1971-01-01T00:00:01Z",
"status": "RUNNING",
"expireTime": "1971-01-01T00:00:01Z",
"paymentMethod": "postpay",
"runtimeVersion": "docker://18.9.2",
"role": "slave",
"diskSize": 0
}
]
}
Move in Existing Node
Description
Add existing nodes to the cluster
Request structure
POST /v1/cluster/existed_node?action=shift_in HTTP/1.1
Host: cce.bj.baidubce.com
Authorization: authorization string
Request header domain
There are no special headers except the common header.
Request parameter
Parameter name | Type | Required or not | Parameter position | Description |
---|---|---|---|---|
action | String | Yes | Query parameter | The operation on the cluster. The value is "shift"_ In". |
clusterUuid | String | Yes | RequestBody parameter | Cluster ID |
needRebuild | Boolean | Yes | RequestBody parameter | Re-install the system or not |
imageId | String | No | RequestBody parameter | The image ID for re-installing system |
adminPass | String | Yes | RequestBody parameter | Set the administrator password after the system is reinstalled; if not reinstall system, you need to provide the correct administrator password in the cceNodeInfo parameter. |
instanceType | InstanceType | Yes | RequestBody parameter | Machine type, InstanceType value: "BCC", "BBC" |
cdsPreMountInfo | CdsPreMountInfo | Yes | RequestBody parameter | Disk information, refer to appendix for CdsPreMountInfo description. |
nodeInfoList | CceNodeInfo | Yes | RequestBody parameter | For node information, refer to the appendix for CceNodeInfo description. |
Return header field
There are no special headers except the common header.
Return parameters
Parameter name | Type | Description |
---|
Request example
POST /v1/cluster/existed_node?action=shift_in HTTP/1.1
host: cce.bd.baidubce.com
authorization: bce-auth-v1/dbac753e51ee11ea916ccde692768551/2020-02-18T01:34:51Z/3600/host/74d8149a7c42fbdd1c7703303cdcd783ad57223a340484c175fc7e1dd60f29f3
{
"clusterUuid" : "c-oKdZuCrc",
"needRebuild" : false,
"nodeInfoList" : [ {
"instanceId" : "773847bd-e0b4-49e5-baa4-8ba76f6f29a1",
"adminPass" : "Cscetseddst123#"
} ],
"instanceType" : "BBC"
}
Return example
HTTP/1.1 200 OK
x-bce-request-id: 398cc76a-7ee5-46e7-a7ba-ba05c9a38f73
Cache-Control: no-cache
Remove Cluster Node
Description
Remove the cluster node
Request structure
POST /v1/cluster/existed_node?action=shift_out HTTP/1.1
Host: cce.bj.baidubce.com
Authorization: authorization string
Request header domain
There are no special headers except the common header.
Request parameter
Parameter name | Type | Required or not | Parameter position | Description |
---|---|---|---|---|
action | String | Yes | Query parameter | The operation on the cluster. The value is "shift_out". |
clusterUuid | String | Yes | RequestBody parameter | Cluster ID |
nodeInfoList | CceNodeInfo | Yes | RequestBody parameter | For node information, refer to the appendix for CceNodeInfo description. |
Return header field
There are no special headers except the common header.
Return parameters
Parameter name | Type | Description |
---|
Request example
POST /v1/cluster/existed_node?action=shift_in HTTP/1.1
host: cce.bd.baidubce.com
authorization: bce-auth-v1/dbac753e51ee11ea916ccde692768551/2020-02-18T01:34:51Z/3600/host/74d8149a7c42fbdd1c7703303cdcd783ad57223a340484c175fc7e1dd60f29f3
{
"clusterUuid" : "c-oKdZuCrc",
"nodeInfoList" : [ {
"instanceId" : "i-QxgdLzmS"
} ],
}
Return example
HTTP/1.1 200 OK
x-bce-request-id: 398cc76a-7ee5-46e7-a7ba-ba05c9a38f73
Cache-Control: no-cache
List of Nodes that Can be Moved in
Description
Request for list of nodes that can be moved in
Request structure
POST /v1/cluster/existed_bcc_node/list HTTP/1.1
Host: cce.bj.baidubce.com
Authorization: authorization string
Request header domain
There are no special headers except the common header.
Request parameter
Parameter name | Type | Required or not | Parameter position | Description |
---|---|---|---|---|
clusterUuid | String | Yes | RequestBody parameter | Cluster ID |
vpcId | String | No | RequestBody parameter | vpcId |
vpcCidr | String | No | RequestBody parameter | vpc cidr, need to pay attention to the auxiliary network segment |
instanceType | String | No | RequestBody parameter | Virtual machine type |
bbcFlavorId | String | No | RequestBody parameter | bbc configuration |
keywordType | String | No | RequestBody parameter | Keyword type |
keyword | String | No | RequestBody parameter | keywords |
orderBy | String | No | RequestBody parameter | Sorting keywords |
order | String | No | RequestBody parameter | Sequence |
pageNo | Integer | No | RequestBody parameter | Page |
pageSize | Integer | No | RequestBody parameter | Number of nodes per page |
Return header
There are no special headers except the common header.
Return parameter
Parameter name | Type | Description |
---|---|---|
clusterUuid | String | Cluster ID |
orderBy | String | Sorting keyword |
order | String | Sequence |
pageNo | Integer | Page |
pageSize | Integer | Number of nodes per page |
totalCount | Integer | Total number of nodes |
nodeList | List<ServerForDisplay> | Node list results, where ServerForDisplay description is shown in appendix |
Request example
POST /v1/cluster/existed_bcc_node/list HTTP/1.1
Host: cce.bj.baidubce.com
Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2019-03-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
{
"clusterUuid":"c-mbZ34r4J",
"keywordType":"name",
"orderBy":"name",
"order":"asc",
"instanceType":"0,7,10,1,11,4",
"bbcFlavorId":"",
"pageNo":1,
"pageSize":10
}
Return example
HTTP/1.1 200 OK
x-bce-request-id: 1214cca7-4ad5-451d-9215-71cb844c0a50
Date: Thu, 16 Mar 2019 06:29:48 GMT
Content-Type: application/json;charset=UTF-8
Server: BWS
{
"clusterUuid":"c-mbZ34r4J",
"orderBy":"name",
"order":"asc",
"pageNo":1,
"pageSize":10,
"totalCount":1,
"nodeList":[
{
"instanceId":"i-E47Jv6HJ",
"name":"instance-1vb11jsb",
"status":"ACTIVE",
"payment":"postpay",
"internalIp":"192.168.64.81",
}
]
}