ListVpcEndpoints
Queries the status of VPC endpoints in the VPC of the service account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:ListVpcEndpoints |
get |
*Instance
|
None | None |
Request syntax
GET /openapi/instances/{InstanceId}/vpc-endpoints HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
es-cn-2r429tctl000d**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| size |
integer |
No |
The number of entries to return per page. Default value: 20. |
10 |
| page |
integer |
No |
The page number. Starting value: 1. Default value: 1. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
F99407AB-2FA9-489E-A259-40CF6DCC47D9 |
| Result |
array<object> |
The endpoint details. |
|
|
object |
|||
| endpointBusinessStatus |
string |
The business status of the endpoint. Valid values:
|
Normal |
| serviceId |
string |
The ID of the endpoint service associated with the endpoint. |
epsrv-bp1w0p3jdirbfmt6**** |
| endpointName |
string |
The name of the endpoint. |
test |
| endpointId |
string |
The ID of the endpoint. |
ep-bp1tah7zbrwmkjef**** |
| serviceName |
string |
The name of the endpoint service associated with the endpoint. |
com.aliyuncs.privatelink.cn-hangzhou.epsrv-bp1w0p3jdirbfmt6**** |
| createTime |
string |
The time when the endpoint was created. The time is displayed in UTC and follows the ISO 8601 standard. |
2021-07-22T01:19:24Z |
| connectionStatus |
string |
The connection status of the endpoint. Valid values:
|
Disconnected |
| endpointDomain |
string |
The domain name of the endpoint, which is used for connection configuration. |
ep-bp18s6wy9420wdi4****.epsrv-bp1bz3efowa4kc0****.cn-hangzhou.privatelink.aliyuncs.com |
| endpointStatus |
string |
The status of the endpoint. Valid values:
|
Active |
Examples
Success response
JSON format
{
"RequestId": "F99407AB-2FA9-489E-A259-40CF6DCC47D9",
"Result": [
{
"endpointBusinessStatus": "Normal",
"serviceId": "epsrv-bp1w0p3jdirbfmt6****",
"endpointName": "test",
"endpointId": "ep-bp1tah7zbrwmkjef****",
"serviceName": "com.aliyuncs.privatelink.cn-hangzhou.epsrv-bp1w0p3jdirbfmt6****",
"createTime": "2021-07-22T01:19:24Z",
"connectionStatus": "Disconnected",
"endpointDomain": "ep-bp18s6wy9420wdi4****.epsrv-bp1bz3efowa4kc0****.cn-hangzhou.privatelink.aliyuncs.com",
"endpointStatus": "Active"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ComponentCodeValueError | component value is disable | |
| 401 | UserNotOpen | Aliyun account is not open elasticsearch | |
| 401 | StsRoleAccountNoPermission | Role account has no permission or expired | |
| 401 | SubAccountNoPermission | Aliyun sub account has no permission, please authorize your sub account in Aliyun RAM | |
| 401 | UserUnauthorized | Authentication required |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.