Management Plane API > Security > Services > Service Insertion

Upgrade all VMs part of this service deployment to new Spec OVF.

If new deployment spec is provided, the deployment will be moved to the provided spec provided
that current deployment state is either UPGRADE_FAILED or DEPLOYMENT_SUCCESSFUL
If same deployment spec is provided, upgrade will be done only if current deployment state is
UPGRADE_FAILED

Request:

Method:
POST
URI Path(s):
/api/v1/serviceinsertion/services/<service-id>/service-deployments/<service-deployment-id>?action=upgrade
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
DeploymentSpecName+

Example Request:

POST https://<nsx-mgr>/api/v1/serviceinsertion/services/564dab50-63a0-8b4f-a1f8-20e4d36efc3b/service-deployments/01dfa028-bc90-4be4-bda1-a98b4eb65856?action=upgrade { "deployment_spec_name": "EW_DepSpec" }

Successful Response:

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

Required Permissions:

crud

Feature:

service_insertion

Additional Errors: