Struct gapi_grpc::google::appengine::v1beta::HealthCheck[][src]

pub struct HealthCheck {
    pub disable_health_check: bool,
    pub host: String,
    pub healthy_threshold: u32,
    pub unhealthy_threshold: u32,
    pub restart_threshold: u32,
    pub check_interval: Option<Duration>,
    pub timeout: Option<Duration>,
}

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.

Fields

disable_health_check: bool

Whether to explicitly disable health checks for this instance.

host: String

Host header to send when performing an HTTP health check. Example: “myapp.appspot.com”

healthy_threshold: u32

Number of consecutive successful health checks required before receiving traffic.

unhealthy_threshold: u32

Number of consecutive failed health checks required before removing traffic.

restart_threshold: u32

Number of consecutive failed health checks required before an instance is restarted.

check_interval: Option<Duration>

Interval between health checks.

timeout: Option<Duration>

Time before the health check is considered failed.

Trait Implementations

impl Clone for HealthCheck[src]

impl Debug for HealthCheck[src]

impl Default for HealthCheck[src]

impl Message for HealthCheck[src]

impl PartialEq<HealthCheck> for HealthCheck[src]

impl StructuralPartialEq for HealthCheck[src]

Auto Trait Implementations

impl RefUnwindSafe for HealthCheck

impl Send for HealthCheck

impl Sync for HealthCheck

impl Unpin for HealthCheck

impl UnwindSafe for HealthCheck

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]