Vcenter V Storage Object Manager Register Disk
Promote a virtual disk to a First Class Disk.
Requires Datastore.FileManagement privilege on the datastore where the virtual disk resides.
Required privileges: System.View
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 VcenterVStorageObjectManager/{moId}.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
"RegisterDiskRequestType Object"
URL path to the virtual disk.
The descriptive name of the disk object. If unset the name will be automatically determined from the path. @see vim.vslm.BaseConfigInfo#name
The registered virtual storage object for the disk.
"VStorageObject Object"
Data object specifies Virtual storage object configuration
FileFault: If an error occurs while registering the virtual disk.
InvalidDatastore: If datastore cannot be found or the operation cannot be performed on the datastore.
AlreadyExists: If disk is already registered as a virtual storage object.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/VcenterVStorageObjectManager/{moId}/RegisterDisk