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.
Implements
IMessagePrivateClusterConfig, IEquatablePrivateClusterConfig, IDeepCloneablePrivateClusterConfig, IBufferMessage, IMessageNamespace
GoogleGoogle.CloudGoogle.Cloud.ContainerV1Assembly
Google.Cloud.Container.V1.dll
Constructors
PrivateClusterConfig()
public PrivateClusterConfig()
PrivateClusterConfig(PrivateClusterConfig)
public PrivateClusterConfig(PrivateClusterConfig other)
Parameter | |
---|---|
Name | Description |
other | PrivateClusterConfig |
Properties
EnablePrivateEndpoint
public bool EnablePrivateEndpoint { get; set; }
Whether the master's internal IP address is used as the cluster endpoint.
Property Value | |
---|---|
Type | Description |
bool |
EnablePrivateNodes
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.
Property Value | |
---|---|
Type | Description |
bool |
MasterGlobalAccessConfig
public PrivateClusterMasterGlobalAccessConfig MasterGlobalAccessConfig { get; set; }
Controls master global access settings.
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
public string PrivateEndpoint { get; set; }
Output only. The internal IP address of this cluster's master endpoint.
Property Value | |
---|---|
Type | Description |
string |
PrivateEndpointSubnetwork
public string PrivateEndpointSubnetwork { get; set; }
Subnet to provision the master's private endpoint during cluster creation. Specified in projects//regions//subnetworks/* format.
Property Value | |
---|---|
Type | Description |
string |
PublicEndpoint
public string PublicEndpoint { get; set; }
Output only. The external IP address of this cluster's master endpoint.
Property Value | |
---|---|
Type | Description |
string |