setNatGatewayDescription
    • PDF

    setNatGatewayDescription

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    Modify the NAT Gateway description.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion Code
    You can decide the region of the NAT Gateway instance whose description will be modified.
    The regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList query results.
    natGatewayInstanceNoYesStringThe number of the NAT Gateway instance whose description will be modified
    The natGatewayInstanceNo can be obtained through the getNatGatewayInstanceList action.
    natGatewayDescriptionNoStringMin : 0, Max : 1000 BytesThe NAT Gateway description to be modified
    responseFormatTypeNoStringFormat type for the response result
    Options : xml | json
    Default : xml

    Response

    Response data type

    • NatGatewayInstanceList type
    NatGatewayInstanceList extends CommonResponse
    private Integer totalRows;
    private List natGatewayInstanceList = new ArrayList<>();
    NatGatewayInstance
    private String vpcNo;
    private String vpcName;
    private String natGatewayInstanceNo;
    private String natGatewayName;
    private String publicIp;
    private CommonCode natGatewayInstanceStatus;
    private String natGatewayInstanceStatusName;
    private CommonCode natGatewayInstanceOperation;
    private Date createDate;
    private String natGatewayDescription;
    private String zoneCode;

    Example

    Request example

    ncloud vpc setNatGatewayDescription --regionCode KR --natGatewayInstanceNo ***38 --natGatewayDescription test-description
    

    Response example

    <setNatGatewayDescriptionResponse>
      <requestId>bbe69135-359f-443a-8a32-d38d590e2c87</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <natGatewayInstanceList>
        <natGatewayInstance>
          <vpcNo>***04</vpcNo>
          <vpcName>test-***</vpcName>
          <natGatewayInstanceNo>***9734</natGatewayInstanceNo>
          <natGatewayName>test-***</natGatewayName>
          <publicIp>***.***.109.101</publicIp>
          <natGatewayInstanceStatus>
            <code>RUN</code>
            <codeName>run</codeName>
          </natGatewayInstanceStatus>
          <natGatewayInstanceStatusName>Running</natGatewayInstanceStatusName>
          <natGatewayInstanceOperation>
            <code>NULL</code>
            <codeName>NULL OP</codeName>
          </natGatewayInstanceOperation>
          <createDate>2020-06-24T08:58:20+0900</createDate>
          <natGatewayDescription>test-description</natGatewayDescription>
          <zoneCode>KR-1</zoneCode>
        </natGatewayInstance>
      </natGatewayInstanceList>
    </setNatGatewayDescriptionResponse>
    

    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.