DescribeDbClusterAttributeZonal
Queries the details of an edge cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeDbClusterAttributeZonal |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. |
pc-************** |
| DescribeType |
string |
No |
Specifies whether to retrieve AI-related node information. |
AI |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| DeletionLock |
integer |
The lock status for cluster deletion. Valid values:
|
0 |
| Category |
string |
The edition. Valid values:
Note
|
Normal |
| ResourceGroupId |
string |
The resource group ID. |
rg-************ |
| DataLevel1BackupChainSize |
integer |
The total size of level-1 backups (snapshots). Unit: bytes. |
74448896 |
| DBClusterId |
string |
The cluster ID. |
pc-************** |
| DBType |
string |
The database engine type. |
MySQL |
| DBClusterNetworkType |
string |
The network type of the cluster. |
VPC |
| IsLatestVersion |
boolean |
Indicates whether the kernel version is the latest. Valid values:
|
false |
| HasCompleteStandbyRes |
boolean |
Indicates whether to replenish the resources of the new primary database after a cross-zone switch. Valid values:
|
false |
| HotStandbyCluster |
string |
Indicates whether the Hot Standby Cluster (and standby compute nodes) is enabled. Valid values:
|
StandbyClusterON |
| DataSyncMode |
string |
The data replication relationship pattern. Valid values:
|
AsyncSync |
| StandbyHAMode |
string |
The cross-zone disaster recovery mode. Valid values:
|
OFF |
| CompressStorageMode |
string |
Indicates whether storage compression is enabled. Valid values:
|
ON |
| StorageMax |
integer |
The maximum storage capacity for the current cluster specifications. Unit: bytes. |
10995116277760 |
| DBVersion |
string |
The database engine version. |
8.0 |
| DBNodes |
array<object> |
The details of the nodes. |
|
|
object |
|||
| DBNodeStatus |
string |
The node status. Valid values:
|
Running |
| SubGroupDescription |
string |
SubGroupDescription |
SubGroupDescription |
| AddedCpuCores |
string |
The number of CPU cores added by the automatic scaling of local resources. |
6 |
| Orca |
string |
The Orca feature status. Valid values:
|
off |
| DBNodeRole |
string |
The node role. Valid values:
|
Reader |
| SubCluster |
string |
The zone where the node is deployed. This parameter is mainly used for resource symmetry. Valid values:
|
Primary |
| ImciSwitch |
string |
Indicates whether the In-Memory Column Index (IMCI) feature is enabled. Valid values:
|
ON |
| DBNodeId |
string |
The node ID. |
pi-**************** |
| RemoteMemorySize |
string |
The remote memory size. Unit: MB. |
3072 |
| MultiMasterLocalStandby |
string |
MultiMasterLocalStandby |
MultiMasterLocalStandby |
| MultiMasterPrimaryNode |
string |
MultiMasterPrimaryNode |
MultiMasterPrimaryNode |
| SccMode |
string |
Indicates whether the global consistency (high-performance mode) feature is enabled for the node. Valid values:
|
ON |
| FailoverPriority |
integer |
The failover priority. Each node has a failover priority, which determines the probability of the node being elected as the primary node during a failover. A higher value indicates a higher priority. Valid values: 1 to 15. |
1 |
| ServerWeight |
string |
The routing weight. Valid values: 1 to 100. Default value: 1. |
1 |
| DBNodeDescription |
string |
The node description. |
test |
| MemorySize |
string |
The memory size of the node. Unit: MB. |
8192 |
| MirrorInsName |
string |
The name of the hot replica corresponding to the node in the hot standby storage and compute architecture. |
pi-bp18z52mirror***** |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-d |
| MaxConnections |
integer |
The maximum number of concurrent connections to the cluster. |
8000 |
| MaxIOPS |
integer |
The maximum number of I/O requests per second, namely IOPS. |
32000 |
| DBNodeClass |
string |
The node specifications. |
polar.mysql.x4.large |
| ServerlessType |
string |
The serverless type. Valid values:
|
AgileServerless |
| CreationTime |
string |
The time when the cluster was created. The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time is displayed in UTC. |
2020-08-14T05:58:42Z |
| CpuCores |
string |
The number of CPU cores of the node. |
2 |
| MasterId |
string |
The primary node ID of the Multi-master Cluster Edition. |
pi-bp18z52akld3***** |
| HotReplicaMode |
string |
Indicates whether the hot standby feature is enabled. Valid values:
|
ON |
| ZoneIds |
string |
The zone ID. |
cn-hangzhou-i,cn-hangzhou-g |
| MaintainTime |
string |
The maintenance window of the cluster. The time follows the ISO 8601 standard in the |
18:00Z-19:00Z |
| Engine |
string |
The database engine. |
POLARDB |
| Tags |
array<object> |
The details of the tags. |
|
|
object |
|||
| Value |
string |
The tag value. |
MySQL |
| Key |
string |
The tag key. |
test |
| RequestId |
string |
The request ID. |
074467EF-86B9-4C23-ACBF-E9B81A****** |
| VPCId |
string |
The VPC ID. |
vpc-********** |
| DBClusterStatus |
string |
The cluster status. Valid values:
|
Running |
| VSwitchId |
string |
The vSwitch ID. |
vsw-********** |
| DBClusterDescription |
string |
The cluster description. |
test |
| Expired |
string |
Indicates whether the cluster has expired. Note
This parameter is returned only for clusters whose billing method is Prepaid (subscription). |
false |
| PayType |
string |
The billing method. Valid values:
|
Prepaid |
| StoragePayType |
string |
The storage billing method. Valid values:
|
Prepaid |
| LockMode |
string |
The lock mode. Valid values:
|
Unlock |
| StorageUsed |
integer |
The amount of used storage space. Unit: bytes. |
3012558848 |
| CompressStorageUsed |
integer |
The size of the compressed storage data. Note
This parameter is returned only when the storage compression feature is enabled for the cluster. |
15529410560 |
| StorageSpace |
integer |
The storage space. Unit: GB. |
50 |
| DBVersionStatus |
string |
The status of the current minor engine version. Valid values:
Note
|
Stable |
| CreationTime |
string |
The time when the cluster was created. The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time is displayed in UTC. |
2020-08-14T05:58:42Z |
| SQLSize |
integer |
The storage usage of SQL statements. Unit: bytes. A value of -1 indicates that no data is available. |
0 |
| InodeTotal |
integer |
The maximum number of inodes in the file system. |
6,291,456 |
| InodeUsed |
integer |
The number of used inodes. |
4,194,304 |
| BlktagTotal |
integer |
The maximum number of blktags in the file system. |
7,864,320 |
| BlktagUsed |
integer |
The number of used blktags. |
5,242,880 |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| 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 clusters whose billing method is Postpaid (pay-as-you-go). The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time is displayed in UTC. |
2020-11-14T16:00:00Z |
| SubCategory |
string |
The specification type of the compute nodes. Valid values:
Note
This parameter is returned only for PolarDB for MySQL Cluster Edition clusters. |
Exclusive |
| IsProxyLatestVersion |
boolean |
Indicates whether the database proxy is of the latest version. Valid values:
|
false |
| StorageType |
string |
The storage type of the Enterprise Edition. Valid values:
The storage type of the Standard Edition. Valid values:
|
ESSDPL0 |
| ServerlessType |
string |
The serverless type. Valid values:
|
AgileServerless |
| StrictConsistency |
string |
Indicates whether strict data consistency across multiple zones is enabled for the cluster. Valid values:
|
ON |
| ProxyCpuCores |
string |
The number of CPU cores of the database proxy. |
4 |
| ProxyStandardCpuCores |
string |
The number of CPU cores in the standard configuration of the database proxy. |
2 |
| ProxyType |
string |
The database proxy type. Valid values:
|
Exclusive |
| ProxyStatus |
string |
The status of the database proxy. Valid values:
|
Running |
| ProxyServerlessType |
string |
The serverless type of the database proxy. Valid values:
|
SteadyServerless |
| Architecture |
string |
The CPU architecture. Valid values:
|
x86 |
| AiType |
string |
The AI node type. Valid values:
|
DLNode |
| ProvisionedIops |
string |
The provisioned read and write IOPS of the ESSD AutoPL cloud disk. Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}. Baseline performance = min{1,800 + 50 × Capacity, 50,000}. Note This parameter is supported only when StorageType is set to ESSDAUTOPL. |
1000 |
| AiCreatingTime |
string |
The start time of the free AI feature. The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. The time is displayed in UTC. |
2024-03-13T01:20:28Z |
| SupportInstantSwitchWithImci |
string |
Indicates whether the failover with hot replica feature compatible with IMCI is supported. |
ON |
| Orca |
string |
The Orca feature. Valid values:
|
ON |
| SourceDBCluster |
string |
The ID of the source cluster. Note This parameter is supported only for clusters restored from a backup set or a point in time after June 1, 2024. |
pc-pz51ziv48317b2880 |
| RestoreType |
string |
The cluster restoration method. Valid values:
Note This parameter is supported only for clusters restored from a backup set or a point in time after June 1, 2024. |
RestoreByTime |
| RestoreDataPoint |
string |
Note This parameter is supported only for clusters restored from a backup set or a point in time after June 1, 2024. |
2179639137 |
| SourceRegionId |
string |
The region ID of the source cluster. Note This parameter is returned only when the source cluster ID exists. |
cn-beijing |
| ImciAutoIndex |
string |
The automatic IMCI-based query acceleration feature. Valid values:
|
OFF |
| AutoUpgradeMinorVersion |
string |
The minor version update policy. Valid values:
|
Auto |
| BurstingEnabled |
string |
Specifies whether I/O performance burst is enabled for ESSD AutoPL cloud disks. Valid values:
|
false |
| RowCompression |
string |
RowCompression |
OFF |
| ImperceptibleSwitch |
string |
The seamless switchover feature. Valid values:
|
False |
| DBClusterClass |
string |
The cluster specifications. |
polar.mysql.x8.medium.c |
Examples
Success response
JSON format
{
"DeletionLock": 0,
"Category": "Normal",
"ResourceGroupId": "rg-************",
"DataLevel1BackupChainSize": 74448896,
"DBClusterId": "pc-**************",
"DBType": "MySQL",
"DBClusterNetworkType": "VPC",
"IsLatestVersion": false,
"HasCompleteStandbyRes": false,
"HotStandbyCluster": "StandbyClusterON",
"DataSyncMode": "AsyncSync",
"StandbyHAMode": "OFF",
"CompressStorageMode": "ON",
"StorageMax": 10995116277760,
"DBVersion": "8.0",
"DBNodes": [
{
"DBNodeStatus": "Running",
"SubGroupDescription": "SubGroupDescription",
"AddedCpuCores": "6",
"Orca": "off",
"DBNodeRole": "Reader",
"SubCluster": "Primary",
"ImciSwitch": "ON",
"DBNodeId": "pi-****************",
"RemoteMemorySize": "3072",
"MultiMasterLocalStandby": "MultiMasterLocalStandby",
"MultiMasterPrimaryNode": "MultiMasterPrimaryNode",
"SccMode": "ON",
"FailoverPriority": 1,
"ServerWeight": "1",
"DBNodeDescription": "test",
"MemorySize": "8192",
"MirrorInsName": "pi-bp18z52mirror*****",
"ZoneId": "cn-hangzhou-d\t\n",
"MaxConnections": 8000,
"MaxIOPS": 32000,
"DBNodeClass": "polar.mysql.x4.large",
"ServerlessType": "AgileServerless",
"CreationTime": "2020-08-14T05:58:42Z",
"CpuCores": "2",
"MasterId": "pi-bp18z52akld3*****",
"HotReplicaMode": "ON"
}
],
"ZoneIds": "cn-hangzhou-i,cn-hangzhou-g",
"MaintainTime": "18:00Z-19:00Z",
"Engine": "POLARDB",
"Tags": [
{
"Value": "MySQL",
"Key": "test"
}
],
"RequestId": "074467EF-86B9-4C23-ACBF-E9B81A******",
"VPCId": "vpc-**********",
"DBClusterStatus": "Running",
"VSwitchId": "vsw-**********",
"DBClusterDescription": "test",
"Expired": "false",
"PayType": "Prepaid",
"StoragePayType": "Prepaid",
"LockMode": "Unlock",
"StorageUsed": 3012558848,
"CompressStorageUsed": 15529410560,
"StorageSpace": 50,
"DBVersionStatus": "Stable",
"CreationTime": "2020-08-14T05:58:42Z",
"SQLSize": 0,
"InodeTotal": 0,
"InodeUsed": 0,
"BlktagTotal": 0,
"BlktagUsed": 0,
"RegionId": "cn-hangzhou",
"ExpireTime": "2020-11-14T16:00:00Z",
"SubCategory": "Exclusive",
"IsProxyLatestVersion": false,
"StorageType": "ESSDPL0",
"ServerlessType": "AgileServerless",
"StrictConsistency": "ON",
"ProxyCpuCores": "4",
"ProxyStandardCpuCores": "2",
"ProxyType": "Exclusive",
"ProxyStatus": "Running",
"ProxyServerlessType": "SteadyServerless",
"Architecture": "x86",
"AiType": "DLNode",
"ProvisionedIops": "1000",
"AiCreatingTime": "2024-03-13T01:20:28Z",
"SupportInstantSwitchWithImci": "ON",
"Orca": "ON",
"SourceDBCluster": "pc-pz51ziv48317b2880",
"RestoreType": "RestoreByTime",
"RestoreDataPoint": "2179639137",
"SourceRegionId": "cn-beijing",
"ImciAutoIndex": "OFF",
"AutoUpgradeMinorVersion": "Auto",
"BurstingEnabled": "false",
"RowCompression": "OFF",
"ImperceptibleSwitch": "False",
"DBClusterClass": "polar.mysql.x8.medium.c"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | |
| 403 | Forbidden.RAM | User not authorized to operate on the specified resource, or this API does not support RAM. | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId 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.