to

@JvmName(name = "uopwykvbihcyanuu")
suspend fun to(value: Output<List<NetworkPolicyPeerPatchArgs>>)
@JvmName(name = "jimvuiiieulfimrt")
suspend fun to(value: List<NetworkPolicyPeerPatchArgs>?)

Parameters

value

List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.


@JvmName(name = "brqctuciehpoyemu")
suspend fun to(vararg values: Output<NetworkPolicyPeerPatchArgs>)


@JvmName(name = "grnaeihnvhxcmswu")
suspend fun to(values: List<Output<NetworkPolicyPeerPatchArgs>>)
@JvmName(name = "earbxtmiqjuwkkcj")
suspend fun to(vararg values: NetworkPolicyPeerPatchArgs)

Parameters

values

List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.


@JvmName(name = "gvppojwxctykakoh")
suspend fun to(argument: List<suspend NetworkPolicyPeerPatchArgsBuilder.() -> Unit>)
@JvmName(name = "tsylxpkyqmisdsiu")
suspend fun to(vararg argument: suspend NetworkPolicyPeerPatchArgsBuilder.() -> Unit)
@JvmName(name = "xhqrqvpqtgwelbtl")
suspend fun to(argument: suspend NetworkPolicyPeerPatchArgsBuilder.() -> Unit)

Parameters

argument

List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.