getRouteTableList
- Print
- PDF
getRouteTableList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Can be used in a VPC environment.
Overview
This searches the routing table list.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region in which the routing table list will be queried. regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList search results | |
routeTableNoList.N | No | List<String> | List of routing table numbers You can search by filtering with a routing table number. The routeTableNo can be obtained through the getRouteTableList action. ex) routeTableNoList.1=1234&routeTableNoList.2=2345 | |
routeTableName | No | String | Routing table name You can search by filtering with a routing table name. | |
supportedSubnetTypeCode | No | String | Supported subnet type code You can search by filtering with a subnet type supported by the routing table. Options: PUBLIC (Public) | PRIVATE (Private) | |
vpcNo | No | String | VPC number You can search by filtering with a VPC number. vpcNo can be obtained through the getVpcList action. | |
pageNo | No | Integer | Page number of the paged results The results can be paged using pageNo and pageSize. | |
pageSize | Conditional | Integer | Each page size to be displayed when paging The results can be paged using pageNo and pageSize. It must be entered when entering pageNo. | |
sortedBy | No | String | Sort target You can sort the results by the routing table name. Options : routeTableName | |
sortingOrder | No | String | Sorting order When using sortedBy, sort in ascending/descending order. Options: ASC (ascending order) | DESC (descending order) Default : ASC | |
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/getRouteTableList
?regionCode=KR
&routeTableNoList.1=7738
&routeTableName=test-table
&supportedSubnetTypeCode=PUBLIC
&vpcNo=3804
Response Example
<getRouteTableListResponse>
<requestId>43623734-4270-463f-a269-a624cdef9154</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<routeTableList>
<routeTable>
<routeTableNo>**38</routeTableNo>
<routeTableName>test-***</routeTableName>
<regionCode>KR</regionCode>
<vpcNo>**04</vpcNo>
<supportedSubnetType>
<code>PUBLIC</code>
<codeName>Public</codeName>
</supportedSubnetType>
<isDefault>false</isDefault>
<routeTableStatus>
<code>RUN</code>
<codeName>run</codeName>
</routeTableStatus>
<routeTableDescription></routeTableDescription>
</routeTable>
</routeTableList>
</getRouteTableListResponse>
Was this article helpful?