Host Vsan Internal System Upgrade Vsan Objects

Host Vsan Internal System Upgrade Vsan Objects

Upgrade VSAN objects version.

Upgrade a set of objects' version to new one in batch mode. API caller should limit the size of the inputs array, and suggested array size is 500 ~ 1000 initially. (The API will give more realistic suggestion after more experiments, then will apply hard limits in future)

Required privileges: Host.Config.Storage

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HostVsanInternalSystem/{moId}/UpgradeVsanObjects
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case HostVsanInternalSystem/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
UpgradeVsanObjectsRequestType of type(s) application/json
Required
{
    "uuids": [
        "string"
    ],
    "newVersion": 0
}
array of string
uuids
Required

The array of objects' UUID which will be upgraded.

integer As int32 As int32
newVersion
Required

The new version will be applied to objects.

Authentication
This operation uses the following authentication methods.
Responses
200

Array of VsanObjectOperationResult, the array only contains result for failed objects, such as invalid or not existing UUID, upgrade failure, etc.

Returns Array of HostVsanInternalSystemVsanObjectOperationResult of type(s) application/json
[
    {
        "_typeName": "string",
        "uuid": "string",
        "failureReason": [
            {
                "_typeName": "string",
                "key": "string",
                "arg": [
                    {
                        "_typeName": "string",
                        "key": "string",
                        "value": {
                            "_typeName": "string"
                        }
                    }
                ],
                "message": "string"
            }
        ]
    }
]

500

VsanFault: for any unexpected failures.

Returns VsanFault of type(s) application/json
This response body class contains all of the following: VimFault
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ]
}