pub enum PublicEndpointTargetSettings {
MachineAddresses,
LoadBalancer(String),
}Expand description
DNS target mode for public endpoints.
JSON schema
{
"description": "DNS target mode for public endpoints.",
"oneOf": [
{
"description": "Publish DNS records directly to healthy machine public IP addresses.",
"type": "object",
"required": [
"mode"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"machineAddresses"
]
}
}
},
{
"description": "Publish a CNAME record to an external load balancer.",
"type": "object",
"required": [
"cnameTarget",
"mode"
],
"properties": {
"cnameTarget": {
"description": "DNS name or URL for the external load balancer.",
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"loadBalancer"
]
}
}
}
]
}Variants§
Trait Implementations§
Source§impl Clone for PublicEndpointTargetSettings
impl Clone for PublicEndpointTargetSettings
Source§fn clone(&self) -> PublicEndpointTargetSettings
fn clone(&self) -> PublicEndpointTargetSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PublicEndpointTargetSettings
impl Debug for PublicEndpointTargetSettings
Source§impl<'de> Deserialize<'de> for PublicEndpointTargetSettings
impl<'de> Deserialize<'de> for PublicEndpointTargetSettings
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 From<&PublicEndpointTargetSettings> for PublicEndpointTargetSettings
impl From<&PublicEndpointTargetSettings> for PublicEndpointTargetSettings
Source§fn from(value: &PublicEndpointTargetSettings) -> Self
fn from(value: &PublicEndpointTargetSettings) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PublicEndpointTargetSettings
impl RefUnwindSafe for PublicEndpointTargetSettings
impl Send for PublicEndpointTargetSettings
impl Sync for PublicEndpointTargetSettings
impl Unpin for PublicEndpointTargetSettings
impl UnsafeUnpin for PublicEndpointTargetSettings
impl UnwindSafe for PublicEndpointTargetSettings
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