getServerImageProductList

Prev Next

Available in VPC

Overview

Get the list of server image products provided by NAVER Cloud Platform.

Request

Request parameters

Parameter name Required Type Restrictions Description
regionCode No String - Region code
Determine the Region to get the server image product list from
regionCode can be obtained through the getRegionList action
Default: Select the first Region of the getRegionList search results
blockStorageSize No Integer - Block storage size
You can search by filtering with the default block storage size of the server image
Options: 50 | 100 GB
exclusionProductCode No String - Product code to exclude
You can obtain exclusionProductCode through the getServerImageProductList action
productCode No String - Product code to query
You can obtain productCode through the getServerImageProductList action
platformTypeCodeList.N No List<String> - Platform type code list
You can filter and search by the platform type
Options: LNX32 | LNX64 | WND32 | WND64 | UBD64 | UBS64
e.g., --platformTypeCodeList LNX32 LNX64
infraResourceDetailTypeCode No String - Infrastructure resource detailed type code
Get images of a specific type
Currently only Bare Metal can be queried
Options: BM (BareMetal)
Default: types excluding BM
e.g., --infraResourceDetailTypeCode BM

Response

Response data type

  • ProductList type
ProductList extends CommonResponse
private Integer totalRows;
private List<Product> productList = 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;
private String generationCode;

Examples

Request example

ncloud vserver getServerImageProductList --regionCode KR --blockStorageSize 50 --exclusionProductCode SW.VSVR.DBMS.LNX64.CNTOS.0606.PSTGR.0904.B050 --productCode SW.VSVR.OS.LNX64.CNTOS.0703.B050 --platformTypeCodeList LNX64 WND64

Response example

<getServerImageProductListResponse>
  <requestId>c389ef63-aa90-4d3f-a875-f9166ae9c249</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <productList>
    <product>
      <productCode>SW.VSVR.OS.LNX64.CNTOS.0703.B050</productCode>
      <productName>centos-7.3-64</productName>
      <productType>
        <code>LINUX</code>
        <codeName>Linux</codeName>
      </productType>
      <productDescription>CentOS 7.3 (64-bit)</productDescription>
      <infraResourceType>
        <code>SW</code>
        <codeName>Software</codeName>
      </infraResourceType>
      <cpuCount>0</cpuCount>
      <memorySize>0</memorySize>
      <baseBlockStorageSize>53687091200</baseBlockStorageSize>
      <platformType>
        <code>LNX64</code>
        <codeName>Linux 64 Bit</codeName>
      </platformType>
      <osInformation>CentOS 7.3 (64-bit)</osInformation>
      <dbKindCode></dbKindCode>
      <addBlockStorageSize>0</addBlockStorageSize>
      <generationCode></generationCode>
    </product>
  </productList>
</getServerImageProductListResponse>