Google Kubernetes Engine v1 API - Class MasterAuthorizedNetworksConfig (3.8.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
NameDescription
otherMasterAuthorizedNetworksConfig

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
TypeDescription
RepeatedField<MasterAuthorizedNetworksConfig.Types.CidrBlock>

Enabled

public bool Enabled { get; set; }

Whether or not master authorized networks is enabled.

Property Value
TypeDescription
Boolean

GcpPublicCidrsAccessEnabled

public bool GcpPublicCidrsAccessEnabled { get; set; }

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

Property Value
TypeDescription
Boolean

HasGcpPublicCidrsAccessEnabled

public bool HasGcpPublicCidrsAccessEnabled { get; }

Gets whether the "gcp_public_cidrs_access_enabled" field is set

Property Value
TypeDescription
Boolean