Abonelik tabanlı bir PolarDB kümesi için otomatik yenileme durumunu ayarlar.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyAutoRenewAttribute |
update |
*dbcluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterIds |
string |
Yes |
Veritabanı kümesinin kimliği. |
pc-*************** |
| RegionId |
string |
Yes |
Bölge kimliği. Kimlik en fazla 50 karakter uzunluğunda olabilir. Not
Kullanılabilir bölgeleri sorgulamak için DescribeRegions işlemini çağırabilirsiniz. |
cn-hangzhou |
| RenewalStatus |
string |
No |
Otomatik yenileme durumu. Geçerli değerler:
Varsayılan değer: AutoRenewal. Not
Bu parametreyi NotRenewal olarak ayarladığınızda, sistem sona erme hatırlatıcılarını göndermeyi durdurur ve sona erme tarihinden yalnızca üç gün önce yenilememe bildirimi gönderir. |
AutoRenewal |
| Duration |
string |
No |
Otomatik yenileme süresi. Geçerli değerler:
Varsayılan değer: 1. |
1 |
| PeriodUnit |
string |
No |
Otomatik yenileme süresinin birimi. Geçerli değerler:
Varsayılan değer: Month. |
Month |
| ResourceGroupId |
string |
No |
Kaynak grubu kimliği. |
rg-************ |
| CloudProvider |
string |
No |
Kümenin bulut sağlayıcısı. |
ENS |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
İstek kimliği. |
4CE6DF97-AEA4-484F-906F-C407EE****** |
Examples
Success response
JSON format
{
"RequestId": "4CE6DF97-AEA4-484F-906F-C407EE******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidRenewalStatus.Malformed | The specified parameter RenewalStatus is not valid. | |
| 400 | InvalidPeriodUnit.Malformed | The specified parameter PeriodUnit is not valid. | |
| 400 | InvalidDuration.Malformed | The specified parameter Duration is not valid. | |
| 403 | OperationDenied.DBClusterPayType | The operation is not permitted due to the pay type of cluster. | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.