Class NetworkPolicyConfig (2.3.0)

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

Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.

Inheritance

Object > NetworkPolicyConfig

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

NetworkPolicyConfig()

public NetworkPolicyConfig()

NetworkPolicyConfig(NetworkPolicyConfig)

public NetworkPolicyConfig(NetworkPolicyConfig other)
Parameter
NameDescription
otherNetworkPolicyConfig

Properties

Disabled

public bool Disabled { get; set; }

Whether NetworkPolicy is enabled for this cluster.

Property Value
TypeDescription
Boolean