NSX-T Data Center REST API

Create service chain

Create Service chain representing the sequence in which 3rd party
services must be consumed.
This API is only available when using VMware NSX.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/service-chains/{service-chain-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
PolicyServiceChain+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/service-chain/SC-1 { "resource_type" : "PolicyServiceChain", "display_name" : "PSC_1", "description" : "PSC_1 Desc", "forward_path_service_profiles": [ "/infra/service-references/SR_1/service-profiles/SP_1", "/infra/service-references/SR_1/service-profiles/SP_2" ], "reverse_path_service_profiles": [ "/infra/service-references/SR_1/service-profiles/SP_2", "/infra/service-references/SR_1/service-profiles/SP_1" ], "service_segment_path": [ "/infra/segments/service-segments/SS_1" ], "failure_policy": "ALLOW", "path_selection_policy": "ANY" }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

policy_ni

Additional Errors: