public sealed class NetworkPolicy : IMessage<NetworkPolicy>, IEquatable<NetworkPolicy>, IDeepCloneable<NetworkPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class NetworkPolicy.
Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
Implements
IMessage<NetworkPolicy>, IEquatable<NetworkPolicy>, IDeepCloneable<NetworkPolicy>, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
NetworkPolicy()
public NetworkPolicy()
NetworkPolicy(NetworkPolicy)
public NetworkPolicy(NetworkPolicy other)
Parameter | |
---|---|
Name | Description |
other | NetworkPolicy |
Properties
Enabled
public bool Enabled { get; set; }
Whether network policy is enabled on the cluster.
Property Value | |
---|---|
Type | Description |
Boolean |
Provider
public NetworkPolicy.Types.Provider Provider { get; set; }
The selected network policy provider.
Property Value | |
---|---|
Type | Description |
NetworkPolicy.Types.Provider |