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. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.
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. Deprecated: Use NetworkConfig.default_enable_private_nodes instead.
master_global_access_config: Option<PrivateClusterMasterGlobalAccessConfig>Controls master global access settings. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access instead.
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. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint instead.
private_endpoint_subnetwork: Option<String>Subnet to provision the master’s private endpoint during cluster creation. Specified in projects//regions//subnetworks/* format. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork instead.
public_endpoint: Option<String>Output only. The external IP address of this cluster’s master endpoint. Deprecated:Use ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint instead.
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 more