getServerProductList
    • PDF

    getServerProductList

    • PDF

    Article summary

    Available in VPC

    Overview

    Views the server specification product list provided from NAVER Cloud Platform using the server image product code.

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    Decides the Region where the server product list is to be viewed
    regionCode can be obtained through the getRegionList action
    Default: select the first Region shown in the getRegionList search results
    zoneCodeNoString- ZONE code
    Decides the zone where the server product list is to be viewed
    zoneCode can be obtained through the getZoneList action
    serverImageProductCodeConditionalString- Server image product code
    View the list of server specification products that can be created from the server image products
    Either one of 2 parameters, serverImageProductCode or memberServerImageInstanceNo, is required
    serverImageProductCode can be obtained through the getServerImageProductList action
    exclusionProductCodeNoString- Product code to be excluded
    exclusionProductCode can be obtained through the getServerProductList action
    productCodeNoString- Product code to be viewed
    productCode can be obtained through the getServerProductList action
    generationCodeNoString- Generation code
    You can search by filtering with a generation code
    Options : G1 | G2
    memberServerImageInstanceNoConditionalString- Member server image instance number
    Creation specifications for EOL OS can be viewed
    Either one of 2 parameters, serverImageProductCode or memberServerImageInstanceNo, is required
    When entering both serverImageProductCode and memberServerImageInstanceNo, use memberServerImageInstanceNo to view it
    It can be obtained through the getMemberServerImageInstanceList action
    responseFormatTypeNoString- Format type of responses
    Options : xml | json
    Default : xml

    Responses

    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 examples

    ncloud vserver getServerProductList --regionCode KR --zoneCode KR-1 --serverImageProductCode SW.VSVR.OS.LNX64.CNTOS.0703.B050 --exclusionProductCode SVR.VSVR.HIMEM.C016.M064.NET.HDD.B050.G001 --productCode SVR.VSVR.STAND.C002.M004.NET.HDD.B050.G001 --generationCode G1
    

    Response examples

    <getServerProductListResponse>
      <requestId>23fce239-4517-4e95-84c8-60fdd43a2e7e</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <productList>
        <product>
          <productCode>SVR.VSVR.STAND.C002.M004.NET.HDD.B050.G001</productCode>
          <productName>vCPU 2EA, Memory 4GB, Disk 50GB</productName>
          <productType>
            <code>STAND</code>
            <codeName>Standard</codeName>
          </productType>
          <productDescription>2 vCPUs, 4 GB memory, and 50 GB of disk</productDescription>
          <infraResourceType>
            <code>VSVR</code>
            <codeName>Server (VPC)</codeName>
          </infraResourceType>
          <cpuCount>2</cpuCount>
          <memorySize>4294967296</memorySize>
          <baseBlockStorageSize>53687091200</baseBlockStorageSize>
          <osInformation></osInformation>
          <diskType>
            <code>NET</code>
            <codeName>Network Storage</codeName>
          </diskType>
          <dbKindCode></dbKindCode>
          <addBlockStorageSize>0</addBlockStorageSize>
          <generationCode>G1</generationCode>
        </product>
      </productList>
    </getServerProductListResponse>
    

    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.