--- title: "getCloudPostgresqlTargetVpcList" slug: "cli-vpostgresql-getcloudpostgresqltargetvpclist" tags: ["Cloud DB for PostgreSQL"] updated: 2026-10-22T09:07:22Z published: 2026-10-22T09:07:22Z canonical: "cli-gov.ncloud-docs.com/cli-vpostgresql-getcloudpostgresqltargetvpclist" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli-gov.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # getCloudPostgresqlTargetVpcList VPC 환경에서 이용 가능합니다. Cloud DB for PostgreSQL에서 사용할 수 있는 VPC 목록을 조회합니다. ## 구문 `getCloudPostgresqlTargetVpcList` 구문은 다음과 같습니다. ``` ./ncloud vpostgresql getCloudPostgresqlTargetVpcList \ [--regionCode ] \ [--output ] ``` ## 옵션 `getCloudPostgresqlTargetVpcList` 실행 시 지정할 수 있는 옵션을 설명합니다. ### 공통 옵션 `vpostgresql` 명령에서 공통으로 사용하는 옵션에 대한 정보는 [Cloud DB for PostgreSQL (VPC) 옵션](/docs/cli-vpostgresql#%EC%98%B5%EC%85%98)을 참조해 주십시오. ## 예시 Cloud DB for PostgreSQL VPC 목록 조회 요청이 성공하면 각 VPC의 번호와 이름, IP 대역 정보가 반환됩니다. ### 명령 명령 예시는 다음과 같습니다. ``` ./ncloud vpostgresql getCloudPostgresqlTargetVpcList \ --regionCode KR \ --output json ``` ### 출력 출력 예시는 다음과 같습니다. ``` { "getCloudPostgresqlTargetVpcListResponse": { "totalRows": 1, "targetVpcList": [ { "vpcNo": "98765432", "vpcName": "vpc01", "ipv4Cidr": "192.168.0.0/16", "regionCode": "KR", "createdDate": "2025-05-09T10:33:08+0900" } ], "requestId": "137364b9-4d5a-4c49-88e8-534ee2845326", "returnCode": "0", "returnMessage": "success" } } ```