Google Kubernetes Engine v1 API - Class MasterAuthorizedNetworksConfig (3.30.0)

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

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

Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.

Inheritance

object > MasterAuthorizedNetworksConfig

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

MasterAuthorizedNetworksConfig()

public MasterAuthorizedNetworksConfig()

MasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig)

public MasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig other)
Parameter
Name Description
other MasterAuthorizedNetworksConfig

Properties

CidrBlocks

public RepeatedField<MasterAuthorizedNetworksConfig.Types.CidrBlock> CidrBlocks { get; }

cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

Property Value
Type Description
RepeatedFieldMasterAuthorizedNetworksConfigTypesCidrBlock

Enabled

public bool Enabled { get; set; }

Whether or not master authorized networks is enabled.

Property Value
Type Description
bool

GcpPublicCidrsAccessEnabled

public bool GcpPublicCidrsAccessEnabled { get; set; }

Whether master is accessbile via Google Compute Engine Public IP addresses.

Property Value
Type Description
bool

HasGcpPublicCidrsAccessEnabled

public bool HasGcpPublicCidrsAccessEnabled { get; }

Gets whether the "gcp_public_cidrs_access_enabled" field is set

Property Value
Type Description
bool