flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getElbLoadbalancers
Explore with Pulumi AI
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get the list of ELB load blancers.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const loadbalancerName = config.requireObject("loadbalancerName");
const test = flexibleengine.getElbLoadbalancers({
name: loadbalancerName,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
loadbalancer_name = config.require_object("loadbalancerName")
test = flexibleengine.get_elb_loadbalancers(name=loadbalancer_name)
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, "")
loadbalancerName := cfg.RequireObject("loadbalancerName")
_, err := flexibleengine.GetElbLoadbalancers(ctx, &flexibleengine.GetElbLoadbalancersArgs{
Name: pulumi.StringRef(loadbalancerName),
}, 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 loadbalancerName = config.RequireObject<dynamic>("loadbalancerName");
var test = Flexibleengine.GetElbLoadbalancers.Invoke(new()
{
Name = loadbalancerName,
});
});
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.GetElbLoadbalancersArgs;
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 loadbalancerName = config.get("loadbalancerName");
final var test = FlexibleengineFunctions.getElbLoadbalancers(GetElbLoadbalancersArgs.builder()
.name(loadbalancerName)
.build());
}
}
configuration:
loadbalancerName:
type: dynamic
variables:
test:
fn::invoke:
function: flexibleengine:getElbLoadbalancers
arguments:
name: ${loadbalancerName}
Using getElbLoadbalancers
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 getElbLoadbalancers(args: GetElbLoadbalancersArgs, opts?: InvokeOptions): Promise<GetElbLoadbalancersResult>
function getElbLoadbalancersOutput(args: GetElbLoadbalancersOutputArgs, opts?: InvokeOptions): Output<GetElbLoadbalancersResult>
def get_elb_loadbalancers(description: Optional[str] = None,
id: Optional[str] = None,
ipv4_subnet_id: Optional[str] = None,
ipv6_network_id: Optional[str] = None,
l4_flavor_id: Optional[str] = None,
l7_flavor_id: Optional[str] = None,
loadbalancer_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
type: Optional[str] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetElbLoadbalancersResult
def get_elb_loadbalancers_output(description: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
ipv4_subnet_id: Optional[pulumi.Input[str]] = None,
ipv6_network_id: Optional[pulumi.Input[str]] = None,
l4_flavor_id: Optional[pulumi.Input[str]] = None,
l7_flavor_id: Optional[pulumi.Input[str]] = None,
loadbalancer_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetElbLoadbalancersResult]
func GetElbLoadbalancers(ctx *Context, args *GetElbLoadbalancersArgs, opts ...InvokeOption) (*GetElbLoadbalancersResult, error)
func GetElbLoadbalancersOutput(ctx *Context, args *GetElbLoadbalancersOutputArgs, opts ...InvokeOption) GetElbLoadbalancersResultOutput
> Note: This function is named GetElbLoadbalancers
in the Go SDK.
public static class GetElbLoadbalancers
{
public static Task<GetElbLoadbalancersResult> InvokeAsync(GetElbLoadbalancersArgs args, InvokeOptions? opts = null)
public static Output<GetElbLoadbalancersResult> Invoke(GetElbLoadbalancersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetElbLoadbalancersResult> getElbLoadbalancers(GetElbLoadbalancersArgs args, InvokeOptions options)
public static Output<GetElbLoadbalancersResult> getElbLoadbalancers(GetElbLoadbalancersArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getElbLoadbalancers:getElbLoadbalancers
arguments:
# arguments dictionary
The following arguments are supported:
- Description string
- Specifies the description of the ELB load balancer.
- Id string
- The load balancer ID.
- Ipv4Subnet
Id string - Specifies the ID of the IPv4 subnet where the load balancer resides.
- Ipv6Network
Id string - Specifies the ID of the port bound to the IPv6 address of the load balancer.
- L4Flavor
Id string - Specifies the ID of a flavor at Layer 4.
- L7Flavor
Id string - Specifies the ID of a flavor at Layer 7.
- Loadbalancer
Id string - Specifies the ID of the ELB load balancer.
- Name string
- Specifies the name of the ELB load balancer.
- Region string
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- Type string
- Specifies whether the load balancer is a dedicated load balancer, Value options: dedicated, share.
- Vpc
Id string - Specifies the ID of the VPC where the load balancer resides.
- Description string
- Specifies the description of the ELB load balancer.
- Id string
- The load balancer ID.
- Ipv4Subnet
Id string - Specifies the ID of the IPv4 subnet where the load balancer resides.
- Ipv6Network
Id string - Specifies the ID of the port bound to the IPv6 address of the load balancer.
- L4Flavor
Id string - Specifies the ID of a flavor at Layer 4.
- L7Flavor
Id string - Specifies the ID of a flavor at Layer 7.
- Loadbalancer
Id string - Specifies the ID of the ELB load balancer.
- Name string
- Specifies the name of the ELB load balancer.
- Region string
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- Type string
- Specifies whether the load balancer is a dedicated load balancer, Value options: dedicated, share.
- Vpc
Id string - Specifies the ID of the VPC where the load balancer resides.
- description String
- Specifies the description of the ELB load balancer.
- id String
- The load balancer ID.
- ipv4Subnet
Id String - Specifies the ID of the IPv4 subnet where the load balancer resides.
- ipv6Network
Id String - Specifies the ID of the port bound to the IPv6 address of the load balancer.
- l4Flavor
Id String - Specifies the ID of a flavor at Layer 4.
- l7Flavor
Id String - Specifies the ID of a flavor at Layer 7.
- loadbalancer
Id String - Specifies the ID of the ELB load balancer.
- name String
- Specifies the name of the ELB load balancer.
- region String
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- type String
- Specifies whether the load balancer is a dedicated load balancer, Value options: dedicated, share.
- vpc
Id String - Specifies the ID of the VPC where the load balancer resides.
- description string
- Specifies the description of the ELB load balancer.
- id string
- The load balancer ID.
- ipv4Subnet
Id string - Specifies the ID of the IPv4 subnet where the load balancer resides.
- ipv6Network
Id string - Specifies the ID of the port bound to the IPv6 address of the load balancer.
- l4Flavor
Id string - Specifies the ID of a flavor at Layer 4.
- l7Flavor
Id string - Specifies the ID of a flavor at Layer 7.
- loadbalancer
Id string - Specifies the ID of the ELB load balancer.
- name string
- Specifies the name of the ELB load balancer.
- region string
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- type string
- Specifies whether the load balancer is a dedicated load balancer, Value options: dedicated, share.
- vpc
Id string - Specifies the ID of the VPC where the load balancer resides.
- description str
- Specifies the description of the ELB load balancer.
- id str
- The load balancer ID.
- ipv4_
subnet_ strid - Specifies the ID of the IPv4 subnet where the load balancer resides.
- ipv6_
network_ strid - Specifies the ID of the port bound to the IPv6 address of the load balancer.
- l4_
flavor_ strid - Specifies the ID of a flavor at Layer 4.
- l7_
flavor_ strid - Specifies the ID of a flavor at Layer 7.
- loadbalancer_
id str - Specifies the ID of the ELB load balancer.
- name str
- Specifies the name of the ELB load balancer.
- region str
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- type str
- Specifies whether the load balancer is a dedicated load balancer, Value options: dedicated, share.
- vpc_
id str - Specifies the ID of the VPC where the load balancer resides.
- description String
- Specifies the description of the ELB load balancer.
- id String
- The load balancer ID.
- ipv4Subnet
Id String - Specifies the ID of the IPv4 subnet where the load balancer resides.
- ipv6Network
Id String - Specifies the ID of the port bound to the IPv6 address of the load balancer.
- l4Flavor
Id String - Specifies the ID of a flavor at Layer 4.
- l7Flavor
Id String - Specifies the ID of a flavor at Layer 7.
- loadbalancer
Id String - Specifies the ID of the ELB load balancer.
- name String
- Specifies the name of the ELB load balancer.
- region String
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- type String
- Specifies whether the load balancer is a dedicated load balancer, Value options: dedicated, share.
- vpc
Id String - Specifies the ID of the VPC where the load balancer resides.
getElbLoadbalancers Result
The following output properties are available:
- Id string
- The load balancer ID.
- Loadbalancers
List<Get
Elb Loadbalancers Loadbalancer> - Lists the loadalancers. The loadbalancers structure is documented below.
- Region string
- Description string
- The description of load balancer.
- Ipv4Subnet
Id string - The ID of the IPv4 subnet where the load balancer resides.
- Ipv6Network
Id string - The ID of the IPv6 subnet where the load balancer resides.
- L4Flavor
Id string - The ID of a flavor at Layer 4.
- L7Flavor
Id string - The ID of a flavor at Layer 7
- Loadbalancer
Id string - Name string
- The load balancer name.
- Type string
- Whether the load balancer is a dedicated load balancer.
- Vpc
Id string - The ID of the VPC where the load balancer resides.
- Id string
- The load balancer ID.
- Loadbalancers
[]Get
Elb Loadbalancers Loadbalancer - Lists the loadalancers. The loadbalancers structure is documented below.
- Region string
- Description string
- The description of load balancer.
- Ipv4Subnet
Id string - The ID of the IPv4 subnet where the load balancer resides.
- Ipv6Network
Id string - The ID of the IPv6 subnet where the load balancer resides.
- L4Flavor
Id string - The ID of a flavor at Layer 4.
- L7Flavor
Id string - The ID of a flavor at Layer 7
- Loadbalancer
Id string - Name string
- The load balancer name.
- Type string
- Whether the load balancer is a dedicated load balancer.
- Vpc
Id string - The ID of the VPC where the load balancer resides.
- id String
- The load balancer ID.
- loadbalancers
List<Get
Elb Loadbalancers Loadbalancer> - Lists the loadalancers. The loadbalancers structure is documented below.
- region String
- description String
- The description of load balancer.
- ipv4Subnet
Id String - The ID of the IPv4 subnet where the load balancer resides.
- ipv6Network
Id String - The ID of the IPv6 subnet where the load balancer resides.
- l4Flavor
Id String - The ID of a flavor at Layer 4.
- l7Flavor
Id String - The ID of a flavor at Layer 7
- loadbalancer
Id String - name String
- The load balancer name.
- type String
- Whether the load balancer is a dedicated load balancer.
- vpc
Id String - The ID of the VPC where the load balancer resides.
- id string
- The load balancer ID.
- loadbalancers
Get
Elb Loadbalancers Loadbalancer[] - Lists the loadalancers. The loadbalancers structure is documented below.
- region string
- description string
- The description of load balancer.
- ipv4Subnet
Id string - The ID of the IPv4 subnet where the load balancer resides.
- ipv6Network
Id string - The ID of the IPv6 subnet where the load balancer resides.
- l4Flavor
Id string - The ID of a flavor at Layer 4.
- l7Flavor
Id string - The ID of a flavor at Layer 7
- loadbalancer
Id string - name string
- The load balancer name.
- type string
- Whether the load balancer is a dedicated load balancer.
- vpc
Id string - The ID of the VPC where the load balancer resides.
- id str
- The load balancer ID.
- loadbalancers
Sequence[Get
Elb Loadbalancers Loadbalancer] - Lists the loadalancers. The loadbalancers structure is documented below.
- region str
- description str
- The description of load balancer.
- ipv4_
subnet_ strid - The ID of the IPv4 subnet where the load balancer resides.
- ipv6_
network_ strid - The ID of the IPv6 subnet where the load balancer resides.
- l4_
flavor_ strid - The ID of a flavor at Layer 4.
- l7_
flavor_ strid - The ID of a flavor at Layer 7
- loadbalancer_
id str - name str
- The load balancer name.
- type str
- Whether the load balancer is a dedicated load balancer.
- vpc_
id str - The ID of the VPC where the load balancer resides.
- id String
- The load balancer ID.
- loadbalancers List<Property Map>
- Lists the loadalancers. The loadbalancers structure is documented below.
- region String
- description String
- The description of load balancer.
- ipv4Subnet
Id String - The ID of the IPv4 subnet where the load balancer resides.
- ipv6Network
Id String - The ID of the IPv6 subnet where the load balancer resides.
- l4Flavor
Id String - The ID of a flavor at Layer 4.
- l7Flavor
Id String - The ID of a flavor at Layer 7
- loadbalancer
Id String - name String
- The load balancer name.
- type String
- Whether the load balancer is a dedicated load balancer.
- vpc
Id String - The ID of the VPC where the load balancer resides.
Supporting Types
GetElbLoadbalancersLoadbalancer
- Autoscaling
Enabled bool - Whether the current load balancer enables elastic expansion.
- Availability
Zones List<string> - The list of AZs where the load balancer is created.
- Backend
Subnets List<string> - Lists the IDs of subnets on the downstream plane.
- Cross
Vpc boolBackend - Whether to enable IP as a Backend Server.
- Description string
- Specifies the description of the ELB load balancer.
- Enterprise
Project stringId - Specifies the enterprise project ID.
- Id string
- The load balancer ID.
- Ipv4Address string
- The private IPv4 address bound to the load balancer.
- Ipv4Port
Id string - The ID of the port bound to the private IPv4 address of the load balancer.
- Ipv4Subnet
Id string - Specifies the ID of the IPv4 subnet where the load balancer resides.
- Ipv6Address string
- The IPv6 address bound to the load balancer.
- Ipv6Network
Id string - Specifies the ID of the port bound to the IPv6 address of the load balancer.
- L4Flavor
Id string - Specifies the ID of a flavor at Layer 4.
- L7Flavor
Id string - Specifies the ID of a flavor at Layer 7.
- Min
L7Flavor stringId - The minimum seven-layer specification ID (specification type L7_elastic) for elastic expansion and contraction
- Name string
- Specifies the name of the ELB load balancer.
- Protection
Reason string - The reason for update protection.
- Protection
Status string - The protection status for update.
- Type string
- Specifies whether the load balancer is a dedicated load balancer, Value options: dedicated, share.
- Vpc
Id string - Specifies the ID of the VPC where the load balancer resides.
- Autoscaling
Enabled bool - Whether the current load balancer enables elastic expansion.
- Availability
Zones []string - The list of AZs where the load balancer is created.
- Backend
Subnets []string - Lists the IDs of subnets on the downstream plane.
- Cross
Vpc boolBackend - Whether to enable IP as a Backend Server.
- Description string
- Specifies the description of the ELB load balancer.
- Enterprise
Project stringId - Specifies the enterprise project ID.
- Id string
- The load balancer ID.
- Ipv4Address string
- The private IPv4 address bound to the load balancer.
- Ipv4Port
Id string - The ID of the port bound to the private IPv4 address of the load balancer.
- Ipv4Subnet
Id string - Specifies the ID of the IPv4 subnet where the load balancer resides.
- Ipv6Address string
- The IPv6 address bound to the load balancer.
- Ipv6Network
Id string - Specifies the ID of the port bound to the IPv6 address of the load balancer.
- L4Flavor
Id string - Specifies the ID of a flavor at Layer 4.
- L7Flavor
Id string - Specifies the ID of a flavor at Layer 7.
- Min
L7Flavor stringId - The minimum seven-layer specification ID (specification type L7_elastic) for elastic expansion and contraction
- Name string
- Specifies the name of the ELB load balancer.
- Protection
Reason string - The reason for update protection.
- Protection
Status string - The protection status for update.
- Type string
- Specifies whether the load balancer is a dedicated load balancer, Value options: dedicated, share.
- Vpc
Id string - Specifies the ID of the VPC where the load balancer resides.
- autoscaling
Enabled Boolean - Whether the current load balancer enables elastic expansion.
- availability
Zones List<String> - The list of AZs where the load balancer is created.
- backend
Subnets List<String> - Lists the IDs of subnets on the downstream plane.
- cross
Vpc BooleanBackend - Whether to enable IP as a Backend Server.
- description String
- Specifies the description of the ELB load balancer.
- enterprise
Project StringId - Specifies the enterprise project ID.
- id String
- The load balancer ID.
- ipv4Address String
- The private IPv4 address bound to the load balancer.
- ipv4Port
Id String - The ID of the port bound to the private IPv4 address of the load balancer.
- ipv4Subnet
Id String - Specifies the ID of the IPv4 subnet where the load balancer resides.
- ipv6Address String
- The IPv6 address bound to the load balancer.
- ipv6Network
Id String - Specifies the ID of the port bound to the IPv6 address of the load balancer.
- l4Flavor
Id String - Specifies the ID of a flavor at Layer 4.
- l7Flavor
Id String - Specifies the ID of a flavor at Layer 7.
- min
L7Flavor StringId - The minimum seven-layer specification ID (specification type L7_elastic) for elastic expansion and contraction
- name String
- Specifies the name of the ELB load balancer.
- protection
Reason String - The reason for update protection.
- protection
Status String - The protection status for update.
- type String
- Specifies whether the load balancer is a dedicated load balancer, Value options: dedicated, share.
- vpc
Id String - Specifies the ID of the VPC where the load balancer resides.
- autoscaling
Enabled boolean - Whether the current load balancer enables elastic expansion.
- availability
Zones string[] - The list of AZs where the load balancer is created.
- backend
Subnets string[] - Lists the IDs of subnets on the downstream plane.
- cross
Vpc booleanBackend - Whether to enable IP as a Backend Server.
- description string
- Specifies the description of the ELB load balancer.
- enterprise
Project stringId - Specifies the enterprise project ID.
- id string
- The load balancer ID.
- ipv4Address string
- The private IPv4 address bound to the load balancer.
- ipv4Port
Id string - The ID of the port bound to the private IPv4 address of the load balancer.
- ipv4Subnet
Id string - Specifies the ID of the IPv4 subnet where the load balancer resides.
- ipv6Address string
- The IPv6 address bound to the load balancer.
- ipv6Network
Id string - Specifies the ID of the port bound to the IPv6 address of the load balancer.
- l4Flavor
Id string - Specifies the ID of a flavor at Layer 4.
- l7Flavor
Id string - Specifies the ID of a flavor at Layer 7.
- min
L7Flavor stringId - The minimum seven-layer specification ID (specification type L7_elastic) for elastic expansion and contraction
- name string
- Specifies the name of the ELB load balancer.
- protection
Reason string - The reason for update protection.
- protection
Status string - The protection status for update.
- type string
- Specifies whether the load balancer is a dedicated load balancer, Value options: dedicated, share.
- vpc
Id string - Specifies the ID of the VPC where the load balancer resides.
- autoscaling_
enabled bool - Whether the current load balancer enables elastic expansion.
- availability_
zones Sequence[str] - The list of AZs where the load balancer is created.
- backend_
subnets Sequence[str] - Lists the IDs of subnets on the downstream plane.
- cross_
vpc_ boolbackend - Whether to enable IP as a Backend Server.
- description str
- Specifies the description of the ELB load balancer.
- enterprise_
project_ strid - Specifies the enterprise project ID.
- id str
- The load balancer ID.
- ipv4_
address str - The private IPv4 address bound to the load balancer.
- ipv4_
port_ strid - The ID of the port bound to the private IPv4 address of the load balancer.
- ipv4_
subnet_ strid - Specifies the ID of the IPv4 subnet where the load balancer resides.
- ipv6_
address str - The IPv6 address bound to the load balancer.
- ipv6_
network_ strid - Specifies the ID of the port bound to the IPv6 address of the load balancer.
- l4_
flavor_ strid - Specifies the ID of a flavor at Layer 4.
- l7_
flavor_ strid - Specifies the ID of a flavor at Layer 7.
- min_
l7_ strflavor_ id - The minimum seven-layer specification ID (specification type L7_elastic) for elastic expansion and contraction
- name str
- Specifies the name of the ELB load balancer.
- protection_
reason str - The reason for update protection.
- protection_
status str - The protection status for update.
- type str
- Specifies whether the load balancer is a dedicated load balancer, Value options: dedicated, share.
- vpc_
id str - Specifies the ID of the VPC where the load balancer resides.
- autoscaling
Enabled Boolean - Whether the current load balancer enables elastic expansion.
- availability
Zones List<String> - The list of AZs where the load balancer is created.
- backend
Subnets List<String> - Lists the IDs of subnets on the downstream plane.
- cross
Vpc BooleanBackend - Whether to enable IP as a Backend Server.
- description String
- Specifies the description of the ELB load balancer.
- enterprise
Project StringId - Specifies the enterprise project ID.
- id String
- The load balancer ID.
- ipv4Address String
- The private IPv4 address bound to the load balancer.
- ipv4Port
Id String - The ID of the port bound to the private IPv4 address of the load balancer.
- ipv4Subnet
Id String - Specifies the ID of the IPv4 subnet where the load balancer resides.
- ipv6Address String
- The IPv6 address bound to the load balancer.
- ipv6Network
Id String - Specifies the ID of the port bound to the IPv6 address of the load balancer.
- l4Flavor
Id String - Specifies the ID of a flavor at Layer 4.
- l7Flavor
Id String - Specifies the ID of a flavor at Layer 7.
- min
L7Flavor StringId - The minimum seven-layer specification ID (specification type L7_elastic) for elastic expansion and contraction
- name String
- Specifies the name of the ELB load balancer.
- protection
Reason String - The reason for update protection.
- protection
Status String - The protection status for update.
- type String
- Specifies whether the load balancer is a dedicated load balancer, Value options: dedicated, share.
- vpc
Id String - Specifies the ID of the VPC where the load balancer resides.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud