Validate Vcd Instance Operation

Validate Vcd Instance Operation

Validate an operation for a specific deployment instance managed by this coordinator

Request
URI
POST
https://{environmentid}.cloud.vmware.com//environment/{environmentId}/instances/{vcdInstanceId}/operations/validateOperation
COPY
Path Parameters
string
environmentId
Required

URN ID of an Environment

string
vcdInstanceId
Required

vcdInstanceId


Request Body
OperationConfig of type(s) application/json
Required
{
    "operationType": "string"
}
string
operationType
Optional

An operation and its arguments that can be invoked on an instance.

object
arguments
Optional

arguments

Authentication
This operation uses the following authentication methods.
Responses
202

Accepted

Returns OperationValidation of type(s) application/json
{
    "complete": false,
    "errors": [
        {
            "code": "string",
            "messageParameters": [
                {}
            ],
            "message": "string",
            "localizedMessage": "string",
            "argumentId": "string"
        }
    ],
    "operation": {
        "operationType": "string",
        "enabled": false,
        "name": "string",
        "submit": "string",
        "arguments": [
            {
                "id": "string",
                "name": "string",
                "description": "string",
                "group": "string",
                "type": "string",
                "subType": "string",
                "postValidate": false,
                "defaultValue": "string",
                "required": false,
                "enabled": false,
                "validationRegex": "string"
            }
        ]
    }
}
boolean
complete
Required

complete

errors
Required

errors

operation
Optional

operation


400

Bad Request

Returns Error of type(s) application/json
This response body class contains all of the following: BaseError , Error_allOf
{
    "0": "E",
    "1": "r",
    "2": "r",
    "3": "o",
    "4": "r",
    "5": "_",
    "6": "a",
    "7": "l",
    "8": "l",
    "9": "O",
    "10": "f",
    "11": " ",
    "12": "O",
    "13": "b",
    "14": "j",
    "15": "e",
    "16": "c",
    "17": "t",
    "code": "string",
    "messageParameters": [
        {}
    ],
    "message": "string",
    "localizedMessage": "string"
}

404

Not Found

Returns Error of type(s) application/json
This response body class contains all of the following: BaseError , Error_allOf
{
    "0": "E",
    "1": "r",
    "2": "r",
    "3": "o",
    "4": "r",
    "5": "_",
    "6": "a",
    "7": "l",
    "8": "l",
    "9": "O",
    "10": "f",
    "11": " ",
    "12": "O",
    "13": "b",
    "14": "j",
    "15": "e",
    "16": "c",
    "17": "t",
    "code": "string",
    "messageParameters": [
        {}
    ],
    "message": "string",
    "localizedMessage": "string"
}