Queries the details of all data nodes (Data Nodes) in a PolarDB-X instance, including node status, storage usage, and network addresses, to facilitate operations management and monitoring.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardbx:DescribePolarxDataNodes |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region in which the instance resides. |
cn-shanghai |
| PageNumber |
integer |
No |
The page number. The value must be a positive integer that does not exceed the maximum value of the integer data type. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
30 |
| NodeType |
string |
No |
The type of nodes to query. Valid values:
|
dn |
| SearchKey |
string |
No |
The keyword for filtering results. |
pc-bp1c5w4fx****2274 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
BD99340C-4A45-548B-****-27584B0BCFFF |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
0 |
| TotalNumber |
integer |
The total number of nodes. |
0 |
| DBInstanceDataNodes |
array<object> |
The list of node information. |
|
|
object |
The list of node information. |
||
| DBInstanceName |
string |
The instance ID. |
pxc-hzrp5m****04w4 |
| DBInstanceId |
string |
The instance ID. |
pxc-hzrlcjc****sz9 |
| DBInstanceDescription |
string |
The description of the node instance. |
pxc-z****nfxsxy728 : PROD-OMS-Auto-ProductionDBCloneInstance |
Examples
Success response
JSON format
{
"RequestId": "BD99340C-4A45-548B-****-27584B0BCFFF",
"PageNumber": 1,
"PageSize": 0,
"TotalNumber": 0,
"DBInstanceDataNodes": [
{
"DBInstanceName": "pxc-hzrp5m****04w4",
"DBInstanceId": "pxc-hzrlcjc****sz9",
"DBInstanceDescription": "pxc-z****nfxsxy728 : PROD-OMS-Auto-生产库克隆实例"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidPageSize.Malformed | The specified parameter PageSize is not valid. | english description1 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.