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

Read virtual endpoint

Read virtual endpoint with given id under given Tier1. 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/<virtual-endpoint-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

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

Successful Response:

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

Example Response:

{ "resource_type": "VirtualEndpoint", "id": "VEP_1", "display_name": "VEP_1", "path": "/infra/tier-1s/avi/locale-services/default/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: