GetClusterPrivateClusterConfig constructor
- required Input<
bool> enablePrivateEndpoint, - required Input<
bool> enablePrivateNodes, - required Input<
List< masterGlobalAccessConfigs,GetClusterPrivateClusterConfigMasterGlobalAccessConfig> > - required Input<
String> masterIpv4CidrBlock, - required Input<
String> peeringName, - required Input<
String> privateEndpoint, - required Input<
String> privateEndpointSubnetwork, - required Input<
String> publicEndpoint,
Creates a new GetClusterPrivateClusterConfig.
enablePrivateEndpoint When true, the cluster's private endpoint is used as the cluster endpoint and access through the public endpoint is disabled. When false, either endpoint can be used.
enablePrivateNodes Enables the private cluster feature, creating a private endpoint on the cluster. In a private cluster, nodes only have RFC 1918 private addresses and communicate with the master's private endpoint via private networking.
masterGlobalAccessConfigs Controls cluster master global access settings.
masterIpv4CidrBlock The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning private IP addresses to the cluster master(s) and the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network, and it must be a /28 subnet. See Private Cluster Limitations for more details. This field only applies to private clusters, when enablePrivateNodes is true.
peeringName The name of the peering between this cluster and the Google owned VPC.
privateEndpoint The internal IP address of this cluster's master endpoint.
privateEndpointSubnetwork Subnetwork in cluster's network where master's endpoint will be provisioned.
publicEndpoint The external IP address of this cluster's master endpoint.
Implementation
const GetClusterPrivateClusterConfig({
required this.enablePrivateEndpoint,
required this.enablePrivateNodes,
required this.masterGlobalAccessConfigs,
required this.masterIpv4CidrBlock,
required this.peeringName,
required this.privateEndpoint,
required this.privateEndpointSubnetwork,
required this.publicEndpoint,
});