Host V Storage Object Manager Host 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 HostVStorageObjectManager/{moId}.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"HostRegisterDiskRequestType Object"
URL or datastore 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
Optional Parameter describing if the control Flags should be changed to default values
Since: vSphere API Release 8.0.2.0
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}/HostVStorageObjectManager/{moId}/HostRegisterDisk