Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getServerSpecList

Prev Next

Available in VPC

Overview

Views the server specification list.

Requests

Request parameters

Parameter name Requirement status Type Restrictions Description
regionCode No String - Region code
Decides the Region where the server specification list is to be viewed
regionCode can be obtained through the getRegionList action
Default: select the first Region shown in the getRegionList search results
serverImageNo No String - Server image number
You can search by filtering with a server image number
serverImageNo can be obtained through the getServerImageList action
zoneCode No String - ZONE code
Decides the zone where the server specification list is to be viewed
zoneCode can be obtained through the getZoneList action
serverSpecCodeList.N No List<String> - List of server specification codes
You can search by filtering with a server specification code
ex) serverSpecCodeList.1=m2-g2-h100
hypervisorTypeCodeList.N No List<String> - List of hypervisor type codes
You can search by filtering with a hypervisor type code
Options : XEN | KVM
ex) hypervisorTypeCodeList.1=XEN&hypervisorTypeCodeList.2=KVM
output No String Response result's format type
  • Options : xml | json
  • Default : json

Responses

Response data type

  • ServerSpecList type
ServerSpecList extends CommonResponse
private Integer totalRows;
private List<ServerSpec> serverSpecList = new ArrayList<>();
ServerSpec
private String serverSpecCode;
private CommonCode hypervisorType;
private CommonCode cpuArchitectureType;
private String generationCode;
private Integer cpuCount;
private Long memorySize;
private Integer blockStorageMaxCount;
private Long blockStorageMaxIops;
private Long blockStorageMaxThroughput;
private Long networkPerformance;
private Integer networkInterfaceMaxCount;
private Integer gpuCount;
private String serverSpecDescription;
private String serverProductCode;

Examples

Request examples

ncloud vserver getServerSpecList --regionCode KR --serverImageNo ***5847 --serverSpecCodeList c2-g3 --hypervisorTypeCodeList KVM

Response examples

<getServerSpecListResponse>
  <requestId></requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <serverSpecList>
    <serverSpec>
      <serverSpecCode>c2-g3</serverSpecCode>
      <hypervisorType>
        <code>KVM</code>
        <codeName>KVM</codeName>
      </hypervisorType>
      <cpuArchitectureType>
        <code>X86_64</code>
        <codeName>x86 64bit</codeName>
      </cpuArchitectureType>
      <generationCode>G3</generationCode>
      <cpuCount>2</cpuCount>
      <memorySize>4294967296</memorySize>
      <blockStorageMaxCount>20</blockStorageMaxCount>
      <blockStorageMaxIops>5250</blockStorageMaxIops>
      <blockStorageMaxThroughput>81</blockStorageMaxThroughput>
      <networkPerformance>17179869184</networkPerformance>
      <networkInterfaceMaxCount>3</networkInterfaceMaxCount>
      <serverSpecDescription>vCPU 2EA, Memory 4GB</serverSpecDescription>
      <productCode>SVR.VSVR.HICPU.C002.M004.G003</productCode>
    </serverSpec>
  </serverSpecList>
</getServerSpecListResponse>