Package com.pulumi.gcp.container.outputs
Class ClusterPrivateClusterConfig
- java.lang.Object
-
- com.pulumi.gcp.container.outputs.ClusterPrivateClusterConfig
-
public final class ClusterPrivateClusterConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterPrivateClusterConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterPrivateClusterConfig.Builder
builder()
static ClusterPrivateClusterConfig.Builder
builder(ClusterPrivateClusterConfig defaults)
java.util.Optional<java.lang.Boolean>
enablePrivateEndpoint()
java.util.Optional<java.lang.Boolean>
enablePrivateNodes()
java.util.Optional<ClusterPrivateClusterConfigMasterGlobalAccessConfig>
masterGlobalAccessConfig()
java.util.Optional<java.lang.String>
masterIpv4CidrBlock()
java.util.Optional<java.lang.String>
peeringName()
java.util.Optional<java.lang.String>
privateEndpoint()
java.util.Optional<java.lang.String>
privateEndpointSubnetwork()
java.util.Optional<java.lang.String>
publicEndpoint()
-
-
-
Method Detail
-
enablePrivateEndpoint
public java.util.Optional<java.lang.Boolean> enablePrivateEndpoint()
- Returns:
- 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. This field only applies to private clusters, when `enable_private_nodes` is `true`.
-
enablePrivateNodes
public java.util.Optional<java.lang.Boolean> enablePrivateNodes()
- Returns:
- 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.
-
masterGlobalAccessConfig
public java.util.Optional<ClusterPrivateClusterConfigMasterGlobalAccessConfig> masterGlobalAccessConfig()
- Returns:
- Controls cluster master global access settings. If unset, the provider will no longer manage this field and will not modify the previously-set value. Structure is documented below.
-
masterIpv4CidrBlock
public java.util.Optional<java.lang.String> masterIpv4CidrBlock()
- Returns:
- 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](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#req_res_lim) for more details. This field only applies to private clusters, when `enable_private_nodes` is `true`.
-
peeringName
public java.util.Optional<java.lang.String> peeringName()
- Returns:
- The name of the peering between this cluster and the Google owned VPC.
-
privateEndpoint
public java.util.Optional<java.lang.String> privateEndpoint()
- Returns:
- The internal IP address of this cluster's master endpoint.
-
privateEndpointSubnetwork
public java.util.Optional<java.lang.String> privateEndpointSubnetwork()
- Returns:
- Subnetwork in cluster's network where master's endpoint will be provisioned.
-
publicEndpoint
public java.util.Optional<java.lang.String> publicEndpoint()
- Returns:
- The external IP address of this cluster's master endpoint. !> The Google provider is unable to validate certain configurations of `private_cluster_config` when `enable_private_nodes` is `false`. It's recommended that you omit the block entirely if the field is not set to `true`.
-
builder
public static ClusterPrivateClusterConfig.Builder builder()
-
builder
public static ClusterPrivateClusterConfig.Builder builder(ClusterPrivateClusterConfig defaults)
-
-