ListEndpoints
Queries a list of VPC endpoints created on the Elasticsearch Serverless platform.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
es-serverless:ListEndpoint |
list |
*All Resource
|
None | None |
Request syntax
GET /openapi/es-serverless/endpoints HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| type |
string |
Yes |
The endpoint type. Default value: VPC. |
VPC |
| pageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| pageSize |
integer |
No |
The number of entries per page. Default value: 10. |
10 |
| vpcId |
string |
No |
The ID of the VPC. |
vpc-bp1212sb7cj2j4e6x**** |
| resourceId |
string |
No |
The resource ID. For VPC-type resources, the resource ID corresponds to the PrivateLink instance ID. |
ep-bp1id41dd116e52e**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body structure. |
||
| requestId |
string |
The request ID. |
D6030CE6-9FEB-5B2F-84AC-3ADE3CBA89E5 |
| result |
array<object> |
The returned results. |
|
|
array<object> |
The returned results. |
||
| endpointId |
string |
The endpoint ID. |
essep-2f46b743f60**** |
| resourceId |
string |
The resource ID. For VPC-type resources, the resource ID corresponds to the PrivateLink instance ID. |
ep-bp1id41dd116e52e**** |
| vpcId |
string |
The ID of the VPC. |
vpc-uf6gykvwcirp886ef**** |
| status |
string |
The status of the endpoint. Valid values:
|
Active |
| connectionStatus |
string |
Endpoint connection status of the endpoint. Valid values:
|
Pending |
| type |
string |
The endpoint type. Default value: VPC. |
VPC |
| created |
integer |
The creation timestamp, in seconds. |
1701259721 |
| updated |
integer |
The update timestamp, in seconds. |
1701259721 |
| name |
string |
The name of the endpoint. |
test |
| endpointZones |
array<object> |
The list of zone information. |
|
|
object |
The zone information. |
||
| zoneId |
string |
The zone ID. |
cn-hangzhou-k |
| vSwitchId |
string |
The ID of the vSwitch. The zone where the vSwitch resides must be the same as the zone of the Serverless application. |
vsw-bp194pz9iez**** |
| securityGroupIds |
array |
The list of security group IDs. |
|
|
string |
The security group ID. |
sg-bp1278950t9ykn2s**** |
|
| domain |
string |
The domain name of the endpoint. |
ep-bp1i522d****a3.epsrv-bp1f****gei.cn-hangzhou.privatelink.aliyuncs.com |
| totalCount |
integer |
The total number of records. |
10 |
Examples
Success response
JSON format
{
"requestId": "D6030CE6-9FEB-5B2F-84AC-3ADE3CBA89E5",
"result": [
{
"endpointId": "essep-2f46b743f60****",
"resourceId": "ep-bp1id41dd116e52e****\n",
"vpcId": "vpc-uf6gykvwcirp886ef****",
"status": "Active",
"connectionStatus": "Pending",
"type": "VPC",
"created": 1701259721,
"updated": 1701259721,
"name": "test",
"endpointZones": [
{
"zoneId": "cn-hangzhou-k",
"vSwitchId": "vsw-bp194pz9iez****"
}
],
"securityGroupIds": [
"sg-bp1278950t9ykn2s****"
],
"domain": "ep-bp1i522d****a3.epsrv-bp1f****gei.cn-hangzhou.privatelink.aliyuncs.com"
}
],
"totalCount": 10
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.