flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getLbListenersV2
Start a Neo task
Explain and create a flexibleengine.getLbListenersV2 resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to query the list of ELB listeners.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const protocol = config.requireObject("protocol");
const test = flexibleengine.getLbListenersV2({
protocol: protocol,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
protocol = config.require_object("protocol")
test = flexibleengine.get_lb_listeners_v2(protocol=protocol)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
protocol := cfg.RequireObject("protocol")
_, err := flexibleengine.GetLbListenersV2(ctx, &flexibleengine.GetLbListenersV2Args{
Protocol: pulumi.StringRef(protocol),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var protocol = config.RequireObject<dynamic>("protocol");
var test = Flexibleengine.GetLbListenersV2.Invoke(new()
{
Protocol = protocol,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetLbListenersV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var protocol = config.get("protocol");
final var test = FlexibleengineFunctions.getLbListenersV2(GetLbListenersV2Args.builder()
.protocol(protocol)
.build());
}
}
configuration:
protocol:
type: dynamic
variables:
test:
fn::invoke:
function: flexibleengine:getLbListenersV2
arguments:
protocol: ${protocol}
Using getLbListenersV2
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 getLbListenersV2(args: GetLbListenersV2Args, opts?: InvokeOptions): Promise<GetLbListenersV2Result>
function getLbListenersV2Output(args: GetLbListenersV2OutputArgs, opts?: InvokeOptions): Output<GetLbListenersV2Result>def get_lb_listeners_v2(id: Optional[str] = None,
name: Optional[str] = None,
protocol: Optional[str] = None,
protocol_port: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLbListenersV2Result
def get_lb_listeners_v2_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
protocol: Optional[pulumi.Input[str]] = None,
protocol_port: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLbListenersV2Result]func GetLbListenersV2(ctx *Context, args *GetLbListenersV2Args, opts ...InvokeOption) (*GetLbListenersV2Result, error)
func GetLbListenersV2Output(ctx *Context, args *GetLbListenersV2OutputArgs, opts ...InvokeOption) GetLbListenersV2ResultOutput> Note: This function is named GetLbListenersV2 in the Go SDK.
public static class GetLbListenersV2
{
public static Task<GetLbListenersV2Result> InvokeAsync(GetLbListenersV2Args args, InvokeOptions? opts = null)
public static Output<GetLbListenersV2Result> Invoke(GetLbListenersV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLbListenersV2Result> getLbListenersV2(GetLbListenersV2Args args, InvokeOptions options)
public static Output<GetLbListenersV2Result> getLbListenersV2(GetLbListenersV2Args args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getLbListenersV2:getLbListenersV2
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The ELB loadbalancer ID.
- Name string
- The listener name.
- Protocol string
- The listener protocol.
The valid values are TCP, UDP, HTTP and TERMINATED_HTTPS. - Protocol
Port string - The front-end listening port of the listener.
The valid value is range from1to65535. - Region string
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- Id string
- The ELB loadbalancer ID.
- Name string
- The listener name.
- Protocol string
- The listener protocol.
The valid values are TCP, UDP, HTTP and TERMINATED_HTTPS. - Protocol
Port string - The front-end listening port of the listener.
The valid value is range from1to65535. - Region string
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- id String
- The ELB loadbalancer ID.
- name String
- The listener name.
- protocol String
- The listener protocol.
The valid values are TCP, UDP, HTTP and TERMINATED_HTTPS. - protocol
Port String - The front-end listening port of the listener.
The valid value is range from1to65535. - region String
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- id string
- The ELB loadbalancer ID.
- name string
- The listener name.
- protocol string
- The listener protocol.
The valid values are TCP, UDP, HTTP and TERMINATED_HTTPS. - protocol
Port string - The front-end listening port of the listener.
The valid value is range from1to65535. - region string
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- id str
- The ELB loadbalancer ID.
- name str
- The listener name.
- protocol str
- The listener protocol.
The valid values are TCP, UDP, HTTP and TERMINATED_HTTPS. - protocol_
port str - The front-end listening port of the listener.
The valid value is range from1to65535. - region str
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- id String
- The ELB loadbalancer ID.
- name String
- The listener name.
- protocol String
- The listener protocol.
The valid values are TCP, UDP, HTTP and TERMINATED_HTTPS. - protocol
Port String - The front-end listening port of the listener.
The valid value is range from1to65535. - region String
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
getLbListenersV2 Result
The following output properties are available:
- Id string
- The ELB loadbalancer ID.
- Listeners
List<Get
Lb Listeners V2Listener> - Listener list. The listeners structure is documented below.
- Region string
- Name string
- The listener name.
- Protocol string
- The listener protocol.
- Protocol
Port string - The front-end listening port of the listener.
- Id string
- The ELB loadbalancer ID.
- Listeners
[]Get
Lb Listeners V2Listener - Listener list. The listeners structure is documented below.
- Region string
- Name string
- The listener name.
- Protocol string
- The listener protocol.
- Protocol
Port string - The front-end listening port of the listener.
- id String
- The ELB loadbalancer ID.
- listeners
List<Get
Lb Listeners V2Listener> - Listener list. The listeners structure is documented below.
- region String
- name String
- The listener name.
- protocol String
- The listener protocol.
- protocol
Port String - The front-end listening port of the listener.
- id string
- The ELB loadbalancer ID.
- listeners
Get
Lb Listeners V2Listener[] - Listener list. The listeners structure is documented below.
- region string
- name string
- The listener name.
- protocol string
- The listener protocol.
- protocol
Port string - The front-end listening port of the listener.
- id str
- The ELB loadbalancer ID.
- listeners
Sequence[Get
Lb Listeners V2Listener] - Listener list. The listeners structure is documented below.
- region str
- name str
- The listener name.
- protocol str
- The listener protocol.
- protocol_
port str - The front-end listening port of the listener.
- id String
- The ELB loadbalancer ID.
- listeners List<Property Map>
- Listener list. The listeners structure is documented below.
- region String
- name String
- The listener name.
- protocol String
- The listener protocol.
- protocol
Port String - The front-end listening port of the listener.
Supporting Types
GetLbListenersV2Listener
- Connection
Limit double - The maximum number of connections allowed for the listener.
- Default
Pool stringId - The ID of the default pool with which the ELB listener is associated.
- Default
Tls stringContainer Ref - The ID of the server certificate used by the listener.
- Description string
- The description of the ELB listener.
- Http2Enable bool
- Whether the ELB listener uses HTTP/2.
- Id string
- The ELB loadbalancer ID.
- Loadbalancers
List<Get
Lb Listeners V2Listener Loadbalancer> - Listener list. The loadbalancers structure is documented below.
- Name string
- The listener name.
- Protocol string
- The listener protocol.
The valid values are TCP, UDP, HTTP and TERMINATED_HTTPS. - Protocol
Port double - The front-end listening port of the listener.
The valid value is range from1to65535. - Sni
Container List<string>Refs - List of the SNI certificate (server certificates with a domain name) IDs used by the listener.
- Connection
Limit float64 - The maximum number of connections allowed for the listener.
- Default
Pool stringId - The ID of the default pool with which the ELB listener is associated.
- Default
Tls stringContainer Ref - The ID of the server certificate used by the listener.
- Description string
- The description of the ELB listener.
- Http2Enable bool
- Whether the ELB listener uses HTTP/2.
- Id string
- The ELB loadbalancer ID.
- Loadbalancers
[]Get
Lb Listeners V2Listener Loadbalancer - Listener list. The loadbalancers structure is documented below.
- Name string
- The listener name.
- Protocol string
- The listener protocol.
The valid values are TCP, UDP, HTTP and TERMINATED_HTTPS. - Protocol
Port float64 - The front-end listening port of the listener.
The valid value is range from1to65535. - Sni
Container []stringRefs - List of the SNI certificate (server certificates with a domain name) IDs used by the listener.
- connection
Limit Double - The maximum number of connections allowed for the listener.
- default
Pool StringId - The ID of the default pool with which the ELB listener is associated.
- default
Tls StringContainer Ref - The ID of the server certificate used by the listener.
- description String
- The description of the ELB listener.
- http2Enable Boolean
- Whether the ELB listener uses HTTP/2.
- id String
- The ELB loadbalancer ID.
- loadbalancers
List<Get
Lb Listeners V2Listener Loadbalancer> - Listener list. The loadbalancers structure is documented below.
- name String
- The listener name.
- protocol String
- The listener protocol.
The valid values are TCP, UDP, HTTP and TERMINATED_HTTPS. - protocol
Port Double - The front-end listening port of the listener.
The valid value is range from1to65535. - sni
Container List<String>Refs - List of the SNI certificate (server certificates with a domain name) IDs used by the listener.
- connection
Limit number - The maximum number of connections allowed for the listener.
- default
Pool stringId - The ID of the default pool with which the ELB listener is associated.
- default
Tls stringContainer Ref - The ID of the server certificate used by the listener.
- description string
- The description of the ELB listener.
- http2Enable boolean
- Whether the ELB listener uses HTTP/2.
- id string
- The ELB loadbalancer ID.
- loadbalancers
Get
Lb Listeners V2Listener Loadbalancer[] - Listener list. The loadbalancers structure is documented below.
- name string
- The listener name.
- protocol string
- The listener protocol.
The valid values are TCP, UDP, HTTP and TERMINATED_HTTPS. - protocol
Port number - The front-end listening port of the listener.
The valid value is range from1to65535. - sni
Container string[]Refs - List of the SNI certificate (server certificates with a domain name) IDs used by the listener.
- connection_
limit float - The maximum number of connections allowed for the listener.
- default_
pool_ strid - The ID of the default pool with which the ELB listener is associated.
- default_
tls_ strcontainer_ ref - The ID of the server certificate used by the listener.
- description str
- The description of the ELB listener.
- http2_
enable bool - Whether the ELB listener uses HTTP/2.
- id str
- The ELB loadbalancer ID.
- loadbalancers
Sequence[Get
Lb Listeners V2Listener Loadbalancer] - Listener list. The loadbalancers structure is documented below.
- name str
- The listener name.
- protocol str
- The listener protocol.
The valid values are TCP, UDP, HTTP and TERMINATED_HTTPS. - protocol_
port float - The front-end listening port of the listener.
The valid value is range from1to65535. - sni_
container_ Sequence[str]refs - List of the SNI certificate (server certificates with a domain name) IDs used by the listener.
- connection
Limit Number - The maximum number of connections allowed for the listener.
- default
Pool StringId - The ID of the default pool with which the ELB listener is associated.
- default
Tls StringContainer Ref - The ID of the server certificate used by the listener.
- description String
- The description of the ELB listener.
- http2Enable Boolean
- Whether the ELB listener uses HTTP/2.
- id String
- The ELB loadbalancer ID.
- loadbalancers List<Property Map>
- Listener list. The loadbalancers structure is documented below.
- name String
- The listener name.
- protocol String
- The listener protocol.
The valid values are TCP, UDP, HTTP and TERMINATED_HTTPS. - protocol
Port Number - The front-end listening port of the listener.
The valid value is range from1to65535. - sni
Container List<String>Refs - List of the SNI certificate (server certificates with a domain name) IDs used by the listener.
GetLbListenersV2ListenerLoadbalancer
- Id string
- The ELB loadbalancer ID.
- Id string
- The ELB loadbalancer ID.
- id String
- The ELB loadbalancer ID.
- id string
- The ELB loadbalancer ID.
- id str
- The ELB loadbalancer ID.
- id String
- The ELB loadbalancer ID.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
