ncloud_serverless_update_log_config
Adjust log rotation for MySQL cluster log types (BIN, SLOW_QUERY, ERROR, GENERAL) by setting rotation type and file count to manage log retention.
Instructions
Change log rotation for the given log types (PATCH /mysql/v1/clusters/{clusterName}/log-config, merge-patch; the only synchronous write — returns 200 with the new settings).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rotations | Yes | logType → rotation settings (only the given types change) | |
| clusterName | Yes | Cluster name (3-30 chars, lowercase letters/digits/'-', no leading or trailing '-'; immutable after creation) |