DescribeConnectableClusters
Retrieves the list of instances that can establish private network peering with the current instance. Instances that are already connected are not included.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:DescribeConnectableClusters |
get |
*Instance
|
None | None |
Request syntax
GET /openapi/instances/{InstanceId}/connectable-clusters HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The current instance ID. |
es-cn-n6w1o1x0w001c**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| alreadySetItems |
boolean |
No |
Specifies whether to return instances that are already connected. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D*** |
| Result |
array<object> |
The returned result. |
|
|
object |
|||
| networkType |
string |
The network type of the instance. |
vpc |
| instances |
string |
The instance IDs that can establish private network peering. |
es-cn-xxx |
Examples
Success response
JSON format
{
"RequestId": "5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D***",
"Result": [
{
"networkType": "vpc",
"instances": "es-cn-xxx"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InstanceActivating | Instance is activating | |
| 400 | InstanceNotFound | The instanceId provided does not exist |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.