Modifies the auto-renewal status of a ClickHouse Community-Compatible cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
clickhouse:ModifyAutoRenewAttribute |
update |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterIds |
string |
Yes |
The cluster ID. To specify multiple cluster IDs, separate them with commas (,). |
cc-bp1uy5ff6***** |
| RegionId |
string |
Yes |
The region ID. |
cn-beijing |
| RenewalStatus |
string |
No |
The renewal method. Valid values:
|
AutoRenewal |
| Duration |
string |
No |
The renewal duration. The default value is 1.
Note
A longer subscription period offers a better price. For example, a one-year subscription is more cost-effective than a 10-month or 11-month subscription. |
1 |
| PeriodUnit |
string |
No |
The unit of the renewal duration specified by the `Duration` parameter. Valid values: Month and Year. |
Year |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
7B94AB34-6875-56D2-92B4-0C2****** |
Examples
Success response
JSON format
{
"RequestId": "7B94AB34-6875-56D2-92B4-0C2******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The DBClusterId provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.