Retrieves the attributes of an instance.
Operation description
This operation retrieves the list of custom endpoints configured by the user to facilitate the management and viewing of private connections or VPC endpoint service settings.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardbx:DescribeDBInstanceAttribute |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region of the instance. |
cn-hangzhou |
| DBInstanceName |
string |
Yes |
The name of the instance. |
pxc-******** |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-aekzaxhezhs5*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DBInstance |
object |
The database instance information. |
|
| AiGatewayEnabled |
string |
Indicates whether the AI gateway is enabled. |
true |
| CanNotCreateColumnar |
boolean |
Indicates whether the column store index feature is supported. |
true |
| CnNodeClassCode |
string |
The CN node specifications. Valid values:
|
polarx.x4.xlarge.2e |
| CnNodeCount |
integer |
The number of CN nodes. |
2 |
| ColumnarInstanceName |
string |
The name of the column store engine instance. |
xxxx |
| ColumnarReadDBInstances |
array |
The information about the column store read-only instances. |
|
|
string |
The information about the column store read-only instances. |
xxx |
|
| CommodityCode |
string |
The commodity type of the instance. The value is fixed to drds_polarxpost_public_cn. |
drds_polarxpost_public_cn |
| ConnAddrs |
array<object> |
The endpoint information. |
|
|
object |
The connection information of the instance. |
||
| ConnectionString |
string |
The endpoint. |
polardbx-xxx.aliyuncs.com |
| Port |
integer |
The connection port number. |
3306 |
| Type |
string |
The connection type. Valid values:
|
VPC |
| VPCId |
string |
The VPC ID. |
vpc-xxxxxx |
| VSwitchId |
string |
The vSwitch ID. |
vsw-********* |
| VpcInstanceId |
string |
The internal CloudInstanceId in the VPC. You can ignore this parameter. |
pxc-zkralxpc5d**** |
| ConnectionString |
string |
The internal network connection information. |
pxc-sprpx766vo****.polarx.singapore.rds.aliyuncs.com |
| CpuType |
string |
The chip type. Default value: intel. |
intel | hygon |
| CreateTime |
string |
The creation time. |
2021-08-31T08:56:25.000+0000 |
| DBInstanceType |
string |
The instance type. Valid values:
|
ReadWrite |
| DBNodeClass |
string |
The node specifications of the instance. |
polarx.x4.large.2e |
| DBNodeCount |
integer |
The number of nodes in the instance. |
2 |
| DBNodes |
array<object> |
The database node information. |
|
|
object |
The node information. |
||
| ComputeNodeId |
string |
The name of the compute node. |
pxc-i-******** |
| DataNodeId |
string |
The name of the storage node. |
pxc-xdb-xxxxxx |
| Id |
string |
The logical node ID. |
pxi-********* |
| NodeClass |
string |
The node specifications. |
polarx.x4.large.2e |
| RegionId |
string |
The region ID of the node. |
cn-hangzhou |
| ZoneId |
string |
The zone name of the node. |
cn-hangzhou-a |
| DBType |
string |
The database type. The value is fixed to polarx. |
polarx |
| DBVersion |
string |
The database version. |
5.5 |
| Description |
string |
The instance description. |
test instance |
| DifferentDNSpec |
boolean |
Indicates whether the specifications of the DN nodes in the instance are different. Valid values:
|
false |
| DnNodeClassCode |
string |
The DN node specifications. Valid values:
|
mysql.x8.large.25 |
| DnNodeCount |
integer |
The number of DN nodes. |
2 |
| DnStorageSpace |
string |
The disk space size of the storage node, in GB. |
20 |
| Engine |
string |
The database type. The value is fixed to polarx. |
polarx |
| EngineVersion |
string |
The DPI engine version. Default value: 2.0. |
2.0 | 3.0 |
| ExpireDate |
string |
The expiration time. The format is yyyy-MM-ddTHH:mm:ss.sss+0000 (UTC). |
2022-08-31T16:00:00.000+0000 |
| Expired |
string |
Indicates whether the instance has expired. Valid values:
|
false |
| GdnInstanceName |
string |
The name of the GDN instance. |
gdn-zkrkuykqglbizdhm |
| GdnMemberList |
array<object> |
The GDN member list. |
|
|
object |
|||
| MemberName |
string |
The member name, which is the PolarDB-X instance name. |
pxc |
| Role |
string |
The node role. Valid values:
|
polarx_cn |
| Status |
string |
The status. |
enabled |
| GdnRole |
string |
The GDN role. |
master | standby |
| Id |
string |
The ID of the primary instance. If this parameter is not returned, the instance is a primary instance. |
pxc-zkralxpc5d**** |
| KindCode |
integer |
The instance DPI engine version. This is an internal parameter. |
18 |
| LTSVersions |
array |
The instance versions. |
|
|
string |
The LTS version number. |
X.X.X.X |
|
| LatestMinorVersion |
string |
The latest Milvus version supported by the current instance. |
polarx-kernel_5.4.11-16301083_xcluster-20210805 |
| LockMode |
string |
The lock mode of the instance. Valid values:
|
Unlock |
| MaintainEndTime |
string |
The end time of the maintenance window. The time is in UTC. Add 8 hours to obtain the maintenance window displayed in the console. |
06:00 |
| MaintainStartTime |
string |
The start time of the maintenance window. The time is in UTC. Add 8 hours to obtain the maintenance window displayed in the console. |
06:00 |
| MinorVersion |
string |
The current Milvus version. |
polarx-kernel_5.4.11-16301083_xcluster-20210805 |
| Network |
string |
The network type of the instance. Only VPC is supported, which indicates a virtual private cloud. |
VPC |
| PayType |
string |
The billing method of the instance. Valid values:
|
Postpaid |
| Port |
string |
The internal network connection port. |
3306 |
| PrimaryInstanceId |
string |
The primary instance ID. |
pxc-hzrof9vitnu8uu |
| PrimaryZone |
string |
The primary zone. |
cn-shenzhen-e |
| ReadDBInstances |
array |
The list of read-only instance names. |
|
|
string |
The read-only instance name. |
pxr-********* |
|
| RegionId |
string |
The region of the instance. |
cn-hangzhou |
| ResourceGroupId |
string |
The resource group ID. |
rg-********* |
| RightsSeparationEnabled |
boolean |
The status of the three-role mode. Valid values:
|
false |
| RightsSeparationStatus |
string |
The status of the three-role mode. Valid values:
|
disabled |
| SearchEnabled |
boolean |
Indicates whether an associated Search instance that is not deleted exists, including instances that are being created or deleted. |
|
| SearchInstance |
object |
The unique Search instance associated with the current primary instance. This parameter is empty if the feature is not enabled. |
|
| InstanceId |
string |
The name of the Search engine instance. |
pxs-*** |
| Status |
string |
The status of the Search engine. |
Running |
| SecondaryZone |
string |
The secondary zone. |
cn-shenzhen-a |
| Series |
string |
The instance edition. Valid values:
|
enterprise |
| SpecCategory |
string |
exclusive: Exclusive. general: General. |
exclusive | general |
| Status |
string |
The instance status. For more information, see the following description. |
Running |
| StorageType |
string |
The storage type. |
custom_local_ssd | cloud_auto |
| StorageUsed |
integer |
The used storage capacity, in bytes. |
17042505728 |
| TagSet |
array<object> |
The tag set. |
|
|
object |
The instance tags. |
||
| Key |
string |
The tag key. |
key2 |
| Value |
string |
The tag value. |
value2 |
| TertiaryZone |
string |
The third zone. |
cn-shenzhen-e |
| TopologyType |
string |
The topology type. Valid values:
|
3azones |
| Type |
string |
The instance type. Valid values:
|
ReadWrite |
| VPCId |
string |
The VPC ID. |
vpc-xxxxx |
| VSwitchId |
string |
The vSwitch ID. |
vsw-******** |
| ZoneId |
string |
The zone where the instance is located. |
cn-hangzhou-a |
| RequestId |
string |
The request ID. |
9B2F3840-5C98-475C-B269-2D5C3A31797C |
Instance status table:
| Status | Description |
| CREATING | Creating |
| Running | Active |
| Deleting | Deleting |
| RESTARTING | Restarting |
| HBASE_COLD_EXPANDING | Expanding cold storage |
| ClassChanging | Changing instance specifications |
| NodeCreating | Adding nodes |
| NodeDeleting | Removing nodes |
| MinorVersionUpgrading | Upgrading the minor version |
| INS_MAINTAINING | Under maintenance |
| ACTIVATION | Under maintenance |
| READINS_MAINTAINING | Read-only instances under maintenance |
| TRANSING | Migrating |
| TRANSING_ACCROSS | Migrating across zones |
| NET_CREATING | Creating network connections |
| NET_DELETING | Releasing network connections |
| NET_MODIFYING | Modifying network connections |
| HA_SWITCHING | Performing primary/secondary switchover |
| CONFIG_SWITCHING | Updating configurations |
| SSL_MODIFYING | Modifying SSL settings |
| TDE_MODIFYING | Modifying TDE settings |
Examples
Success response
JSON format
{
"DBInstance": {
"AiGatewayEnabled": "true",
"CanNotCreateColumnar": true,
"CnNodeClassCode": "polarx.x4.xlarge.2e",
"CnNodeCount": 2,
"ColumnarInstanceName": "xxxx",
"ColumnarReadDBInstances": [
"xxx"
],
"CommodityCode": "drds_polarxpost_public_cn",
"ConnAddrs": [
{
"ConnectionString": "polardbx-xxx.aliyuncs.com",
"Port": 3306,
"Type": "VPC",
"VPCId": "vpc-xxxxxx",
"VSwitchId": "vsw-*********",
"VpcInstanceId": "pxc-zkralxpc5d****"
}
],
"ConnectionString": "pxc-sprpx766vo****.polarx.singapore.rds.aliyuncs.com",
"CpuType": "intel | hygon",
"CreateTime": "2021-08-31T08:56:25.000+0000",
"DBInstanceType": "ReadWrite",
"DBNodeClass": "polarx.x4.large.2e",
"DBNodeCount": 2,
"DBNodes": [
{
"ComputeNodeId": "pxc-i-********",
"DataNodeId": "pxc-xdb-xxxxxx",
"Id": "pxi-*********",
"NodeClass": "polarx.x4.large.2e",
"RegionId": "cn-hangzhou",
"ZoneId": "cn-hangzhou-a"
}
],
"DBType": "polarx",
"DBVersion": "5.5",
"Description": "test instance",
"DifferentDNSpec": false,
"DnNodeClassCode": "mysql.x8.large.25",
"DnNodeCount": 2,
"DnStorageSpace": "20",
"Engine": "polarx",
"EngineVersion": "2.0 | 3.0",
"ExpireDate": "2022-08-31T16:00:00.000+0000",
"Expired": "false",
"GdnInstanceName": "gdn-zkrkuykqglbizdhm",
"GdnMemberList": [
{
"MemberName": "pxc",
"Role": "polarx_cn",
"Status": "enabled"
}
],
"GdnRole": "master | standby",
"Id": "pxc-zkralxpc5d****",
"KindCode": 18,
"LTSVersions": [
"X.X.X.X"
],
"LatestMinorVersion": "polarx-kernel_5.4.11-16301083_xcluster-20210805",
"LockMode": "Unlock",
"MaintainEndTime": "06:00",
"MaintainStartTime": "06:00",
"MinorVersion": "polarx-kernel_5.4.11-16301083_xcluster-20210805",
"Network": "VPC",
"PayType": "Postpaid",
"Port": "3306",
"PrimaryInstanceId": "pxc-hzrof9vitnu8uu",
"PrimaryZone": "cn-shenzhen-e",
"ReadDBInstances": [
"pxr-*********"
],
"RegionId": "cn-hangzhou",
"ResourceGroupId": "rg-*********",
"RightsSeparationEnabled": false,
"RightsSeparationStatus": "disabled",
"SearchEnabled": false,
"SearchInstance": {
"InstanceId": "pxs-***",
"Status": "Running"
},
"SecondaryZone": "cn-shenzhen-a",
"Series": "enterprise",
"SpecCategory": "exclusive | general",
"Status": "Running",
"StorageType": "custom_local_ssd | cloud_auto",
"StorageUsed": 17042505728,
"TagSet": [
{
"Key": "key2",
"Value": "value2"
}
],
"TertiaryZone": "cn-shenzhen-e",
"TopologyType": "3azones",
"Type": "ReadWrite",
"VPCId": "vpc-xxxxx",
"VSwitchId": "vsw-********",
"ZoneId": "cn-hangzhou-a"
},
"RequestId": "9B2F3840-5C98-475C-B269-2D5C3A31797C"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.