getServerProductList
    • PDF

    getServerProductList

    • PDF

    Article Summary

    Overview

    View the server product list

    Description

    You must select the server product (server specification) to create the server instance.
    Therefore, we provide an API that can view a list of server products.

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    exclusionProductCodeNoStringMin:1, Max:20Enter the product code to be excluded from the list
    productCodeNoStringMin:1, Max:20Enter the product code to be viewed on the list
    Used when viewing 1 request
    generationCodeNoStringMin:1, Max:20Enter the product generation code to be viewed on the list [either G1 or G2]
    serverImageProductCodeConditionalStringMin:1, Max:20Server image product code
    The server specifications that you can create vary depending on the server image product
    Either one of 2 parameters, serverImageProductCode or memberServerImageNo, is required
    It can be obtained through the getServerImageProdutList action
    regionNoNoStringYou can obtain the status where entering is possible through the getRegionList action
    zoneNoNoStringDecides the zone where the product list is to be viewed
    It can be obtained through the getZoneList action
    Default: selects the first zone of the Region
    memberServerImageNoConditionalStringMember server image number
    Creation specifications for EOL OS can be viewed
    Either one of 2 parameters, serverImageProductCode or memberServerImageNo, is required
    When entering both serverImageProductCode and memberServerImageNo, use memberServerImageNo to view it
    It can be obtained through the getMemberServerImageList action

    Response data type

    • ProductList type
    ProcessList extends CommonResponse
    private Integer totalRows;
    private List<Process> processList = new ArrayList<Process>();
    Product
    private String productCode;
    private String generationCode;
    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

    Call

    ncloud server getServerProductList --serverImageProductCode SPSW0LINUX000043 --productCode SPSVRSSD00000009
    

    Responses

    {
      "getServerProductListResponse": {
        "requestId": "16996ca6-0f2d-46fa-aca4-4903a5aad3e2",
        "returnCode": "0",
        "returnMessage": "success",
        "productList": [
          {
            "productCode": "SPSVRSSD00000009",
            "generationCode": "G1",
            "productName": "vCPU 16EA, Memory 16GB, [SSD]Disk 50GB",
            "productType": {
              "code": "STAND",
              "codeName": "Standard"
            },
            "productDescription": "vCPU 16EA, Memory 16GB, [SSD]Disk 50GB",
            "infraResourceType": {
              "code": "SVR",
              "codeName": "Server"
            },
            "cpuCount": 16,
            "memorySize": 17179869184,
            "baseBlockStorageSize": 53687091200,
            "osInformation": "",
            "diskType": {
              "code": "NET",
              "codeName": "Network Storage"
            },
            "dbKindCode": "",
            "addBlockStorageSize": 0
          }
        ],
        "totalRows": 1
      }
    }
    
    <getServerProductListResponse>
      <requestId>6a17f564-8af2-44fe-b416-1c9ce7b2d200</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <productList>
        <product>
          <productCode>SPSVRSSD00000009</productCode>
          <generationCode>G1</generationCode>
          <productName>vCPU 16EA, Memory 16GB, [SSD]Disk 50GB</productName>
          <productType>
            <code>STAND</code>
            <codeName>Standard</codeName>
          </productType>
          <productDescription>vCPU 16EA, Memory 16GB, [SSD]Disk 50GB</productDescription>
          <infraResourceType>
            <code>SVR</code>
            <codeName>Server</codeName>
          </infraResourceType>
          <cpuCount>16</cpuCount>
          <memorySize>17179869184</memorySize>
          <baseBlockStorageSize>53687091200</baseBlockStorageSize>
          <osInformation></osInformation>
          <diskType>
            <code>NET</code>
            <codeName>Network Storage</codeName>
          </diskType>
          <dbKindCode></dbKindCode>
          <addBlockStorageSize>0</addBlockStorageSize>
        </product>
      </productList>
      <totalRows>1</totalRows>
    </getServerProductListResponse>
    

    Was this article helpful?

    What's Next
    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.