Modifies the auto-renewal status of a subscription AnalyticDB for MySQL cluster.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBClusterId | string | Yes | The 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 region list.
| 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 offer more savings. Purchasing a cluster for one year is more cost-effective than purchasing the cluster for 10 or 11 months.
| 1 |
PeriodUnit | string | No | The unit of the renewal period. Default value: Month. Valid values:
| Year |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "4CE6DF97-AEA4-484F-906F-C407EE3770EB"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history