deleteNatGatewayInstance
    • PDF

    deleteNatGatewayInstance

    • PDF

    Article Summary

    Available in VPC

    Overview

    Delete NAT Gateway instance.

    Requests

    Request parameters

    Parameter nameRequiredTypeRestrictionsDescription
    regionCodeNoString- Region code
    Can determine the region of the NAT Gateway instance to be deleted
    regionCode can be obtained via the getRegionList action
    Default: select the first region from getRegionList search results
    natGatewayInstanceNoYesString- NAT Gateway instance number to be deleted
    natGatewayInstanceNo can be obtained via the getNatGatewayInstanceList action
    returnPublicIpInstanceNoBoolean- Return the Public IP Instance assigned to the Public NAT Gateway of the NAT Gateway product together (Default: true)
    responseFormatTypeNoString- Format type of the response result
    Options : xml | json
    Default : xml

    Responses

    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;

    Examples

    Request examples

    ncloud vpc deleteNatGatewayInstance --regionCode KR --natGatewayInstanceNo ***9734
    

    Response examples

    <deleteNatGatewayInstanceResponse>
      <requestId>baac40a2-9a13-4fd0-9e53-3af315f29445</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>In operation</natGatewayInstanceStatusName>
          <natGatewayInstanceOperation>
            <code>NULL</code>
            <codeName>NULL OP</codeName>
          </natGatewayInstanceOperation>
          <createDate>2020-08-07T16:05:52+0900</createDate>
          <natGatewayDescription></natGatewayDescription>
          <zoneCode>KR-1</zoneCode>
        </natGatewayInstance>
      </natGatewayInstanceList>
    </deleteNatGatewayInstanceResponse>
    

    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.