getCloudMongoDbTargetVpcList

Prev Next

Available in VPC

Overview

Querying a list of available VPCs

Requests

Request parameters

Parameter name Requirement status Type Restrictions Description
regionCode No String - Region code
regionCode can be obtained via the getRegionList action
Default: the first region of the getRegionList search results is selected
output No String - Format type of the response result
Options : xml | json
Default : json

Responses

Response data type

  • TargetVpcList type
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;

Examples

Request examples

ncloud vmongodb getCloudMongoDbTargetVpcList --regionCode KR

Response examples

<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>KR</regionCode>
      <createdDate>2022-03-24T18:00:00+0900</createdDate>
    </targetVpc>
  </targetVpcList>
</getCloudMongoDbTargetVpcListResponse>