pub struct ServiceLbPolicyAutoCapacityDrain {
pub enable: Option<bool>,
}Expand description
Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enable: Option<bool>Optional. If set to ‘True’, an unhealthy IG/NEG will be set as drained. - An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy. - This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.
Trait Implementations§
Source§impl Clone for ServiceLbPolicyAutoCapacityDrain
impl Clone for ServiceLbPolicyAutoCapacityDrain
Source§fn clone(&self) -> ServiceLbPolicyAutoCapacityDrain
fn clone(&self) -> ServiceLbPolicyAutoCapacityDrain
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 ServiceLbPolicyAutoCapacityDrain
impl Default for ServiceLbPolicyAutoCapacityDrain
Source§fn default() -> ServiceLbPolicyAutoCapacityDrain
fn default() -> ServiceLbPolicyAutoCapacityDrain
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceLbPolicyAutoCapacityDrain
impl<'de> Deserialize<'de> for ServiceLbPolicyAutoCapacityDrain
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 ServiceLbPolicyAutoCapacityDrain
Auto Trait Implementations§
impl Freeze for ServiceLbPolicyAutoCapacityDrain
impl RefUnwindSafe for ServiceLbPolicyAutoCapacityDrain
impl Send for ServiceLbPolicyAutoCapacityDrain
impl Sync for ServiceLbPolicyAutoCapacityDrain
impl Unpin for ServiceLbPolicyAutoCapacityDrain
impl UnwindSafe for ServiceLbPolicyAutoCapacityDrain
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