1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. alb
  5. getLoadBalancers
Alibaba Cloud v3.81.0 published on Monday, Jun 23, 2025 by Pulumi

alicloud.alb.getLoadBalancers

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.81.0 published on Monday, Jun 23, 2025 by Pulumi

    This data source provides the Alb Load Balancers of the current Alibaba Cloud user.

    NOTE: Available since v1.132.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const _default = alicloud.resourcemanager.getResourceGroups({});
    const defaultGetZones = alicloud.alb.getZones({});
    const defaultNetwork = new alicloud.vpc.Network("default", {
        vpcName: name,
        cidrBlock: "192.168.0.0/16",
        enableIpv6: true,
    });
    const zoneA = new alicloud.ecs.Eip("zone_a", {
        bandwidth: "10",
        internetChargeType: "PayByTraffic",
    });
    const zoneASwitch = new alicloud.vpc.Switch("zone_a", {
        vswitchName: name,
        vpcId: defaultNetwork.id,
        cidrBlock: "192.168.0.0/18",
        zoneId: defaultGetZones.then(defaultGetZones => defaultGetZones.zones?.[0]?.id),
        ipv6CidrBlockMask: 6,
    });
    const zoneB = new alicloud.vpc.Switch("zone_b", {
        vswitchName: name,
        vpcId: defaultNetwork.id,
        cidrBlock: "192.168.128.0/18",
        zoneId: defaultGetZones.then(defaultGetZones => defaultGetZones.zones?.[1]?.id),
        ipv6CidrBlockMask: 8,
    });
    const defaultIpv6Gateway = new alicloud.vpc.Ipv6Gateway("default", {
        ipv6GatewayName: name,
        vpcId: defaultNetwork.id,
    });
    const defaultCommonBandwithPackage = new alicloud.vpc.CommonBandwithPackage("default", {
        bandwidth: "1000",
        internetChargeType: "PayByBandwidth",
    });
    const defaultLoadBalancer = new alicloud.alb.LoadBalancer("default", {
        loadBalancerEdition: "Basic",
        addressType: "Internet",
        vpcId: defaultIpv6Gateway.vpcId,
        addressAllocatedMode: "Fixed",
        addressIpVersion: "DualStack",
        ipv6AddressType: "Internet",
        bandwidthPackageId: defaultCommonBandwithPackage.id,
        resourceGroupId: _default.then(_default => _default.groups?.[1]?.id),
        loadBalancerName: name,
        deletionProtectionEnabled: false,
        loadBalancerBillingConfig: {
            payType: "PayAsYouGo",
        },
        zoneMappings: [
            {
                vswitchId: zoneASwitch.id,
                zoneId: zoneASwitch.zoneId,
                eipType: "Common",
                allocationId: zoneA.id,
                intranetAddress: "192.168.10.1",
            },
            {
                vswitchId: zoneB.id,
                zoneId: zoneB.zoneId,
            },
        ],
        tags: {
            Created: "TF",
        },
    });
    const ids = alicloud.alb.getLoadBalancersOutput({
        ids: [defaultLoadBalancer.id],
    });
    export const albLoadBalancersId0 = ids.apply(ids => ids.balancers?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default = alicloud.resourcemanager.get_resource_groups()
    default_get_zones = alicloud.alb.get_zones()
    default_network = alicloud.vpc.Network("default",
        vpc_name=name,
        cidr_block="192.168.0.0/16",
        enable_ipv6=True)
    zone_a = alicloud.ecs.Eip("zone_a",
        bandwidth="10",
        internet_charge_type="PayByTraffic")
    zone_a_switch = alicloud.vpc.Switch("zone_a",
        vswitch_name=name,
        vpc_id=default_network.id,
        cidr_block="192.168.0.0/18",
        zone_id=default_get_zones.zones[0].id,
        ipv6_cidr_block_mask=6)
    zone_b = alicloud.vpc.Switch("zone_b",
        vswitch_name=name,
        vpc_id=default_network.id,
        cidr_block="192.168.128.0/18",
        zone_id=default_get_zones.zones[1].id,
        ipv6_cidr_block_mask=8)
    default_ipv6_gateway = alicloud.vpc.Ipv6Gateway("default",
        ipv6_gateway_name=name,
        vpc_id=default_network.id)
    default_common_bandwith_package = alicloud.vpc.CommonBandwithPackage("default",
        bandwidth="1000",
        internet_charge_type="PayByBandwidth")
    default_load_balancer = alicloud.alb.LoadBalancer("default",
        load_balancer_edition="Basic",
        address_type="Internet",
        vpc_id=default_ipv6_gateway.vpc_id,
        address_allocated_mode="Fixed",
        address_ip_version="DualStack",
        ipv6_address_type="Internet",
        bandwidth_package_id=default_common_bandwith_package.id,
        resource_group_id=default.groups[1].id,
        load_balancer_name=name,
        deletion_protection_enabled=False,
        load_balancer_billing_config={
            "pay_type": "PayAsYouGo",
        },
        zone_mappings=[
            {
                "vswitch_id": zone_a_switch.id,
                "zone_id": zone_a_switch.zone_id,
                "eip_type": "Common",
                "allocation_id": zone_a.id,
                "intranet_address": "192.168.10.1",
            },
            {
                "vswitch_id": zone_b.id,
                "zone_id": zone_b.zone_id,
            },
        ],
        tags={
            "Created": "TF",
        })
    ids = alicloud.alb.get_load_balancers_output(ids=[default_load_balancer.id])
    pulumi.export("albLoadBalancersId0", ids.balancers[0].id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/alb"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
    	"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, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_default, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		defaultGetZones, err := alb.GetZones(ctx, &alb.GetZonesArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
    			VpcName:    pulumi.String(name),
    			CidrBlock:  pulumi.String("192.168.0.0/16"),
    			EnableIpv6: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		zoneA, err := ecs.NewEip(ctx, "zone_a", &ecs.EipArgs{
    			Bandwidth:          pulumi.String("10"),
    			InternetChargeType: pulumi.String("PayByTraffic"),
    		})
    		if err != nil {
    			return err
    		}
    		zoneASwitch, err := vpc.NewSwitch(ctx, "zone_a", &vpc.SwitchArgs{
    			VswitchName:       pulumi.String(name),
    			VpcId:             defaultNetwork.ID(),
    			CidrBlock:         pulumi.String("192.168.0.0/18"),
    			ZoneId:            pulumi.String(defaultGetZones.Zones[0].Id),
    			Ipv6CidrBlockMask: pulumi.Int(6),
    		})
    		if err != nil {
    			return err
    		}
    		zoneB, err := vpc.NewSwitch(ctx, "zone_b", &vpc.SwitchArgs{
    			VswitchName:       pulumi.String(name),
    			VpcId:             defaultNetwork.ID(),
    			CidrBlock:         pulumi.String("192.168.128.0/18"),
    			ZoneId:            pulumi.String(defaultGetZones.Zones[1].Id),
    			Ipv6CidrBlockMask: pulumi.Int(8),
    		})
    		if err != nil {
    			return err
    		}
    		defaultIpv6Gateway, err := vpc.NewIpv6Gateway(ctx, "default", &vpc.Ipv6GatewayArgs{
    			Ipv6GatewayName: pulumi.String(name),
    			VpcId:           defaultNetwork.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		defaultCommonBandwithPackage, err := vpc.NewCommonBandwithPackage(ctx, "default", &vpc.CommonBandwithPackageArgs{
    			Bandwidth:          pulumi.String("1000"),
    			InternetChargeType: pulumi.String("PayByBandwidth"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultLoadBalancer, err := alb.NewLoadBalancer(ctx, "default", &alb.LoadBalancerArgs{
    			LoadBalancerEdition:       pulumi.String("Basic"),
    			AddressType:               pulumi.String("Internet"),
    			VpcId:                     defaultIpv6Gateway.VpcId,
    			AddressAllocatedMode:      pulumi.String("Fixed"),
    			AddressIpVersion:          pulumi.String("DualStack"),
    			Ipv6AddressType:           pulumi.String("Internet"),
    			BandwidthPackageId:        defaultCommonBandwithPackage.ID(),
    			ResourceGroupId:           pulumi.String(_default.Groups[1].Id),
    			LoadBalancerName:          pulumi.String(name),
    			DeletionProtectionEnabled: pulumi.Bool(false),
    			LoadBalancerBillingConfig: &alb.LoadBalancerLoadBalancerBillingConfigArgs{
    				PayType: pulumi.String("PayAsYouGo"),
    			},
    			ZoneMappings: alb.LoadBalancerZoneMappingArray{
    				&alb.LoadBalancerZoneMappingArgs{
    					VswitchId:       zoneASwitch.ID(),
    					ZoneId:          zoneASwitch.ZoneId,
    					EipType:         pulumi.String("Common"),
    					AllocationId:    zoneA.ID(),
    					IntranetAddress: pulumi.String("192.168.10.1"),
    				},
    				&alb.LoadBalancerZoneMappingArgs{
    					VswitchId: zoneB.ID(),
    					ZoneId:    zoneB.ZoneId,
    				},
    			},
    			Tags: pulumi.StringMap{
    				"Created": pulumi.String("TF"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		ids := alb.GetLoadBalancersOutput(ctx, alb.GetLoadBalancersOutputArgs{
    			Ids: pulumi.StringArray{
    				defaultLoadBalancer.ID(),
    			},
    		}, nil)
    		ctx.Export("albLoadBalancersId0", ids.ApplyT(func(ids alb.GetLoadBalancersResult) (*string, error) {
    			return &ids.Balancers[0].Id, nil
    		}).(pulumi.StringPtrOutput))
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var @default = AliCloud.ResourceManager.GetResourceGroups.Invoke();
    
        var defaultGetZones = AliCloud.Alb.GetZones.Invoke();
    
        var defaultNetwork = new AliCloud.Vpc.Network("default", new()
        {
            VpcName = name,
            CidrBlock = "192.168.0.0/16",
            EnableIpv6 = true,
        });
    
        var zoneA = new AliCloud.Ecs.Eip("zone_a", new()
        {
            Bandwidth = "10",
            InternetChargeType = "PayByTraffic",
        });
    
        var zoneASwitch = new AliCloud.Vpc.Switch("zone_a", new()
        {
            VswitchName = name,
            VpcId = defaultNetwork.Id,
            CidrBlock = "192.168.0.0/18",
            ZoneId = defaultGetZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
            Ipv6CidrBlockMask = 6,
        });
    
        var zoneB = new AliCloud.Vpc.Switch("zone_b", new()
        {
            VswitchName = name,
            VpcId = defaultNetwork.Id,
            CidrBlock = "192.168.128.0/18",
            ZoneId = defaultGetZones.Apply(getZonesResult => getZonesResult.Zones[1]?.Id),
            Ipv6CidrBlockMask = 8,
        });
    
        var defaultIpv6Gateway = new AliCloud.Vpc.Ipv6Gateway("default", new()
        {
            Ipv6GatewayName = name,
            VpcId = defaultNetwork.Id,
        });
    
        var defaultCommonBandwithPackage = new AliCloud.Vpc.CommonBandwithPackage("default", new()
        {
            Bandwidth = "1000",
            InternetChargeType = "PayByBandwidth",
        });
    
        var defaultLoadBalancer = new AliCloud.Alb.LoadBalancer("default", new()
        {
            LoadBalancerEdition = "Basic",
            AddressType = "Internet",
            VpcId = defaultIpv6Gateway.VpcId,
            AddressAllocatedMode = "Fixed",
            AddressIpVersion = "DualStack",
            Ipv6AddressType = "Internet",
            BandwidthPackageId = defaultCommonBandwithPackage.Id,
            ResourceGroupId = @default.Apply(@default => @default.Apply(getResourceGroupsResult => getResourceGroupsResult.Groups[1]?.Id)),
            LoadBalancerName = name,
            DeletionProtectionEnabled = false,
            LoadBalancerBillingConfig = new AliCloud.Alb.Inputs.LoadBalancerLoadBalancerBillingConfigArgs
            {
                PayType = "PayAsYouGo",
            },
            ZoneMappings = new[]
            {
                new AliCloud.Alb.Inputs.LoadBalancerZoneMappingArgs
                {
                    VswitchId = zoneASwitch.Id,
                    ZoneId = zoneASwitch.ZoneId,
                    EipType = "Common",
                    AllocationId = zoneA.Id,
                    IntranetAddress = "192.168.10.1",
                },
                new AliCloud.Alb.Inputs.LoadBalancerZoneMappingArgs
                {
                    VswitchId = zoneB.Id,
                    ZoneId = zoneB.ZoneId,
                },
            },
            Tags = 
            {
                { "Created", "TF" },
            },
        });
    
        var ids = AliCloud.Alb.GetLoadBalancers.Invoke(new()
        {
            Ids = new[]
            {
                defaultLoadBalancer.Id,
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["albLoadBalancersId0"] = ids.Apply(getLoadBalancersResult => getLoadBalancersResult.Balancers[0]?.Id),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
    import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
    import com.pulumi.alicloud.alb.AlbFunctions;
    import com.pulumi.alicloud.alb.inputs.GetZonesArgs;
    import com.pulumi.alicloud.vpc.Network;
    import com.pulumi.alicloud.vpc.NetworkArgs;
    import com.pulumi.alicloud.ecs.Eip;
    import com.pulumi.alicloud.ecs.EipArgs;
    import com.pulumi.alicloud.vpc.Switch;
    import com.pulumi.alicloud.vpc.SwitchArgs;
    import com.pulumi.alicloud.vpc.Ipv6Gateway;
    import com.pulumi.alicloud.vpc.Ipv6GatewayArgs;
    import com.pulumi.alicloud.vpc.CommonBandwithPackage;
    import com.pulumi.alicloud.vpc.CommonBandwithPackageArgs;
    import com.pulumi.alicloud.alb.LoadBalancer;
    import com.pulumi.alicloud.alb.LoadBalancerArgs;
    import com.pulumi.alicloud.alb.inputs.LoadBalancerLoadBalancerBillingConfigArgs;
    import com.pulumi.alicloud.alb.inputs.LoadBalancerZoneMappingArgs;
    import com.pulumi.alicloud.alb.inputs.GetLoadBalancersArgs;
    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 name = config.get("name").orElse("terraform-example");
            final var default = ResourcemanagerFunctions.getResourceGroups(GetResourceGroupsArgs.builder()
                .build());
    
            final var defaultGetZones = AlbFunctions.getZones(GetZonesArgs.builder()
                .build());
    
            var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
                .vpcName(name)
                .cidrBlock("192.168.0.0/16")
                .enableIpv6(true)
                .build());
    
            var zoneA = new Eip("zoneA", EipArgs.builder()
                .bandwidth("10")
                .internetChargeType("PayByTraffic")
                .build());
    
            var zoneASwitch = new Switch("zoneASwitch", SwitchArgs.builder()
                .vswitchName(name)
                .vpcId(defaultNetwork.id())
                .cidrBlock("192.168.0.0/18")
                .zoneId(defaultGetZones.zones()[0].id())
                .ipv6CidrBlockMask(6)
                .build());
    
            var zoneB = new Switch("zoneB", SwitchArgs.builder()
                .vswitchName(name)
                .vpcId(defaultNetwork.id())
                .cidrBlock("192.168.128.0/18")
                .zoneId(defaultGetZones.zones()[1].id())
                .ipv6CidrBlockMask(8)
                .build());
    
            var defaultIpv6Gateway = new Ipv6Gateway("defaultIpv6Gateway", Ipv6GatewayArgs.builder()
                .ipv6GatewayName(name)
                .vpcId(defaultNetwork.id())
                .build());
    
            var defaultCommonBandwithPackage = new CommonBandwithPackage("defaultCommonBandwithPackage", CommonBandwithPackageArgs.builder()
                .bandwidth("1000")
                .internetChargeType("PayByBandwidth")
                .build());
    
            var defaultLoadBalancer = new LoadBalancer("defaultLoadBalancer", LoadBalancerArgs.builder()
                .loadBalancerEdition("Basic")
                .addressType("Internet")
                .vpcId(defaultIpv6Gateway.vpcId())
                .addressAllocatedMode("Fixed")
                .addressIpVersion("DualStack")
                .ipv6AddressType("Internet")
                .bandwidthPackageId(defaultCommonBandwithPackage.id())
                .resourceGroupId(default_.groups()[1].id())
                .loadBalancerName(name)
                .deletionProtectionEnabled(false)
                .loadBalancerBillingConfig(LoadBalancerLoadBalancerBillingConfigArgs.builder()
                    .payType("PayAsYouGo")
                    .build())
                .zoneMappings(            
                    LoadBalancerZoneMappingArgs.builder()
                        .vswitchId(zoneASwitch.id())
                        .zoneId(zoneASwitch.zoneId())
                        .eipType("Common")
                        .allocationId(zoneA.id())
                        .intranetAddress("192.168.10.1")
                        .build(),
                    LoadBalancerZoneMappingArgs.builder()
                        .vswitchId(zoneB.id())
                        .zoneId(zoneB.zoneId())
                        .build())
                .tags(Map.of("Created", "TF"))
                .build());
    
            final var ids = AlbFunctions.getLoadBalancers(GetLoadBalancersArgs.builder()
                .ids(defaultLoadBalancer.id())
                .build());
    
            ctx.export("albLoadBalancersId0", ids.applyValue(_ids -> _ids.balancers()[0].id()));
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      defaultNetwork:
        type: alicloud:vpc:Network
        name: default
        properties:
          vpcName: ${name}
          cidrBlock: 192.168.0.0/16
          enableIpv6: 'true'
      zoneA:
        type: alicloud:ecs:Eip
        name: zone_a
        properties:
          bandwidth: '10'
          internetChargeType: PayByTraffic
      zoneASwitch:
        type: alicloud:vpc:Switch
        name: zone_a
        properties:
          vswitchName: ${name}
          vpcId: ${defaultNetwork.id}
          cidrBlock: 192.168.0.0/18
          zoneId: ${defaultGetZones.zones[0].id}
          ipv6CidrBlockMask: '6'
      zoneB:
        type: alicloud:vpc:Switch
        name: zone_b
        properties:
          vswitchName: ${name}
          vpcId: ${defaultNetwork.id}
          cidrBlock: 192.168.128.0/18
          zoneId: ${defaultGetZones.zones[1].id}
          ipv6CidrBlockMask: '8'
      defaultIpv6Gateway:
        type: alicloud:vpc:Ipv6Gateway
        name: default
        properties:
          ipv6GatewayName: ${name}
          vpcId: ${defaultNetwork.id}
      defaultCommonBandwithPackage:
        type: alicloud:vpc:CommonBandwithPackage
        name: default
        properties:
          bandwidth: 1000
          internetChargeType: PayByBandwidth
      defaultLoadBalancer:
        type: alicloud:alb:LoadBalancer
        name: default
        properties:
          loadBalancerEdition: Basic
          addressType: Internet
          vpcId: ${defaultIpv6Gateway.vpcId}
          addressAllocatedMode: Fixed
          addressIpVersion: DualStack
          ipv6AddressType: Internet
          bandwidthPackageId: ${defaultCommonBandwithPackage.id}
          resourceGroupId: ${default.groups[1].id}
          loadBalancerName: ${name}
          deletionProtectionEnabled: false
          loadBalancerBillingConfig:
            payType: PayAsYouGo
          zoneMappings:
            - vswitchId: ${zoneASwitch.id}
              zoneId: ${zoneASwitch.zoneId}
              eipType: Common
              allocationId: ${zoneA.id}
              intranetAddress: 192.168.10.1
            - vswitchId: ${zoneB.id}
              zoneId: ${zoneB.zoneId}
          tags:
            Created: TF
    variables:
      default:
        fn::invoke:
          function: alicloud:resourcemanager:getResourceGroups
          arguments: {}
      defaultGetZones:
        fn::invoke:
          function: alicloud:alb:getZones
          arguments: {}
      ids:
        fn::invoke:
          function: alicloud:alb:getLoadBalancers
          arguments:
            ids:
              - ${defaultLoadBalancer.id}
    outputs:
      albLoadBalancersId0: ${ids.balancers[0].id}
    

    Using getLoadBalancers

    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 getLoadBalancers(args: GetLoadBalancersArgs, opts?: InvokeOptions): Promise<GetLoadBalancersResult>
    function getLoadBalancersOutput(args: GetLoadBalancersOutputArgs, opts?: InvokeOptions): Output<GetLoadBalancersResult>
    def get_load_balancers(address_type: Optional[str] = None,
                           enable_details: Optional[bool] = None,
                           ids: Optional[Sequence[str]] = None,
                           load_balancer_business_status: Optional[str] = None,
                           load_balancer_bussiness_status: Optional[str] = None,
                           load_balancer_ids: Optional[Sequence[str]] = None,
                           load_balancer_name: Optional[str] = None,
                           name_regex: Optional[str] = None,
                           output_file: Optional[str] = None,
                           resource_group_id: Optional[str] = None,
                           status: Optional[str] = None,
                           tags: Optional[Mapping[str, str]] = None,
                           vpc_id: Optional[str] = None,
                           vpc_ids: Optional[Sequence[str]] = None,
                           zone_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetLoadBalancersResult
    def get_load_balancers_output(address_type: Optional[pulumi.Input[str]] = None,
                           enable_details: Optional[pulumi.Input[bool]] = None,
                           ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           load_balancer_business_status: Optional[pulumi.Input[str]] = None,
                           load_balancer_bussiness_status: Optional[pulumi.Input[str]] = None,
                           load_balancer_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           load_balancer_name: Optional[pulumi.Input[str]] = None,
                           name_regex: Optional[pulumi.Input[str]] = None,
                           output_file: Optional[pulumi.Input[str]] = None,
                           resource_group_id: Optional[pulumi.Input[str]] = None,
                           status: Optional[pulumi.Input[str]] = None,
                           tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                           vpc_id: Optional[pulumi.Input[str]] = None,
                           vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           zone_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetLoadBalancersResult]
    func GetLoadBalancers(ctx *Context, args *GetLoadBalancersArgs, opts ...InvokeOption) (*GetLoadBalancersResult, error)
    func GetLoadBalancersOutput(ctx *Context, args *GetLoadBalancersOutputArgs, opts ...InvokeOption) GetLoadBalancersResultOutput

    > Note: This function is named GetLoadBalancers in the Go SDK.

    public static class GetLoadBalancers 
    {
        public static Task<GetLoadBalancersResult> InvokeAsync(GetLoadBalancersArgs args, InvokeOptions? opts = null)
        public static Output<GetLoadBalancersResult> Invoke(GetLoadBalancersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLoadBalancersResult> getLoadBalancers(GetLoadBalancersArgs args, InvokeOptions options)
    public static Output<GetLoadBalancersResult> getLoadBalancers(GetLoadBalancersArgs args, InvokeOptions options)
    
    fn::invoke:
      function: alicloud:alb/getLoadBalancers:getLoadBalancers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AddressType string
    The type of IP address that the ALB instance uses to provide services. Valid values: Intranet, Internet.
    EnableDetails bool
    Whether to query the detailed list of resource attributes. Default value: false.
    Ids List<string>
    A list of Load Balancer IDs.
    LoadBalancerBusinessStatus string
    Load Balancing of the Service Status. Valid Values: Abnormaland Normal.
    LoadBalancerBussinessStatus string
    Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new attribute 'load_balancer_business_status' instead.

    LoadBalancerIds List<string>
    The load balancer ids.
    LoadBalancerName string
    The name of the resource.
    NameRegex string
    A regex string to filter results by Load Balancer name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    ResourceGroupId string
    The ID of the resource group.
    Status string
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    VpcId string
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    VpcIds List<string>
    The vpc ids.
    ZoneId string
    The zone ID of the resource.
    AddressType string
    The type of IP address that the ALB instance uses to provide services. Valid values: Intranet, Internet.
    EnableDetails bool
    Whether to query the detailed list of resource attributes. Default value: false.
    Ids []string
    A list of Load Balancer IDs.
    LoadBalancerBusinessStatus string
    Load Balancing of the Service Status. Valid Values: Abnormaland Normal.
    LoadBalancerBussinessStatus string
    Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new attribute 'load_balancer_business_status' instead.

    LoadBalancerIds []string
    The load balancer ids.
    LoadBalancerName string
    The name of the resource.
    NameRegex string
    A regex string to filter results by Load Balancer name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    ResourceGroupId string
    The ID of the resource group.
    Status string
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    VpcId string
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    VpcIds []string
    The vpc ids.
    ZoneId string
    The zone ID of the resource.
    addressType String
    The type of IP address that the ALB instance uses to provide services. Valid values: Intranet, Internet.
    enableDetails Boolean
    Whether to query the detailed list of resource attributes. Default value: false.
    ids List<String>
    A list of Load Balancer IDs.
    loadBalancerBusinessStatus String
    Load Balancing of the Service Status. Valid Values: Abnormaland Normal.
    loadBalancerBussinessStatus String
    Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new attribute 'load_balancer_business_status' instead.

    loadBalancerIds List<String>
    The load balancer ids.
    loadBalancerName String
    The name of the resource.
    nameRegex String
    A regex string to filter results by Load Balancer name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    resourceGroupId String
    The ID of the resource group.
    status String
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    vpcId String
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    vpcIds List<String>
    The vpc ids.
    zoneId String
    The zone ID of the resource.
    addressType string
    The type of IP address that the ALB instance uses to provide services. Valid values: Intranet, Internet.
    enableDetails boolean
    Whether to query the detailed list of resource attributes. Default value: false.
    ids string[]
    A list of Load Balancer IDs.
    loadBalancerBusinessStatus string
    Load Balancing of the Service Status. Valid Values: Abnormaland Normal.
    loadBalancerBussinessStatus string
    Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new attribute 'load_balancer_business_status' instead.

    loadBalancerIds string[]
    The load balancer ids.
    loadBalancerName string
    The name of the resource.
    nameRegex string
    A regex string to filter results by Load Balancer name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    resourceGroupId string
    The ID of the resource group.
    status string
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    vpcId string
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    vpcIds string[]
    The vpc ids.
    zoneId string
    The zone ID of the resource.
    address_type str
    The type of IP address that the ALB instance uses to provide services. Valid values: Intranet, Internet.
    enable_details bool
    Whether to query the detailed list of resource attributes. Default value: false.
    ids Sequence[str]
    A list of Load Balancer IDs.
    load_balancer_business_status str
    Load Balancing of the Service Status. Valid Values: Abnormaland Normal.
    load_balancer_bussiness_status str
    Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new attribute 'load_balancer_business_status' instead.

    load_balancer_ids Sequence[str]
    The load balancer ids.
    load_balancer_name str
    The name of the resource.
    name_regex str
    A regex string to filter results by Load Balancer name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    resource_group_id str
    The ID of the resource group.
    status str
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    vpc_id str
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    vpc_ids Sequence[str]
    The vpc ids.
    zone_id str
    The zone ID of the resource.
    addressType String
    The type of IP address that the ALB instance uses to provide services. Valid values: Intranet, Internet.
    enableDetails Boolean
    Whether to query the detailed list of resource attributes. Default value: false.
    ids List<String>
    A list of Load Balancer IDs.
    loadBalancerBusinessStatus String
    Load Balancing of the Service Status. Valid Values: Abnormaland Normal.
    loadBalancerBussinessStatus String
    Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new attribute 'load_balancer_business_status' instead.

    loadBalancerIds List<String>
    The load balancer ids.
    loadBalancerName String
    The name of the resource.
    nameRegex String
    A regex string to filter results by Load Balancer name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    resourceGroupId String
    The ID of the resource group.
    status String
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    tags Map<String>
    A mapping of tags to assign to the resource.
    vpcId String
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    vpcIds List<String>
    The vpc ids.
    zoneId String
    The zone ID of the resource.

    getLoadBalancers Result

    The following output properties are available:

    Balancers List<Pulumi.AliCloud.Alb.Outputs.GetLoadBalancersBalancer>
    A list of Alb Load Balancers. Each element contains the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Names List<string>
    A list of Load Balancer names.
    AddressType string
    The type of IP address that the ALB instance uses to provide services.
    EnableDetails bool
    LoadBalancerBusinessStatus string
    (Available since v1.142.0) Load Balancing of the Service Status.
    LoadBalancerBussinessStatus string
    (Deprecated since v1.142.0) Load Balancing of the Service Status. NOTE: Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new attribute 'load_balancer_business_status' instead.

    LoadBalancerIds List<string>
    LoadBalancerName string
    The name of the resource.
    NameRegex string
    OutputFile string
    ResourceGroupId string
    The ID of the resource group.
    Status string
    (Available since v1.250.0) The zone status.
    Tags Dictionary<string, string>
    The tag of the resource.
    VpcId string
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    VpcIds List<string>
    ZoneId string
    The ID of the zone to which the ALB instance belongs.
    Balancers []GetLoadBalancersBalancer
    A list of Alb Load Balancers. Each element contains the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Names []string
    A list of Load Balancer names.
    AddressType string
    The type of IP address that the ALB instance uses to provide services.
    EnableDetails bool
    LoadBalancerBusinessStatus string
    (Available since v1.142.0) Load Balancing of the Service Status.
    LoadBalancerBussinessStatus string
    (Deprecated since v1.142.0) Load Balancing of the Service Status. NOTE: Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new attribute 'load_balancer_business_status' instead.

    LoadBalancerIds []string
    LoadBalancerName string
    The name of the resource.
    NameRegex string
    OutputFile string
    ResourceGroupId string
    The ID of the resource group.
    Status string
    (Available since v1.250.0) The zone status.
    Tags map[string]string
    The tag of the resource.
    VpcId string
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    VpcIds []string
    ZoneId string
    The ID of the zone to which the ALB instance belongs.
    balancers List<GetLoadBalancersBalancer>
    A list of Alb Load Balancers. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    A list of Load Balancer names.
    addressType String
    The type of IP address that the ALB instance uses to provide services.
    enableDetails Boolean
    loadBalancerBusinessStatus String
    (Available since v1.142.0) Load Balancing of the Service Status.
    loadBalancerBussinessStatus String
    (Deprecated since v1.142.0) Load Balancing of the Service Status. NOTE: Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new attribute 'load_balancer_business_status' instead.

    loadBalancerIds List<String>
    loadBalancerName String
    The name of the resource.
    nameRegex String
    outputFile String
    resourceGroupId String
    The ID of the resource group.
    status String
    (Available since v1.250.0) The zone status.
    tags Map<String,String>
    The tag of the resource.
    vpcId String
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    vpcIds List<String>
    zoneId String
    The ID of the zone to which the ALB instance belongs.
    balancers GetLoadBalancersBalancer[]
    A list of Alb Load Balancers. Each element contains the following attributes:
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    names string[]
    A list of Load Balancer names.
    addressType string
    The type of IP address that the ALB instance uses to provide services.
    enableDetails boolean
    loadBalancerBusinessStatus string
    (Available since v1.142.0) Load Balancing of the Service Status.
    loadBalancerBussinessStatus string
    (Deprecated since v1.142.0) Load Balancing of the Service Status. NOTE: Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new attribute 'load_balancer_business_status' instead.

    loadBalancerIds string[]
    loadBalancerName string
    The name of the resource.
    nameRegex string
    outputFile string
    resourceGroupId string
    The ID of the resource group.
    status string
    (Available since v1.250.0) The zone status.
    tags {[key: string]: string}
    The tag of the resource.
    vpcId string
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    vpcIds string[]
    zoneId string
    The ID of the zone to which the ALB instance belongs.
    balancers Sequence[GetLoadBalancersBalancer]
    A list of Alb Load Balancers. Each element contains the following attributes:
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    names Sequence[str]
    A list of Load Balancer names.
    address_type str
    The type of IP address that the ALB instance uses to provide services.
    enable_details bool
    load_balancer_business_status str
    (Available since v1.142.0) Load Balancing of the Service Status.
    load_balancer_bussiness_status str
    (Deprecated since v1.142.0) Load Balancing of the Service Status. NOTE: Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new attribute 'load_balancer_business_status' instead.

    load_balancer_ids Sequence[str]
    load_balancer_name str
    The name of the resource.
    name_regex str
    output_file str
    resource_group_id str
    The ID of the resource group.
    status str
    (Available since v1.250.0) The zone status.
    tags Mapping[str, str]
    The tag of the resource.
    vpc_id str
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    vpc_ids Sequence[str]
    zone_id str
    The ID of the zone to which the ALB instance belongs.
    balancers List<Property Map>
    A list of Alb Load Balancers. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    A list of Load Balancer names.
    addressType String
    The type of IP address that the ALB instance uses to provide services.
    enableDetails Boolean
    loadBalancerBusinessStatus String
    (Available since v1.142.0) Load Balancing of the Service Status.
    loadBalancerBussinessStatus String
    (Deprecated since v1.142.0) Load Balancing of the Service Status. NOTE: Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new attribute 'load_balancer_business_status' instead.

    loadBalancerIds List<String>
    loadBalancerName String
    The name of the resource.
    nameRegex String
    outputFile String
    resourceGroupId String
    The ID of the resource group.
    status String
    (Available since v1.250.0) The zone status.
    tags Map<String>
    The tag of the resource.
    vpcId String
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    vpcIds List<String>
    zoneId String
    The ID of the zone to which the ALB instance belongs.

    Supporting Types

    GetLoadBalancersBalancer

    AccessLogConfigs List<Pulumi.AliCloud.Alb.Inputs.GetLoadBalancersBalancerAccessLogConfig>
    The Access Logging Configuration Structure.
    AddressAllocatedMode string
    The method in which IP addresses are assigned.
    AddressType string
    The type of IP address that the ALB instance uses to provide services. Valid values: Intranet, Internet.
    BandwidthPackageId string
    The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
    CreateTime string
    The creation time of the resource.
    DeletionProtectionConfigs List<Pulumi.AliCloud.Alb.Inputs.GetLoadBalancersBalancerDeletionProtectionConfig>
    Remove the Protection Configuration.
    DnsName string
    DNS Domain Name.
    Id string
    The ID of the Load Balancer.
    LoadBalancerBillingConfigs List<Pulumi.AliCloud.Alb.Inputs.GetLoadBalancersBalancerLoadBalancerBillingConfig>
    The configuration of the billing method.
    LoadBalancerBusinessStatus string
    Load Balancing of the Service Status. Valid Values: Abnormaland Normal.
    LoadBalancerBussinessStatus string
    Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new parameter 'load_balancer_business_status' instead.

    LoadBalancerEdition string
    The edition of the ALB instance.
    LoadBalancerId string
    The first ID of the resource.
    LoadBalancerName string
    The name of the resource.
    LoadBalancerOperationLocks List<Pulumi.AliCloud.Alb.Inputs.GetLoadBalancersBalancerLoadBalancerOperationLock>
    The Load Balancing Operations Lock Configuration.
    ModificationProtectionConfigs List<Pulumi.AliCloud.Alb.Inputs.GetLoadBalancersBalancerModificationProtectionConfig>
    Modify the Protection Configuration.
    ResourceGroupId string
    The ID of the resource group.
    Status string
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    VpcId string
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    ZoneMappings List<Pulumi.AliCloud.Alb.Inputs.GetLoadBalancersBalancerZoneMapping>
    The zones and vSwitches.
    AccessLogConfigs []GetLoadBalancersBalancerAccessLogConfig
    The Access Logging Configuration Structure.
    AddressAllocatedMode string
    The method in which IP addresses are assigned.
    AddressType string
    The type of IP address that the ALB instance uses to provide services. Valid values: Intranet, Internet.
    BandwidthPackageId string
    The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
    CreateTime string
    The creation time of the resource.
    DeletionProtectionConfigs []GetLoadBalancersBalancerDeletionProtectionConfig
    Remove the Protection Configuration.
    DnsName string
    DNS Domain Name.
    Id string
    The ID of the Load Balancer.
    LoadBalancerBillingConfigs []GetLoadBalancersBalancerLoadBalancerBillingConfig
    The configuration of the billing method.
    LoadBalancerBusinessStatus string
    Load Balancing of the Service Status. Valid Values: Abnormaland Normal.
    LoadBalancerBussinessStatus string
    Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new parameter 'load_balancer_business_status' instead.

    LoadBalancerEdition string
    The edition of the ALB instance.
    LoadBalancerId string
    The first ID of the resource.
    LoadBalancerName string
    The name of the resource.
    LoadBalancerOperationLocks []GetLoadBalancersBalancerLoadBalancerOperationLock
    The Load Balancing Operations Lock Configuration.
    ModificationProtectionConfigs []GetLoadBalancersBalancerModificationProtectionConfig
    Modify the Protection Configuration.
    ResourceGroupId string
    The ID of the resource group.
    Status string
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    VpcId string
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    ZoneMappings []GetLoadBalancersBalancerZoneMapping
    The zones and vSwitches.
    accessLogConfigs List<GetLoadBalancersBalancerAccessLogConfig>
    The Access Logging Configuration Structure.
    addressAllocatedMode String
    The method in which IP addresses are assigned.
    addressType String
    The type of IP address that the ALB instance uses to provide services. Valid values: Intranet, Internet.
    bandwidthPackageId String
    The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
    createTime String
    The creation time of the resource.
    deletionProtectionConfigs List<GetLoadBalancersBalancerDeletionProtectionConfig>
    Remove the Protection Configuration.
    dnsName String
    DNS Domain Name.
    id String
    The ID of the Load Balancer.
    loadBalancerBillingConfigs List<GetLoadBalancersBalancerLoadBalancerBillingConfig>
    The configuration of the billing method.
    loadBalancerBusinessStatus String
    Load Balancing of the Service Status. Valid Values: Abnormaland Normal.
    loadBalancerBussinessStatus String
    Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new parameter 'load_balancer_business_status' instead.

    loadBalancerEdition String
    The edition of the ALB instance.
    loadBalancerId String
    The first ID of the resource.
    loadBalancerName String
    The name of the resource.
    loadBalancerOperationLocks List<GetLoadBalancersBalancerLoadBalancerOperationLock>
    The Load Balancing Operations Lock Configuration.
    modificationProtectionConfigs List<GetLoadBalancersBalancerModificationProtectionConfig>
    Modify the Protection Configuration.
    resourceGroupId String
    The ID of the resource group.
    status String
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    vpcId String
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    zoneMappings List<GetLoadBalancersBalancerZoneMapping>
    The zones and vSwitches.
    accessLogConfigs GetLoadBalancersBalancerAccessLogConfig[]
    The Access Logging Configuration Structure.
    addressAllocatedMode string
    The method in which IP addresses are assigned.
    addressType string
    The type of IP address that the ALB instance uses to provide services. Valid values: Intranet, Internet.
    bandwidthPackageId string
    The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
    createTime string
    The creation time of the resource.
    deletionProtectionConfigs GetLoadBalancersBalancerDeletionProtectionConfig[]
    Remove the Protection Configuration.
    dnsName string
    DNS Domain Name.
    id string
    The ID of the Load Balancer.
    loadBalancerBillingConfigs GetLoadBalancersBalancerLoadBalancerBillingConfig[]
    The configuration of the billing method.
    loadBalancerBusinessStatus string
    Load Balancing of the Service Status. Valid Values: Abnormaland Normal.
    loadBalancerBussinessStatus string
    Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new parameter 'load_balancer_business_status' instead.

    loadBalancerEdition string
    The edition of the ALB instance.
    loadBalancerId string
    The first ID of the resource.
    loadBalancerName string
    The name of the resource.
    loadBalancerOperationLocks GetLoadBalancersBalancerLoadBalancerOperationLock[]
    The Load Balancing Operations Lock Configuration.
    modificationProtectionConfigs GetLoadBalancersBalancerModificationProtectionConfig[]
    Modify the Protection Configuration.
    resourceGroupId string
    The ID of the resource group.
    status string
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    vpcId string
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    zoneMappings GetLoadBalancersBalancerZoneMapping[]
    The zones and vSwitches.
    access_log_configs Sequence[GetLoadBalancersBalancerAccessLogConfig]
    The Access Logging Configuration Structure.
    address_allocated_mode str
    The method in which IP addresses are assigned.
    address_type str
    The type of IP address that the ALB instance uses to provide services. Valid values: Intranet, Internet.
    bandwidth_package_id str
    The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
    create_time str
    The creation time of the resource.
    deletion_protection_configs Sequence[GetLoadBalancersBalancerDeletionProtectionConfig]
    Remove the Protection Configuration.
    dns_name str
    DNS Domain Name.
    id str
    The ID of the Load Balancer.
    load_balancer_billing_configs Sequence[GetLoadBalancersBalancerLoadBalancerBillingConfig]
    The configuration of the billing method.
    load_balancer_business_status str
    Load Balancing of the Service Status. Valid Values: Abnormaland Normal.
    load_balancer_bussiness_status str
    Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new parameter 'load_balancer_business_status' instead.

    load_balancer_edition str
    The edition of the ALB instance.
    load_balancer_id str
    The first ID of the resource.
    load_balancer_name str
    The name of the resource.
    load_balancer_operation_locks Sequence[GetLoadBalancersBalancerLoadBalancerOperationLock]
    The Load Balancing Operations Lock Configuration.
    modification_protection_configs Sequence[GetLoadBalancersBalancerModificationProtectionConfig]
    Modify the Protection Configuration.
    resource_group_id str
    The ID of the resource group.
    status str
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    vpc_id str
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    zone_mappings Sequence[GetLoadBalancersBalancerZoneMapping]
    The zones and vSwitches.
    accessLogConfigs List<Property Map>
    The Access Logging Configuration Structure.
    addressAllocatedMode String
    The method in which IP addresses are assigned.
    addressType String
    The type of IP address that the ALB instance uses to provide services. Valid values: Intranet, Internet.
    bandwidthPackageId String
    The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
    createTime String
    The creation time of the resource.
    deletionProtectionConfigs List<Property Map>
    Remove the Protection Configuration.
    dnsName String
    DNS Domain Name.
    id String
    The ID of the Load Balancer.
    loadBalancerBillingConfigs List<Property Map>
    The configuration of the billing method.
    loadBalancerBusinessStatus String
    Load Balancing of the Service Status. Valid Values: Abnormaland Normal.
    loadBalancerBussinessStatus String
    Field load_balancer_bussiness_status has been deprecated from provider version 1.142.0. New field load_balancer_business_status instead.

    Deprecated: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new parameter 'load_balancer_business_status' instead.

    loadBalancerEdition String
    The edition of the ALB instance.
    loadBalancerId String
    The first ID of the resource.
    loadBalancerName String
    The name of the resource.
    loadBalancerOperationLocks List<Property Map>
    The Load Balancing Operations Lock Configuration.
    modificationProtectionConfigs List<Property Map>
    Modify the Protection Configuration.
    resourceGroupId String
    The ID of the resource group.
    status String
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    tags Map<String>
    A mapping of tags to assign to the resource.
    vpcId String
    The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
    zoneMappings List<Property Map>
    The zones and vSwitches.

    GetLoadBalancersBalancerAccessLogConfig

    LogProject string
    The log service that access logs are shipped to.
    LogStore string
    The logstore that access logs are shipped to.
    LogProject string
    The log service that access logs are shipped to.
    LogStore string
    The logstore that access logs are shipped to.
    logProject String
    The log service that access logs are shipped to.
    logStore String
    The logstore that access logs are shipped to.
    logProject string
    The log service that access logs are shipped to.
    logStore string
    The logstore that access logs are shipped to.
    log_project str
    The log service that access logs are shipped to.
    log_store str
    The logstore that access logs are shipped to.
    logProject String
    The log service that access logs are shipped to.
    logStore String
    The logstore that access logs are shipped to.

    GetLoadBalancersBalancerDeletionProtectionConfig

    Enabled bool
    Remove the Protection Status.
    EnabledTime string
    Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
    Enabled bool
    Remove the Protection Status.
    EnabledTime string
    Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
    enabled Boolean
    Remove the Protection Status.
    enabledTime String
    Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
    enabled boolean
    Remove the Protection Status.
    enabledTime string
    Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
    enabled bool
    Remove the Protection Status.
    enabled_time str
    Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
    enabled Boolean
    Remove the Protection Status.
    enabledTime String
    Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.

    GetLoadBalancersBalancerLoadBalancerBillingConfig

    PayType string
    The billing method of the ALB instance.
    PayType string
    The billing method of the ALB instance.
    payType String
    The billing method of the ALB instance.
    payType string
    The billing method of the ALB instance.
    pay_type str
    The billing method of the ALB instance.
    payType String
    The billing method of the ALB instance.

    GetLoadBalancersBalancerLoadBalancerOperationLock

    LockReason string
    The Locking of the Reasons.
    LockType string
    The Locking of the Type.
    LockReason string
    The Locking of the Reasons.
    LockType string
    The Locking of the Type.
    lockReason String
    The Locking of the Reasons.
    lockType String
    The Locking of the Type.
    lockReason string
    The Locking of the Reasons.
    lockType string
    The Locking of the Type.
    lock_reason str
    The Locking of the Reasons.
    lock_type str
    The Locking of the Type.
    lockReason String
    The Locking of the Reasons.
    lockType String
    The Locking of the Type.

    GetLoadBalancersBalancerModificationProtectionConfig

    Reason string
    The reason for modification protection.
    Status string
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    Reason string
    The reason for modification protection.
    Status string
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    reason String
    The reason for modification protection.
    status String
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    reason string
    The reason for modification protection.
    status string
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    reason str
    The reason for modification protection.
    status str
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    reason String
    The reason for modification protection.
    status String
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

    GetLoadBalancersBalancerZoneMapping

    LoadBalancerAddresses List<Pulumi.AliCloud.Alb.Inputs.GetLoadBalancersBalancerZoneMappingLoadBalancerAddress>
    (Available since v1.250.0) The address of the ALB instance.
    Status string
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    VswitchId string
    The ID of the vSwitch that corresponds to the zone.
    ZoneId string
    The zone ID of the resource.
    LoadBalancerAddresses []GetLoadBalancersBalancerZoneMappingLoadBalancerAddress
    (Available since v1.250.0) The address of the ALB instance.
    Status string
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    VswitchId string
    The ID of the vSwitch that corresponds to the zone.
    ZoneId string
    The zone ID of the resource.
    loadBalancerAddresses List<GetLoadBalancersBalancerZoneMappingLoadBalancerAddress>
    (Available since v1.250.0) The address of the ALB instance.
    status String
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    vswitchId String
    The ID of the vSwitch that corresponds to the zone.
    zoneId String
    The zone ID of the resource.
    loadBalancerAddresses GetLoadBalancersBalancerZoneMappingLoadBalancerAddress[]
    (Available since v1.250.0) The address of the ALB instance.
    status string
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    vswitchId string
    The ID of the vSwitch that corresponds to the zone.
    zoneId string
    The zone ID of the resource.
    load_balancer_addresses Sequence[GetLoadBalancersBalancerZoneMappingLoadBalancerAddress]
    (Available since v1.250.0) The address of the ALB instance.
    status str
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    vswitch_id str
    The ID of the vSwitch that corresponds to the zone.
    zone_id str
    The zone ID of the resource.
    loadBalancerAddresses List<Property Map>
    (Available since v1.250.0) The address of the ALB instance.
    status String
    The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.
    vswitchId String
    The ID of the vSwitch that corresponds to the zone.
    zoneId String
    The zone ID of the resource.

    GetLoadBalancersBalancerZoneMappingLoadBalancerAddress

    Address string
    IPv4 address.
    AllocationId string
    The elastic IP address (EIP).
    EipType string
    The type of EIP.
    IntranetAddress string
    The private IPv4 address.
    IntranetAddressHcStatus string
    The health status of the private IPv4 address of the ALB instance.
    Ipv4LocalAddresses List<string>
    The IPv4 link-local addresses.
    Ipv6Address string
    IPv6 address.
    Ipv6AddressHcStatus string
    The health status of the private IPv6 address of the ALB instance.
    Ipv6LocalAddresses List<string>
    The IPv6 link-local addresses.
    Address string
    IPv4 address.
    AllocationId string
    The elastic IP address (EIP).
    EipType string
    The type of EIP.
    IntranetAddress string
    The private IPv4 address.
    IntranetAddressHcStatus string
    The health status of the private IPv4 address of the ALB instance.
    Ipv4LocalAddresses []string
    The IPv4 link-local addresses.
    Ipv6Address string
    IPv6 address.
    Ipv6AddressHcStatus string
    The health status of the private IPv6 address of the ALB instance.
    Ipv6LocalAddresses []string
    The IPv6 link-local addresses.
    address String
    IPv4 address.
    allocationId String
    The elastic IP address (EIP).
    eipType String
    The type of EIP.
    intranetAddress String
    The private IPv4 address.
    intranetAddressHcStatus String
    The health status of the private IPv4 address of the ALB instance.
    ipv4LocalAddresses List<String>
    The IPv4 link-local addresses.
    ipv6Address String
    IPv6 address.
    ipv6AddressHcStatus String
    The health status of the private IPv6 address of the ALB instance.
    ipv6LocalAddresses List<String>
    The IPv6 link-local addresses.
    address string
    IPv4 address.
    allocationId string
    The elastic IP address (EIP).
    eipType string
    The type of EIP.
    intranetAddress string
    The private IPv4 address.
    intranetAddressHcStatus string
    The health status of the private IPv4 address of the ALB instance.
    ipv4LocalAddresses string[]
    The IPv4 link-local addresses.
    ipv6Address string
    IPv6 address.
    ipv6AddressHcStatus string
    The health status of the private IPv6 address of the ALB instance.
    ipv6LocalAddresses string[]
    The IPv6 link-local addresses.
    address str
    IPv4 address.
    allocation_id str
    The elastic IP address (EIP).
    eip_type str
    The type of EIP.
    intranet_address str
    The private IPv4 address.
    intranet_address_hc_status str
    The health status of the private IPv4 address of the ALB instance.
    ipv4_local_addresses Sequence[str]
    The IPv4 link-local addresses.
    ipv6_address str
    IPv6 address.
    ipv6_address_hc_status str
    The health status of the private IPv6 address of the ALB instance.
    ipv6_local_addresses Sequence[str]
    The IPv6 link-local addresses.
    address String
    IPv4 address.
    allocationId String
    The elastic IP address (EIP).
    eipType String
    The type of EIP.
    intranetAddress String
    The private IPv4 address.
    intranetAddressHcStatus String
    The health status of the private IPv4 address of the ALB instance.
    ipv4LocalAddresses List<String>
    The IPv4 link-local addresses.
    ipv6Address String
    IPv6 address.
    ipv6AddressHcStatus String
    The health status of the private IPv6 address of the ALB instance.
    ipv6LocalAddresses List<String>
    The IPv6 link-local addresses.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.81.0 published on Monday, Jun 23, 2025 by Pulumi