All Products
Search
Document Center

PolarDB:DescribeAIDBClusters

Last Updated:Apr 17, 2026

View custom clusters.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

polardb:DescribeAIDBClusters

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

DBClusterIds

string

No

The cluster ID. To specify multiple clusters, separate their IDs with a comma.

pc-***************

PageSize

integer

No

The number of entries per page. Valid values: 30, 50, and 100.

Default value: 30.

30

PageNumber

integer

No

The page number.

1

DBClusterDescription

string

No

The cluster description. Fuzzy search is supported.

pc-****************

DBClusterStatus

string

No

The cluster status. Valid values:

  • Creating: The cluster is being created.

  • Running: The cluster is running.

  • Deleting: The cluster is being released.

  • Rebooting: The cluster is restarting.

  • DBNodeCreating: A node is being added.

  • DBNodeDeleting: A node is being deleted.

  • ClassChanging: The node specifications are being changed.

  • NetAddressCreating: A network connection is being created.

  • NetAddressDeleting: A network connection is being deleted.

  • NetAddressModifying: A network connection is being modified.

  • Deleted: The cluster is released.

  • ClassChanged: Resources are being reclaimed after the upgrade or downgrade.

Running

PayType

string

No

The billing method. Valid values:

  • Postpaid: pay-as-you-go

  • Prepaid: subscription

Prepaid

RegionId

string

Yes

The region ID.

cn-hangzhou

AiNodeType

string

No

The node type. To specify multiple types, separate them with a comma. Valid values:

  • vnode: a node managed by Kubernetes

  • container: a container that you can log on to

  • maas: model service

vnode,container

Tag

array<object>

No

A list of tags.

object

No

Key

string

No

The tag key. Use this parameter with Tag.n.Value to filter clusters by tag. You can specify up to 20 tag pairs. The index n must be a unique, consecutive integer starting from 1.

testKey

Value

string

No

The tag value.

testValueData

Response elements

Element

Type

Description

Example

object

The data returned.

RequestId

string

The request ID.

9D6CE7C6-1C52-5BF6-B3D7-10977D44542C

TotalRecordCount

integer

The total number of entries.

5

PageRecordCount

integer

The number of entries on the current page.

7

PageNumber

integer

The page number. Default value: 1.

1

Items

object

The details of the AI clusters.

DBCluster

array<object>

A list of AI cluster instances.

array<object>

The properties of the AI cluster instance.

DBClusterId

string

The cluster ID.

pc-**************

RegionId

string

The region ID.

cn-hangzhou

ZoneId

string

The zone ID.

cn-hangzhou-j

PayType

string

The billing method. Valid values:

  • Postpaid: pay-as-you-go.

  • Prepaid: subscription.

Postpaid

DBClusterStatus

string

The status of the cluster.

Creating

DBClusterDescription

string

The description of the cluster.

ocpx

VpcId

string

The VPC ID.

vpc-***************

DBNodeClass

string

The node class.

polar.pg.g8.8xlarge.gu30

StorageType

string

The storage type. Valid values:

  • essdpl0

  • essdpl1

  • essdpl2

  • essdpl3

essdpl0

StorageSpace

integer

The storage space. Unit: GB.

10

ExpireTime

string

The expiration time.

Note

This parameter is returned only for subscription clusters. For pay-as-you-go clusters, this parameter is empty.

2028-09-01T16:00:00Z

Expired

boolean

Indicates whether the cluster has expired. Valid values:

  • true

  • false

False

LockMode

string

The lock state of the cluster. Valid values:

  • Unlock: The cluster is not locked.

  • ManualLock: The cluster is manually locked.

  • LockByExpiration: The system automatically locks the cluster upon expiration.

Unlock

CreateTime

string

The time the cluster was created.

2021-09-13T15:45:27Z

KubeClusterId

string

The ID of the Container Service for Kubernetes (ACK) cluster.

xxxxxxxxxxxx

RunType

string

The run type. Valid values:

  • container: The service runs in a container.

  • default: The service runs on a node.

container

DBType

string

The database engine type. Only polardb_ai is supported.

polardb_ai

AiNodeType

string

The node type. Valid values:

vnode: a node managed by Kubernetes; container: a container that supports logon; maas: a model service.

vnode

Tags

object

The tags of the cluster.

Tag

array<object>

A list of tags.

object

A tag attached to the cluster.

Key

string

The tag key.

testKey

Value

string

The tag value.

testValueData

VswitchId

string

The VSwitch ID.

vsw-**************

RelativeDBClusterId

string

The ID of the associated cluster instance.

pc-**************

ModelType

string

The model type.

custom

Examples

Success response

JSON format

{
  "RequestId": "9D6CE7C6-1C52-5BF6-B3D7-10977D44542C",
  "TotalRecordCount": 5,
  "PageRecordCount": 7,
  "PageNumber": 1,
  "Items": {
    "DBCluster": [
      {
        "DBClusterId": "pc-**************",
        "RegionId": "cn-hangzhou",
        "ZoneId": "cn-hangzhou-j",
        "PayType": "Postpaid",
        "DBClusterStatus": "Creating",
        "DBClusterDescription": "ocpx",
        "VpcId": "vpc-***************",
        "DBNodeClass": "\npolar.pg.g8.8xlarge.gu30",
        "StorageType": "essdpl0",
        "StorageSpace": 10,
        "ExpireTime": "2028-09-01T16:00:00Z",
        "Expired": true,
        "LockMode": "Unlock",
        "CreateTime": "2021-09-13T15:45:27Z",
        "KubeClusterId": "xxxxxxxxxxxx",
        "RunType": "container",
        "DBType": "polardb_ai",
        "AiNodeType": "vnode",
        "Tags": {
          "Tag": [
            {
              "Key": "testKey",
              "Value": "testValueData"
            }
          ]
        },
        "VswitchId": "vsw-**************",
        "RelativeDBClusterId": "pc-**************",
        "ModelType": "custom"
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.