DescribeAgenticDBClusters
Queries the list of Agentic Database clusters.
Operation description
Operation description
This operation supports filtering and returning the list of related model operators based on the
RelativeDBClusterIdandKubeTypeparameters.Note: Ensure that the
RelativeDBClusterIdprovided in the request matches an existing PolarDB database instance ID. Otherwise, data cannot be retrieved correctly.
Try it now
Test
RAM authorization
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| DBClusterIds |
string |
No |
The cluster ID. Separate multiple cluster IDs with commas (,). |
pc-************** |
| AgenticDbClusterIds |
string |
No |
The Agentic cluster ID. Separate multiple cluster IDs with commas (,). |
pagc-************** |
| DBClusterDescription |
string |
No |
The cluster description. Fuzzy match is supported. |
pc-**************** |
| DBClusterStatus |
string |
No |
The cluster status. |
Running |
| 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 |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-************ |
| Tag |
array<object> |
No |
The tags. |
|
|
object |
No |
The tags. |
||
| Value |
string |
No |
The tag value that corresponds to the tag key. |
testValueData |
| 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. |
type |
| MaxResults |
integer |
No |
The maximum number of entries to return. Default value: 10. |
10 |
| NextToken |
string |
No |
The pagination token. Set this parameter to the NextToken value returned in the previous API call. If there is no next query, do not pass this parameter. |
212db86sca4384811e0b5e8707e****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| TotalRecordCount |
integer |
The total number of records. |
1 |
| PageRecordCount |
integer |
The number of clusters on the current page. |
1 |
| RequestId |
string |
The request ID. |
CDB3258F-B5DE-43C4-8935-CBA0CA****** |
| PageNumber |
integer |
The page number. |
1 |
| Items |
array<object> |
The cluster list. |
|
|
array<object> |
The SSL connection information. |
||
| DBClusterId |
string |
The cluster ID. |
pc-xxxxxx |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-i |
| DBClusterStatus |
string |
The cluster status. |
Running |
| CreateTime |
string |
The time when the cluster was created. |
2020-08-14T05:58:42Z |
| DBClusterDescription |
string |
The cluster description. |
ocpx |
| DBType |
string |
The database engine type. |
MySQL |
| DBVersion |
string |
The database engine version. |
8.0 |
| Category |
string |
The cluster edition. Valid values:
|
Normal |
| ServerlessType |
string |
The serverless type. A value of AgileServerless indicates that the cluster is a serverless cluster. |
AgileServerless |
| PayType |
string |
The billing method. Valid values:
|
Postpaid |
| StorageType |
string |
The storage type. Valid values:
|
city_redundancy |
| StorageUsed |
integer |
The storage usage of the cluster. Unit: bytes. |
3009413120 |
| ScaleMin |
string |
The minimum value: 0 to 32 PCUs. The minimum value must be less than or equal to the maximum value. Unit: PCU. |
1 |
| ScaleMax |
string |
The maximum value: 1 to 32 PCUs. Unit: PCU. |
9 |
| VpcId |
string |
The ID of the virtual private cloud (VPC) in which the endpoint resides. |
vpc-**************** |
| VswitchId |
string |
The vSwitch ID. |
vsw-************** |
| Expired |
string |
Indicates whether the cluster has expired. Valid values:
Note
This parameter is returned only for clusters whose billing method is Prepaid (subscription). |
false |
| LockMode |
string |
The lock status of the cluster. Valid values:
|
Unlock |
| ExpireTime |
string |
The expiration time of the cluster. Note
A specific value is returned only for clusters whose billing method is Prepaid (subscription). An empty value is returned for Postpaid (pay-as-you-go) clusters. |
2025-06-25T09:37:10Z |
| Tags |
array<object> |
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. |
|
|
object |
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. |
||
| Value |
string |
testValueData |
|
| Key |
string |
MySQL |
|
| AgenticDbClusterId |
string |
The Agentic cluster ID. |
pagc-************** |
| AgenticDbClusterDescription |
string |
The Agentic cluster description. |
pagc-************** |
| NextToken |
string |
The pagination token. Set this parameter to the NextToken value returned in the previous API call. If there is no next query, do not pass this parameter. |
212db86sca4384811e0b5e8707e****** |
| MaxResults |
integer |
The maximum number of entries to return. Default value: 10. |
10 |
Examples
Success response
JSON format
{
"TotalRecordCount": 1,
"PageRecordCount": 1,
"RequestId": "CDB3258F-B5DE-43C4-8935-CBA0CA******",
"PageNumber": 1,
"Items": [
{
"DBClusterId": "pc-xxxxxx",
"RegionId": "cn-hangzhou",
"ZoneId": "cn-hangzhou-i",
"DBClusterStatus": "Running",
"CreateTime": "2020-08-14T05:58:42Z",
"DBClusterDescription": "ocpx",
"DBType": "MySQL",
"DBVersion": "8.0",
"Category": "Normal",
"ServerlessType": "AgileServerless",
"PayType": "Postpaid",
"StorageType": "city_redundancy",
"StorageUsed": 3009413120,
"ScaleMin": "1",
"ScaleMax": "9",
"VpcId": "vpc-****************",
"VswitchId": "vsw-**************",
"Expired": "false",
"LockMode": "Unlock",
"ExpireTime": "2025-06-25T09:37:10Z",
"Tags": [
{
"Value": "testValueData",
"Key": "MySQL"
}
],
"AgenticDbClusterId": "pagc-**************",
"AgenticDbClusterDescription": "pagc-**************"
}
],
"NextToken": "212db86sca4384811e0b5e8707e******",
"MaxResults": 10
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.