pub enum UpgradePolicyEnum {
Manual,
UpgradeAtPowerCycle,
Other_(String),
}Expand description
The policy setting used to determine when tools are auto-upgraded for a virtual machine
Possible values:
-
manual: No auto-upgrades for tools will be performed for this virtual machine.Users must manually invoke the UpgradeTools operation to update the tools.
-
upgradeAtPowerCycle: When the virtual machine is power-cycled, the system checks for a newer version of tools when the VM comes back up.If it is available, a tools upgrade is automatically performed on the virtual machine and it is rebooted if necessary.
Variants§
Implementations§
Trait Implementations§
Source§impl AsRef<str> for UpgradePolicyEnum
impl AsRef<str> for UpgradePolicyEnum
Source§impl Clone for UpgradePolicyEnum
impl Clone for UpgradePolicyEnum
Source§fn clone(&self) -> UpgradePolicyEnum
fn clone(&self) -> UpgradePolicyEnum
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 UpgradePolicyEnum
impl Debug for UpgradePolicyEnum
Source§impl Deserialize for UpgradePolicyEnum
impl Deserialize for UpgradePolicyEnum
Source§impl Display for UpgradePolicyEnum
impl Display for UpgradePolicyEnum
Source§impl<'a> From<&'a UpgradePolicyEnum> for &'a str
impl<'a> From<&'a UpgradePolicyEnum> for &'a str
Source§fn from(value: &'a UpgradePolicyEnum) -> Self
fn from(value: &'a UpgradePolicyEnum) -> Self
Converts to this type from the input type.
Source§impl Hash for UpgradePolicyEnum
impl Hash for UpgradePolicyEnum
Source§impl PartialEq for UpgradePolicyEnum
impl PartialEq for UpgradePolicyEnum
impl Eq for UpgradePolicyEnum
impl StructuralPartialEq for UpgradePolicyEnum
Auto Trait Implementations§
impl Freeze for UpgradePolicyEnum
impl RefUnwindSafe for UpgradePolicyEnum
impl Send for UpgradePolicyEnum
impl Sync for UpgradePolicyEnum
impl Unpin for UpgradePolicyEnum
impl UnsafeUnpin for UpgradePolicyEnum
impl UnwindSafe for UpgradePolicyEnum
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.