Patch Deployment Using PATCH

Patch Deployment Using PATCH

Updates the deployment with the supplied ID.

Request
URI
PATCH
https://{api_host}//api.mgmt.cloud.vmware.com/deployment/api/deployments/{depId}
COPY
Path Parameters
string
depId
Required

Deployment ID


Request Body

A set of fields to overwrite the corresponding fields in the deployment

DeploymentUpdate of type(s) application/json
Optional
{
    "description": "string",
    "name": "string"
}
string
description
Optional

New description of the deployment

string
name
Optional

New name of the deployment

Responses
200

OK

Returns Deployment of type(s) */*
{
    "blueprintId": "string",
    "blueprintVersion": "string",
    "catalogItemId": "string",
    "catalogItemVersion": "string",
    "createdAt": "string",
    "createdBy": "string",
    "description": "string",
    "expense": {
        "additionalExpense": "number",
        "code": "string",
        "computeExpense": "number",
        "lastUpdatedTime": "string",
        "message": "string",
        "networkExpense": "number",
        "storageExpense": "number",
        "totalExpense": "number",
        "unit": "string"
    },
    "iconId": "string",
    "id": "string",
    "lastRequest": {
        "actionId": "string",
        "blueprintId": "string",
        "catalogItemId": "string",
        "completedTasks": 0,
        "createdAt": "string",
        "deploymentId": "string",
        "details": "string",
        "id": "string",
        "name": "string",
        "parentId": "string",
        "requestedBy": "string",
        "requester": "string",
        "resourceName": "string",
        "resourceType": "string",
        "status": "string",
        "statusDetails": "string",
        "totalTasks": 0,
        "updatedAt": "string"
    },
    "lastUpdatedAt": "string",
    "lastUpdatedBy": "string",
    "leaseExpireAt": "string",
    "name": "string",
    "project": {
        "id": "string",
        "link": "string",
        "name": "string"
    },
    "projectId": "string",
    "resources": [
        {
            "createdAt": "string",
            "dependsOn": [
                "string"
            ],
            "description": "string",
            "expense": {
                "additionalExpense": "number",
                "code": "string",
                "computeExpense": "number",
                "lastUpdatedTime": "string",
                "message": "string",
                "networkExpense": "number",
                "storageExpense": "number",
                "totalExpense": "number",
                "unit": "string"
            },
            "id": "string",
            "name": "string",
            "state": "string",
            "syncStatus": "string",
            "type": "string"
        }
    ],
    "simulated": false,
    "status": "string"
}
string
blueprintId
Optional

Deployment blueprint id

string
blueprintVersion
Optional

Deployment blueprint version

string
catalogItemId
Optional

Deployment catalog item id

string
catalogItemVersion
Optional

Deployment catalog version

string As date-time As date-time
createdAt
Optional

Creation time

string
createdBy
Optional

Created by

string
description
Optional

Description of the deployment

expense
Optional

expense

string
iconId
Optional

Deployment icon id

string As uuid As uuid
id
Optional

Id of the deployment

object
inputs
Optional

The inputs that were used to request this deployment

lastRequest
Optional

lastRequest

string As date-time As date-time
lastUpdatedAt
Optional

Update time

string
lastUpdatedBy
Optional

Updated by

string As date-time As date-time
leaseExpireAt
Optional

Lease expiration time

string
name
Required

Name of the deployment

project
Optional

project

string
projectId
Optional

Deployment project id

array of Resource
resources
Optional

Expanded resources for the deployment. Content of this property will not be maintained backward compatible

boolean
simulated
Optional

simulated

string
status
Optional

Deployment status.

Possible values are : CREATE_SUCCESSFUL, CREATE_INPROGRESS, CREATE_FAILED, UPDATE_SUCCESSFUL, UPDATE_INPROGRESS, UPDATE_FAILED,

204

No Content

Operation doesn't return any data structure

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure