to

@JvmName(name = "ulkoetxvhsctfddx")
suspend fun to(value: Output<List<NetworkPolicyPeerArgs>>)
@JvmName(name = "umchfjlwilefnecf")
suspend fun to(value: List<NetworkPolicyPeerArgs>?)

Parameters

value

to is a 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 = "phfdkhoixynjrigi")
suspend fun to(vararg values: Output<NetworkPolicyPeerArgs>)


@JvmName(name = "jhlemviehapgbxbo")
suspend fun to(values: List<Output<NetworkPolicyPeerArgs>>)
@JvmName(name = "ayuatfgevpmsgvhv")
suspend fun to(vararg values: NetworkPolicyPeerArgs)

Parameters

values

to is a 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 = "xxiiwefyyrlcqued")
suspend fun to(argument: List<suspend NetworkPolicyPeerArgsBuilder.() -> Unit>)
@JvmName(name = "dlrfecmaktitblma")
suspend fun to(vararg argument: suspend NetworkPolicyPeerArgsBuilder.() -> Unit)
@JvmName(name = "gbpestykhcrjfgqc")
suspend fun to(argument: suspend NetworkPolicyPeerArgsBuilder.() -> Unit)

Parameters

argument

to is a 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.