getCloudMysqlDatabaseList
- Print
- PDF
getCloudMysqlDatabaseList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Overview
Search the database list of 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 | |
pageNo | Yes | Integer | Min: 0 | - Page number of paged result Paging can be handled using pageNo and pageSize |
pageSize | Yes | Integer | Min: 1 | - Size of each page to be displayed when paging Paging can be handled using pageNo and pageSize |
output | No | String | - Format type of the response result Options : xml | json Default : json |
Responses
Response data type
- CloudMysqlDatabaseList type
CloudMysqlDatabaseList extends CommonResponse |
---|
private Integer totalRows; |
private List<CloudMysqlDatabase> cloudMysqlDatabaseList = new ArrayList<>(); |
CloudMysqlDatabase |
---|
private String databaseName; |
Examples
Request examples
ncloud vmysql getCloudMysqlDatabaseList --regionCode KR --cloudMysqlInstanceNo ****890 --pageNo 0 --pageSize 10
Response examples
<getCloudMysqlDatabaseListResponse>
<requestId>32993542-96c8-4899-91d8-3a273960b79c</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudMysqlDatabaseList>
<cloudMysqlDatabase>
<databaseName>mysql_test</databaseName>
</cloudMysqlDatabase>
</cloudMysqlDatabaseList>
</getCloudMysqlDatabaseListResponse>
Was this article helpful?