pub struct FloatingIpHealthCheckInput {
pub protocol: FloatingIpHealthCheckInputProtocol,
pub path: Option<String>,
pub port: i64,
pub interval_sec: i64,
pub timeout_sec: i64,
pub healthy_threshold: i64,
pub unhealthy_threshold: i64,
pub matcher: Option<String>,
}Fields§
§protocol: FloatingIpHealthCheckInputProtocoltcp opens a connection; http/https issue a GET and match the status against matcher. There is no udp: a readiness probe needs an answer — check a udp service on a tcp health port instead.
path: Option<String>HTTP path probed; ignored for tcp.
port: i64Port probed on the member.
interval_sec: i64§timeout_sec: i64Per-probe timeout; must be less than interval_sec.
healthy_threshold: i64Consecutive passes before a member flips healthy.
unhealthy_threshold: i64Consecutive failures before a member flips unhealthy.
matcher: Option<String>HTTP status or range that counts as passing; ignored for tcp.
Implementations§
Trait Implementations§
Source§impl Clone for FloatingIpHealthCheckInput
impl Clone for FloatingIpHealthCheckInput
Source§impl Debug for FloatingIpHealthCheckInput
impl Debug for FloatingIpHealthCheckInput
Source§impl<'de> Deserialize<'de> for FloatingIpHealthCheckInput
impl<'de> Deserialize<'de> for FloatingIpHealthCheckInput
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
Auto Trait Implementations§
impl Freeze for FloatingIpHealthCheckInput
impl RefUnwindSafe for FloatingIpHealthCheckInput
impl Send for FloatingIpHealthCheckInput
impl Sync for FloatingIpHealthCheckInput
impl Unpin for FloatingIpHealthCheckInput
impl UnsafeUnpin for FloatingIpHealthCheckInput
impl UnwindSafe for FloatingIpHealthCheckInput
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