---
title: "getNatGatewayInstanceDetail"
slug: "cli-vpc-natgateway-getnatgatewayinstancedetail"
tags: ["NAT Gateway", "VPC"]
updated: 2026-04-23T09:04:59Z
published: 2026-04-23T09:07:33Z
canonical: "cli-fin.ncloud-docs.com/cli-vpc-natgateway-getnatgatewayinstancedetail"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://cli-fin.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getNatGatewayInstanceDetail

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

## 개요

NAT Gateway 인스턴스 번호를 이용하여 NAT Gateway 인스턴스 상세 정보를 조회합니다.

## 요청

### 요청 파라미터

| 파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
| --- | --- | --- | --- | --- |
| regionCode | No | String |  | - 리전 코드 NAT Gateway 인스턴스 상세 정보가 조회될 리전(Region) 결정 가능 regionCode는 [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해 획득 가능 Default : getRegionList 조회 결과의 첫 번째 리전을 선택 |
| natGatewayInstanceNo | Yes | String |  | - 조회할 NAT Gateway 인스턴스 번호 natGatewayInstanceNo는 [getNatGatewayInstanceList](/docs/cli-vpc-natgateway-getnatgatewayinstancelist) 액션을 통해 획득 가능 |
| 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 getNatGatewayInstanceDetail --regionCode FKR --natGatewayInstanceNo ***9734
```

### 응답 예시

```
<getNatGatewayInstanceDetailResponse>
  <requestId>0dfdd686-a6c4-4c7e-91b8-ac0a2193fd32</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <natGatewayInstanceList>
    <natGatewayInstance>
      <vpcNo>***36</vpcNo>
      <vpcName>normal-***</vpcName>
      <natGatewayInstanceNo>*****9288</natGatewayInstanceNo>
      <natGatewayName>public-***</natGatewayName>
      <publicIp>***.***.153.178</publicIp>
      <natGatewayInstanceStatus>
        <code>RUN</code>
        <codeName>RUN 상태</codeName>
      </natGatewayInstanceStatus>
      <natGatewayInstanceStatusName>Running</natGatewayInstanceStatusName>
      <natGatewayInstanceOperation>
        <code>NULL</code>
        <codeName>NULL OP</codeName>
      </natGatewayInstanceOperation>
      <createDate>2025-04-25T14:19:32+0900</createDate>
      <natGatewayDescription>description</natGatewayDescription>
      <zoneCode>KR-1</zoneCode>
      <natGatewayType>
        <code>PBLIP</code>
        <codeName>공인</codeName>
      </natGatewayType>
      <subnetName>public-***</subnetName>
      <subnetNo>***29</subnetNo>
      <privateIp>10.0.1.6</privateIp>
      <publicIpInstanceNo>****290</publicIpInstanceNo>
      <natGatewayIpList>
        <natGatewayIp>
          <type>PRIMARY</type>
          <privateIp>10.0.1.6</privateIp>
          <publicIp>***.***.153.178</publicIp>
          <publicIpInstanceNo>****290</publicIpInstanceNo>
        </natGatewayIp>
      </natGatewayIpList>
    </natGatewayInstance>
  </natGatewayInstanceList>
</getNatGatewayInstanceDetailResponse>
```
