Policy > Security > Service Insertion > Service Chains

List all service chain mappings for given service profile.

List all service chain mappings in the system for the given service profile.
If no explicit enforcement point is provided in the request, will return for
default. Else, will return for specified points.
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/service-references/<service-reference-id>/service-profiles/<service-profile-id>/service-chain-mappings
Request Headers:
n/a
Query Parameters:
PolicySIEnforcementPointRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/service-references/SR_1/service-profiles/SP_1/service-chain-mappings

Successful Response:

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

Example Response:

{ "result_count": 2, "results": [ { "service_chain_id": "1", "service_index": 3, "direction": "FORWARD" }, { "service_chain_id": "1", "service_index": 2, "direction": "REVERSE" } ] }

Required Permissions:

read

Feature:

policy_si

Additional Errors: