Retrieves a list of nodes in an AnalyticDB for PostgreSQL instance.
Operation description
You can call this operation to query the information about coordinator and compute nodes in an AnalyticDB for PostgreSQL instance in elastic storage mode or Serverless mode.
Limits
You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:DescribeDBClusterNode |
get |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The instance ID. Note
You can call the DescribeDBInstances operation to query details about all AnalyticDB for PostgreSQL instances within a region, including instance IDs. |
gp-bp*************** |
| NodeType |
string |
No |
The node type. Valid values:
Note
If you do not specify this parameter, the information about all nodes is returned. |
master |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Nodes |
array<object> |
The name of the node. |
|
|
object |
|||
| Name |
string |
The name of the node. |
master-10******* |
| RequestId |
string |
The request ID. |
87E44B48-B306-4AD3-A63B-C8********** |
| DBClusterId |
string |
The instance ID. |
gp-bp*************** |
Examples
Success response
JSON format
{
"Nodes": [
{
"Name": "master-10*******"
}
],
"RequestId": "87E44B48-B306-4AD3-A63B-C8**********",
"DBClusterId": "gp-bp***************"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.