getServerImageProductList
- Print
- PDF
getServerImageProductList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Gets the list of server images.
Description
To create a server instance (VM), you need a server image.
The following is the APIs you can use to select server images.
Request Parameters
Name | Required | Type | Limitation | Description |
---|---|---|---|---|
exclusionProductCode | No | String | Min:1, Max:20 | Product code to exclude from the list. |
productCode | No | String | Min:1, Max:20 | Product code to search from the list. Use it for a single search. |
platformTypeCodeList | No | String | Min:1, Max:5 | Send a necessary value to classify the platform in the form of list. The following values can be entered. Linux32Bit(LNX32) | Linux64Bit(LNX64) | Windows32Bit(WND32) | Windows64Bit(WND64) | Ubuntu desktop64Bit(UBD64) | Ubuntu server64Bit(UBS64) |
blockStorageSize | No | Integer | 50 | 100 | |
regionNo | No | String | You can reach a state in which input is possible by calling getRegionList. | |
infraResourceDetailTypeCode | No | String | Min:1, Max:5 | You can view specific type of image in the list (currently only Baremetal image can be viewed) Baremetal(BM) | Default : Normal server Image |
Response Data Type
- ProductList type
ProcessList extends CommonResponse |
---|
private Integer totalRows; |
private List |
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; |
Examples
Request
ncloud server getServerImageProductList --platformTypeCodeList LNX64 --infraResourceDetailTypeCode BM --exclusionProductCode SPSWBMLINUX00001
Response
{
"getServerImageProductListResponse": {
"requestId": "74bfddb6-c1b9-4b22-9be6-ddfa3f851a1a",
"returnCode": "0",
"returnMessage": "success",
"productList": [
{
"productCode": "SPSWBMLINUX00002",
"productName": "CentOS 7.4(64bit)",
"productType": {
"code": "LINUX",
"codeName": "Linux"
},
"productDescription": "CentOS 7.4(64bit)",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"infraResourceDetailType": {
"code": "BM",
"codeName": "BareMetal"
},
"cpuCount": 0,
"memorySize": 0,
"baseBlockStorageSize": 0,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "CentOS 7.4(64bit)",
"dbKindCode": "",
"addBlockStorageSize": 0
},
{
"productCode": "SPSWBMLINUX00003",
"productName": "Oracle Linux 6.9(64bit)",
"productType": {
"code": "LINUX",
"codeName": "Linux"
},
"productDescription": "Oracle Linux 6.9(64bit)",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"infraResourceDetailType": {
"code": "BM",
"codeName": "BareMetal"
},
"cpuCount": 0,
"memorySize": 0,
"baseBlockStorageSize": 0,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Oracle Linux 6.9(64bit)",
"dbKindCode": "",
"addBlockStorageSize": 0
},
{
"productCode": "SPSWBMLINUX00004",
"productName": "Oracle Linux 7.4(64bit)",
"productType": {
"code": "LINUX",
"codeName": "Linux"
},
"productDescription": "Oracle Linux 7.4(64bit)",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"infraResourceDetailType": {
"code": "BM",
"codeName": "BareMetal"
},
"cpuCount": 0,
"memorySize": 0,
"baseBlockStorageSize": 0,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Oracle Linux 7.4(64bit)",
"dbKindCode": "",
"addBlockStorageSize": 0
}
],
"totalRows": 3
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<getServerImageProductListResponse>
<requestId>74bfddb6-c1b9-4b22-9be6-ddfa3f851a1a</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<productList>
<productCode>SPSWBMLINUX00002</productCode>
<productName>CentOS 7.4(64bit)</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>CentOS 7.4(64bit)</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<infraResourceDetailType>
<code>BM</code>
<codeName>BareMetal</codeName>
</infraResourceDetailType>
<cpuCount>0</cpuCount>
<memorySize>0</memorySize>
<baseBlockStorageSize>0</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>CentOS 7.4(64bit)</osInformation>
<dbKindCode></dbKindCode>
<addBlockStorageSize>0</addBlockStorageSize>
</productList>
<productList>
<productCode>SPSWBMLINUX00003</productCode>
<productName>Oracle Linux 6.9(64bit)</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>Oracle Linux 6.9(64bit)</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<infraResourceDetailType>
<code>BM</code>
<codeName>BareMetal</codeName>
</infraResourceDetailType>
<cpuCount>0</cpuCount>
<memorySize>0</memorySize>
<baseBlockStorageSize>0</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>Oracle Linux 6.9(64bit)</osInformation>
<dbKindCode></dbKindCode>
<addBlockStorageSize>0</addBlockStorageSize>
</productList>
<productList>
<productCode>SPSWBMLINUX00004</productCode>
<productName>Oracle Linux 7.4(64bit)</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>Oracle Linux 7.4(64bit)</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<infraResourceDetailType>
<code>BM</code>
<codeName>BareMetal</codeName>
</infraResourceDetailType>
<cpuCount>0</cpuCount>
<memorySize>0</memorySize>
<baseBlockStorageSize>0</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>Oracle Linux 7.4(64bit)</osInformation>
<dbKindCode></dbKindCode>
<addBlockStorageSize>0</addBlockStorageSize>
</productList>
<totalRows>3</totalRows>
</getServerImageProductListResponse>
Was this article helpful?