pub struct PrivateClusterConfig {
pub enable_private_endpoint: Option<bool>,
pub enable_private_nodes: Option<bool>,
pub master_global_access_config: Option<PrivateClusterMasterGlobalAccessConfig>,
pub master_ipv4_cidr_block: Option<String>,
pub peering_name: Option<String>,
pub private_endpoint: Option<String>,
pub private_endpoint_subnetwork: Option<String>,
pub public_endpoint: Option<String>,
}
Expand description
Configuration options for private clusters.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enable_private_endpoint: Option<bool>
Whether the master’s internal IP address is used as the cluster endpoint.
enable_private_nodes: Option<bool>
Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.
master_global_access_config: Option<PrivateClusterMasterGlobalAccessConfig>
Controls master global access settings.
master_ipv4_cidr_block: Option<String>
The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster’s network.
peering_name: Option<String>
Output only. The peering name in the customer VPC used by this cluster.
private_endpoint: Option<String>
Output only. The internal IP address of this cluster’s master endpoint.
private_endpoint_subnetwork: Option<String>
Subnet to provision the master’s private endpoint during cluster creation. Specified in projects//regions//subnetworks/* format.
public_endpoint: Option<String>
Output only. The external IP address of this cluster’s master endpoint.
Trait Implementations§
Source§impl Clone for PrivateClusterConfig
impl Clone for PrivateClusterConfig
Source§fn clone(&self) -> PrivateClusterConfig
fn clone(&self) -> PrivateClusterConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PrivateClusterConfig
impl Debug for PrivateClusterConfig
Source§impl Default for PrivateClusterConfig
impl Default for PrivateClusterConfig
Source§fn default() -> PrivateClusterConfig
fn default() -> PrivateClusterConfig
Source§impl<'de> Deserialize<'de> for PrivateClusterConfig
impl<'de> Deserialize<'de> for PrivateClusterConfig
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>,
Source§impl Serialize for PrivateClusterConfig
impl Serialize for PrivateClusterConfig
impl Part for PrivateClusterConfig
Auto Trait Implementations§
impl Freeze for PrivateClusterConfig
impl RefUnwindSafe for PrivateClusterConfig
impl Send for PrivateClusterConfig
impl Sync for PrivateClusterConfig
impl Unpin for PrivateClusterConfig
impl UnwindSafe for PrivateClusterConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more