Enum googapis::google::cloud::compute::v1::scheduling::OnHostMaintenance [−][src]
#[repr(i32)]
pub enum OnHostMaintenance {
UndefinedOnHostMaintenance,
Migrate,
Terminate,
}
Expand description
Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting Instance Scheduling Options.
Variants
A value indicating that the enum field is not set.
[Default] Allows Compute Engine to automatically migrate instances out of the way of maintenance events.
Tells Compute Engine to terminate and (optionally) restart the instance away from the maintenance activity. If you would like your instance to be restarted, set the automaticRestart flag to true. Your instance may be restarted more than once, and it may be restarted outside the window of maintenance events.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for OnHostMaintenance
impl Send for OnHostMaintenance
impl Sync for OnHostMaintenance
impl Unpin for OnHostMaintenance
impl UnwindSafe for OnHostMaintenance
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more