getServerProductList
- Print
- PDF
getServerProductList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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 name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
exclusionProductCode | No | String | Min:1, Max:20 | Enter the product code to be excluded from the list |
productCode | No | String | Min:1, Max:20 | Enter the product code to be viewed on the list Used when viewing 1 request |
generationCode | No | String | Min:1, Max:20 | Enter the product generation code to be viewed on the list [either G1 or G2] |
serverImageProductCode | Conditional | String | Min:1, Max:20 | Server 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 |
regionNo | No | String | You can obtain the status where entering is possible through the getRegionList action | |
zoneNo | No | String | Decides 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 | |
memberServerImageNo | Conditional | String | Member 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?