getPublicIpInstanceList
    • PDF

    getPublicIpInstanceList

    • PDF

    Article summary

    Overview

    Gets a list of public IP instances.

    Request

    Request parameters

    ParameterRequiredTypeLimitationsDescription
    isAssociatedNBooleanIndicates whether it is associated.
    It indicates whether a public IP address is assigned or not.
    Options: true | false
    publicIpInstanceNoList.NNStringDuplicates not allowed.List of public IP instance numbers to get
    Example) publicIpInstanceNoList.1=937520&publicIpInstanceNoList.2=932956
    publicIpList.NNList<String>Min: 5, Max: 15List of public IP addresses to get
    Example) publicIpList.1=106.10.53.67
    searchFilterNameNStringFilter name to search
    You can search public IP instances by publicIp and associatedServerName.
    Options: publicIp | associatedServerName [case insensitive]
    Map searchFilterName and searchFilterValue as follows.
    Example) searchFilterName=publicIp&searchFilterValue=106.10.53.67
    Example) searchFilterName=associatedServerName&searchFilterValue=s1669aa4e78c
    searchFilterValueNStringFileter value
    This value is mapped with searchFilterName.
    regionNoNStringRegion number
    You can filter public IP instances by region.
    Get available values by using the getRegionList action.
    zoneNoNStringZone number
    You can filter public IP instances by zone.
    Get available values by using the getZoneList action.
    All public IP addresses in the zone of the region will be selected if this parameter is not specified.
    pageNoNIntegerMin: 0,
    Max: 2147483647
    Page number of paginated results
    You can paginate results with pageNo.
    pageSizeNIntegerMin: 0,
    Max: 2147483647
    Page size to show when paginating results.
    You can paginate results with pageSize.
    sortedByNStringSort by
    You can sort public IP instances by public IP or public IP instance number.
    Options: publicIp (Public IP) | publicIpInstanceNo (Public IP instance number) [case insensitive]
    Default: publicIpInstanceNo
    Map sortedBy and sortingOrder as follows.
    Example) sortedBy=publicIp&sortingOrder=ascending
    Example) sortedBy=publicIpInstanceNo&sortingOrder=descending
    sortingOrderNStringSorting order
    It shows results sorted by the specified sortedBy value in ascending or descending order.
    ascending | descending [case insensitive]
    Default: ascending

    Response

    Response body

    Examples

    Request example

    GET {SERVER_API_URL}/getPublicIpInstanceList
    ?searchFilterName=associatedServerName
    &searchFilterValue=s1669aa4e78c
    

    Response example

    <getPublicIpInstanceListResponse>
      <requestId>9e27266d-049c-42c7-a04a-a884290dddb1</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <publicIpInstanceList>
        <publicIpInstance>
          <publicIpInstanceNo>1081432</publicIpInstanceNo>
          <publicIp>106.10.46.237</publicIp>
          <publicIpDescription></publicIpDescription>
          <createDate>2018-11-23T18:33:45+0900</createDate>
          <publicIpInstanceStatusName>used</publicIpInstanceStatusName>
          <publicIpInstanceStatus>
            <code>USED</code>
            <codeName>NET USED state</codeName>
          </publicIpInstanceStatus>
          <publicIpInstanceOperation>
            <code>NULL</code>
            <codeName>NET NULL OP</codeName>
          </publicIpInstanceOperation>
          <publicIpKindType>
            <code>GEN</code>
            <codeName>General</codeName>
          </publicIpKindType>
          <serverInstanceAssociatedWithPublicIp>
            <serverInstanceNo>1021003</serverInstanceNo>
            <serverName>s1669aa4e78c</serverName>
            <serverDescription>My server image copy error test</serverDescription>
            <cpuCount>2</cpuCount>
            <memorySize>4294967296</memorySize>
            <baseBlockStorageSize>53687091200</baseBlockStorageSize>
            <platformType>
              <code>LNX64</code>
              <codeName>Linux 64 Bit</codeName>
            </platformType>
            <loginKeyName>juhoon-kim</loginKeyName>
            <isFeeChargingMonitoring>false</isFeeChargingMonitoring>
            <publicIp>106.10.46.237</publicIp>
            <privateIp>10.41.3.81</privateIp>
            <serverImageName>tensorflow-centos-7.3-64</serverImageName>
            <serverInstanceStatus>
              <code>NSTOP</code>
              <codeName>Server normal stopped state</codeName>
            </serverInstanceStatus>
            <serverInstanceOperation>
              <code>NULL</code>
              <codeName>Server NULL OP</codeName>
            </serverInstanceOperation>
            <serverInstanceStatusName>stopped</serverInstanceStatusName>
            <createDate>2018-10-22T16:19:50+0900</createDate>
            <uptime>2018-11-23T17:38:44+0900</uptime>
            <serverImageProductCode>SPSW0LINUX000066</serverImageProductCode>
            <serverProductCode>SPSVRSSD00000003</serverProductCode>
            <isProtectServerTermination>false</isProtectServerTermination>
            <portForwardingPublicIp>106.10.51.90</portForwardingPublicIp>
            <zone>
              <zoneNo>3</zoneNo>
              <zoneName>KR-2</zoneName>
              <zoneCode>KR-2</zoneCode>
              <zoneDescription>Pyeongchon zone</zoneDescription>
              <regionNo>1</regionNo>
            </zone>
            <region>
              <regionNo>1</regionNo>
              <regionCode>KR</regionCode>
              <regionName>Korea</regionName>
            </region>
            <baseBlockStorageDiskType>
              <code>NET</code>
              <codeName>Network Storage</codeName>
            </baseBlockStorageDiskType>
            <baseBlockStorageDiskDetailType>
              <code>SSD</code>
              <codeName>SSD</codeName>
            </baseBlockStorageDiskDetailType>
            <serverInstanceType>
              <code>STAND</code>
              <codeName>Standard</codeName>
            </serverInstanceType>
            <userData></userData>
            <accessControlGroupList>
              <accessControlGroup>
                <accessControlGroupConfigurationNo>39995</accessControlGroupConfigurationNo>
                <accessControlGroupName>ncloud-default-acg</accessControlGroupName>
                <accessControlGroupDescription>Default AccessControlGroup</accessControlGroupDescription>
                <isDefault>true</isDefault>
                <createDate>2018-04-09T11:12:54+0900</createDate>
              </accessControlGroup>
            </accessControlGroupList>
            <instanceTagList/>
          </serverInstanceAssociatedWithPublicIp>
          <zone>
            <zoneNo>3</zoneNo>
            <zoneName>KR-2</zoneName>
            <zoneCode>KR-2</zoneCode>
            <zoneDescription>Pyeongchon zone</zoneDescription>
            <regionNo>1</regionNo>
          </zone>
        </publicIpInstance>
      </publicIpInstanceList>
    </getPublicIpInstanceListResponse>
    

    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.