NetworkPolicies Class
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.
Default network policy of the namespace, specifying ingress and egress rules.
public class NetworkPolicies
type NetworkPolicies = class
Public Class NetworkPolicies
- Inheritance
-
NetworkPolicies
Constructors
| Name | Description |
|---|---|
| NetworkPolicies() |
Initializes a new instance of the NetworkPolicies class. |
| NetworkPolicies(String, String) |
Initializes a new instance of the NetworkPolicies class. |
Properties
| Name | Description |
|---|---|
| Egress |
Gets or sets enum representing different network policy rules. Possible values include: 'DenyAll', 'AllowAll', 'AllowSameNamespace' |
| Ingress |
Gets or sets enum representing different network policy rules. Possible values include: 'DenyAll', 'AllowAll', 'AllowSameNamespace' |