pub struct Target {
pub health_status: Option<Vec<HealthStatus>>,
pub ip: Option<Box<LoadBalancerTargetIp>>,
pub label_selector: Option<Box<LabelSelector>>,
pub server: Option<Box<ResourceId>>,
pub targets: Option<Vec<SelectedTarget>>,
pub type: Type,
pub use_private_ip: Option<bool>,
}
Expand description
Target : A target for a load balancer
Fields§
§health_status: Option<Vec<HealthStatus>>
List of health statuses of the services on this target. Only present for target types "server" and "ip".
ip: Option<Box<LoadBalancerTargetIp>>
§label_selector: Option<Box<LabelSelector>>
§server: Option<Box<ResourceId>>
§targets: Option<Vec<SelectedTarget>>
List of resolved label selector target Servers. Only present for type "label_selector".
type: Type
Type of the resource
use_private_ip: Option<bool>
Use the private network IP instead of the public IP. Only present for target types "server" and "label_selector".
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Target
impl<'de> Deserialize<'de> for Target
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 PartialEq for Target
impl PartialEq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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