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
Using getListeners
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 getListeners(args: GetListenersArgs, opts?: InvokeOptions): Promise<GetListenersResult>
function getListenersOutput(args: GetListenersOutputArgs, opts?: InvokeOptions): Output<GetListenersResult>def get_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[GetListenersTag]] = None,
opts: Optional[InvokeOptions] = None) -> GetListenersResult
def get_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[GetListenersTagArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetListenersResult]func GetListeners(ctx *Context, args *GetListenersArgs, opts ...InvokeOption) (*GetListenersResult, error)
func GetListenersOutput(ctx *Context, args *GetListenersOutputArgs, opts ...InvokeOption) GetListenersResultOutput> Note: This function is named GetListeners in the Go SDK.
public static class GetListeners
{
public static Task<GetListenersResult> InvokeAsync(GetListenersArgs args, InvokeOptions? opts = null)
public static Output<GetListenersResult> Invoke(GetListenersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetListenersResult> getListeners(GetListenersArgs args, InvokeOptions options)
public static Output<GetListenersResult> getListeners(GetListenersArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:nlb/getListeners:getListeners
arguments:
# arguments dictionaryThe following arguments are supported:
- Listener
Ids List<string> - Listener
Name string - Load
Balancer stringId - Output
File string - Protocol string
-
List<Get
Listeners Tag>
- Listener
Ids []string - Listener
Name string - Load
Balancer stringId - Output
File string - Protocol string
-
[]Get
Listeners Tag
- listener
Ids List<String> - listener
Name String - load
Balancer StringId - output
File String - protocol String
-
List<Get
Listeners Tag>
- listener
Ids string[] - listener
Name string - load
Balancer stringId - output
File string - protocol string
-
Get
Listeners Tag[]
- listener_
ids Sequence[str] - listener_
name str - load_
balancer_ strid - output_
file str - protocol str
-
Sequence[Get
Listeners Tag]
- listener
Ids List<String> - listener
Name String - load
Balancer StringId - output
File String - protocol String
- List<Property Map>
getListeners Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
List<Get
Listeners Listener> - Total
Count int - Listener
Ids List<string> - Listener
Name string - Load
Balancer stringId - Output
File string - Protocol string
-
List<Get
Listeners Tag>
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
[]Get
Listeners Listener - Total
Count int - Listener
Ids []string - Listener
Name string - Load
Balancer stringId - Output
File string - Protocol string
-
[]Get
Listeners Tag
- id String
- The provider-assigned unique ID for this managed resource.
- listeners
List<Get
Listeners Listener> - total
Count Integer - listener
Ids List<String> - listener
Name String - load
Balancer StringId - output
File String - protocol String
-
List<Get
Listeners Tag>
- id string
- The provider-assigned unique ID for this managed resource.
- listeners
Get
Listeners Listener[] - total
Count number - listener
Ids string[] - listener
Name string - load
Balancer stringId - output
File string - protocol string
-
Get
Listeners Tag[]
- id str
- The provider-assigned unique ID for this managed resource.
- listeners
Sequence[Get
Listeners Listener] - total_
count int - listener_
ids Sequence[str] - listener_
name str - load_
balancer_ strid - output_
file str - protocol str
-
Sequence[Get
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
GetListenersListener
- 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<Get
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. -
[]Get
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<Get
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. -
Get
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[Get
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.
GetListenersListenerTag
GetListenersTag
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
