pub struct SandboxEgressReplicas {
pub dns: String,
pub addresses: Vec<String>,
pub port: u16,
pub count: u32,
pub min_protocol: u32,
}Expand description
Ready gateway replicas a policy write must reach.
Fields§
§dns: StringName that resolves, through the workload’s DNS search path, to every ready replica.
Ignored when addresses is set.
addresses: Vec<String>Fixed replica IPs (static NICs, as on Azure’s setup-created gateway VMs). When set, no DNS lookup happens and every listed address must acknowledge a write.
port: u16Admin port on each replica.
count: u32Replicas the gateway runs. A write refuses when fewer are resolvable.
min_protocol: u32Lowest gateway admin protocol this binding can serve (GET /v1/protocol). 0 skips the
check, for gateways that replicate behind one address and are updated with the binding.
Azure’s setup-created VMs are updated only by re-running setup, so they set it.
Trait Implementations§
Source§impl Clone for SandboxEgressReplicas
impl Clone for SandboxEgressReplicas
Source§impl Debug for SandboxEgressReplicas
impl Debug for SandboxEgressReplicas
Source§impl<'de> Deserialize<'de> for SandboxEgressReplicas
impl<'de> Deserialize<'de> for SandboxEgressReplicas
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 Eq for SandboxEgressReplicas
Source§impl PartialEq for SandboxEgressReplicas
impl PartialEq for SandboxEgressReplicas
Source§impl Serialize for SandboxEgressReplicas
impl Serialize for SandboxEgressReplicas
impl StructuralPartialEq for SandboxEgressReplicas
Auto Trait Implementations§
impl Forget for SandboxEgressReplicas
impl Freeze for SandboxEgressReplicas
impl Move for SandboxEgressReplicas
impl RefUnwindSafe for SandboxEgressReplicas
impl Send for SandboxEgressReplicas
impl Sync for SandboxEgressReplicas
impl Unpin for SandboxEgressReplicas
impl UnsafeUnpin for SandboxEgressReplicas
impl UnwindSafe for SandboxEgressReplicas
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.