getListeners

This data source provides the Nlb Listeners of the current Alibaba Cloud user.

NOTE: Available in v1.191.0+.

Return

A collection of values returned by getListeners.

Parameters

argument

A collection of arguments for invoking getListeners.


suspend fun getListeners(ids: List<String>? = null, listenerProtocol: String? = null, loadBalancerIds: List<String>? = null, outputFile: String? = null): GetListenersResult

Return

A collection of values returned by getListeners.

See also

Parameters

ids

A list of Listener IDs.

listenerProtocol

The listening protocol. Valid values: TCP, UDP, or TCPSSL.

loadBalancerIds

The ID of the NLB instance. You can specify at most 20 IDs.

outputFile

File name where to save data source results (after running pulumi preview).


Return

A collection of values returned by getListeners.

See also

Parameters

argument

Builder for com.pulumi.alicloud.nlb.kotlin.inputs.GetListenersPlainArgs.