NSX-T Data Center REST API
Create or update service profile
Create or update Service profile to specify vendor temp- late attributes for a given 3rd party service. This API is only available when using VMware NSX-T.Request:
Method:
PUT
URI Path(s):
/policy/api/v1/infra/service-references/<service-reference-id>/service-profiles/<service-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
PolicyServiceProfile+
Example Request:
PUT https://<policy-mgr>/policy/api/v1/infra/service-references/SR-1/service-profiles/SP_1 { "id":"SP_1", "display_name":"SP 1", "vendor_template_name":"test template", "redirection_action":"COPY", "attributes":[], "_revision": 0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyServiceProfile+