getServerImageProductList
    • PDF

    getServerImageProductList

    • PDF

    Article summary

    Overview

    Gets the list of server images.

    Description

    To create a server instance (VM), you need a server image.
    The following is the APIs you can use to select server images.

    Request Parameters

    NameRequiredTypeLimitationDescription
    exclusionProductCodeNoStringMin:1, Max:20Product code to exclude from the list.
    productCodeNoStringMin:1, Max:20Product code to search from the list. Use it for a single search.
    platformTypeCodeListNoStringMin:1, Max:5Send a necessary value to classify the platform in the form of list.
    The following values can be entered.
    Linux32Bit(LNX32) | Linux64Bit(LNX64) | Windows32Bit(WND32) | Windows64Bit(WND64) | Ubuntu desktop64Bit(UBD64) | Ubuntu server64Bit(UBS64)
    blockStorageSizeNoInteger50 | 100
    regionNoNoStringYou can reach a state in which input is possible by calling getRegionList.
    infraResourceDetailTypeCodeNoStringMin:1, Max:5You can view specific type of image in the list (currently only Baremetal image can be viewed)
    Baremetal(BM) | Default : Normal server Image

    Response Data Type

    • ProductList type
    ProcessList extends CommonResponse
    private Integer totalRows;
    private List processList = new ArrayList();
    Product
    private String productCode;
    private String productName;
    private CommonCode productType;
    private String productDescription;
    private CommonCode infraResourceType;
    private CommonCode infraResourceDetailType;
    private Integer cpuCount;
    private Long memorySize;
    private Long baseBlockStorageSize;
    private CommonCode platformType;
    private String osInformation;
    private CommonCode diskType;
    private String dbKindCode
    private Long addBlockStorageSize;

    Examples

    Request

    ncloud server getServerImageProductList --platformTypeCodeList LNX64 --infraResourceDetailTypeCode BM --exclusionProductCode SPSWBMLINUX00001
    

    Response

    {
      "getServerImageProductListResponse": {
        "requestId": "74bfddb6-c1b9-4b22-9be6-ddfa3f851a1a",
        "returnCode": "0",
        "returnMessage": "success",
        "productList": [
          {
            "productCode": "SPSWBMLINUX00002",
            "productName": "CentOS 7.4(64bit)",
            "productType": {
              "code": "LINUX",
              "codeName": "Linux"
            },
            "productDescription": "CentOS 7.4(64bit)",
            "infraResourceType": {
              "code": "SW",
              "codeName": "Software"
            },
            "infraResourceDetailType": {
              "code": "BM",
              "codeName": "BareMetal"
            },
            "cpuCount": 0,
            "memorySize": 0,
            "baseBlockStorageSize": 0,
            "platformType": {
              "code": "LNX64",
              "codeName": "Linux 64 Bit"
            },
            "osInformation": "CentOS 7.4(64bit)",
            "dbKindCode": "",
            "addBlockStorageSize": 0
          },
          {
            "productCode": "SPSWBMLINUX00003",
            "productName": "Oracle Linux 6.9(64bit)",
            "productType": {
              "code": "LINUX",
              "codeName": "Linux"
            },
            "productDescription": "Oracle Linux 6.9(64bit)",
            "infraResourceType": {
              "code": "SW",
              "codeName": "Software"
            },
            "infraResourceDetailType": {
              "code": "BM",
              "codeName": "BareMetal"
            },
            "cpuCount": 0,
            "memorySize": 0,
            "baseBlockStorageSize": 0,
            "platformType": {
              "code": "LNX64",
              "codeName": "Linux 64 Bit"
            },
            "osInformation": "Oracle Linux 6.9(64bit)",
            "dbKindCode": "",
            "addBlockStorageSize": 0
          },
          {
            "productCode": "SPSWBMLINUX00004",
            "productName": "Oracle Linux 7.4(64bit)",
            "productType": {
              "code": "LINUX",
              "codeName": "Linux"
            },
            "productDescription": "Oracle Linux 7.4(64bit)",
            "infraResourceType": {
              "code": "SW",
              "codeName": "Software"
            },
            "infraResourceDetailType": {
              "code": "BM",
              "codeName": "BareMetal"
            },
            "cpuCount": 0,
            "memorySize": 0,
            "baseBlockStorageSize": 0,
            "platformType": {
              "code": "LNX64",
              "codeName": "Linux 64 Bit"
            },
            "osInformation": "Oracle Linux 7.4(64bit)",
            "dbKindCode": "",
            "addBlockStorageSize": 0
          }
        ],
        "totalRows": 3
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <getServerImageProductListResponse>
      <requestId>74bfddb6-c1b9-4b22-9be6-ddfa3f851a1a</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <productList>
        <productCode>SPSWBMLINUX00002</productCode>
        <productName>CentOS 7.4(64bit)</productName>
        <productType>
          <code>LINUX</code>
          <codeName>Linux</codeName>
        </productType>
        <productDescription>CentOS 7.4(64bit)</productDescription>
        <infraResourceType>
          <code>SW</code>
          <codeName>Software</codeName>
        </infraResourceType>
        <infraResourceDetailType>
          <code>BM</code>
          <codeName>BareMetal</codeName>
        </infraResourceDetailType>
        <cpuCount>0</cpuCount>
        <memorySize>0</memorySize>
        <baseBlockStorageSize>0</baseBlockStorageSize>
        <platformType>
          <code>LNX64</code>
          <codeName>Linux 64 Bit</codeName>
        </platformType>
        <osInformation>CentOS 7.4(64bit)</osInformation>
        <dbKindCode></dbKindCode>
        <addBlockStorageSize>0</addBlockStorageSize>
      </productList>
      <productList>
        <productCode>SPSWBMLINUX00003</productCode>
        <productName>Oracle Linux 6.9(64bit)</productName>
        <productType>
          <code>LINUX</code>
          <codeName>Linux</codeName>
        </productType>
        <productDescription>Oracle Linux 6.9(64bit)</productDescription>
        <infraResourceType>
          <code>SW</code>
          <codeName>Software</codeName>
        </infraResourceType>
        <infraResourceDetailType>
          <code>BM</code>
          <codeName>BareMetal</codeName>
        </infraResourceDetailType>
        <cpuCount>0</cpuCount>
        <memorySize>0</memorySize>
        <baseBlockStorageSize>0</baseBlockStorageSize>
        <platformType>
          <code>LNX64</code>
          <codeName>Linux 64 Bit</codeName>
        </platformType>
        <osInformation>Oracle Linux 6.9(64bit)</osInformation>
        <dbKindCode></dbKindCode>
        <addBlockStorageSize>0</addBlockStorageSize>
      </productList>
      <productList>
        <productCode>SPSWBMLINUX00004</productCode>
        <productName>Oracle Linux 7.4(64bit)</productName>
        <productType>
          <code>LINUX</code>
          <codeName>Linux</codeName>
        </productType>
        <productDescription>Oracle Linux 7.4(64bit)</productDescription>
        <infraResourceType>
          <code>SW</code>
          <codeName>Software</codeName>
        </infraResourceType>
        <infraResourceDetailType>
          <code>BM</code>
          <codeName>BareMetal</codeName>
        </infraResourceDetailType>
        <cpuCount>0</cpuCount>
        <memorySize>0</memorySize>
        <baseBlockStorageSize>0</baseBlockStorageSize>
        <platformType>
          <code>LNX64</code>
          <codeName>Linux 64 Bit</codeName>
        </platformType>
        <osInformation>Oracle Linux 7.4(64bit)</osInformation>
        <dbKindCode></dbKindCode>
        <addBlockStorageSize>0</addBlockStorageSize>
      </productList>
      <totalRows>3</totalRows>
    </getServerImageProductListResponse>
    

    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.