Policy > Security > Service Insertion > Virtual Endpoints > Tier-1 Gateways

List all virtual endpoints

List all virtual endpoints This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/<tier-1-id>/locale-services/<locale-service-id>/endpoints/virtual-endpoints
Request Headers:
n/a
Query Parameters:
PolicyListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-1s/avi/locale-services/l1/endpoints/virtual-endpoints

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
VirtualEndpointListResult+

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 1, "results": [ { "resource_type": "VirtualEndpoint", "id": "VEP_1", "display_name": "VEP_1", "path": "/infra/tier-1s/avi/locale-services/l1/endpoints/virtual-endpoints/VEP_1", "parent_path": "/infra/tier-1s/avi", "relative_path": "VEP_1", "marked_for_delete": false, "target_ips": [ { "ip_addresses": [ "111.111.112.11" ], "prefix_length": 32 } ], "service_names": [ "AVI_Service" ], "_create_user": "admin", "_create_time": 1526676234605, "_last_modified_user": "admin", "_last_modified_time": 1526676234605, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 } ] }

Required Permissions:

read

Feature:

policy_si

Additional Errors: