Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.nlb.Listeners has been deprecated in favor of volcengine.nlb.getListeners
Using Listeners
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function listeners(args: ListenersArgs, opts?: InvokeOptions): Promise<ListenersResult>
function listenersOutput(args: ListenersOutputArgs, opts?: InvokeOptions): Output<ListenersResult>def listeners(listener_ids: Optional[Sequence[str]] = None,
listener_name: Optional[str] = None,
load_balancer_id: Optional[str] = None,
output_file: Optional[str] = None,
protocol: Optional[str] = None,
tags: Optional[Sequence[ListenersTag]] = None,
opts: Optional[InvokeOptions] = None) -> ListenersResult
def listeners_output(listener_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
listener_name: Optional[pulumi.Input[str]] = None,
load_balancer_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
protocol: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[ListenersTagArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListenersResult]func Listeners(ctx *Context, args *ListenersArgs, opts ...InvokeOption) (*ListenersResult, error)
func ListenersOutput(ctx *Context, args *ListenersOutputArgs, opts ...InvokeOption) ListenersResultOutputpublic static class Listeners
{
public static Task<ListenersResult> InvokeAsync(ListenersArgs args, InvokeOptions? opts = null)
public static Output<ListenersResult> Invoke(ListenersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListenersResult> listeners(ListenersArgs args, InvokeOptions options)
public static Output<ListenersResult> listeners(ListenersArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:nlb:Listeners
arguments:
# arguments dictionaryThe following arguments are supported:
- Listener
Ids List<string> - Listener
Name string - Load
Balancer stringId - Output
File string - Protocol string
-
List<Listeners
Tag>
- Listener
Ids []string - Listener
Name string - Load
Balancer stringId - Output
File string - Protocol string
-
[]Listeners
Tag
- listener
Ids List<String> - listener
Name String - load
Balancer StringId - output
File String - protocol String
-
List<Listeners
Tag>
- listener
Ids string[] - listener
Name string - load
Balancer stringId - output
File string - protocol string
-
Listeners
Tag[]
- listener_
ids Sequence[str] - listener_
name str - load_
balancer_ strid - output_
file str - protocol str
-
Sequence[Listeners
Tag]
- listener
Ids List<String> - listener
Name String - load
Balancer StringId - output
File String - protocol String
- List<Property Map>
Listeners Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
List<Listeners
Listener> - Total
Count int - Listener
Ids List<string> - Listener
Name string - Load
Balancer stringId - Output
File string - Protocol string
-
List<Listeners
Tag>
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
[]Listeners
Listener - Total
Count int - Listener
Ids []string - Listener
Name string - Load
Balancer stringId - Output
File string - Protocol string
-
[]Listeners
Tag
- id String
- The provider-assigned unique ID for this managed resource.
- listeners
List<Listeners
Listener> - total
Count Integer - listener
Ids List<String> - listener
Name String - load
Balancer StringId - output
File String - protocol String
-
List<Listeners
Tag>
- id string
- The provider-assigned unique ID for this managed resource.
- listeners
Listeners
Listener[] - total
Count number - listener
Ids string[] - listener
Name string - load
Balancer stringId - output
File string - protocol string
-
Listeners
Tag[]
- id str
- The provider-assigned unique ID for this managed resource.
- listeners
Sequence[Listeners
Listener] - total_
count int - listener_
ids Sequence[str] - listener_
name str - load_
balancer_ strid - output_
file str - protocol str
-
Sequence[Listeners
Tag]
- id String
- The provider-assigned unique ID for this managed resource.
- listeners List<Property Map>
- total
Count Number - listener
Ids List<String> - listener
Name String - load
Balancer StringId - output
File String - protocol String
- List<Property Map>
Supporting Types
ListenersListener
- Connection
Timeout int - The connection timeout of the listener.
- Create
Time string - The creation time of the listener.
- Description string
- The description of the listener.
- Enabled bool
- Whether to enable the listener. Valid values:
true,false.true: Enable.false: Disable. - End
Port int - The end port of the full port listening.
- Listener
Id string - The ID of the listener.
- Listener
Name string - The name of the listener.
- Load
Balancer stringId - The ID of the NLB instance.
- Port int
- The port used by the listener. 0 indicates that full port listening is enabled.
- Protocol string
- The protocol of the listener. Valid values:
TCP,UDP,TLS. - Server
Group stringId - The ID of the server group associated with the listener.
- Start
Port int - The start port of the full port listening.
- Status string
- The status of the listener. Valid values:
Creating,Active,Deleting,Disabled.Creating: The listener is being created.Active: The listener is running.Deleting: The listener is being deleted.Disabled: The listener is disabled. -
List<Listeners
Listener Tag> - Tags.
- Update
Time string - The update time of the listener.
- Connection
Timeout int - The connection timeout of the listener.
- Create
Time string - The creation time of the listener.
- Description string
- The description of the listener.
- Enabled bool
- Whether to enable the listener. Valid values:
true,false.true: Enable.false: Disable. - End
Port int - The end port of the full port listening.
- Listener
Id string - The ID of the listener.
- Listener
Name string - The name of the listener.
- Load
Balancer stringId - The ID of the NLB instance.
- Port int
- The port used by the listener. 0 indicates that full port listening is enabled.
- Protocol string
- The protocol of the listener. Valid values:
TCP,UDP,TLS. - Server
Group stringId - The ID of the server group associated with the listener.
- Start
Port int - The start port of the full port listening.
- Status string
- The status of the listener. Valid values:
Creating,Active,Deleting,Disabled.Creating: The listener is being created.Active: The listener is running.Deleting: The listener is being deleted.Disabled: The listener is disabled. -
[]Listeners
Listener Tag - Tags.
- Update
Time string - The update time of the listener.
- connection
Timeout Integer - The connection timeout of the listener.
- create
Time String - The creation time of the listener.
- description String
- The description of the listener.
- enabled Boolean
- Whether to enable the listener. Valid values:
true,false.true: Enable.false: Disable. - end
Port Integer - The end port of the full port listening.
- listener
Id String - The ID of the listener.
- listener
Name String - The name of the listener.
- load
Balancer StringId - The ID of the NLB instance.
- port Integer
- The port used by the listener. 0 indicates that full port listening is enabled.
- protocol String
- The protocol of the listener. Valid values:
TCP,UDP,TLS. - server
Group StringId - The ID of the server group associated with the listener.
- start
Port Integer - The start port of the full port listening.
- status String
- The status of the listener. Valid values:
Creating,Active,Deleting,Disabled.Creating: The listener is being created.Active: The listener is running.Deleting: The listener is being deleted.Disabled: The listener is disabled. -
List<Listeners
Listener Tag> - Tags.
- update
Time String - The update time of the listener.
- connection
Timeout number - The connection timeout of the listener.
- create
Time string - The creation time of the listener.
- description string
- The description of the listener.
- enabled boolean
- Whether to enable the listener. Valid values:
true,false.true: Enable.false: Disable. - end
Port number - The end port of the full port listening.
- listener
Id string - The ID of the listener.
- listener
Name string - The name of the listener.
- load
Balancer stringId - The ID of the NLB instance.
- port number
- The port used by the listener. 0 indicates that full port listening is enabled.
- protocol string
- The protocol of the listener. Valid values:
TCP,UDP,TLS. - server
Group stringId - The ID of the server group associated with the listener.
- start
Port number - The start port of the full port listening.
- status string
- The status of the listener. Valid values:
Creating,Active,Deleting,Disabled.Creating: The listener is being created.Active: The listener is running.Deleting: The listener is being deleted.Disabled: The listener is disabled. -
Listeners
Listener Tag[] - Tags.
- update
Time string - The update time of the listener.
- connection_
timeout int - The connection timeout of the listener.
- create_
time str - The creation time of the listener.
- description str
- The description of the listener.
- enabled bool
- Whether to enable the listener. Valid values:
true,false.true: Enable.false: Disable. - end_
port int - The end port of the full port listening.
- listener_
id str - The ID of the listener.
- listener_
name str - The name of the listener.
- load_
balancer_ strid - The ID of the NLB instance.
- port int
- The port used by the listener. 0 indicates that full port listening is enabled.
- protocol str
- The protocol of the listener. Valid values:
TCP,UDP,TLS. - server_
group_ strid - The ID of the server group associated with the listener.
- start_
port int - The start port of the full port listening.
- status str
- The status of the listener. Valid values:
Creating,Active,Deleting,Disabled.Creating: The listener is being created.Active: The listener is running.Deleting: The listener is being deleted.Disabled: The listener is disabled. -
Sequence[Listeners
Listener Tag] - Tags.
- update_
time str - The update time of the listener.
- connection
Timeout Number - The connection timeout of the listener.
- create
Time String - The creation time of the listener.
- description String
- The description of the listener.
- enabled Boolean
- Whether to enable the listener. Valid values:
true,false.true: Enable.false: Disable. - end
Port Number - The end port of the full port listening.
- listener
Id String - The ID of the listener.
- listener
Name String - The name of the listener.
- load
Balancer StringId - The ID of the NLB instance.
- port Number
- The port used by the listener. 0 indicates that full port listening is enabled.
- protocol String
- The protocol of the listener. Valid values:
TCP,UDP,TLS. - server
Group StringId - The ID of the server group associated with the listener.
- start
Port Number - The start port of the full port listening.
- status String
- The status of the listener. Valid values:
Creating,Active,Deleting,Disabled.Creating: The listener is being created.Active: The listener is running.Deleting: The listener is being deleted.Disabled: The listener is disabled. - List<Property Map>
- Tags.
- update
Time String - The update time of the listener.
ListenersListenerTag
ListenersTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
