Policy > Security > Service Insertion > Service Definitions

Read Service Definition with given service-definition-id.

Read Service Definition with given service-definition-id.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/enforcement-points/<enforcement-point-id>/service-definitions/<service-definition-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/enforcement-points/default/service-definitions/4727f325-f362-4bd6-8006-961dfd3eca32

Successful Response:

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

Example Response:

{ "resource_type":"ServiceDefinition", "description":"NS-Service", "id":"748be482-a072-4f26-b707-d6e68fc0de16", "display_name":"NS Service_for_VMC", "tags":[ { "scope":"", "tag":"/infra/tier-0s/vmc/locale-services/default/service-instances/PSI-1" } ], "attachment_point":[ "TIER0_LR" ], "transports":[ "L2_BRIDGE" ], "functionalities":[ "NG_FW" ], "on_failure_policy":"ALLOW", "implementations":[ "NORTH_SOUTH" ], "_create_user":"nsx_policy", "_create_time":1522353953977, "_last_modified_user":"nsx_policy", "_last_modified_time":1522353953977, "_system_owned":false, "_protection":"PROTECTED", "_revision":1 }

Required Permissions:

read

Feature:

policy_si

Additional Errors: