Queries the details of a database cluster proxy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeDBClusterProxy |
get |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. |
pc-2zek76tdi709m6mf4 |
| RegionId |
string |
No |
The region ID. Note
For more information, see DescribeRegions. |
cn-hangzhou |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-acfm4ifnqnun3zq |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ChildInstances |
array<object> |
A list of network instances loaded by the Cloud Enterprise Network (CEN) instance. |
|
|
object |
The details of a network instance. |
||
| DBNodeClass |
string |
The node specifications. For more information, see the following documents:
|
polar.mysql.g4.medium |
| DBNodeIP |
string |
The private IP address of the database cluster node. |
10.*.*10 |
| DBNodeId |
string |
The ID of the database cluster node. |
pi-wz97h479y364g9du7 |
| DBNodePort |
string |
The port of the database cluster node. |
2450 |
| DBNodeStatus |
string |
The status of the node. Valid values:
|
Running |
| HostName |
string |
The hostname. |
sh-lsf01-144-37 |
| DBProxyClusterId |
string |
The proxy cluster ID. |
pe-xxxxxxxxx |
| DBProxyClusterNum |
integer |
The number of proxy nodes. |
2 |
| DBProxyClusterStatus |
string |
The status of the proxy cluster. |
ClassChanging |
| RequestId |
string |
The request ID. |
30E11ED2-C922-5B96-BCC6-11EE8C484AC6 |
Examples
Success response
JSON format
{
"ChildInstances": [
{
"DBNodeClass": "polar.mysql.g4.medium",
"DBNodeIP": "10.*.*10",
"DBNodeId": "pi-wz97h479y364g9du7",
"DBNodePort": "2450",
"DBNodeStatus": "Running",
"HostName": "sh-lsf01-144-37"
}
],
"DBProxyClusterId": "pe-xxxxxxxxx",
"DBProxyClusterNum": 2,
"DBProxyClusterStatus": "ClassChanging",
"RequestId": "30E11ED2-C922-5B96-BCC6-11EE8C484AC6"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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.