ports

@JvmName(name = "eldjxekaxnaepihr")
suspend fun ports(value: Output<List<NetworkPolicyPortPatchArgs>>)
@JvmName(name = "gbplmjqwywdbgmsv")
suspend fun ports(value: List<NetworkPolicyPortPatchArgs>?)

Parameters

value

ports is a list of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.


@JvmName(name = "dnuivytcsjymtlaq")
suspend fun ports(vararg values: Output<NetworkPolicyPortPatchArgs>)


@JvmName(name = "qxcwnwttdjbairye")
suspend fun ports(values: List<Output<NetworkPolicyPortPatchArgs>>)
@JvmName(name = "cgmwiobxrnmsssus")
suspend fun ports(vararg values: NetworkPolicyPortPatchArgs)

Parameters

values

ports is a list of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.


@JvmName(name = "puusjfquunldhjfu")
suspend fun ports(argument: List<suspend NetworkPolicyPortPatchArgsBuilder.() -> Unit>)
@JvmName(name = "yowhpbvmnygotdoj")
suspend fun ports(vararg argument: suspend NetworkPolicyPortPatchArgsBuilder.() -> Unit)
@JvmName(name = "okkwymfnuovtbrwj")
suspend fun ports(argument: suspend NetworkPolicyPortPatchArgsBuilder.() -> Unit)

Parameters

argument

ports is a list of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.