egress

@JvmName(name = "nkspdlxnejsrksri")
suspend fun egress(value: Output<List<NetworkPolicyEgressRulePatchArgs>>)
@JvmName(name = "dpffvvyrerhmvppq")
suspend fun egress(value: List<NetworkPolicyEgressRulePatchArgs>?)

Parameters

value

egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8


@JvmName(name = "ywruvbmqyumamgiv")
suspend fun egress(vararg values: Output<NetworkPolicyEgressRulePatchArgs>)


@JvmName(name = "wdtunhxnpxhnrpet")
suspend fun egress(values: List<Output<NetworkPolicyEgressRulePatchArgs>>)
@JvmName(name = "xetuljtamvbgijuy")
suspend fun egress(vararg values: NetworkPolicyEgressRulePatchArgs)

Parameters

values

egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8


@JvmName(name = "sbwngbmoqeduqanf")
suspend fun egress(argument: List<suspend NetworkPolicyEgressRulePatchArgsBuilder.() -> Unit>)
@JvmName(name = "jjgbtoyojdvpdnbl")
suspend fun egress(vararg argument: suspend NetworkPolicyEgressRulePatchArgsBuilder.() -> Unit)
@JvmName(name = "kmkuolbgbddpvjgf")
suspend fun egress(argument: suspend NetworkPolicyEgressRulePatchArgsBuilder.() -> Unit)

Parameters

argument

egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8