Available in VPC
Overview
Views detailed information about the server specifications using the server specification code.
Requests
Request parameters
| Parameter name | Requirement status | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | - Region code Decides the Region where the server specifications are to be viewed regionCode can be obtained through the getRegionList action Default: select the first Region shown in the getRegionList search results |
|
| serverSpecCode | Yes | String | - Server specification code to be viewed serverSpecCode can be obtained through the getServerSpecList action |
|
| responseFormatType | No | String | - Format type of responses Options : xml | json Default : xml |
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 getServerSpecDetail --regionCode KR --serverSpecCode c2-g3
Response examples
<getServerSpecDetailResponse>
<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>
</getServerSpecDetailResponse>