Class MasterAuthorizedNetworksConfig

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

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
TypeNameDescription
MasterAuthorizedNetworksConfigother

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

Implements