ListenerArgs

data class ListenerArgs(val dryRun: Output<Boolean>? = null, val listenerDescription: Output<String>? = null, val loadBalancerId: Output<String>? = null, val serverGroupId: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ListenerArgs>

Provides a GWLB Listener resource. For information about GWLB Listener and how to use it, see What is Listener.

NOTE: Available since v1.234.0.

Import

GWLB Listener can be imported using the id, e.g.

$ pulumi import alicloud:gwlb/listener:Listener example <id>

Constructors

Link copied to clipboard
constructor(dryRun: Output<Boolean>? = null, listenerDescription: Output<String>? = null, loadBalancerId: Output<String>? = null, serverGroupId: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val dryRun: Output<Boolean>? = null

Specifies whether to perform a dry run, without performing the actual request. Valid values:

Link copied to clipboard
val listenerDescription: Output<String>? = null

The description of the listener. The description must be 2 to 256 characters in length, and can contain letters, digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\_), and hyphens (-).

Link copied to clipboard
val loadBalancerId: Output<String>? = null

The GWLB instance ID.

Link copied to clipboard
val serverGroupId: Output<String>? = null

The server group ID.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

The tags. You can specify at most 20 tags in each call.

Functions

Link copied to clipboard
open override fun toJava(): ListenerArgs