pub struct ServiceLbPolicyFailoverConfig {
pub failover_health_threshold: Option<i32>,
}Expand description
Option to specify health based failover behavior. This is not related to Network load balancer FailoverPolicy.
This type is not used in any activity, and only used as part of another schema.
Fields§
§failover_health_threshold: Option<i32>Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.
Trait Implementations§
Source§impl Clone for ServiceLbPolicyFailoverConfig
impl Clone for ServiceLbPolicyFailoverConfig
Source§fn clone(&self) -> ServiceLbPolicyFailoverConfig
fn clone(&self) -> ServiceLbPolicyFailoverConfig
Returns a duplicate 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 Default for ServiceLbPolicyFailoverConfig
impl Default for ServiceLbPolicyFailoverConfig
Source§fn default() -> ServiceLbPolicyFailoverConfig
fn default() -> ServiceLbPolicyFailoverConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceLbPolicyFailoverConfig
impl<'de> Deserialize<'de> for ServiceLbPolicyFailoverConfig
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
impl Part for ServiceLbPolicyFailoverConfig
Auto Trait Implementations§
impl Freeze for ServiceLbPolicyFailoverConfig
impl RefUnwindSafe for ServiceLbPolicyFailoverConfig
impl Send for ServiceLbPolicyFailoverConfig
impl Sync for ServiceLbPolicyFailoverConfig
impl Unpin for ServiceLbPolicyFailoverConfig
impl UnwindSafe for ServiceLbPolicyFailoverConfig
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