Modifies the auto-renewal attribute for an AnalyticDB for MySQL cluster billed in the subscription mode.
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyAutoRenewAttribute | The operation that you want to perform. Set the value to ModifyAutoRenewAttribute. |
RegionId | String | Yes | cn-hangzhou | The ID of the region where the cluster resides. |
DBClusterId | String | Yes | am-bp1xxxxxxxx47 | The ID of the cluster whose auto-renewal attribute is to be modified. |
RenewalStatus | String | No | AutoRenewal | The renewal type of the cluster. Valid values:
|
PeriodUnit | String | No | Month | The unit of the renewal period. Valid values:
|
Duration | Integer | No | 1 | The renewal period of the cluster.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
<Common response parameters> | - | - | - |
Examples
Sample requests
https://adb.aliyuncs.com/?Action=ModifyAutoRenewAttribute
&DBClusterId=am-xxxxxxxxxxxxxxxx
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
<ModifyAutoRenewAttributeResponse>
<RequestId>4CE6DF97-AEA4-484F-906F-C407EE3770EB</RequestId>
</ModifyAutoRenewAttributeResponse>
JSON
format
{
"RequestId": "4CE6DF97-AEA4-484F-906F-C407EE3770EB"
}