Dela via


ContainerServiceNetworkPolicy Struct

Definition

Network policy used for building the Kubernetes network.

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

Constructors

ContainerServiceNetworkPolicy(String)

Initializes a new instance of ContainerServiceNetworkPolicy.

Properties

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

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

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