Host Vsan Internal System Delete Vsan Objects

Host Vsan Internal System Delete Vsan Objects

Delete VSAN objects.

This API is internal and intended for troubleshooting/debugging only. WARNING: This API can be slow because we do IOs to all the objects. This API can be used to delete VSAN objects. DOM won't allow access to objects which have lost quorum. Such objects can be deleted with the optional "force" flag. These objects may however re-appear with quorum if the absent components come back (network partition gets resolved, etc.)

Required privileges: Host.Config.Storage

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HostVsanInternalSystem/{moId}/DeleteVsanObjects
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.3.0 APIs.


Request Body
DeleteVsanObjectsRequestType of type(s) application/json
Required

Show optional properties

{
    "uuids": [
        {}
    ]
}
{
    "uuids": [
        "string"
    ],
    "force": false
}
array of string
uuids
Required

List of object UUIDs to be deleted.

boolean
force
Optional

Optional force delete.

Authentication
This operation uses the following authentication methods.
Responses
200

List of DeleteVsanObjectsResult.

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

500

Failure

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