ports

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

Parameters

value

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 = "ahrgifqsivaapopc")
suspend fun ports(vararg values: Output<NetworkPolicyPortPatchArgs>)


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

Parameters

values

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 = "buwfmxflpsqwqbyd")
suspend fun ports(argument: List<suspend NetworkPolicyPortPatchArgsBuilder.() -> Unit>)
@JvmName(name = "xonaxwiccowyesud")
suspend fun ports(vararg argument: suspend NetworkPolicyPortPatchArgsBuilder.() -> Unit)
@JvmName(name = "mxwxpljuydchmpcj")
suspend fun ports(argument: suspend NetworkPolicyPortPatchArgsBuilder.() -> Unit)

Parameters

argument

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.