Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

deleteNatGatewayInstance

Prev Next

VPC 환경에서 이용 가능합니다.

개요

NAT Gateway 인스턴스를 삭제합니다.

요청

요청 파라미터

파라미터명 필수 여부 타입 제약 사항 설명
regionCode No String 리전 코드
  • 삭제할 NAT Gateway 인스턴스의 리전(Region) 결정 가능
  • regionCode는 getRegionList 액션을 통해 획득 가능
  • Default : getRegionList 조회 결과의 첫 번째 리전을 선택
natGatewayInstanceNo Yes String 삭제할 NAT Gateway 인스턴스 번호
returnPublicIpInstance No Boolean NAT Gateway 상품의 Public NAT Gateway 에 할당된 Public IP Instance 를 함께 반납
  • Default: true
responseFormatType No String 응답 결과의 포맷 타입
  • Options : xml | json
  • Default : xml

응답

응답 데이터 타입

NatGatewayInstanceList extends CommonResponse
private Integer totalRows;
private List<NatGatewayInstance> natGatewayInstanceList
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;
private CommonCode natGatewayType;
private String subnetName;
private String subnetNo;
private String privateIp;
private String publicIpInstanceNo;
private List<NatGatewayIp> natGatewayIpList;
NatGatewayIp
private String type;
private String privateIp;
private String publicIp;
private String publicIpInstanceNo;

예시

요청 예시

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

응답 예시

<deleteNatGatewayInstanceResponse>
  <requestId>bce9e911-5989-4285-8596-8d08966c7181</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <natGatewayInstanceList>
    <natGatewayInstance>
      <vpcNo>***36</vpcNo>
      <vpcName>normal-***</vpcName>
      <natGatewayInstanceNo>*****0811</natGatewayInstanceNo>
      <natGatewayName>ng19****</natGatewayName>
      <publicIp>***.***.153.33</publicIp>
      <natGatewayInstanceStatus>
        <code>RUN</code>
        <codeName>RUN 상태</codeName>
      </natGatewayInstanceStatus>
      <natGatewayInstanceStatusName>Terminating</natGatewayInstanceStatusName>
      <natGatewayInstanceOperation>
        <code>TERMT</code>
        <codeName>TERMINATE OP</codeName>
      </natGatewayInstanceOperation>
      <createDate>2025-05-08T18:38:25+0900</createDate>
      <natGatewayDescription></natGatewayDescription>
      <zoneCode>KR-1</zoneCode>
      <natGatewayType>
        <code>PBLIP</code>
        <codeName>공인</codeName>
      </natGatewayType>
      <subnetName>public-***</subnetName>
      <subnetNo>***29</subnetNo>
      <privateIp>10.0.1.8</privateIp>
      <publicIpInstanceNo>***810</publicIpInstanceNo>
      <natGatewayIpList>
        <natGatewayIp>
          <type>PRIMARY</type>
          <privateIp>10.0.1.8</privateIp>
          <publicIp>***.***.153.33</publicIp>
          <publicIpInstanceNo>***810</publicIpInstanceNo>
        </natGatewayIp>
      </natGatewayIpList>
    </natGatewayInstance>
  </natGatewayInstanceList>
</deleteNatGatewayInstanceResponse>