Available in VPC
Get the list of nodes for a Cloud Data Streaming Service cluster.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | /api/v1/cluster/getClusterNodeList/{serviceGroupInstanceNo} (Korea Region) |
GET | /api/sgn-v1/getClusterNodeList/{serviceGroupInstanceNo} (Singapore Region) |
GET | /api/jpn-v1/cluster/getClusterNodeList/{serviceGroupInstanceNo} (Japan Region) |
Request headers
For information about the headers common to all Cloud Data Streaming Service APIs, see Cloud Data Streaming Service request headers.
Request path parameters
You can use the following path parameters with your request:
Field | Type | Required | Description |
---|---|---|---|
serviceGroupInstanceNo |
Integer | Required | Cluster instance number
|
Request example
The request example is as follows:
curl --location --request GET 'https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/getClusterNodeList/1009*****' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
This section describes the response format.
Response body
The response body includes the following data:
Field | Type | Required | Description |
---|---|---|---|
code |
Integer | - | Response code |
message |
String | - | Response message |
result |
Object | - | Response result |
result.contractNo |
Integer | - | Contract number |
result.createdDate |
Object | - | Cluster creation date and time |
result.createdDate.formattedDate |
String | - | Cluster creation date
|
result.createdDate.formattedDateTime |
String | - | Cluster creation date and time
|
result.createdDate.utc |
Integer | - | Cluster creation date and time (millisecond)
|
result.productCode |
String | - | Operating system type code |
result.regionNo |
Integer | - | Region number |
result.serviceGroupInstanceNo |
Integer | - | Cluster instance number |
result.serviceGroupInstanceTypeCode |
String | - | Cluster instance type |
result.serviceGroupName |
String | - | Cluster name |
result.statusCode |
String | - | Cluster status |
result.vpcNo |
Integer | - | VPC number |
result.computeList |
Array | - | List of nodes |
requestId |
String | - | ID for the request
|
computeList
The following describes computeList
.
Field | Type | Required | Description |
---|---|---|---|
computeInstanceNo |
Integer | - | Node server instance number |
computeInstanceProductCode |
String | - | Node server type code |
computeInstanceStatus |
String | - | Node server status |
cpuCount |
Integer | - | Number of CPUs |
createdYmdt |
Object | - | Node creation date and time |
createdYmdt.formattedDate |
String | - | Node creation date
|
createdYmdt.formattedDateTime |
String | - | Node creation date and time
|
createdYmdt.utc |
Integer | - | Node creation date and time (millisecond)
|
hostName |
String | - | Node server name |
macAddress |
String | - | Node server MAC address |
memorySize |
Integer | - | Node server memory size (byte) |
nodeRoleCode |
String | - | Node type code
|
operationYmdt |
Object | - | Server operation date and time |
operationYmdt.formattedDate |
String | - | Server operation date
|
operationYmdt.formattedDateTime |
String | - | Server operation date and time
|
operationYmdt.utc |
Integer | - | Server operation date and time (millisecond)
|
osInfo |
String | - | Operating system version |
privateIp |
String | - | Node server internal IP |
regionCode |
String | - | Region code |
regionName |
String | - | Region name |
regionNo |
String | - | Region number |
serviceGroupInstanceNo |
Integer | - | Cluster instance number |
uuid |
String | - | Node server ID
|
vpcName |
String | - | VPC name |
vpcNo |
Integer | - | VPC number |
subnetNo |
Integer | - | Subnet number |
subnetName |
String | - | Subnet name |
zoneName |
String | - | Zone name |
zoneNo |
Integer | - | Zone number |
Response status codes
For information about the HTTP status codes common to all Cloud Data Streaming Service APIs, see Cloud Data Streaming Service response status codes.
Response example
The response example is as follows:
{
"code": 0,
"message": "SUCCESS",
"result": {
"contractNo": 2982021,
"createdDate": {
"formattedDate": "2025-04-16",
"formattedDateTime": "2025-04-16 09:37:24 000578",
"utc": 1744763844578
},
"productCode": "SW.VCDSS.OS.LNX64.CNTOS.0708.B050",
"regionNo": 1,
"serviceGroupInstanceNo": 1009*****,
"serviceGroupInstanceTypeCode": "DATA_STREAMING_SERVICE",
"serviceGroupName": "cluster00",
"statusCode": "CREAT",
"vpcNo": 4***,
"computeList": [
{
"computeInstanceNo": 1009*****,
"computeInstanceProductCode": "SVR.VCDSS.STAND.C002.M008.NET.SSD.B050.G002",
"computeInstanceStatus": "running",
"cpuCount": 2,
"createdYmdt": {
"formattedDate": "2025-04-16",
"formattedDateTime": "2025-04-16 09:37:25 000614",
"utc": 1744763845614
},
"hostName": "cluster00-m-25t5",
"macAddress": "F2:20:AF:8A:A6:B3",
"memorySize": 8589934592,
"nodeRoleCode": "M",
"operationYmdt": {
"formattedDate": "2025-04-16",
"formattedDateTime": "2025-04-16 09:42:13 000750",
"utc": 1744764133750
},
"osInfo": "CentOS 7.8 (64-bit)",
"privateIp": "10.0.20.6",
"regionCode": "KR",
"regionName": "Korea",
"regionNo": "1",
"serviceGroupInstanceNo": 1009*****,
"uuid": "df2f8b3c-17f0-e12b-b516-7c295a25b34b",
"vpcName": "test-vpc2",
"vpcNo": 4***,
"subnetNo": 33***,
"subnetName": "sb2 | KR-2 | Private",
"zoneName": "KR-2",
"zoneNo": 3
},
...
]
},
"requestId": "879879dc-****-****-****-649b807afe5a"
}