getRouteTableSubnetList
- Print
- PDF
getRouteTableSubnetList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Can be used in a VPC environment.
Overview
This searches the related subnet list set in the routing table.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region of the routing table in which the related subnet list will be queried. regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList search results | |
routeTableNo | Yes | String | Routing table number This determines the routing table number of the related subnet list to be queried. The routeTableNo can be obtained through the getRouteTableList 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/getRouteTableSubnetList
?regionCode=KR
&routeTableNo=***38
Response Example
<getRouteTableSubnetListResponse>
<requestId>a7ee6059-2060-481f-9a4d-b61a38bf387c</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<subnetList>
<subnet>
<subnetNo>***44</subnetNo>
<vpcNo>***04</vpcNo>
<zoneCode>KR-1</zoneCode>
<subnetName>test-***</subnetName>
<subnet>***.***.1.0/24</subnet>
<subnetStatus>
<code>INIT</code>
<codeName>init</codeName>
</subnetStatus>
<subnetType>
<code>PUBLIC</code>
<codeName>Public</codeName>
</subnetType>
</subnet>
</subnetList>
</getRouteTableSubnetListResponse>
Was this article helpful?