[][src]Struct google_appengine1::LivenessCheck

pub struct LivenessCheck {
    pub host: Option<String>,
    pub timeout: Option<String>,
    pub check_interval: Option<String>,
    pub path: Option<String>,
    pub success_threshold: Option<u32>,
    pub initial_delay: Option<String>,
    pub failure_threshold: Option<u32>,
}

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.

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

Fields

host: Option<String>

Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"

timeout: Option<String>

Time before the check is considered failed.

check_interval: Option<String>

Interval between health checks.

path: Option<String>

The request path.

success_threshold: Option<u32>

Number of consecutive successful checks required before considering the VM healthy.

initial_delay: Option<String>

The initial delay before starting to execute the checks.

failure_threshold: Option<u32>

Number of consecutive failed checks required before considering the VM unhealthy.

Trait Implementations

impl Clone for LivenessCheck[src]

impl Debug for LivenessCheck[src]

impl Default for LivenessCheck[src]

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

impl Part for LivenessCheck[src]

impl Serialize for LivenessCheck[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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<T> Typeable for T where
    T: Any