Modifies the auto-renewal settings of a subscription AnalyticDB for MySQL cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:ModifyAutoRenewAttribute |
update |
DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID of the AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster. Note
You can call the DescribeDBClusters operation to query the IDs of all AnalyticDB for MySQL Data Warehouse Edition (V3.0) clusters within a region. |
am-bp1u389j9zjh5**** |
| RegionId |
string |
Yes |
The region ID of the cluster. Note
You can call the DescribeRegions operation to query the most recent list of regions. |
cn-hangzhou |
| RenewalStatus |
string |
No |
The renewal status of the cluster. Valid values:
|
AutoRenewal |
| Duration |
string |
No |
The renewal duration. Default value: 1.
Note
Longer subscription durations are more cost-effective. For example, purchasing a cluster for one year costs less than purchasing the cluster for 10 or 11 months. |
1 |
| PeriodUnit |
string |
No |
The unit of the renewal duration. Default value: Month. Valid values:
|
Year |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
4CE6DF97-AEA4-484F-906F-C407EE3770EB |
Examples
Success response
JSON format
{
"RequestId": "4CE6DF97-AEA4-484F-906F-C407EE3770EB"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.