removeRouteTableSubnet
    • PDF

    removeRouteTableSubnet

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    Remove the related subnet list from the routing table.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion Code
    You can decide the region of the routing table where the related subnet will be removed.
    The regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList query results.
    vpcNoYesStringVPC number
    This determines the VPC of the routing table where the related subnet will be removed.
    vpcNo can be obtained through the getVpcList action.
    routeTableNoYesStringRouting table number
    This determines the number of the routing table where the related subnet will be removed.
    The routeTableNo can be obtained through the getRouteTableList action.
    subnetNoList.NYesList<String>List of the related subnet numbers to be removed
    The subnetNo can be obtained through the getSubnetList action.
    ex) --subnetNoList 1234 2345
    responseFormatTypeNoStringFormat type for the response result
    Options : xml | json
    Default : xml

    Response

    Response data type

    • SubnetList type
    SubnetList extends CommonResponse
    private Integer totalRows;
    private List subnetList = new ArrayList<>();
    Subnet
    private String subnetNo;
    private String vpcNo;
    private String zoneCode;
    private String subnetName;
    private String subnet;
    private CommonCode subnetStatus;
    private Date createDate;
    private CommonCode subnetType;
    private CommonCode usageType;
    private String networkAclNo;

    Example

    Request example

    ncloud vpc removeRouteTableSubnet --regionCode KR --vpcNo ***04 --routeTableNo ***38 --subnetNoList ***45
    

    Response example

    The related subnet list of the corresponding routing tables after executing the request

    <removeRouteTableSubnetResponse>
      <requestId>fbbfe907-87a9-41cf-9941-7c8b7c81e66f</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <subnetList>
        <subnet>
          <subnetNo>***44</subnetNo>
          <vpcNo>3804</vpcNo>
          <zoneCode>KR-1</zoneCode>
          <subnetName>test-***</subnetName>
          <subnet>***.***.1.0/24</subnet>
          <subnetStatus>
            <code>RUN</code>
            <codeName>run</codeName>
          </subnetStatus>
          <subnetType>
            <code>PUBLIC</code>
            <codeName>Public</codeName>
          </subnetType>
        </subnet>
      </subnetList>
    </removeRouteTableSubnetResponse>
    

    Was this article helpful?

    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.