setRouteTableDescription
    • PDF

    setRouteTableDescription

    • PDF

    Article summary

    Can be used in a VPC environment.

    Overview

    Modify the routing table description.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion Code
    You can decide the region of the routing table whose description will be modified.
    The regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList query results.
    routeTableNoYesStringThe number of the routing table whose description will be modified
    The routeTableNo can be obtained through the getRouteTableList action.
    routeTableDescriptionNoStringMin : 0, Max : 1000 BytesThe routing table description to be modified
    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 setRouteTableDescription --regionCode KR --routeTableNo ***38 --routeTableDescription test-description
    

    Response example

    <setRouteTableDescriptionResponse>
      <requestId>514672fb-3ef8-40a3-9c89-f618623519da</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>test-description</routeTableDescription>
        </routeTable>
      </routeTableList>
    </setRouteTableDescriptionResponse>
    

    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.