Available in VPC
Get the list of server instances to which a public IP address can be assigned.
Syntax
The getPublicIpTargetServerInstanceList syntax is as follows:
./ncloud vserver getPublicIpTargetServerInstanceList \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getPublicIpTargetServerInstanceList.
Common options
For information about the options common to all vserver subcommands, see Server (VPC) options.
Examples
If the request to query the list of servers eligible for public IP assignment is successful, the identification and configuration information for each server will be returned.
Command
The command example is as follows:
./ncloud vserver getPublicIpTargetServerInstanceList \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getPublicIpTargetServerInstanceListResponse": {
"totalRows": 1,
"serverInstanceList": [
{
"serverInstanceNo": "34567892",
"serverName": "public-test-server",
"serverDescription": "",
"cpuCount": 2,
"memorySize": 8589934592,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"loginKeyName": "test-login-key-01",
"publicIpInstanceNo": "",
"publicIp": "",
"serverInstanceStatus": {
"code": "RUN",
"codeName": "Server RUN status"
},
"serverInstanceOperation": {
"code": "NULL",
"codeName": "Server NULL OP"
},
"serverInstanceStatusName": "running",
"createDate": "2026-05-14T20:01:28+0900",
"uptime": "2026-05-14T20:03:41+0900",
"serverImageProductCode": "SW.VSVR.OS.LNX64.NAVIX.09.G003",
"serverProductCode": "SVR.VSVR.AMD.STAND.C002.M008.G003",
"isProtectServerTermination": false,
"zoneCode": "KR-1",
"regionCode": "KR",
"vpcNo": "12345678",
"subnetNo": "23456790",
"networkInterfaceNoList": [
"56789017"
],
"initScriptNo": "",
"serverInstanceType": {
"code": "STAND",
"codeName": "Standard"
},
"baseBlockStorageDiskType": {
"code": "NET",
"codeName": "Network storage"
},
"baseBlockStorageDiskDetailType": {
"code": "SSD",
"codeName": "SSD"
},
"placementGroupNo": "",
"placementGroupName": "",
"memberServerImageInstanceNo": "",
"hypervisorType": {
"code": "KVM",
"codeName": "KVM"
},
"serverImageNo": "109093105",
"serverSpecCode": "s2-g3a",
"eventList": [],
"fabricClusterPoolNo": "",
"fabricClusterPoolName": "",
"fabricClusterMode": "",
"fabricClusterNo": "",
"fabricClusterName": "",
"isPreInstallGpuDriver": false
}
],
"requestId": "c3d4e5f6-7890-1234-cdef-345678901234",
"returnCode": "0",
"returnMessage": "success"
}
}