NetworkPoliciesArgs

data class NetworkPoliciesArgs(val egress: Output<Either<String, PolicyRule>>? = null, val ingress: Output<Either<String, PolicyRule>>? = null) : ConvertibleToJava<NetworkPoliciesArgs>

Default network policy of the namespace, specifying ingress and egress rules.

Constructors

Link copied to clipboard
constructor(egress: Output<Either<String, PolicyRule>>? = null, ingress: Output<Either<String, PolicyRule>>? = null)

Properties

Link copied to clipboard
val egress: Output<Either<String, PolicyRule>>? = null

Egress policy for the network.

Link copied to clipboard
val ingress: Output<Either<String, PolicyRule>>? = null

Ingress policy for the network.

Functions

Link copied to clipboard
open override fun toJava(): NetworkPoliciesArgs