Upgrade Service Deployment
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 If the exisiting data store is upgraded or changed, there is an optional parameter to supply the new storage Id during upgrade which would perform the deployment upgrade on the new data store
service-id
service-deployment-id
{
"deployment_spec_name": "string",
"storage_id": "string"
}
This indicates the deployment spec.
Moref of the datastore in VC.
OK
Not Found
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/v1/serviceinsertion/services/{service-id}/service-deployments/{service-deployment-id}?action=upgrade