Google Kubernetes Engine v1 API - Class NetworkConfig (3.33.0)

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

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

NetworkConfig reports the relative names of network & subnetwork.

Inheritance

object > NetworkConfig

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

NetworkConfig()

public NetworkConfig()

NetworkConfig(NetworkConfig)

public NetworkConfig(NetworkConfig other)
Parameter
Name Description
other NetworkConfig

Properties

DatapathProvider

public DatapathProvider DatapathProvider { get; set; }

The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.

Property Value
Type Description
DatapathProvider

DefaultEnablePrivateNodes

public bool DefaultEnablePrivateNodes { get; set; }

Controls whether by default nodes have private IP addresses only. It is invalid to specify both [PrivateClusterConfig.enablePrivateNodes][] and this field at the same time. To update the default setting, use [ClusterUpdate.desired_default_enable_private_nodes][google.container.v1.ClusterUpdate.desired_default_enable_private_nodes]

Property Value
Type Description
bool

DefaultSnatStatus

public DefaultSnatStatus DefaultSnatStatus { get; set; }

Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.

Property Value
Type Description
DefaultSnatStatus

DnsConfig

public DNSConfig DnsConfig { get; set; }

DNSConfig contains clusterDNS config for this cluster.

Property Value
Type Description
DNSConfig

EnableCiliumClusterwideNetworkPolicy

public bool EnableCiliumClusterwideNetworkPolicy { get; set; }

Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.

Property Value
Type Description
bool

EnableFqdnNetworkPolicy

public bool EnableFqdnNetworkPolicy { get; set; }

Whether FQDN Network Policy is enabled on this cluster.

Property Value
Type Description
bool

EnableIntraNodeVisibility

public bool EnableIntraNodeVisibility { get; set; }

Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.

Property Value
Type Description
bool

EnableL4IlbSubsetting

public bool EnableL4IlbSubsetting { get; set; }

Whether L4ILB Subsetting is enabled for this cluster.

Property Value
Type Description
bool

EnableMultiNetworking

public bool EnableMultiNetworking { get; set; }

Whether multi-networking is enabled for this cluster.

Property Value
Type Description
bool

GatewayApiConfig

public GatewayAPIConfig GatewayApiConfig { get; set; }

GatewayAPIConfig contains the desired config of Gateway API on this cluster.

Property Value
Type Description
GatewayAPIConfig

HasDefaultEnablePrivateNodes

public bool HasDefaultEnablePrivateNodes { get; }

Gets whether the "default_enable_private_nodes" field is set

Property Value
Type Description
bool

HasEnableCiliumClusterwideNetworkPolicy

public bool HasEnableCiliumClusterwideNetworkPolicy { get; }

Gets whether the "enable_cilium_clusterwide_network_policy" field is set

Property Value
Type Description
bool

HasEnableFqdnNetworkPolicy

public bool HasEnableFqdnNetworkPolicy { get; }

Gets whether the "enable_fqdn_network_policy" field is set

Property Value
Type Description
bool

HasInTransitEncryptionConfig

public bool HasInTransitEncryptionConfig { get; }

Gets whether the "in_transit_encryption_config" field is set

Property Value
Type Description
bool

InTransitEncryptionConfig

public InTransitEncryptionConfig InTransitEncryptionConfig { get; set; }

Specify the details of in-transit encryption. Now named inter-node transparent encryption.

Property Value
Type Description
InTransitEncryptionConfig

Network

public string Network { get; set; }

Output only. The relative name of the Google Compute Engine [network]google.container.v1.NetworkConfig.network to which the cluster is connected. Example: projects/my-project/global/networks/my-network

Property Value
Type Description
string

NetworkPerformanceConfig

public NetworkConfig.Types.ClusterNetworkPerformanceConfig NetworkPerformanceConfig { get; set; }

Network bandwidth tier configuration.

Property Value
Type Description
NetworkConfigTypesClusterNetworkPerformanceConfig

PrivateIpv6GoogleAccess

public PrivateIPv6GoogleAccess PrivateIpv6GoogleAccess { get; set; }

The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)

Property Value
Type Description
PrivateIPv6GoogleAccess

ServiceExternalIpsConfig

public ServiceExternalIPsConfig ServiceExternalIpsConfig { get; set; }

ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.

Property Value
Type Description
ServiceExternalIPsConfig

Subnetwork

public string Subnetwork { get; set; }

Output only. The relative name of the Google Compute Engine subnetwork to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet

Property Value
Type Description
string