List Private Endpoint Services (V2)
Lists the private endpoint services available across cloud regions.
The base URL for this API is in the following format:
https://${CLUSTER_ENDPOINT}
- You need to fill in
${CLUSTER_ENDPOINT}with that of your Zilliz Cloud cluster. - To get the endpoint, use the Describe Cluster V2 API to extract the values from the responses.
export CLUSTER_ENDPOINT=""
The authentication token should be an API key with appropriate privileges.
The ID of a project used to scope the available services.
The ID of a cloud region used to filter the services.
The page number to return. The first page is 1.
The number of items to return per page. Values outside 1 to 100 use the default value of 10.
export TOKEN="db_admin:xxxxxxxxxxxxx"
curl --request GET \
--url "${CLUSTER_ENDPOINT}/v2/privateEndpointServices" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json"
Returns a successful result or an error message.
A successful response.
The response code.
A paginated list of private endpoint services.
The private endpoint services.
A private endpoint service available in a cloud region.
The cloud region ID.
The cloud provider ID.
The endpoint service name.
Whether the service requires the external cloud account to be added to a whitelist.
The current page number.
The number of items per page.
The total number of matching services.
A failure response.
The response code.
The error message.
{
"code": 0,
"data": {
"endpointServices": [
{
"regionId": "aws-us-west-2",
"cloudId": "aws",
"endpointService": "com.amazonaws.vpce.us-west-2.vpce-svc-xxxxxxxxxxxxxxxxx",
"whitelistRequired": false
}
],
"currentPage": 1,
"pageSize": 10,
"count": 1
}
}