getCloudMysqlImageProductList
- Print
- PDF
getCloudMysqlImageProductList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Available in VPC
Cloud DB for MySQL product code list is viewed.
Requests
Request Parameters
Parameters | Type | Requirement status | Description | Restrictions |
---|---|---|---|---|
regionCode | String | N | Region code for which Cloud DB for MySQL instance exists - Can be obtained through getRegionList action - Default: choose the first region viewed through getRegionList | - |
productCode | String | No | Cloud DB for MySQL image product code to be viewed - Can be obtained through by selecting getCloudMysqlImageProductList and then productCode | - |
exclusionProductCode | String | No | 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 | - |
responseFormatType | String | N | Format type for the response results - options: xml | json - default: xml | - |
Responses
Response bodies
For response body, please refer to CloudDbProductList.
Examples
Request Examples
The following is an example of a request body.
GET {API_URL}/getCloudMysqlImageProductList
?regionCode=KR
&productCode=SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5732.B050
&exclusionProductCode=SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5729.B050
Response examples
The following are examples of responses.
If the response shows that format type (responseFormatType) 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 (responseFormatType) 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?