getDbServerLogList
- Print
- PDF
getDbServerLogList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Overview
Query a Cloud DB for MySQL instance database server log list.
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 | |
logType | Yes | String | - Database server log file type Options : BINARY | ERROR | SLOW | GENERAL | AUDIT | |
cloudMysqlServerInstanceNo | Yes | String | - Cloud DB for MySQL server instance number cloudMysqlServerInstanceNo can be obtained via the getCloudMysqlInstanceList action | |
output | No | String | - Format type of the response result Options : xml | json Default : json |
Responses
Response data type
- CloudMysqlDbServerLogList type
CloudMysqlDbServerLogList extends CommonResponse |
---|
private Integer totalRows; |
private List<CloudMysqlDbServerLog> cloudMysqlDbServerLogList = new ArrayList<>(); |
CloudMysqlDbServerLog |
---|
private String fileName; |
private Long fileSize; |
private Date fileDate; |
Examples
Request examples
ncloud vmysql getDbServerLogList --regionCode KR --logType BINARY --cloudMysqlServerInstanceNo ****891
Response examples
<getDbServerLogListResponse>
<requestId>d733e677-ad69-4cbe-8351-711d0e0124bc</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudMysqlDbServerLogList>
<cloudMysqlDbServerLog>
<fileName>mysql-bin.000001</fileName>
<fileSize>194</fileSize>
<fileDate>2021-05-27T18:10:00+0900</fileDate>
</cloudMysqlDbServerLog>
</cloudMysqlDbServerLogList>
</getDbServerLogListResponse>
Was this article helpful?