Returns a list of custom clusters.
Try it now
Test
RAM authorization
|
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 cluster IDs, separate them with commas (,). |
pc-*************** |
| PageSize |
integer |
No |
The number of entries to return on each page. Valid values: 30, 50, and 100. Default value: 30. |
30 |
| PageNumber |
integer |
No |
The page number. |
1 |
| DBClusterDescription |
string |
No |
The description of the cluster. This parameter supports fuzzy queries. |
pc-**************** |
| DBClusterStatus |
string |
No |
The cluster status. Valid values:
|
Running |
| PayType |
string |
No |
The billing method. Valid values:
|
Prepaid |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| AiNodeType |
string |
No |
The node type. You can specify multiple types. Separate them with a comma (,).
|
vnode,container |
| Tag |
array<object> |
No |
||
|
object |
No |
|||
| Key |
string |
No |
||
| Value |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
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 of the returned page. Default value: 1. |
1 |
| Items |
object |
||
| DBCluster |
array<object> |
The 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 |
| DBClusterStatus |
string |
The cluster status. |
Creating |
| DBClusterDescription |
string |
The cluster description. |
ocpx |
| VpcId |
string |
The ID of the virtual private cloud (VPC) where the endpoint is located. |
vpc-*************** |
| DBNodeClass |
string |
The node specifications. |
polar.pg.g8.8xlarge.gu30 |
| StorageType |
string |
The storage class. Valid values:
|
essdpl0 |
| StorageSpace |
integer |
The storage space after the change. Unit: GB. |
10 |
| ExpireTime |
string |
The expiration time. Note
This parameter is returned only for subscription clusters. For pay-as-you-go clusters, an empty value is returned. |
2028-09-01T16:00:00Z |
| Expired |
boolean |
Indicates whether the cluster has expired. Valid values:
|
False |
| LockMode |
string |
The lock state of the cluster. Valid values:
|
Unlock |
| CreateTime |
string |
The time when the cluster was created. |
2021-09-13T15:45:27Z |
| KubeClusterId |
string |
The ACK cluster ID. |
xxxxxxxxxxxx |
| RunType |
string |
The run type. Valid values:
|
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 you can log on to. maas: A model service. |
vnode |
| Tags |
object |
||
| Tag |
array<object> |
||
|
object |
|||
| Key |
string |
||
| Value |
string |
||
| VswitchId |
string |
||
| RelativeDBClusterId |
string |
pc-************** |
|
| ModelType |
string |
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": "",
"Value": ""
}
]
},
"VswitchId": "",
"RelativeDBClusterId": "pc-**************",
"ModelType": ""
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.