pub struct VsanUnmapConfig {
pub enable: bool,
}Expand description
The configuration to support SCSI unmap command on vSAN datastore.
This structure may be used only with operations rendered under /vsan.
§How to access
HostSystem::config.vsan_host_config?→VsanHostConfigInfoEx.unmap_config?ComputeResource::configuration_ex→ClusterConfigInfoEx.vsan_config_info?→VsanConfigInfoEx.unmap_config?ComputeResource::configuration_ex→ClusterConfigInfoEx.vsan_host_config?[*]→VsanHostConfigInfoEx.unmap_config?ClusterComputeResource::configuration_ex→ClusterConfigInfoEx.vsan_config_info?→VsanConfigInfoEx.unmap_config?ClusterComputeResource::configuration_ex→ClusterConfigInfoEx.vsan_host_config?[*]→VsanHostConfigInfoEx.unmap_config?HostVsanSystem::config→VsanHostConfigInfoEx.unmap_config?Folder::create_cluster_ex(spec).vsan_config?→VsanConfigInfoEx.unmap_config?Folder::create_cluster_ex(spec).vsan_host_config_spec?[*]→VsanHostConfigInfoEx.unmap_config?Folder::add_standalone_host_task(comp_res_spec)→ClusterConfigSpecEx.vsan_config?→VsanConfigInfoEx.unmap_config?Folder::add_standalone_host_task(comp_res_spec)→ClusterConfigSpecEx.vsan_host_config_spec?[*]→VsanHostConfigInfoEx.unmap_config?
(10 of 42 paths)
Fields§
§enable: boolWhether SCSI unmap command is supported on vSAN datastore.
If this setting is switched from disabled to enabled, for any unmap request to vSAN datastore from powered on VMs will take effect and succeed immediately; And if it is switched from enabled to disabled dynamically, running VMs reside on this vSAN datastore won’t know this change until VM rebooting happen. vSAN will fail any unmap request, and the failure will be handled by guest OS gracefully.
Trait Implementations§
Source§impl Debug for VsanUnmapConfig
impl Debug for VsanUnmapConfig
Source§impl Deserialize for VsanUnmapConfig
impl Deserialize for VsanUnmapConfig
Source§impl VimObjectTrait for VsanUnmapConfig
impl VimObjectTrait for VsanUnmapConfig
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for VsanUnmapConfig
Auto Trait Implementations§
impl Freeze for VsanUnmapConfig
impl RefUnwindSafe for VsanUnmapConfig
impl Send for VsanUnmapConfig
impl Sync for VsanUnmapConfig
impl Unpin for VsanUnmapConfig
impl UnsafeUnpin for VsanUnmapConfig
impl UnwindSafe for VsanUnmapConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more