NetworkPolicies Class

Definition

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'

Applies to