addCloudMysqlDatabaseList

Prev Next

Available in VPC

Overview

Add Database to Cloud DB for MySQL instance

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
cloudMysqlInstanceNo Yes String - Cloud DB for MySQL instance number
cloudMysqlInstanceNo can be obtained via the getCloudMysqlInstanceList action
cloudMysqlDatabaseNameList Yes List<String> Only English letters, numbers, "_" and "-" can be used, and this must start with an English letter.
Min: 1
Max: 30
- Database list
Up to 10 databases can be deleted at once.
output No String - Format type of the response result
Options : xml | json
Default : json

Examples

Request examples

ncloud vmysql addCloudMysqlDatabaseList --regionCode KR --cloudMysqlInstanceNo ****890 --cloudMysqlDatabaseNameList mysql_test

Response examples

<addCloudMysqlDatabaseListResponse>
    <requestId>e905ab5c-7ce7-49dc-ad45-cb281f11d38e</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
</addCloudMysqlDatabaseListResponse>