getNatGatewayInstanceList
    • PDF

    getNatGatewayInstanceList

    • PDF

    Article Summary

    Available in VPC

    Overview

    It searches for the list of NAT gateway instances.

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    Can decide the Region in which the list of NAT Gateway instances is searched.
    regionCode can be obtained via the getRegionList action.
    Default: selects the first Region of the getRegionList query results
    zoneCodeNoString- Zone code
    Enable to determine the zone in which the list of NAT Gateway instances is searched.
    zoneCode can be obtained via the getZoneListaction.
    natGatewayInstanceNoList.NNoList<String>- List of the NAT Gateway instance numbers
    Searchable by filtering with a NAT Gateway instance number
    natGatewayInstanceNo can be obtained via the getNatGatewayInstanceListaction.
    ex) natGatewayInstanceNoList.1=1234&natGatewayInstanceNoList.2=2345
    publicIpNoString- Public IP Address
    Searchable by filtering by public IP address assigned to NAT Gateway
    vpcNameNoString- VPC name
    Searchable by filtering by VPC name
    natGatewayNameNoString- NAT Gateway name
    Searchable by filtering by NAT Gateway name
    natGatewayInstanceStatusCodeNoString- Status code of NAT Gateway instance
    Searchable by filtering by the status code of the NAT Gateway instance
    Options : INIT | RUN | TERMTING
    pageNoNoInteger- Page number of paged result
    Paging can be handled using pageNo and pageSize
    pageSizeConditionalInteger- Size of each page to be displayed when paging
    Paging can be handled using pageNo and pageSize
    Must be entered when using pageNo
    responseFormatTypeNoString- Format type of the response result
    Options : xml | json
    Default : xml
    subnetNameNoString- Subnet name
    privateIpNoString- Private IP
    natGatewayTypeCodeNoCommonCode- NAT Gateway type
    PRVT (Private NAT Gateway)
    PBLIP (Public NAT Gateway)
    subnetNoNoString- Subnet number

    Responses

    Response bodies

    Examples

    Request examples

    GET {API_URL}/vpc/v2/getNatGatewayInstanceList
    ?regionCode=KR
    &zoneCode=KR-1
    &natGatewayInstanceNoList.1=***9734
    &publicIp=***.***.109.101
    &vpcName=test-vpc
    &natGatewayName=test-***
    &natGatewayInstanceStatusCode=RUN
    &natGatewayTypeCode=PBLIP
    

    Response examples

    <getNatGatewayInstanceListResponse>
      <requestId>7d68eb6c-6015-45d1-8711-e5e65d3704c6</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <natGatewayInstanceList>
        <natGatewayInstance>
          <vpcNo>***36</vpcNo>
          <vpcName>test-vpc</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>2023-04-18T15:13:27+0900</createDate>
          <natGatewayDescription></natGatewayDescription>
          <zoneCode>KR-1</zoneCode>
          <natGatewayType>
             <code>PBLIP</code>
             <codeName>Public</codeName>
          </natGatewayType>
          <subnetName>v-kr1-pub-natgw-***</subnetName>
          <subnetNo>***28</subnetNo>
          <privateIp>10.0.***.***</privateIp>
          <publicIpInstanceNo>***25</publicIpInstanceNo>
        </natGatewayInstance>
      </natGatewayInstanceList>
    </getNatGatewayInstanceListResponse>
    

    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.