Management Plane API > Security > Services > Service Insertion

List all InstanceEndpoints of a Service Instance.

List all InstanceEndpoints of a service instance.

Request:

Method:
GET
URI Path(s):
/api/v1/serviceinsertion/services/<service-id>/service-instances/<service-instance-id>/instance-endpoints
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/serviceinsertion/services/03a31751-beaa-4a75-a3c9-04043479f0ec/service-instances/01dfa028-bc90-4be4-bda1-a98b4eb65856/instance-endpoints

Successful Response:

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

Example Response:

{ "result_count": 1, "results": [ { "resource_type": "InstanceEndpoint", "id": "01dfa028-bc90-4be4-bda1-a98b4eb65856", "display_name": "Appliance 1 Endpoint 1", "service_attachment_id": "bbb60890-6f48-418d-a7d5-5aaf65fc4e5b", "service_instance_id": "79b29ea5-051a-4ab2-af85-fb6520a9f881", "endpoint_type": "LOGICAL", "target_ips": [ { "ip_addresses": [ "192.168.100.2" ], "prefix_length": 24 } ] } ] }

Required Permissions:

read

Feature:

service_insertion

Additional Errors: