pub struct HealthCheckTargets {
pub external_endpoints: Option<Vec<String>>,
pub internal_load_balancer: Option<Vec<LoadBalancerTarget>>,
}Expand description
HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either internal_load_balancer or external_endpoints. Do not set both.
This type is not used in any activity, and only used as part of another schema.
Fields§
§external_endpoints: Option<Vec<String>>The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
internal_load_balancer: Option<Vec<LoadBalancerTarget>>Configuration for internal load balancers to be health checked.
Trait Implementations§
Source§impl Clone for HealthCheckTargets
impl Clone for HealthCheckTargets
Source§fn clone(&self) -> HealthCheckTargets
fn clone(&self) -> HealthCheckTargets
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 Debug for HealthCheckTargets
impl Debug for HealthCheckTargets
Source§impl Default for HealthCheckTargets
impl Default for HealthCheckTargets
Source§fn default() -> HealthCheckTargets
fn default() -> HealthCheckTargets
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HealthCheckTargets
impl<'de> Deserialize<'de> for HealthCheckTargets
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 HealthCheckTargets
impl Serialize for HealthCheckTargets
impl Part for HealthCheckTargets
Auto Trait Implementations§
impl Freeze for HealthCheckTargets
impl RefUnwindSafe for HealthCheckTargets
impl Send for HealthCheckTargets
impl Sync for HealthCheckTargets
impl Unpin for HealthCheckTargets
impl UnwindSafe for HealthCheckTargets
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