pub struct ZoneNetworkConfig {
pub machine_mgmt_ipv4_range: String,
pub kubernetes_node_ipv4_range: String,
pub kubernetes_control_plane_ipv4_range: String,
pub management_ipv4_subnet: Option<Subnet>,
pub kubernetes_ipv4_subnet: Option<Subnet>,
}
Expand description
Networking configuration for a zone.
Fields§
§machine_mgmt_ipv4_range: String
Required. An IPv4 address block for machine management.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in management_ipv4_subnet
, and disjoint with other address
ranges.
kubernetes_node_ipv4_range: String
Required. An IPv4 address block for kubernetes nodes.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in kubernetes_ipv4_subnet
, and disjoint with other address
ranges.
kubernetes_control_plane_ipv4_range: String
Required. An IPv4 address block for kubernetes control plane.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per cluster in the Zone.
Should be in kubernetes_ipv4_subnet
, and disjoint with other address
ranges.
management_ipv4_subnet: Option<Subnet>
Required. An IPv4 subnet for the management network.
kubernetes_ipv4_subnet: Option<Subnet>
Optional. An IPv4 subnet for the kubernetes network. If unspecified, the kubernetes subnet will be the same as the management subnet.
Trait Implementations§
source§impl Clone for ZoneNetworkConfig
impl Clone for ZoneNetworkConfig
source§fn clone(&self) -> ZoneNetworkConfig
fn clone(&self) -> ZoneNetworkConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ZoneNetworkConfig
impl Debug for ZoneNetworkConfig
source§impl Default for ZoneNetworkConfig
impl Default for ZoneNetworkConfig
source§impl Message for ZoneNetworkConfig
impl Message for ZoneNetworkConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ZoneNetworkConfig
impl PartialEq for ZoneNetworkConfig
source§fn eq(&self, other: &ZoneNetworkConfig) -> bool
fn eq(&self, other: &ZoneNetworkConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ZoneNetworkConfig
Auto Trait Implementations§
impl Freeze for ZoneNetworkConfig
impl RefUnwindSafe for ZoneNetworkConfig
impl Send for ZoneNetworkConfig
impl Sync for ZoneNetworkConfig
impl Unpin for ZoneNetworkConfig
impl UnwindSafe for ZoneNetworkConfig
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request