Language

NetworkPolicies Constructors

Definition

Overloads

Name Description
NetworkPolicies()

Initializes a new instance of the NetworkPolicies class.

NetworkPolicies(String, String)

Initializes a new instance of the NetworkPolicies class.

NetworkPolicies()

Initializes a new instance of the NetworkPolicies class.

public NetworkPolicies();
Public Sub New ()

Applies to

NetworkPolicies(String, String)

Initializes a new instance of the NetworkPolicies class.

public NetworkPolicies(string ingress = default, string egress = default);
new Microsoft.Azure.Management.ContainerService.Models.NetworkPolicies : string * string -> Microsoft.Azure.Management.ContainerService.Models.NetworkPolicies
Public Sub New (Optional ingress As String = Nothing, Optional egress As String = Nothing)

Parameters

ingress
String

Enum representing different network policy rules. Possible values include: 'DenyAll', 'AllowAll', 'AllowSameNamespace'

egress
String

Enum representing different network policy rules. Possible values include: 'DenyAll', 'AllowAll', 'AllowSameNamespace'

Applies to