getVpcDetail
- Print
- PDF
getVpcDetail
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Can be used in a VPC environment.
Overview
This searches the VPC details using the VPC number.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region in which the VPC details will be queried. regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList search results | |
vpcNo | Yes | String | The VPC number to be queried vpcNo can be obtained through the getVpcList action. | |
responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml |
Response
Response body
Example
Request Example
GET {API_URL}/vpc/v2/getVpcDetail
?regionCode=KR
&vpcNo=***04
Response Example
<getVpcDetailResponse>
<requestId>13f37a8e-780f-4f32-9115-503a2026cf6d</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<vpcList>
<vpc>
<vpcNo>***04</vpcNo>
<vpcName>test-***</vpcName>
<ipv4CidrBlock>***.***.0.0/16</ipv4CidrBlock>
<vpcStatus>
<code>RUN</code>
<codeName>run</codeName>
</vpcStatus>
<regionCode>KR</regionCode>
<createDate>2020-07-16T22:23:50+0900</createDate>
</vpc>
</vpcList>
</getVpcDetailResponse>
Was this article helpful?