NetworkPolicies Constructors
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.
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'