Freigeben über


ContainerServiceNetworkPolicy Struct

Definition

Network policy used for building the Kubernetes network. Serialized Name: NetworkPolicy

public readonly struct ContainerServiceNetworkPolicy : IEquatable<Azure.ResourceManager.ContainerService.Models.ContainerServiceNetworkPolicy>
type ContainerServiceNetworkPolicy = struct
Public Structure ContainerServiceNetworkPolicy
Implements IEquatable(Of ContainerServiceNetworkPolicy)
Inheritance
ContainerServiceNetworkPolicy
Implements

Constructors

Name Description
ContainerServiceNetworkPolicy(String)

Initializes a new instance of ContainerServiceNetworkPolicy.

Properties

Name Description
Azure

Use Azure network policies. See differences between Azure and Calico policies for more information. Serialized Name: NetworkPolicy.azure

Calico

Use Calico network policies. See differences between Azure and Calico policies for more information. Serialized Name: NetworkPolicy.calico

Cilium

Use Cilium to enforce network policies. This requires networkDataplane to be 'cilium'. Serialized Name: NetworkPolicy.cilium

None

Network policies will not be enforced. This is the default value when NetworkPolicy is not specified. Serialized Name: NetworkPolicy.none

Methods

Name Description
Equals(ContainerServiceNetworkPolicy)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(ContainerServiceNetworkPolicy, ContainerServiceNetworkPolicy)

Determines if two ContainerServiceNetworkPolicy values are the same.

Implicit(String to ContainerServiceNetworkPolicy)

Converts a String to a ContainerServiceNetworkPolicy.

Inequality(ContainerServiceNetworkPolicy, ContainerServiceNetworkPolicy)

Determines if two ContainerServiceNetworkPolicy values are not the same.

Applies to