getRouteTableList
    • PDF

    getRouteTableList

    • PDF

    Article summary

    Can be used in a VPC environment.

    Overview

    Query the routing table list.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion Code
    You can decide the region where the routing table list will be queried.
    The regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList query results.
    routeTableNoList.NNoList<String>The list of routing table numbers
    You can search by filtering with the routing table number.
    The routeTableNo can be obtained through the getRouteTableList action.
    ex) --routeTableNoList 1234 2345
    routeTableNameNoStringThe name of the routing table
    You can search by filtering with the routing table name.
    supportedSubnetTypeCodeNoStringSupported subnet type code
    You can search by filtering with the subnet type supported by the routing table.
    Options: PUBLIC (public) | PRIVATE (private)
    vpcNoNoStringVPC number
    You can search by filtering with the VPC number.
    vpcNo can be obtained through the getVpcList action.
    pageNoNoIntegerThe page number of the paged results
    The results can shown as pages using pageNo and pageSize.
    pageSizeConditionalIntegerThe size of each page to be displayed at the time of paging
    The results can shown as pages using pageNo and pageSize.
    Enter it when entering pageNo.
    sortedByNoStringSorting target
    You can sort the results by routing table name.
    Options : routeTableName
    sortingOrderNoStringSorting order
    When using sortedBy, set sorting in ascending /descending order.
    Options: ASC (ascending order) | DESC (descending order)
    Default : ASC
    responseFormatTypeNoStringFormat type for the response result
    Options : xml | json
    Default : xml

    Response

    Response data type

    • RouteTableList type
    RouteTableList extends CommonResponse
    private Integer totalRows;
    private List routeTableList = new ArrayList<>();
    RouteTable
    private String routeTableNo;
    private String routeTableName;
    private String regionCode;
    private String vpcNo;
    private CommonCode supportedSubnetType;
    private Boolean isDefault;
    private CommonCode routeTableStatus;
    private String routeTableDescription;

    Example

    Request example

    ncloud vpc getRouteTableList --regionCode KR --routeTableNoList 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>7738</routeTableNo>
          <routeTableName>test-table</routeTableName>
          <regionCode>KR</regionCode>
          <vpcNo>3804</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?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.