NetworkPolicy Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Network policy used for building the Kubernetes network.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkPolicyTypeConverter))]
public struct NetworkPolicy : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkPolicy>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkPolicyTypeConverter))>]
type NetworkPolicy = struct
interface IArgumentCompleter
Public Structure NetworkPolicy
Implements IArgumentCompleter, IEquatable(Of NetworkPolicy)
- Inheritance
-
NetworkPolicy
- Attributes
- Implements
Fields
Azure |
Use Azure network policies. See differences between Azure and Calico policies for more information. |
Calico |
Use Calico network policies. See differences between Azure and Calico policies for more information. |
Cilium |
Use Cilium to enforce network policies. This requires networkDataplane to be 'cilium'. |
Methods
CompleteArgument(String, String, String, CommandAst, IDictionary) |
Implementations of this function are called by PowerShell to complete arguments. |
Equals(NetworkPolicy) |
Compares values of enum type NetworkPolicy |
Equals(Object) |
Compares values of enum type NetworkPolicy (override for Object) |
GetHashCode() |
Returns hashCode for enum NetworkPolicy |
ToString() |
Returns string representation for NetworkPolicy |
Operators
Equality(NetworkPolicy, NetworkPolicy) |
Overriding == operator for enum NetworkPolicy |
Implicit(NetworkPolicy to String) |
Implicit operator to convert NetworkPolicy to string |
Implicit(String to NetworkPolicy) |
Implicit operator to convert string to NetworkPolicy |
Inequality(NetworkPolicy, NetworkPolicy) |
Overriding != operator for enum NetworkPolicy |