Management Plane API > Security > Services > Service Insertion

Upgrade service VMs using newer version of OVF

Upgrade service VMs using newer version of OVF.
Upgrade is a 2 step process. Update the 'deployment_spec_name' in the
ServiceInstance to the new DeploymentSpec to which the service VMs will be
upgraded, folowed by this 'upgrade' api.
In case of HA, the stand-by service VM will be upgrade first. Once it has been upgraded,
it switches to be the Active one and then the other VM will be upgrade.

Request:

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

Example Request:

POST https://<nsx-mgr>/api/v1/serviceinsertion/services/564dab50-63a0-8b4f-a1f8-20e4d36efc3b/service-instances/564dab50-63a0-8b4f-a1f8-20e4d36efc3c/instance-runtimes?action=upgrade

Successful Response:

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

Required Permissions:

crud

Feature:

service_insertion

Additional Errors: