Put /relocation/api/wo/execute Deployment/ {id}

Put /relocation/api/wo/execute Deployment/ {id}

Replace current state with the body of the request

Request
URI
PUT
https://{api_host}/relocation/api/wo/execute-deployment/{id}
COPY
Request Body
{
    "deploymentLink": "string",
    "executionId": "string",
    "failureMessage": "string",
    "taskInfo": {
        "durationMicros": 0,
        "failure": {
            "details": [
                "string"
            ],
            "message": "string",
            "messageId": "string",
            "stackTrace": [
                "string"
            ],
            "statusCode": 0
        },
        "isDirect": false,
        "stage": "string"
    },
    "tenantLink": "string"
}
string
deploymentLink
Optional

deploymentLink

string
executionId
Optional

executionId

string
failureMessage
Optional

failureMessage

taskInfo
Optional

taskInfo

string
tenantLink
Optional

Link to a tenant

Authentication
This operation uses the following authentication methods.
Responses
200

Success

"com_vmware_relocation_wo_execution_DeploymentExecutionState Object"
string
deploymentLink
Optional

deploymentLink

string
executionId
Optional

executionId

string
failureMessage
Optional

failureMessage

taskInfo
Optional

taskInfo

string
tenantLink
Optional

Link to a tenant


404

Error

Returns com_vmware_xenon_common_ServiceErrorResponse of type(s) application/json
"com_vmware_xenon_common_ServiceErrorResponse Object"
array of string
details
Optional

details

string
message
Optional

message

string
messageId
Optional

messageId

array of string
stackTrace
Optional

stackTrace

integer As int64 As int64
statusCode
Optional

statusCode


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/relocation/api/wo/execute-deployment/{id}