All Products
Search
Document Center

AnalyticDB:DescribeAutoRenewalAttribute

Last Updated:Jan 08, 2026

Queries the auto-renewal status of a subscription cluster.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
adb:DescribeAutoRenewalAttributeget
*DBClusterLakeVersion
acs:adb:{#regionId}:{#accountId}:dbcluster/{#DBClusterId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID.

cn-hangzhou
DBClusterIdarrayNo

The cluster IDs.

stringNo

The cluster ID.

am-bp1u8c0mgfg58****
PageSizeintegerNo

The number of entries returned on each page. Valid values:

  • 30(Default)
  • 50
  • 100
30
PageNumberintegerNo

The page number. A positive integer greater than 0 and not exceeding the maximum value of the Integer data type. Default value: 1.

1
ResourceGroupIdstringNo

The resource group ID.

rg-4690g37929****

Response parameters

ParameterTypeDescriptionExample
object
TotalRecordCountinteger

The total number of entries returned.

20
PageRecordCountinteger

The number of entries returned on each page.

30
RequestIdstring

The request ID.

BA0F6761-7A8C-59F8-9624-FB56788C0EDF
PageNumberinteger

The page number of the returned page.

1
Itemsarray<object>

The list of auto-renewal details.

AutoRenewalAttributeobject
DBClusterIdstring

The cluster ID.

amv-uf6485635fz8****
AutoRenewalPeriodUnitstring

The unit of auto-renewal duration. Valid values:

  • Year
  • Month
Year
AutoRenewalPeriodlong

The auto-renewal duration.

1
AutoRenewalStatusstring

The renewal method. Valid values:

  • AutoRenewal: The cluster is automatically renewed.
  • Normal: The cluster is manually renewed. Before the cluster expires, the system sends you a reminder by SMS message.
  • NotRenewal: The cluster is not renewed. Reminders are only sent three days before cluster expiration.
AutoRenewal
AutoRenewalEnabledboolean

Indicates whether auto-renewal is enabled for the cluster. Valid values:

  • true: Enables.
  • false: Disables.
true
RegionIdstring

The region ID.

cn-shenzhen

Examples

Sample success responses

JSONformat

{
  "TotalRecordCount": 20,
  "PageRecordCount": 30,
  "RequestId": "BA0F6761-7A8C-59F8-9624-FB56788C0EDF",
  "PageNumber": 1,
  "Items": {
    "AutoRenewalAttribute": [
      {
        "DBClusterId": "amv-uf6485635fz8****",
        "AutoRenewalPeriodUnit": "Year",
        "AutoRenewalPeriod": 1,
        "AutoRenewalStatus": "AutoRenewal",
        "AutoRenewalEnabled": true,
        "RegionId": "cn-shenzhen"
      }
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-12-16Add OperationView Change Details