Alibaba Cloud v3.81.0 published on Monday, Jun 23, 2025 by Pulumi
alicloud.alb.getLoadBalancers
Explore with Pulumi AI
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:
- Address
Type string - 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 List<string>
- A list of Load Balancer IDs.
- Load
Balancer stringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - Load
Balancer stringBussiness Status - Field
load_balancer_bussiness_status
has been deprecated from provider version 1.142.0. New fieldload_balancer_business_status
instead. - Load
Balancer List<string>Ids - The load balancer ids.
- Load
Balancer stringName - The name of the resource.
- Name
Regex string - A regex string to filter results by Load Balancer name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Resource
Group stringId - The ID of the resource group.
- Status string
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Vpc
Ids List<string> - The vpc ids.
- Zone
Id string - The zone ID of the resource.
- Address
Type string - 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 []string
- A list of Load Balancer IDs.
- Load
Balancer stringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - Load
Balancer stringBussiness Status - Field
load_balancer_bussiness_status
has been deprecated from provider version 1.142.0. New fieldload_balancer_business_status
instead. - Load
Balancer []stringIds - The load balancer ids.
- Load
Balancer stringName - The name of the resource.
- Name
Regex string - A regex string to filter results by Load Balancer name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Resource
Group stringId - The ID of the resource group.
- Status string
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - map[string]string
- A mapping of tags to assign to the resource.
- Vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Vpc
Ids []string - The vpc ids.
- Zone
Id string - The zone ID of the resource.
- address
Type String - The type of IP address that the ALB instance uses to provide services. Valid values:
Intranet
,Internet
. - enable
Details Boolean - Whether to query the detailed list of resource attributes. Default value:
false
. - ids List<String>
- A list of Load Balancer IDs.
- load
Balancer StringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load
Balancer StringBussiness Status - Field
load_balancer_bussiness_status
has been deprecated from provider version 1.142.0. New fieldload_balancer_business_status
instead. - load
Balancer List<String>Ids - The load balancer ids.
- load
Balancer StringName - The name of the resource.
- name
Regex String - A regex string to filter results by Load Balancer name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - resource
Group StringId - The ID of the resource group.
- status String
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Map<String,String>
- A mapping of tags to assign to the resource.
- vpc
Id String - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc
Ids List<String> - The vpc ids.
- zone
Id String - The zone ID of the resource.
- address
Type string - The type of IP address that the ALB instance uses to provide services. Valid values:
Intranet
,Internet
. - enable
Details boolean - Whether to query the detailed list of resource attributes. Default value:
false
. - ids string[]
- A list of Load Balancer IDs.
- load
Balancer stringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load
Balancer stringBussiness Status - Field
load_balancer_bussiness_status
has been deprecated from provider version 1.142.0. New fieldload_balancer_business_status
instead. - load
Balancer string[]Ids - The load balancer ids.
- load
Balancer stringName - The name of the resource.
- name
Regex string - A regex string to filter results by Load Balancer name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - resource
Group stringId - The ID of the resource group.
- status string
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc
Ids string[] - The vpc ids.
- zone
Id 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_ strbusiness_ status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load_
balancer_ strbussiness_ status - Field
load_balancer_bussiness_status
has been deprecated from provider version 1.142.0. New fieldload_balancer_business_status
instead. - load_
balancer_ Sequence[str]ids - The load balancer ids.
- load_
balancer_ strname - 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_ strid - The ID of the resource group.
- status str
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - 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.
- address
Type String - The type of IP address that the ALB instance uses to provide services. Valid values:
Intranet
,Internet
. - enable
Details Boolean - Whether to query the detailed list of resource attributes. Default value:
false
. - ids List<String>
- A list of Load Balancer IDs.
- load
Balancer StringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load
Balancer StringBussiness Status - Field
load_balancer_bussiness_status
has been deprecated from provider version 1.142.0. New fieldload_balancer_business_status
instead. - load
Balancer List<String>Ids - The load balancer ids.
- load
Balancer StringName - The name of the resource.
- name
Regex String - A regex string to filter results by Load Balancer name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - resource
Group StringId - The ID of the resource group.
- status String
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Map<String>
- A mapping of tags to assign to the resource.
- vpc
Id String - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc
Ids List<String> - The vpc ids.
- zone
Id String - The zone ID of the resource.
getLoadBalancers Result
The following output properties are available:
- Balancers
List<Pulumi.
Ali Cloud. Alb. Outputs. Get Load Balancers Balancer> - 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.
- Address
Type string - The type of IP address that the ALB instance uses to provide services.
- Enable
Details bool - Load
Balancer stringBusiness Status - (Available since v1.142.0) Load Balancing of the Service Status.
- Load
Balancer stringBussiness Status - (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 fieldload_balancer_business_status
instead. - Load
Balancer List<string>Ids - Load
Balancer stringName - The name of the resource.
- Name
Regex string - Output
File string - Resource
Group stringId - The ID of the resource group.
- Status string
- (Available since v1.250.0) The zone status.
- Dictionary<string, string>
- The tag of the resource.
- Vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Vpc
Ids List<string> - Zone
Id string - The ID of the zone to which the ALB instance belongs.
- Balancers
[]Get
Load Balancers Balancer - 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.
- Address
Type string - The type of IP address that the ALB instance uses to provide services.
- Enable
Details bool - Load
Balancer stringBusiness Status - (Available since v1.142.0) Load Balancing of the Service Status.
- Load
Balancer stringBussiness Status - (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 fieldload_balancer_business_status
instead. - Load
Balancer []stringIds - Load
Balancer stringName - The name of the resource.
- Name
Regex string - Output
File string - Resource
Group stringId - The ID of the resource group.
- Status string
- (Available since v1.250.0) The zone status.
- map[string]string
- The tag of the resource.
- Vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Vpc
Ids []string - Zone
Id string - The ID of the zone to which the ALB instance belongs.
- balancers
List<Get
Load Balancers Balancer> - 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.
- address
Type String - The type of IP address that the ALB instance uses to provide services.
- enable
Details Boolean - load
Balancer StringBusiness Status - (Available since v1.142.0) Load Balancing of the Service Status.
- load
Balancer StringBussiness Status - (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 fieldload_balancer_business_status
instead. - load
Balancer List<String>Ids - load
Balancer StringName - The name of the resource.
- name
Regex String - output
File String - resource
Group StringId - The ID of the resource group.
- status String
- (Available since v1.250.0) The zone status.
- Map<String,String>
- The tag of the resource.
- vpc
Id String - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc
Ids List<String> - zone
Id String - The ID of the zone to which the ALB instance belongs.
- balancers
Get
Load Balancers Balancer[] - 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.
- address
Type string - The type of IP address that the ALB instance uses to provide services.
- enable
Details boolean - load
Balancer stringBusiness Status - (Available since v1.142.0) Load Balancing of the Service Status.
- load
Balancer stringBussiness Status - (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 fieldload_balancer_business_status
instead. - load
Balancer string[]Ids - load
Balancer stringName - The name of the resource.
- name
Regex string - output
File string - resource
Group stringId - The ID of the resource group.
- status string
- (Available since v1.250.0) The zone status.
- {[key: string]: string}
- The tag of the resource.
- vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc
Ids string[] - zone
Id string - The ID of the zone to which the ALB instance belongs.
- balancers
Sequence[Get
Load Balancers Balancer] - 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_ strbusiness_ status - (Available since v1.142.0) Load Balancing of the Service Status.
- load_
balancer_ strbussiness_ status - (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 fieldload_balancer_business_status
instead. - load_
balancer_ Sequence[str]ids - load_
balancer_ strname - The name of the resource.
- name_
regex str - output_
file str - resource_
group_ strid - The ID of the resource group.
- status str
- (Available since v1.250.0) The zone status.
- 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.
- address
Type String - The type of IP address that the ALB instance uses to provide services.
- enable
Details Boolean - load
Balancer StringBusiness Status - (Available since v1.142.0) Load Balancing of the Service Status.
- load
Balancer StringBussiness Status - (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 fieldload_balancer_business_status
instead. - load
Balancer List<String>Ids - load
Balancer StringName - The name of the resource.
- name
Regex String - output
File String - resource
Group StringId - The ID of the resource group.
- status String
- (Available since v1.250.0) The zone status.
- Map<String>
- The tag of the resource.
- vpc
Id String - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc
Ids List<String> - zone
Id String - The ID of the zone to which the ALB instance belongs.
Supporting Types
GetLoadBalancersBalancer
- Access
Log List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Access Log Config> - The Access Logging Configuration Structure.
- Address
Allocated stringMode - The method in which IP addresses are assigned.
- Address
Type string - The type of IP address that the ALB instance uses to provide services. Valid values:
Intranet
,Internet
. - Bandwidth
Package stringId - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- Create
Time string - The creation time of the resource.
- Deletion
Protection List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Deletion Protection Config> - Remove the Protection Configuration.
- Dns
Name string - DNS Domain Name.
- Id string
- The ID of the Load Balancer.
- Load
Balancer List<Pulumi.Billing Configs Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Load Balancer Billing Config> - The configuration of the billing method.
- Load
Balancer stringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - Load
Balancer stringBussiness Status - Field
load_balancer_bussiness_status
has been deprecated from provider version 1.142.0. New fieldload_balancer_business_status
instead. - Load
Balancer stringEdition - The edition of the ALB instance.
- Load
Balancer stringId - The first ID of the resource.
- Load
Balancer stringName - The name of the resource.
- Load
Balancer List<Pulumi.Operation Locks Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Load Balancer Operation Lock> - The Load Balancing Operations Lock Configuration.
- Modification
Protection List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Modification Protection Config> - Modify the Protection Configuration.
- Resource
Group stringId - The ID of the resource group.
- Status string
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Zone
Mappings List<Pulumi.Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Zone Mapping> - The zones and vSwitches.
- Access
Log []GetConfigs Load Balancers Balancer Access Log Config - The Access Logging Configuration Structure.
- Address
Allocated stringMode - The method in which IP addresses are assigned.
- Address
Type string - The type of IP address that the ALB instance uses to provide services. Valid values:
Intranet
,Internet
. - Bandwidth
Package stringId - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- Create
Time string - The creation time of the resource.
- Deletion
Protection []GetConfigs Load Balancers Balancer Deletion Protection Config - Remove the Protection Configuration.
- Dns
Name string - DNS Domain Name.
- Id string
- The ID of the Load Balancer.
- Load
Balancer []GetBilling Configs Load Balancers Balancer Load Balancer Billing Config - The configuration of the billing method.
- Load
Balancer stringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - Load
Balancer stringBussiness Status - Field
load_balancer_bussiness_status
has been deprecated from provider version 1.142.0. New fieldload_balancer_business_status
instead. - Load
Balancer stringEdition - The edition of the ALB instance.
- Load
Balancer stringId - The first ID of the resource.
- Load
Balancer stringName - The name of the resource.
- Load
Balancer []GetOperation Locks Load Balancers Balancer Load Balancer Operation Lock - The Load Balancing Operations Lock Configuration.
- Modification
Protection []GetConfigs Load Balancers Balancer Modification Protection Config - Modify the Protection Configuration.
- Resource
Group stringId - The ID of the resource group.
- Status string
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - map[string]string
- A mapping of tags to assign to the resource.
- Vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Zone
Mappings []GetLoad Balancers Balancer Zone Mapping - The zones and vSwitches.
- access
Log List<GetConfigs Load Balancers Balancer Access Log Config> - The Access Logging Configuration Structure.
- address
Allocated StringMode - The method in which IP addresses are assigned.
- address
Type String - The type of IP address that the ALB instance uses to provide services. Valid values:
Intranet
,Internet
. - bandwidth
Package StringId - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- create
Time String - The creation time of the resource.
- deletion
Protection List<GetConfigs Load Balancers Balancer Deletion Protection Config> - Remove the Protection Configuration.
- dns
Name String - DNS Domain Name.
- id String
- The ID of the Load Balancer.
- load
Balancer List<GetBilling Configs Load Balancers Balancer Load Balancer Billing Config> - The configuration of the billing method.
- load
Balancer StringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load
Balancer StringBussiness Status - Field
load_balancer_bussiness_status
has been deprecated from provider version 1.142.0. New fieldload_balancer_business_status
instead. - load
Balancer StringEdition - The edition of the ALB instance.
- load
Balancer StringId - The first ID of the resource.
- load
Balancer StringName - The name of the resource.
- load
Balancer List<GetOperation Locks Load Balancers Balancer Load Balancer Operation Lock> - The Load Balancing Operations Lock Configuration.
- modification
Protection List<GetConfigs Load Balancers Balancer Modification Protection Config> - Modify the Protection Configuration.
- resource
Group StringId - The ID of the resource group.
- status String
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Map<String,String>
- A mapping of tags to assign to the resource.
- vpc
Id String - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- zone
Mappings List<GetLoad Balancers Balancer Zone Mapping> - The zones and vSwitches.
- access
Log GetConfigs Load Balancers Balancer Access Log Config[] - The Access Logging Configuration Structure.
- address
Allocated stringMode - The method in which IP addresses are assigned.
- address
Type string - The type of IP address that the ALB instance uses to provide services. Valid values:
Intranet
,Internet
. - bandwidth
Package stringId - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- create
Time string - The creation time of the resource.
- deletion
Protection GetConfigs Load Balancers Balancer Deletion Protection Config[] - Remove the Protection Configuration.
- dns
Name string - DNS Domain Name.
- id string
- The ID of the Load Balancer.
- load
Balancer GetBilling Configs Load Balancers Balancer Load Balancer Billing Config[] - The configuration of the billing method.
- load
Balancer stringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load
Balancer stringBussiness Status - Field
load_balancer_bussiness_status
has been deprecated from provider version 1.142.0. New fieldload_balancer_business_status
instead. - load
Balancer stringEdition - The edition of the ALB instance.
- load
Balancer stringId - The first ID of the resource.
- load
Balancer stringName - The name of the resource.
- load
Balancer GetOperation Locks Load Balancers Balancer Load Balancer Operation Lock[] - The Load Balancing Operations Lock Configuration.
- modification
Protection GetConfigs Load Balancers Balancer Modification Protection Config[] - Modify the Protection Configuration.
- resource
Group stringId - The ID of the resource group.
- status string
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- zone
Mappings GetLoad Balancers Balancer Zone Mapping[] - The zones and vSwitches.
- access_
log_ Sequence[Getconfigs Load Balancers Balancer Access Log Config] - The Access Logging Configuration Structure.
- address_
allocated_ strmode - 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_ strid - 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_ Sequence[Getconfigs Load Balancers Balancer Deletion Protection Config] - Remove the Protection Configuration.
- dns_
name str - DNS Domain Name.
- id str
- The ID of the Load Balancer.
- load_
balancer_ Sequence[Getbilling_ configs Load Balancers Balancer Load Balancer Billing Config] - The configuration of the billing method.
- load_
balancer_ strbusiness_ status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load_
balancer_ strbussiness_ status - Field
load_balancer_bussiness_status
has been deprecated from provider version 1.142.0. New fieldload_balancer_business_status
instead. - load_
balancer_ stredition - The edition of the ALB instance.
- load_
balancer_ strid - The first ID of the resource.
- load_
balancer_ strname - The name of the resource.
- load_
balancer_ Sequence[Getoperation_ locks Load Balancers Balancer Load Balancer Operation Lock] - The Load Balancing Operations Lock Configuration.
- modification_
protection_ Sequence[Getconfigs Load Balancers Balancer Modification Protection Config] - Modify the Protection Configuration.
- resource_
group_ strid - The ID of the resource group.
- status str
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - 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[GetLoad Balancers Balancer Zone Mapping] - The zones and vSwitches.
- access
Log List<Property Map>Configs - The Access Logging Configuration Structure.
- address
Allocated StringMode - The method in which IP addresses are assigned.
- address
Type String - The type of IP address that the ALB instance uses to provide services. Valid values:
Intranet
,Internet
. - bandwidth
Package StringId - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- create
Time String - The creation time of the resource.
- deletion
Protection List<Property Map>Configs - Remove the Protection Configuration.
- dns
Name String - DNS Domain Name.
- id String
- The ID of the Load Balancer.
- load
Balancer List<Property Map>Billing Configs - The configuration of the billing method.
- load
Balancer StringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load
Balancer StringBussiness Status - Field
load_balancer_bussiness_status
has been deprecated from provider version 1.142.0. New fieldload_balancer_business_status
instead. - load
Balancer StringEdition - The edition of the ALB instance.
- load
Balancer StringId - The first ID of the resource.
- load
Balancer StringName - The name of the resource.
- load
Balancer List<Property Map>Operation Locks - The Load Balancing Operations Lock Configuration.
- modification
Protection List<Property Map>Configs - Modify the Protection Configuration.
- resource
Group StringId - The ID of the resource group.
- status String
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Map<String>
- A mapping of tags to assign to the resource.
- vpc
Id String - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- zone
Mappings List<Property Map> - The zones and vSwitches.
GetLoadBalancersBalancerAccessLogConfig
- Log
Project string - The log service that access logs are shipped to.
- Log
Store string - The logstore that access logs are shipped to.
- Log
Project string - The log service that access logs are shipped to.
- Log
Store string - The logstore that access logs are shipped to.
- log
Project String - The log service that access logs are shipped to.
- log
Store String - The logstore that access logs are shipped to.
- log
Project string - The log service that access logs are shipped to.
- log
Store 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.
- log
Project String - The log service that access logs are shipped to.
- log
Store String - The logstore that access logs are shipped to.
GetLoadBalancersBalancerDeletionProtectionConfig
- Enabled bool
- Remove the Protection Status.
- Enabled
Time 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 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.
- enabled
Time 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.
- enabled
Time 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.
- enabled
Time String - Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
GetLoadBalancersBalancerLoadBalancerBillingConfig
- Pay
Type string - The billing method of the ALB instance.
- Pay
Type string - The billing method of the ALB instance.
- pay
Type String - The billing method of the ALB instance.
- pay
Type string - The billing method of the ALB instance.
- pay_
type str - The billing method of the ALB instance.
- pay
Type String - The billing method of the ALB instance.
GetLoadBalancersBalancerLoadBalancerOperationLock
- Lock
Reason string - The Locking of the Reasons.
- Lock
Type string - The Locking of the Type.
- Lock
Reason string - The Locking of the Reasons.
- Lock
Type string - The Locking of the Type.
- lock
Reason String - The Locking of the Reasons.
- lock
Type String - The Locking of the Type.
- lock
Reason string - The Locking of the Reasons.
- lock
Type string - The Locking of the Type.
- lock_
reason str - The Locking of the Reasons.
- lock_
type str - The Locking of the Type.
- lock
Reason String - The Locking of the Reasons.
- lock
Type String - The Locking of the Type.
GetLoadBalancersBalancerModificationProtectionConfig
GetLoadBalancersBalancerZoneMapping
- Load
Balancer List<Pulumi.Addresses Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Zone Mapping Load Balancer Address> - (Available since v1.250.0) The address of the ALB instance.
- Status string
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Vswitch
Id string - The ID of the vSwitch that corresponds to the zone.
- Zone
Id string - The zone ID of the resource.
- Load
Balancer []GetAddresses Load Balancers Balancer Zone Mapping Load Balancer Address - (Available since v1.250.0) The address of the ALB instance.
- Status string
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Vswitch
Id string - The ID of the vSwitch that corresponds to the zone.
- Zone
Id string - The zone ID of the resource.
- load
Balancer List<GetAddresses Load Balancers Balancer Zone Mapping Load Balancer Address> - (Available since v1.250.0) The address of the ALB instance.
- status String
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - vswitch
Id String - The ID of the vSwitch that corresponds to the zone.
- zone
Id String - The zone ID of the resource.
- load
Balancer GetAddresses Load Balancers Balancer Zone Mapping Load Balancer Address[] - (Available since v1.250.0) The address of the ALB instance.
- status string
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - vswitch
Id string - The ID of the vSwitch that corresponds to the zone.
- zone
Id string - The zone ID of the resource.
- load_
balancer_ Sequence[Getaddresses Load Balancers Balancer Zone Mapping Load Balancer Address] - (Available since v1.250.0) The address of the ALB instance.
- status str
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - vswitch_
id str - The ID of the vSwitch that corresponds to the zone.
- zone_
id str - The zone ID of the resource.
- load
Balancer List<Property Map>Addresses - (Available since v1.250.0) The address of the ALB instance.
- status String
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - vswitch
Id String - The ID of the vSwitch that corresponds to the zone.
- zone
Id String - The zone ID of the resource.
GetLoadBalancersBalancerZoneMappingLoadBalancerAddress
- Address string
- IPv4 address.
- Allocation
Id string - The elastic IP address (EIP).
- Eip
Type string - The type of EIP.
- Intranet
Address string - The private IPv4 address.
- Intranet
Address stringHc Status - The health status of the private IPv4 address of the ALB instance.
- Ipv4Local
Addresses List<string> - The IPv4 link-local addresses.
- Ipv6Address string
- IPv6 address.
- Ipv6Address
Hc stringStatus - The health status of the private IPv6 address of the ALB instance.
- Ipv6Local
Addresses List<string> - The IPv6 link-local addresses.
- Address string
- IPv4 address.
- Allocation
Id string - The elastic IP address (EIP).
- Eip
Type string - The type of EIP.
- Intranet
Address string - The private IPv4 address.
- Intranet
Address stringHc Status - The health status of the private IPv4 address of the ALB instance.
- Ipv4Local
Addresses []string - The IPv4 link-local addresses.
- Ipv6Address string
- IPv6 address.
- Ipv6Address
Hc stringStatus - The health status of the private IPv6 address of the ALB instance.
- Ipv6Local
Addresses []string - The IPv6 link-local addresses.
- address String
- IPv4 address.
- allocation
Id String - The elastic IP address (EIP).
- eip
Type String - The type of EIP.
- intranet
Address String - The private IPv4 address.
- intranet
Address StringHc Status - The health status of the private IPv4 address of the ALB instance.
- ipv4Local
Addresses List<String> - The IPv4 link-local addresses.
- ipv6Address String
- IPv6 address.
- ipv6Address
Hc StringStatus - The health status of the private IPv6 address of the ALB instance.
- ipv6Local
Addresses List<String> - The IPv6 link-local addresses.
- address string
- IPv4 address.
- allocation
Id string - The elastic IP address (EIP).
- eip
Type string - The type of EIP.
- intranet
Address string - The private IPv4 address.
- intranet
Address stringHc Status - The health status of the private IPv4 address of the ALB instance.
- ipv4Local
Addresses string[] - The IPv4 link-local addresses.
- ipv6Address string
- IPv6 address.
- ipv6Address
Hc stringStatus - The health status of the private IPv6 address of the ALB instance.
- ipv6Local
Addresses 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_ strhc_ status - The health status of the private IPv4 address of the ALB instance.
- ipv4_
local_ Sequence[str]addresses - The IPv4 link-local addresses.
- ipv6_
address str - IPv6 address.
- ipv6_
address_ strhc_ status - The health status of the private IPv6 address of the ALB instance.
- ipv6_
local_ Sequence[str]addresses - The IPv6 link-local addresses.
- address String
- IPv4 address.
- allocation
Id String - The elastic IP address (EIP).
- eip
Type String - The type of EIP.
- intranet
Address String - The private IPv4 address.
- intranet
Address StringHc Status - The health status of the private IPv4 address of the ALB instance.
- ipv4Local
Addresses List<String> - The IPv4 link-local addresses.
- ipv6Address String
- IPv6 address.
- ipv6Address
Hc StringStatus - The health status of the private IPv6 address of the ALB instance.
- ipv6Local
Addresses 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.