Modifies the configuration of a cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
clickhouse:ModifyDBClusterConfig |
update |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The ID of the region. You can call the DescribeRegions operation to query the most recent list of regions. |
cn-hangzhou |
| DBClusterId |
string |
Yes |
The ID of the cluster. You can call the DescribeDBClusters operation to query information about all clusters in a specific region. This information includes the cluster IDs. |
cc-bp1t9lbb7a4z7**** |
| UserConfig |
string |
Yes |
The configuration parameters to modify. Note
You can modify a single configuration parameter. Parameters that are not specified in the request are not affected. |
{"keep_alive_timeout":"301"} |
| Reason |
string |
No |
The reason for the modification. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The ID of the request. |
A9AA1E0A-2AEE-5847-87CF-E4FDC0E66052 |
Examples
Success response
JSON format
{
"RequestId": "A9AA1E0A-2AEE-5847-87CF-E4FDC0E66052"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. | An error occurred while processing your request. |
| 503 | ServiceUnavailable | An error occurred while processing your request. | An error occurred while processing your request. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.