Google Kubernetes Engine v1 API - Class NetworkPolicyConfig (3.33.0)

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

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

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
Name Description
other NetworkPolicyConfig

Properties

Disabled

public bool Disabled { get; set; }

Whether NetworkPolicy is enabled for this cluster.

Property Value
Type Description
bool