Queries the list of custom AI clusters.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeAIDBClusters |
get |
*AICluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterIds |
string |
No |
The cluster ID. Separate multiple cluster IDs with commas (,). |
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 match is supported. |
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. Multiple types are supported. Separate two values with a comma (,).
|
vnode,container |
| Tag |
array<object> |
No |
The list of tags. |
|
|
object |
No |
|||
| Key |
string |
No |
The tag key. You can filter the cluster list by tag. You can specify up to 20 tag pairs. The number n for each tag pair must be unique and must be a consecutive integer starting from 1. The value of Tag.n.Key corresponds to Tag.n.Value. |
testKey |
| Value |
string |
No |
The tag value that corresponds to the tag key. |
testValueData |
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 records. |
5 |
| PageRecordCount |
integer |
The number of records on the current page. |
7 |
| PageNumber |
integer |
The page number. Default value: 1. |
1 |
| Items |
object |
||
| DBCluster |
array<object> |
The list of AI cluster instances. |
|
|
array<object> |
The properties of an 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 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 |
| 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:
|
False |
| LockMode |
string |
The lock state of the cluster. Valid values:
|
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 |
| 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 |
| ModelSpace |
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": "testKey",
"Value": "testValueData"
}
]
},
"VswitchId": "vsw-**************",
"RelativeDBClusterId": "pc-**************",
"ModelType": "custom",
"ModelSpace": ""
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.