getCloudMysqlImageProductList
- Print
- PDF
getCloudMysqlImageProductList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Cloud DB for MySQL product code list is viewed.
Commands
The text of the command is as follows.
ncloud vmysql getCloudMysqlImageProductList [regionCode KR] [productCode] [exclusionProductCode] [output]
Parameter
The following is a description on parameters.
Parameter | Type | Essential parameter (True/False) | Description | Limitations |
---|---|---|---|---|
regionCode | String | N | Region code - Can be obtained through getRegionList action - Default: select the first region viewed through getRegionList | - |
productCode | String | N | Cloud DB for MySQL image product code to be viewed - Can be obtained through by selecting getCloudMysqlImageProductList and then productCode | - |
exclusionProductCode | String | N | Cloud DB for MySQL image product code to be excluded - Can be obtained through by selecting getCloudMysqlImageProductList and then productCode | - |
generationCode | String | N | Generation code - options: G2 | G3 | - |
output | String | N | Format type of responses - options: xml | json - default: json | - |
Responses
Response data type
Response data type for command recall is as follows.
- CloudDbProductList type
ProductList extends CommonResponse | Description |
---|---|
private Integer totalRows; | Total number of items viewed |
private List<Product> productList = new ArrayList<>(); |
- Product type
Product | Description |
---|---|
private String productCode; | Product code that defines the server’s specification or OS and is managed by NAVER Cloud Platform |
private String productName; | Product name |
private CommonCode productType; | Product type |
private String productDescription; | Product description |
private CommonCode infraResourceType; | Type of infrastructure resources |
private CommonCode infraResourceDetailType; | Detailed type of infrastructure resources |
private Integer cpuCount; | Number of CPUs |
private Long memorySize; | Memory size |
private Long baseBlockStorageSize; | Default block storage size |
private CommonCode platformType; | Platform type |
private String osInformation; | OS information |
private CommonCode diskType; | Disk type |
private String dbKindCode; | DB type code |
private Long addBlockStorageSize; | Size of additional Block Storage |
private String generationCode; | Generation code |
Examples
Describes examples of recalls and responses.
Recall examples
The following are examples of recalls.
ncloud vmysql getCloudMysqlImageProductList --regionCode KR --productCode SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5732.B050 --exclusionProductCode SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5729.B050 --generationCode G2
Response examples
The following are examples of responses.
If the response shows that format type (output) is json
{
"getCloudMysqlImageProductListResponse": {
"requestId": "3d1be0bf-5ae0-4c46-85e3-6815171c1f3a",
"returnCode": 0,
"returnMessage": "success",
"totalRows": 1,
"productList": {
"product": {
"productCode": "SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5732.B050",
"productName": "mysql(5.7.32)",
"productType": {
"code": "LINUX",
"codeName": "Linux"
},
"productDescription": "CentOS 7.8 with MySQL 5.7.32",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "CentOS 7.8 with MySQL 5.7.32 (64-bit)"
}
}
}
}
If the response shows that format type (output) is xml
<getCloudMysqlImageProductListResponse>
<requestId>3d1be0bf-5ae0-4c46-85e3-6815171c1f3a</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<productList>
<product>
<productCode>SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5732.B050</productCode>
<productName>mysql(5.7.32)</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>CentOS 7.8 with MySQL 5.7.32</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>CentOS 7.8 with MySQL 5.7.32 (64-bit)</osInformation>
</product>
</productList>
</getCloudMysqlImageProductListResponse>
Was this article helpful?