---
title: "getCloudMongoDbTargetVpcList"
slug: "cli-vmongodb-getcloudmongodbtargetvpclist"
tags: ["Cloud DB for MongoDB", "VPC"]
updated: 2026-04-23T09:04:57Z
published: 2026-04-23T09:07:33Z
canonical: "cli-fin.ncloud-docs.com/cli-vmongodb-getcloudmongodbtargetvpclist"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://cli-fin.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getCloudMongoDbTargetVpcList

## 개요

사용할 수 있는 VPC 리스트를 조회합니다.

## 요청

### 요청 파라미터

| 파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
| --- | --- | --- | --- | --- |
| regionCode | No | String |  | - 리전 코드 regionCode는 [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해서 획득 가능 Default: getRegionList 조회 결과의 첫 번째 리전을 선택 |
| output | No | String |  | - 응답 결과의 포맷 타입 Options : xml \| json Default : json |

## 응답

### 응답 데이터 타입

- TargetVpcList 타입

| TargetVpcList extends CommonResponse |
| --- |
| private Integer totalRows; |
| private List<TargetVpc> targetVpcList = new ArrayList<>(); |

| TargetVpc |
| --- |
| private String vpcNo; |
| private String vpcName; |
| private String ipv4Cidr; |
| private String regionCode; |
| private Date createdDate; |

## 예시

### 요청 예시

```
ncloud vmongodb getCloudMongoDbTargetVpcList --regionCode FKR
```

### 응답 예시

```
<getCloudMongoDbTargetVpcListResponse>
  <requestId>4ea62ae7-b127-4c02-9a71-2a36f3190a55</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <targetVpcList>
    <targetVpc>
      <vpcNo>25****</vpcNo>
      <vpcName>test-****</vpcName>
      <ipv4Cidr>192.168.0.0/16</ipv4Cidr>
      <regionCode>FKR</regionCode>
      <createdDate>2022-03-24T18:00:00+0900</createdDate>
    </targetVpc>
  </targetVpcList>
</getCloudMongoDbTargetVpcListResponse>
```
