getCloudMysqlProductList
- Print
- PDF
getCloudMysqlProductList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Overview
Querying a list of available Cloud DB for MySQL server spec codes
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code regionCode can be obtained via the getRegionList action Default: selects the first region of the getRegionList query results | |
zoneCode | No | String | - Zone code zoneCode can be obtained via the getZoneList action | |
cloudMysqlImageProductCode | Yes | String | - Cloud DB for MySQL image product code cloudMysqlImageProductCode can be obtained via the productCode of the getCloudMysqlImageProductList action | |
productCode | No | String | - Cloud DB for MySQL product code to be queried productCode can be obtained via the productCode of the getCloudMysqlProductList action | |
exclusionProductCode | No | String | - Cloud DB for MySQL product code to be excluded exclusionProductCode can be obtained via the productCode of the getCloudMysqlProductList action | |
output | No | String | - Format type of the response result Options : xml | json Default : json |
Responses
Response data type
- ProductList type
ProductList extends CommonResponse |
---|
private Integer totalRows; |
private List<Product> productList = new ArrayList<>(); |
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; |
private String generationCode; |
Examples
Request examples
ncloud vmysql getCloudMysqlProductList --regionCode KR --cloudMysqlImageProductCode SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5732.B050 --productCode SVR.VDBAS.STAND.C002.M008.NET.HDD.B050.G002 --exclusionProductCode SVR.VDBAS.HICPU.C004.M008.NET.HDD.B050.G002
Response examples
<getCloudMysqlProductListResponse>
<requestId>0dae445e-89c2-47ce-bda7-0bbd401c13c4</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<productList>
<product>
<productCode>SVR.VDBAS.STAND.C002.M008.NET.HDD.B050.G002</productCode>
<productName>vCPU 2EA, Memory 8GB</productName>
<productType>
<code>STAND</code>
<codeName>Standard</codeName>
</productType>
<productDescription>vCPU 2 ea, memory 8 GB</productDescription>
<infraResourceType>
<code>VMYSL</code>
<codeName>Cloud DB for MySQL (VPC)</codeName>
</infraResourceType>
<cpuCount>2</cpuCount>
<memorySize>8589934592</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
</productList>
</getCloudMysqlProductListResponse>
Was this article helpful?