Host Vsan System Unmount Disk Mapping Task
Unmount the mounted VsanHostDiskMapping.
An unmounted volume cannot be used for any VSAN operations. In contrast to RemoveDiskMapping_Task, this operation does not destroy or alter VSAN data on the disks. AddDisks_Task and InitializeDisks_Task can be used to re-mount the diskMapping.
In case of shared-SAS, where diskMappings are visible to more than one VSAN hosts, Users may use this API to manually unmount and re-mount diskMappings.
Upon successful completion of the returned Task, its result field will be populated with VsanHostDiskMapResult[]. If any errors are encountered, the returned field will instead contain populated error information.
See also RemoveDiskMapping_Task, AddDisks_Task, InitializeDisks_Task.
Required privileges: Host.Config.Storage
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 HostVsanSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"UnmountDiskMappingRequestType Object"
A VsanHostDiskMapping is a set of one SSD HostScsiDisk backed by a set of one or more non-SSD HostScsiDisk.
The maximum allowed VsanHostDiskMapping for a host is 5. A maximum set of 7 non-SSDs HostScsiDisk can be added to the one SSD HostScsiDisk.
See also VsanHostConfigInfoStorageInfo, InitializeDisks_Task.
This method returns a Task object with which to monitor the operation.
"MoRefTask Object"
InvalidState: If the VsanHostDiskMapping is already unmounted.
VsanFault: if operation fails with VSAN-specific error.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostVsanSystem/{moId}/UnmountDiskMapping_Task