pub enum ClusterPowerStatusEnum {
Show 20 variants
ClusterPoweredOn,
HaDisabled,
SupportedVMsPoweredOff,
VcVmPoweredOff,
VsanMemberShipUpdateDisabled,
VsanDomPauseAllCcPsSet,
HostsInMm,
HostsPoweredOff,
ClusterPoweredOff,
HostsOutOfMm,
VsanMemberShipUpdateEnabled,
VsanDomPauseAllCcPsUnset,
VcVmPoweredOn,
SupportedVMsPoweredOn,
HaEnabled,
InfraVMsRecorded,
HostsInfraVMsPoweredoff,
HostsInfraVMsPoweredon,
ClusterPowerStatusUnknown,
Other_(String),
}Expand description
Defines the detailed cluster wide power action.
Possible values:
clusterPoweredOn: indicate the cluster is in running state.haDisabled: vSphere HA is disabled.supportedVMsPoweredOff: the supported system VMs are powered off.vcVMPoweredOff: power off the VC VM if the VC VM is on vSAN.vsanMemberShipUpdateDisabled: vSAN membership updates is disabled.vsanDOMPauseAllCCPsSet: DOMPauseAllCCPs is set.hostsInMM: all hosts are in maintenance mode.hostsPoweredOff: power-off operations have been triggered on all hosts.clusterPoweredOff: indicate the cluster is in shutdown state.hostsOutOfMM: all hosts are out of maintenance mode.vsanMemberShipUpdateEnabled: vSAN membership updates is enabled.vsanDOMPauseAllCCPsUnset: DOMPauseAllCCPs is unset.vcVMPoweredOn: power on the VC VMs if it the VC VM is on vSAN.supportedVMsPoweredOn: the supported system VMs are powered on.haEnabled: vSphere HA is enabled.infraVMsRecordedhostsInfraVMsPoweredoffhostsInfraVMsPoweredonClusterPowerStatus_Unknown: represent the value when the lower version client cannot recognize the enum value.
Variants§
ClusterPoweredOn
HaDisabled
SupportedVMsPoweredOff
VcVmPoweredOff
VsanMemberShipUpdateDisabled
VsanDomPauseAllCcPsSet
HostsInMm
HostsPoweredOff
ClusterPoweredOff
HostsOutOfMm
VsanMemberShipUpdateEnabled
VsanDomPauseAllCcPsUnset
VcVmPoweredOn
SupportedVMsPoweredOn
HaEnabled
InfraVMsRecorded
HostsInfraVMsPoweredoff
HostsInfraVMsPoweredon
ClusterPowerStatusUnknown
Other_(String)
This variant handles values not known at compile time.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ClusterPowerStatusEnum
impl AsRef<str> for ClusterPowerStatusEnum
Source§impl Clone for ClusterPowerStatusEnum
impl Clone for ClusterPowerStatusEnum
Source§fn clone(&self) -> ClusterPowerStatusEnum
fn clone(&self) -> ClusterPowerStatusEnum
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClusterPowerStatusEnum
impl Debug for ClusterPowerStatusEnum
Source§impl Deserialize for ClusterPowerStatusEnum
impl Deserialize for ClusterPowerStatusEnum
Source§impl Display for ClusterPowerStatusEnum
impl Display for ClusterPowerStatusEnum
Source§impl<'a> From<&'a ClusterPowerStatusEnum> for &'a str
impl<'a> From<&'a ClusterPowerStatusEnum> for &'a str
Source§fn from(value: &'a ClusterPowerStatusEnum) -> Self
fn from(value: &'a ClusterPowerStatusEnum) -> Self
Converts to this type from the input type.
Source§impl Hash for ClusterPowerStatusEnum
impl Hash for ClusterPowerStatusEnum
Source§impl PartialEq for ClusterPowerStatusEnum
impl PartialEq for ClusterPowerStatusEnum
impl Eq for ClusterPowerStatusEnum
impl StructuralPartialEq for ClusterPowerStatusEnum
Auto Trait Implementations§
impl Freeze for ClusterPowerStatusEnum
impl RefUnwindSafe for ClusterPowerStatusEnum
impl Send for ClusterPowerStatusEnum
impl Sync for ClusterPowerStatusEnum
impl Unpin for ClusterPowerStatusEnum
impl UnsafeUnpin for ClusterPowerStatusEnum
impl UnwindSafe for ClusterPowerStatusEnum
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
Source§impl<To, T> CastInto<To> for T
impl<To, T> CastInto<To> for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.