getRouteList
- Print
- PDF
getRouteList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Can be used in a VPC environment.
Overview
This searches the route 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 route 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 route list to be queried. The routeTableNo can be obtained through the getRouteTableList action. | |
vpcNo | Yes | String | VPC number This determines the VPC number of the routing list 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/getRouteList
?regionCode=KR
&routeTableNo=***38
&vpcNo=***04
Response Example
<getRouteListResponse>
<requestId>97b1034c-e030-40b8-bc22-58da1c3e5b0b</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>2</totalRows>
<routeList>
<route>
<destinationCidrBlock>***.***.0.0/16</destinationCidrBlock>
<targetName>LOCAL</targetName>
<routeTableNo>***38</routeTableNo>
<targetType>
<code>LOCAL</code>
<codeName>Local</codeName>
</targetType>
<targetNo></targetNo>
<isDefault>true</isDefault>
</route>
<route>
<destinationCidrBlock>***.***.0.0/0</destinationCidrBlock>
<targetName>INTERNET GATEWAY</targetName>
<routeTableNo>***38</routeTableNo>
<targetType>
<code>IGW</code>
<codeName>Internet Gateway</codeName>
</targetType>
<targetNo></targetNo>
<isDefault>true</isDefault>
</route>
</routeList>
</getRouteListResponse>
Was this article helpful?