MENU
      getNatGatewayInstanceDetail

        getNatGatewayInstanceDetail


        기사 요약

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

        개요

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

        요청

        요청 파라미터

        파라미터명필수 여부타입제약 사항설명
        regionCodeNoString- 리전 코드
        NAT Gateway 인스턴스 상세 정보가 조회될 리전(Region)을 결정 가능
        regionCode는 getRegionList 액션을 통해 획득 가능
        Default : getRegionList 조회 결과의 첫 번째 리전을 선택
        natGatewayInstanceNoYesString- 조회할 NAT Gateway 인스턴스 번호
        natGatewayInstanceNo는 getNatGatewayInstanceList 액션을 통해 획득 가능
        responseFormatTypeNoString- 응답 결과의 포맷 타입
        Options : xml | json
        Default : xml

        응답

        응답 데이터 타입

        • NatGatewayInstanceList 타입
        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;

        예시

        요청 예시

        ncloud vpc getNatGatewayInstanceDetail --regionCode KR --natGatewayInstanceNo ***9734
        Plain text

        응답 예시

        <getNatGatewayInstanceDetailResponse>
          <requestId>f692e1b8-b15b-4c39-8911-150263abf71b</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>운영중</natGatewayInstanceStatusName>
              <natGatewayInstanceOperation>
                <code>NULL</code>
                <codeName>NULL OP</codeName>
              </natGatewayInstanceOperation>
              <createDate>2020-08-06T11:47:40+0900</createDate>
              <natGatewayDescription></natGatewayDescription>
              <zoneCode>KR-1</zoneCode>
            </natGatewayInstance>
          </natGatewayInstanceList>
        </getNatGatewayInstanceDetailResponse>
        XML

        이 문서가 도움이 되었습니까?

        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.