Policy > Security > Service Insertion > Service Instances > Tier-0 Gateways

Read all service instance objects under a tier-0

Read all service instance objects under a tier-0 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-0s/<tier-0-id>/locale-services/<locale-service-id>/service-instances
Request Headers:
n/a
Query Parameters:
PolicyServiceInstanceListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc/locale-services/default/service-instances

Successful Response:

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

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 1, "results": [ { "resource_type": "PolicyServiceInstance", "description": "PAN partner service", "id": "PAN-1", "display_name": "pan-service-instance", "path": "/infra/tier-0s/vmc/locale-services/default/service-instances/PAN-1", "parent_path": "/infra/tier-0s/vmc", "relative_path": "PAN-1", "primary_interface_mgmt_ip": "10.161.176.255", "secondary_interface_mgmt_ip": "10.161.176.255", "metadata": "JSON String", "partner_service_location": "https://10.161.176.255/home/admin/abc.ovf", "primary_interface_network": "https://10.161.176.255/home/admin", "secondary_interface_network": "https://10.161.176.255/home/admin", "failure_policy": "FAIL_OPEN", "_system_owned": false, "_create_user": "admin", "_create_time": 1516274764993, "_last_modified_user": "admin", "_last_modified_time": 1516274764993, "_protection": "NOT_PROTECTED", "_revision": 0 } ] }

Required Permissions:

read

Feature:

policy_si

Additional Errors: