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.
Implements
IMessageNetworkPolicyConfig, IEquatableNetworkPolicyConfig, IDeepCloneableNetworkPolicyConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
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 |