Struct google_appengine1::api::LivenessCheck [−][src]
pub struct LivenessCheck {
pub check_interval: Option<String>,
pub failure_threshold: Option<u32>,
pub host: Option<String>,
pub initial_delay: Option<String>,
pub path: Option<String>,
pub success_threshold: Option<u32>,
pub timeout: Option<String>,
}Expand description
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
check_interval: Option<String>Interval between health checks.
failure_threshold: Option<u32>Number of consecutive failed checks required before considering the VM unhealthy.
host: Option<String>Host header to send when performing a HTTP Liveness check. Example: “myapp.appspot.com”
initial_delay: Option<String>The initial delay before starting to execute the checks.
path: Option<String>The request path.
success_threshold: Option<u32>Number of consecutive successful checks required before considering the VM healthy.
timeout: Option<String>Time before the check is considered failed.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for LivenessCheck
impl Send for LivenessCheck
impl Sync for LivenessCheck
impl Unpin for LivenessCheck
impl UnwindSafe for LivenessCheck
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more