Queries the details of a custom instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeAIDBClusterAttribute |
get |
*AICluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. |
pc-**************** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| AiNodeType |
string |
The node type. Valid values:
|
vnode |
| ApiKey |
string |
The API key. |
x******** |
| CreationTime |
string |
The time when the cluster was created. The time is in the ISO 8601 format in UTC (format: YYYY-MM-DDTHH:mm:ssZ). |
2020-08-14T05:58:42Z |
| CustomOssPath |
string |
The custom model OSS path currently used by the instance. |
/my-model-bucket/models/qwen3 |
| DBClusterDescription |
string |
The cluster description. Fuzzy match is supported. |
test |
| DBClusterId |
string |
The cluster ID. |
pc-************** |
| DBClusterStatus |
string |
The cluster status. Valid values:
|
Running |
| DBInstanceStatusDesc |
string |
||
| DBNodes |
array<object> |
The details of the nodes. |
|
|
array<object> |
The details of the nodes. |
||
| ChildVolumes |
array<object> |
The list of data cloud disks. |
|
|
object |
The data cloud disk information. |
||
| MountPath |
string |
The actual mount path. |
/tmp/CrowdStrike |
| Name |
string |
The disk name. |
jueming |
| SizeGB |
string |
The storage disk size. |
8192 |
| StorageCategory |
string |
The storage type. |
PolarFs |
| StorageType |
string |
The storage category. |
PL1 |
| CpuCores |
string |
The number of CPU cores of the node. |
2 |
| CreationTime |
string |
The creation time. The time is in the ISO 8601 format in UTC (format: YYYY-MM-DDTHH:mm:ssZ). |
2020-08-14T05:58:42Z |
| DBNodeClass |
string |
The cluster specifications. |
polar.pg.g8.8xlarge.gu30 |
| DBNodeDescription |
string |
The node description. |
test |
| DBNodeId |
string |
The node ID. |
pi-**************** |
| DBNodeStatus |
string |
The node status. Valid values:
|
Running |
| GPU |
string |
The number of GPU cards. |
2 |
| LinkIP |
string |
The private IP address. |
10.*.*12 |
| MemorySize |
string |
The memory size of the node. Unit: MB. |
8192 |
| ModelName |
string |
||
| PublicIp |
string |
The public IP address. |
101.101.101.101 |
| SupportedApis |
array<object> |
The supported APIs. |
|
|
object |
|||
| ApiName |
string |
The API name supported by the database node. |
|
| GenerationMode |
string |
||
| Path |
string |
The supported API path. |
|
| Protocol |
string |
The supported API protocol type. |
|
| VNodeId |
string |
The Kubernetes virtual node ID. |
vn-*************** |
| VPCId |
string |
The VPC ID. |
vpc-******************* |
| VSwitchId |
string |
The vSwitch ID. |
vsw-********************* |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-d |
| DBVersion |
string |
The cluster version. Valid values: 1.0 2.0 3.0 |
1.0 |
| DedicatedHostModel |
boolean |
||
| EcsSecurityGroupId |
string |
The security group ID. |
sg-xxxxxx |
| EndpointList |
array<object> |
The list of network endpoints of the instance. |
|
|
array<object> |
The network endpoint of the instance. |
||
| NetInfoItems |
array<object> |
The list of network information of the instance. |
|
|
object |
The network information of the instance. |
||
| ConnectionString |
string |
The database endpoint. |
pc-**********.rwlb.rds.aliyuncs.com |
| NetType |
string |
The network type of the endpoint. Valid values:
|
Public |
| Port |
string |
The port number. |
3306 |
| ExpireTime |
string |
The expiration time of the cluster. Note
Only clusters with the billing method of Prepaid (subscription) return a specific value. Postpaid (pay-as-you-go) clusters return an empty value. The time is in the ISO 8601 format in UTC (format: YYYY-MM-DDTHH:mm:ssZ). |
2020-11-14T16:00:00Z |
| Expired |
boolean |
Indicates whether the cluster has expired. Valid values:
|
false |
| GatewayId |
string |
||
| InferenceEngine |
string |
||
| InternalIp |
string |
The internal IP address. |
10.*.*.72 |
| KVCacheInstanceId |
string |
The KVCache instance ID. |
pkv-xxxxx |
| KubeClusterId |
string |
The ACK cluster ID. |
xxxxxxxxxxxxxxxxxxxxxxx |
| LockMode |
string |
The lock mode of the instance. The value is lock, which indicates that the instance is automatically expired or has an overdue payment. |
Unlock |
| MaxQPM |
string |
The maximum number of requests per minute. |
20 |
| MaxTPM |
string |
||
| ModelName |
string |
The model name. |
Qwen3-Embedding-8B |
| ModelSpaceName |
string |
||
| ModelType |
string |
The model type. |
custom |
| PayType |
string |
The billing method. Valid values:
|
Postpaid |
| PreviousCustomOssPath |
string |
The custom model OSS path before the last change. |
/my-model-bucket/models/qwen2 |
| PublicIp |
string |
The public IP address. |
8.xxx.xxx.xxx |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| RequestId |
string |
Id of the request |
EBEAA83D-1734-42E3-85E3-E25F6E****** |
| RunType |
string |
The architecture type. Valid values:
|
container |
| StorageType |
string |
Valid values for Enterprise Edition storage type:
Valid values for Standard Edition storage type:
|
essdpl1 |
| TimeSlicesInfo |
object |
||
| TimeSlices |
array<object> |
||
|
object |
|||
| BeginTime |
string |
||
| EndTime |
string |
||
| TimeSlicesType |
string |
||
| VPCId |
string |
The VPC ID that can be specified for cross-zone switchover. |
vpc-******************* |
| VSwitchId |
string |
The vSwitch ID. Note
If VPCId is specified, VSwitchId is required. |
vsw-********************* |
| VnodeKubernetesConfig |
object |
||
| Labels |
array<object> |
||
|
object |
|||
| Key |
string |
||
| Value |
string |
||
| Taints |
array<object> |
||
|
object |
|||
| Effect |
string |
||
| Key |
string |
||
| Value |
string |
||
| Volumes |
array<object> |
The list of data cloud disks. |
|
|
object |
The data cloud disk information. |
||
| MountPath |
string |
The mount path inside the container. |
/var/run/secrets/kubernetes.io/serviceaccount |
| Name |
string |
The disk name. |
jueming |
| SizeGB |
string |
The storage size. |
8192 |
| StorageCategory |
string |
The storage type. |
PL1 |
| StorageType |
string |
The storage category. |
PolarFs |
| ZoneId |
string |
The zone ID of the PolarDB cluster node. |
cn-hangzhou-d |
| ZoneIds |
string |
The zone ID. |
cn-hangzhou-i,cn-hangzhou-g |
Examples
Success response
JSON format
{
"AiNodeType": "vnode",
"ApiKey": "x********",
"CreationTime": "2020-08-14T05:58:42Z",
"CustomOssPath": "/my-model-bucket/models/qwen3",
"DBClusterDescription": "test",
"DBClusterId": "pc-**************",
"DBClusterStatus": "Running",
"DBInstanceStatusDesc": "",
"DBNodes": [
{
"ChildVolumes": [
{
"MountPath": "/tmp/CrowdStrike",
"Name": "jueming",
"SizeGB": "8192",
"StorageCategory": "PolarFs",
"StorageType": "PL1"
}
],
"CpuCores": "2",
"CreationTime": "2020-08-14T05:58:42Z",
"DBNodeClass": "\npolar.pg.g8.8xlarge.gu30",
"DBNodeDescription": "test",
"DBNodeId": "pi-****************",
"DBNodeStatus": "Running",
"GPU": "2",
"LinkIP": "10.*.*12",
"MemorySize": "8192",
"ModelName": "",
"PublicIp": "101.101.101.101",
"SupportedApis": [
{
"ApiName": "",
"GenerationMode": "",
"Path": "",
"Protocol": ""
}
],
"VNodeId": "vn-***************",
"VPCId": "vpc-*******************",
"VSwitchId": "vsw-*********************",
"ZoneId": "cn-hangzhou-d\t\n"
}
],
"DBVersion": "1.0",
"DedicatedHostModel": false,
"EcsSecurityGroupId": "sg-xxxxxx",
"EndpointList": [
{
"NetInfoItems": [
{
"ConnectionString": "pc-**********.rwlb.rds.aliyuncs.com",
"NetType": "Public",
"Port": "3306"
}
]
}
],
"ExpireTime": "2020-11-14T16:00:00Z",
"Expired": false,
"GatewayId": "",
"InferenceEngine": "",
"InternalIp": "10.*.*.72",
"KVCacheInstanceId": "pkv-xxxxx",
"KubeClusterId": "xxxxxxxxxxxxxxxxxxxxxxx",
"LockMode": "Unlock",
"MaxQPM": "20",
"MaxTPM": "",
"ModelName": "\nQwen3-Embedding-8B",
"ModelSpaceName": "",
"ModelType": "custom",
"PayType": "Postpaid",
"PreviousCustomOssPath": "/my-model-bucket/models/qwen2",
"PublicIp": "8.xxx.xxx.xxx",
"RegionId": "cn-hangzhou",
"RequestId": "EBEAA83D-1734-42E3-85E3-E25F6E******",
"RunType": "container",
"StorageType": "essdpl1",
"TimeSlicesInfo": {
"TimeSlices": [
{
"BeginTime": "",
"EndTime": ""
}
]
},
"TimeSlicesType": "",
"VPCId": "vpc-*******************",
"VSwitchId": "vsw-*********************",
"VnodeKubernetesConfig": {
"Labels": [
{
"Key": "",
"Value": ""
}
],
"Taints": [
{
"Effect": "",
"Key": "",
"Value": ""
}
]
},
"Volumes": [
{
"MountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"Name": "jueming",
"SizeGB": "8192",
"StorageCategory": "PL1",
"StorageType": "PolarFs"
}
],
"ZoneId": "cn-hangzhou-d\t\n",
"ZoneIds": "cn-hangzhou-i,cn-hangzhou-g"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | The specified DBClusterId parameter is invalid. |
| 404 | InvalidDBClusterId.NotFound | The DBInstanceId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.