Validate Cluster Operations

Validate Cluster Operations

Validate input specification for updating given Cluster

Request
URI
POST
https://sfo-vcf01.rainpole.io/v1/clusters/{id}/validations
COPY
Path Parameters
string
id
Required

Cluster ID


Request Body

clusterUpdateSpec

ClusterUpdateSpec of type(s) application/json
Required
{
    "clusterCompactionSpec": {
        "force": false,
        "forceByPassingSafeMinSize": false,
        "hosts": [
            {
                "azName": "string",
                "fqdn": "string",
                "id": "string",
                "ipAddress": "string",
                "vmNics": [
                    {
                        "isActive": false,
                        "isAutoNegotiateSupported": false,
                        "isInUse": false,
                        "linkSpeedMB": 0,
                        "name": "string"
                    }
                ]
            }
        ]
    },
    "clusterExpansionSpec": {
        "forceHostAdditionInPresenceofDeadHosts": false,
        "hostSpecs": [
            {
                "azName": "string",
                "hostName": "string",
                "hostNetworkSpec": {
                    "vmNics": [
                        {
                            "id": "string",
                            "moveToNvds": false,
                            "uplink": "string",
                            "vdsName": "string"
                        }
                    ]
                },
                "id": "string",
                "ipAddress": "string",
                "licenseKey": "string",
                "password": "string",
                "serialNumber": "string",
                "sshThumbprint": "string",
                "username": "string"
            }
        ],
        "interRackExpansion": false,
        "skipThumbprintValidation": false,
        "vsanNetworkSpecs": [
            {
                "vsanCidr": "string",
                "vsanGatewayIP": "string"
            }
        ],
        "witnessSpec": {
            "fqdn": "string",
            "vsanCidr": "string",
            "vsanIp": "string"
        },
        "witnessTrafficSharedWithVsanTraffic": false
    },
    "clusterStretchSpec": {
        "hostSpecs": [
            {
                "azName": "string",
                "hostName": "string",
                "hostNetworkSpec": {
                    "vmNics": [
                        {
                            "id": "string",
                            "moveToNvds": false,
                            "uplink": "string",
                            "vdsName": "string"
                        }
                    ]
                },
                "id": "string",
                "ipAddress": "string",
                "licenseKey": "string",
                "password": "string",
                "serialNumber": "string",
                "sshThumbprint": "string",
                "username": "string"
            }
        ],
        "isEdgeClusterConfiguredForMultiAZ": false,
        "secondaryAzOverlayVlanId": 0,
        "vsanNetworkSpecs": [
            {
                "vsanCidr": "string",
                "vsanGatewayIP": "string"
            }
        ],
        "witnessSpec": {
            "fqdn": "string",
            "vsanCidr": "string",
            "vsanIp": "string"
        },
        "witnessTrafficSharedWithVsanTraffic": false
    },
    "markForDeletion": false,
    "name": "string",
    "prepareForStretch": false
}
clusterCompactionSpec
Optional

This specification contains the parameters required to remove one or more vSphere hosts from existing cluster in a workload domain

clusterExpansionSpec
Optional

This specification contains the parameters required to add one or more vSphere hosts to an existing cluster in a workload domain

clusterStretchSpec
Optional

This spec contains the parameters required to convert a Standard vSAN cluster to a Stretched cluster

clusterUnstretchSpec
Optional

This spec contains the parameters required to convert a Stretched cluster to a Standard vSAN cluster

boolean
markForDeletion
Optional

Prepare the cluster for deletion

string
name
Optional

Cluster Name

boolean
prepareForStretch
Optional

Prepare the cluster for stretch

Responses
200

Ok

Returns Validation of type(s) application/json
{
    "additionalProperties": {
        "additionalProperties": "string"
    },
    "description": "string",
    "executionStatus": "One among: IN_PROGRESS, FAILED, COMPLETED, SKIPPED, CANCELLED, CANCELLATION_IN_PROGRESS",
    "id": "string",
    "resultStatus": "One among: SUCCEEDED, FAILED, FAILED_WITH_WARNINGS, CANCELLATION_IN_PROGRESS",
    "validationChecks": [
        {
            "description": "string",
            "errorResponse": {
                "arguments": [
                    "string"
                ],
                "causes": [
                    {
                        "message": "string",
                        "type": "string"
                    }
                ],
                "context": {
                    "context": "string"
                },
                "errorCode": "string",
                "errorType": "string",
                "message": "string",
                "nestedErrors": [
                    "Error Object"
                ],
                "referenceToken": "string",
                "remediationMessage": "string"
            },
            "nestedValidationChecks": [
                "ValidationCheck Object"
            ],
            "resultStatus": "One among: IN_PROGRESS, SUCCEEDED, FAILED, SKIPPED, CANCELLED, CANCELLATION_IN_PROGRESS",
            "severity": "One among: WARNING, ERROR, INFO"
        }
    ]
}
object
additionalProperties
Optional

additionalProperties

string
description
Optional

Description of the validation

string
executionStatus
Optional

Execution status of the validation

string
id
Optional

ID of the validation

string
resultStatus
Optional

Result status of the validation after it has completed its execution

validationChecks
Optional

List of one or more validation checks that are performed as part of the validation


400

Bad Request

Returns Error of type(s) application/json
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message


404

Not Found

Returns Error of type(s) application/json
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message


500

InternalServerError

Returns Error of type(s) application/json
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message