[][src]Struct google_replicapoolupdater1_beta1::RollingUpdatePolicy

pub struct RollingUpdatePolicy {
    pub auto_pause_after_instances: Option<i32>,
    pub instance_startup_timeout_sec: Option<i32>,
    pub max_num_concurrent_instances: Option<i32>,
    pub min_instance_update_time_sec: Option<i32>,
    pub max_num_failed_instances: Option<i32>,
}

Parameters of the update process.

This type is not used in any activity, and only used as part of another schema.

Fields

auto_pause_after_instances: Option<i32>

Number of instances to update before the updater pauses the rolling update.

instance_startup_timeout_sec: Option<i32>

The maximum amount of time that the updater waits for a HEALTHY state after all of the update steps are complete. If the HEALTHY state is not received before the deadline, the instance update is considered a failure.

max_num_concurrent_instances: Option<i32>

The maximum number of instances that can be updated simultaneously. An instance update is considered complete only after the instance is restarted and initialized.

min_instance_update_time_sec: Option<i32>

The minimum amount of time that the updater spends to update each instance. Update time is the time it takes to complete all update actions (e.g. Stop call on Instance resource in Rolling Reboot), reboot, and initialize. If the instance update finishes early, the updater pauses for the remainder of the time before it starts the next instance update.

max_num_failed_instances: Option<i32>

The maximum number of instance updates that can fail before the group update is considered a failure. An instance update is considered failed if any of its update actions (e.g. Stop call on Instance resource in Rolling Reboot) failed with permanent failure, or if the instance is in an UNHEALTHY state after it finishes all of the update actions.

Trait Implementations

impl Part for RollingUpdatePolicy[src]

impl NestedType for RollingUpdatePolicy[src]

impl Default for RollingUpdatePolicy[src]

impl Clone for RollingUpdatePolicy[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for RollingUpdatePolicy[src]

impl Serialize for RollingUpdatePolicy[src]

impl<'de> Deserialize<'de> for RollingUpdatePolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]