--- title: "getPublicIpTargetServerInstanceList" slug: "cli-vserver-publicip-getpubliciptargetserverinstancelist" tags: ["Server", "VPC"] updated: 2026-07-23T08:59:28Z published: 2026-07-23T08:59:28Z canonical: "cli.ncloud-docs.com/cli-vserver-publicip-getpubliciptargetserverinstancelist" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # getPublicIpTargetServerInstanceList VPC 환경에서 이용 가능합니다. 공인 IP를 할당할 수 있는 서버 인스턴스 목록을 조회합니다. ## 구문 `getPublicIpTargetServerInstanceList` 구문은 다음과 같습니다. ``` ./ncloud vserver getPublicIpTargetServerInstanceList \ [--regionCode ] \ [--output ] ``` ## 옵션 `getPublicIpTargetServerInstanceList` 실행 시 지정할 수 있는 옵션을 설명합니다. ### 공통 옵션 `vserver` 명령에서 공통으로 사용하는 옵션에 대한 정보는 [Server (VPC) 옵션](/docs/cli-vserver#%EC%98%B5%EC%85%98)을 참조해 주십시오. ## 예시 공인 IP 할당 대상 서버 목록 조회 요청이 성공하면 각 서버의 식별 및 구성 정보가 반환됩니다. ### 명령 명령 예시는 다음과 같습니다. ``` ./ncloud vserver getPublicIpTargetServerInstanceList \ --regionCode KR \ --output json ``` ### 출력 출력 예시는 다음과 같습니다. ``` { "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": "서버 RUN 상태" }, "serverInstanceOperation": { "code": "NULL", "codeName": "서버 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": "네트웍 스토리지" }, "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" } } ```