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.
Implements
IMessage<MasterAuthorizedNetworksConfig>, IEquatable<MasterAuthorizedNetworksConfig>, IDeepCloneable<MasterAuthorizedNetworksConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
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 |
RepeatedField<MasterAuthorizedNetworksConfig.Types.CidrBlock> |
Enabled
public bool Enabled { get; set; }
Whether or not master authorized networks is enabled.
Property Value | |
---|---|
Type | Description |
Boolean |