Vsan Object System Relayout Objects

Vsan Object System Relayout Objects

The re-layout task for the objects which need change in object format.

This may involve physical on-disk re-layout of objects which will cause data movement in the cluster. Objects in the old format might not be able to use some of the new features.

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/vsan/VsanObjectSystem/{moId}/RelayoutObjects
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 VsanObjectSystem/{moId}.

string
release
Required

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


Request Body
RelayoutObjectsRequestType of type(s) application/json
Required
"RelayoutObjectsRequestType Object"
cluster
Required

Required privileges: Host.Config.Storage

Authentication
This operation uses the following authentication methods.
Responses
200

The task object which represents the vSan RelayoutObjects task.

Returns MoRefTask of type(s) application/json
"MoRefTask Object"

500

NotSupported: if run directly on an ESX Server host.

Returns VsanFault of type(s) application/json
"VsanFault Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanObjectSystem/{moId}/RelayoutObjects