Google Kubernetes Engine v1 API - Class PrivateClusterConfig (3.33.0)

public sealed class PrivateClusterConfig : IMessage<PrivateClusterConfig>, IEquatable<PrivateClusterConfig>, IDeepCloneable<PrivateClusterConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Kubernetes Engine v1 API class PrivateClusterConfig.

Configuration options for private clusters.

Inheritance

object > PrivateClusterConfig

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

PrivateClusterConfig()

public PrivateClusterConfig()

PrivateClusterConfig(PrivateClusterConfig)

public PrivateClusterConfig(PrivateClusterConfig other)
Parameter
Name Description
other PrivateClusterConfig

Properties

EnablePrivateEndpoint

[Obsolete]
public bool EnablePrivateEndpoint { get; set; }

Whether the master's internal IP address is used as the cluster endpoint.

Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint][google.container.v1.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.

Property Value
Type Description
bool

EnablePrivateNodes

[Obsolete]
public bool EnablePrivateNodes { get; set; }

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][google.container.v1.NetworkConfig.default_enable_private_nodes] instead.

Property Value
Type Description
bool

MasterGlobalAccessConfig

[Obsolete]
public PrivateClusterMasterGlobalAccessConfig MasterGlobalAccessConfig { get; set; }

Controls master global access settings.

Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][] instead.

Property Value
Type Description
PrivateClusterMasterGlobalAccessConfig

MasterIpv4CidrBlock

public string MasterIpv4CidrBlock { get; set; }

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.

Property Value
Type Description
string

PeeringName

public string PeeringName { get; set; }

Output only. The peering name in the customer VPC used by this cluster.

Property Value
Type Description
string

PrivateEndpoint

[Obsolete]
public string PrivateEndpoint { get; set; }

Output only. The internal IP address of this cluster's master endpoint.

Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint] instead.

Property Value
Type Description
string

PrivateEndpointSubnetwork

[Obsolete]
public string PrivateEndpointSubnetwork { get; set; }

Subnet to provision the master's private endpoint during cluster creation. Specified in projects//regions//subnetworks/* format.

Deprecated: Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork] instead.

Property Value
Type Description
string

PublicEndpoint

[Obsolete]
public string PublicEndpoint { get; set; }

Output only. The external IP address of this cluster's master endpoint.

Deprecated:Use [ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint] instead.

Property Value
Type Description
string