Google Kubernetes Engine v1 API - Class NetworkPolicy (3.13.0)

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/

Inheritance

object > NetworkPolicy

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

NetworkPolicy()

public NetworkPolicy()

NetworkPolicy(NetworkPolicy)

public NetworkPolicy(NetworkPolicy other)
Parameter
NameDescription
otherNetworkPolicy

Properties

Enabled

public bool Enabled { get; set; }

Whether network policy is enabled on the cluster.

Property Value
TypeDescription
bool

Provider

public NetworkPolicy.Types.Provider Provider { get; set; }

The selected network policy provider.

Property Value
TypeDescription
NetworkPolicyTypesProvider