Struct google_appengine1::api::LivenessCheck
source · pub struct LivenessCheck {
pub check_interval: Option<Duration>,
pub failure_threshold: Option<u32>,
pub host: Option<String>,
pub initial_delay: Option<Duration>,
pub path: Option<String>,
pub success_threshold: Option<u32>,
pub timeout: Option<Duration>,
}
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<Duration>
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<Duration>
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<Duration>
Time before the check is considered failed.
Trait Implementations§
source§impl Clone for LivenessCheck
impl Clone for LivenessCheck
source§fn clone(&self) -> LivenessCheck
fn clone(&self) -> LivenessCheck
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LivenessCheck
impl Debug for LivenessCheck
source§impl Default for LivenessCheck
impl Default for LivenessCheck
source§fn default() -> LivenessCheck
fn default() -> LivenessCheck
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LivenessCheck
impl<'de> Deserialize<'de> for LivenessCheck
source§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
source§impl Serialize for LivenessCheck
impl Serialize for LivenessCheck
impl Part for LivenessCheck
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more