[][src]Struct gcp_client::google::cloud::osconfig::agentendpoint::v1beta::PatchConfig

pub struct PatchConfig {
    pub reboot_config: i32,
    pub retry_strategy: Option<RetryStrategy>,
    pub apt: Option<AptSettings>,
    pub yum: Option<YumSettings>,
    pub goo: Option<GooSettings>,
    pub zypper: Option<ZypperSettings>,
    pub windows_update: Option<WindowsUpdateSettings>,
    pub pre_step: Option<ExecStep>,
    pub post_step: Option<ExecStep>,
}

Patch configuration specifications. Contains details on how to apply patches to a VM instance.

Fields

reboot_config: i32

Post-patch reboot settings.

retry_strategy: Option<RetryStrategy>

Retry strategy can be defined to have the agent retry patching during the window if patching fails. If omitted, the agent will use its default retry strategy.

apt: Option<AptSettings>

Apt update settings. Use this override the default apt patch rules.

yum: Option<YumSettings>

Yum update settings. Use this override the default yum patch rules.

goo: Option<GooSettings>

Goo update settings. Use this override the default goo patch rules.

zypper: Option<ZypperSettings>

Zypper update settings. Use this override the default zypper patch rules.

windows_update: Option<WindowsUpdateSettings>

Windows update settings. Use this override the default windows patch rules.

pre_step: Option<ExecStep>

The ExecStep to run before the patch update.

post_step: Option<ExecStep>

The ExecStep to run after the patch update.

Implementations

impl PatchConfig[src]

pub fn reboot_config(&self) -> RebootConfig[src]

Returns the enum value of reboot_config, or the default if the field is set to an invalid enum value.

pub fn set_reboot_config(&mut self, value: RebootConfig)[src]

Sets reboot_config to the provided enum value.

Trait Implementations

impl Clone for PatchConfig[src]

impl Debug for PatchConfig[src]

impl Default for PatchConfig[src]

impl Message for PatchConfig[src]

impl PartialEq<PatchConfig> for PatchConfig[src]

impl StructuralPartialEq for PatchConfig[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]