Vslm V Storage Object Manager Vslm 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 VslmVStorageObjectManager/{moId}.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
"VslmRegisterDiskRequestType 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.
VslmSyncFault: If an error occurs during datastore synchornization, implies the registerDisk completed successfully, however, there was an exception during datastore synchornization.
VslmFault: If a VSLM internal server error occurred.
"MethodFault Object"
The base data object type for all the object model faults that an application might handle.
Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vslm/VslmVStorageObjectManager/{moId}/VslmRegisterDisk