pub struct ClusterDrsFaultsFaultsByVm {
pub vm: Option<ManagedObjectReference>,
pub fault: Vec<MethodFault>,
}Expand description
FaultsByVm is the faults generated by DRS when it tries to move a VM.
§How to access
StoragePod::pod_storage_drs_entry.drs_fault?[*].faults_by_vm[*]ClusterComputeResource::drs_fault.faults_by_vm[*]Datastore::datastore_enter_maintenance_mode().drs_fault?.faults_by_vm[*]ClusterComputeResource::cluster_enter_maintenance_mode().fault?.faults_by_vm[*]ClusterComputeResource::place_vm().drs_fault?.faults_by_vm[*]StorageResourceManager::recommend_datastores().drs_fault?.faults_by_vm[*]
Fields§
§vm: Option<ManagedObjectReference>The VM that DRS was trying to migrate when it generated the faults.
If this property is NULL, the fault is not associated with a particular VM.
Refers instance of VirtualMachine.
fault: Vec<MethodFault>The faults generated by DRS when it was trying to move the given VM.
Trait Implementations§
Source§impl ClusterDrsFaultsFaultsByVmTrait for ClusterDrsFaultsFaultsByVm
impl ClusterDrsFaultsFaultsByVmTrait for ClusterDrsFaultsFaultsByVm
Source§fn get_cluster_drs_faults_faults_by_vm(&self) -> &ClusterDrsFaultsFaultsByVm
fn get_cluster_drs_faults_faults_by_vm(&self) -> &ClusterDrsFaultsFaultsByVm
Get a reference to the ClusterDrsFaultsFaultsByVm parent struct
Source§fn get_cluster_drs_faults_faults_by_vm_mut(
&mut self,
) -> &mut ClusterDrsFaultsFaultsByVm
fn get_cluster_drs_faults_faults_by_vm_mut( &mut self, ) -> &mut ClusterDrsFaultsFaultsByVm
Get a mutable reference to the ClusterDrsFaultsFaultsByVm parent struct
Source§impl Debug for ClusterDrsFaultsFaultsByVm
impl Debug for ClusterDrsFaultsFaultsByVm
Source§impl VimObjectTrait for ClusterDrsFaultsFaultsByVm
impl VimObjectTrait for ClusterDrsFaultsFaultsByVm
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for ClusterDrsFaultsFaultsByVm
Auto Trait Implementations§
impl Freeze for ClusterDrsFaultsFaultsByVm
impl !RefUnwindSafe for ClusterDrsFaultsFaultsByVm
impl Send for ClusterDrsFaultsFaultsByVm
impl Sync for ClusterDrsFaultsFaultsByVm
impl Unpin for ClusterDrsFaultsFaultsByVm
impl UnsafeUnpin for ClusterDrsFaultsFaultsByVm
impl !UnwindSafe for ClusterDrsFaultsFaultsByVm
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