alicloud logo
Alibaba Cloud v3.37.0, May 15 23

alicloud.alb.getLoadBalancers

Explore with Pulumi AI

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

NOTE: Available in v1.132.0+.

Example Usage

Basic Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var ids = AliCloud.Alb.GetLoadBalancers.Invoke();

    var nameRegex = AliCloud.Alb.GetLoadBalancers.Invoke(new()
    {
        NameRegex = "^my-LoadBalancer",
    });

    return new Dictionary<string, object?>
    {
        ["albLoadBalancerId1"] = ids.Apply(getLoadBalancersResult => getLoadBalancersResult.Balancers[0]?.Id),
        ["albLoadBalancerId2"] = nameRegex.Apply(getLoadBalancersResult => getLoadBalancersResult.Balancers[0]?.Id),
    };
});
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/alb"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := alb.GetLoadBalancers(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("albLoadBalancerId1", ids.Balancers[0].Id)
		nameRegex, err := alb.GetLoadBalancers(ctx, &alb.GetLoadBalancersArgs{
			NameRegex: pulumi.StringRef("^my-LoadBalancer"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("albLoadBalancerId2", nameRegex.Balancers[0].Id)
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.alb.AlbFunctions;
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 ids = AlbFunctions.getLoadBalancers();

        ctx.export("albLoadBalancerId1", ids.applyValue(getLoadBalancersResult -> getLoadBalancersResult.balancers()[0].id()));
        final var nameRegex = AlbFunctions.getLoadBalancers(GetLoadBalancersArgs.builder()
            .nameRegex("^my-LoadBalancer")
            .build());

        ctx.export("albLoadBalancerId2", nameRegex.applyValue(getLoadBalancersResult -> getLoadBalancersResult.balancers()[0].id()));
    }
}
import pulumi
import pulumi_alicloud as alicloud

ids = alicloud.alb.get_load_balancers()
pulumi.export("albLoadBalancerId1", ids.balancers[0].id)
name_regex = alicloud.alb.get_load_balancers(name_regex="^my-LoadBalancer")
pulumi.export("albLoadBalancerId2", name_regex.balancers[0].id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const ids = alicloud.alb.getLoadBalancers({});
export const albLoadBalancerId1 = ids.then(ids => ids.balancers?.[0]?.id);
const nameRegex = alicloud.alb.getLoadBalancers({
    nameRegex: "^my-LoadBalancer",
});
export const albLoadBalancerId2 = nameRegex.then(nameRegex => nameRegex.balancers?.[0]?.id);
variables:
  ids:
    fn::invoke:
      Function: alicloud:alb:getLoadBalancers
      Arguments: {}
  nameRegex:
    fn::invoke:
      Function: alicloud:alb:getLoadBalancers
      Arguments:
        nameRegex: ^my-LoadBalancer
outputs:
  albLoadBalancerId1: ${ids.balancers[0].id}
  albLoadBalancerId2: ${nameRegex.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, Any]] = 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, Any]]] = 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)
// Output-based functions aren't available in Java yet
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.

EnableDetails bool

Default to false. Set it to true can output more details about resource attributes.

Ids List<string>

A list of Load Balancer IDs.

LoadBalancerBusinessStatus string

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Available in 1.142.0+

LoadBalancerBussinessStatus string

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0.

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 The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

Tags Dictionary<string, object>

The tag of 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 ID of the zone to which the ALB instance belongs.

AddressType string

The type of IP address that the ALB instance uses to provide services.

EnableDetails bool

Default to false. Set it to true can output more details about resource attributes.

Ids []string

A list of Load Balancer IDs.

LoadBalancerBusinessStatus string

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Available in 1.142.0+

LoadBalancerBussinessStatus string

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0.

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 The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

Tags map[string]interface{}

The tag of 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 ID of the zone to which the ALB instance belongs.

addressType String

The type of IP address that the ALB instance uses to provide services.

enableDetails Boolean

Default to false. Set it to true can output more details about resource attributes.

ids List<String>

A list of Load Balancer IDs.

loadBalancerBusinessStatus String

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Available in 1.142.0+

loadBalancerBussinessStatus String

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0.

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 The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

tags Map<String,Object>

The tag of 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 ID of the zone to which the ALB instance belongs.

addressType string

The type of IP address that the ALB instance uses to provide services.

enableDetails boolean

Default to false. Set it to true can output more details about resource attributes.

ids string[]

A list of Load Balancer IDs.

loadBalancerBusinessStatus string

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Available in 1.142.0+

loadBalancerBussinessStatus string

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0.

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 The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

tags {[key: string]: any}

The tag of 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 ID of the zone to which the ALB instance belongs.

address_type str

The type of IP address that the ALB instance uses to provide services.

enable_details bool

Default to false. Set it to true can output more details about resource attributes.

ids Sequence[str]

A list of Load Balancer IDs.

load_balancer_business_status str

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Available in 1.142.0+

load_balancer_bussiness_status str

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0.

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 The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

tags Mapping[str, Any]

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]

The vpc ids.

zone_id str

The ID of the zone to which the ALB instance belongs.

addressType String

The type of IP address that the ALB instance uses to provide services.

enableDetails Boolean

Default to false. Set it to true can output more details about resource attributes.

ids List<String>

A list of Load Balancer IDs.

loadBalancerBusinessStatus String

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Available in 1.142.0+

loadBalancerBussinessStatus String

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0.

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 The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

tags Map<Any>

The tag of 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 ID of the zone to which the ALB instance belongs.

getLoadBalancers Result

The following output properties are available:

Balancers List<Pulumi.AliCloud.Alb.Outputs.GetLoadBalancersBalancer>
Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>
Names List<string>
AddressType string
EnableDetails bool
LoadBalancerBusinessStatus string
LoadBalancerBussinessStatus string

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
NameRegex string
OutputFile string
ResourceGroupId string
Status string
Tags Dictionary<string, object>
VpcId string
VpcIds List<string>
ZoneId string
Balancers []GetLoadBalancersBalancer
Id string

The provider-assigned unique ID for this managed resource.

Ids []string
Names []string
AddressType string
EnableDetails bool
LoadBalancerBusinessStatus string
LoadBalancerBussinessStatus string

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
NameRegex string
OutputFile string
ResourceGroupId string
Status string
Tags map[string]interface{}
VpcId string
VpcIds []string
ZoneId string
balancers List<GetLoadBalancersBalancer>
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
names List<String>
addressType String
enableDetails Boolean
loadBalancerBusinessStatus String
loadBalancerBussinessStatus String

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
nameRegex String
outputFile String
resourceGroupId String
status String
tags Map<String,Object>
vpcId String
vpcIds List<String>
zoneId String
balancers GetLoadBalancersBalancer[]
id string

The provider-assigned unique ID for this managed resource.

ids string[]
names string[]
addressType string
enableDetails boolean
loadBalancerBusinessStatus string
loadBalancerBussinessStatus string

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
nameRegex string
outputFile string
resourceGroupId string
status string
tags {[key: string]: any}
vpcId string
vpcIds string[]
zoneId string
balancers Sequence[GetLoadBalancersBalancer]
id str

The provider-assigned unique ID for this managed resource.

ids Sequence[str]
names Sequence[str]
address_type str
enable_details bool
load_balancer_business_status str
load_balancer_bussiness_status str

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
name_regex str
output_file str
resource_group_id str
status str
tags Mapping[str, Any]
vpc_id str
vpc_ids Sequence[str]
zone_id str
balancers List<Property Map>
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
names List<String>
addressType String
enableDetails Boolean
loadBalancerBusinessStatus String
loadBalancerBussinessStatus String

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
nameRegex String
outputFile String
resourceGroupId String
status String
tags Map<Any>
vpcId String
vpcIds List<String>
zoneId String

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. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.

AddressType string

The type of IP address that the ALB instance uses to provide services.

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: Abnormal and Normal. NOTE: Available in 1.142.0+

LoadBalancerBussinessStatus string

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0.

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 The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

Tags Dictionary<string, object>

The tag of 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. You must specify at least two zones.

AccessLogConfigs []GetLoadBalancersBalancerAccessLogConfig

The Access Logging Configuration Structure.

AddressAllocatedMode string

The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.

AddressType string

The type of IP address that the ALB instance uses to provide services.

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: Abnormal and Normal. NOTE: Available in 1.142.0+

LoadBalancerBussinessStatus string

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0.

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 The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

Tags map[string]interface{}

The tag of the resource.

VpcId string

The ID of the virtual private cloud (VPC) where the ALB instance is deployed.

ZoneMappings []GetLoadBalancersBalancerZoneMapping

The zones and vSwitches. You must specify at least two zones.

accessLogConfigs List<GetLoadBalancersBalancerAccessLogConfig>

The Access Logging Configuration Structure.

addressAllocatedMode String

The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.

addressType String

The type of IP address that the ALB instance uses to provide services.

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: Abnormal and Normal. NOTE: Available in 1.142.0+

loadBalancerBussinessStatus String

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0.

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 The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

tags Map<String,Object>

The tag of 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. You must specify at least two zones.

accessLogConfigs GetLoadBalancersBalancerAccessLogConfig[]

The Access Logging Configuration Structure.

addressAllocatedMode string

The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.

addressType string

The type of IP address that the ALB instance uses to provide services.

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: Abnormal and Normal. NOTE: Available in 1.142.0+

loadBalancerBussinessStatus string

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0.

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 The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

tags {[key: string]: any}

The tag of the resource.

vpcId string

The ID of the virtual private cloud (VPC) where the ALB instance is deployed.

zoneMappings GetLoadBalancersBalancerZoneMapping[]

The zones and vSwitches. You must specify at least two zones.

access_log_configs Sequence[GetLoadBalancersBalancerAccessLogConfig]

The Access Logging Configuration Structure.

address_allocated_mode str

The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.

address_type str

The type of IP address that the ALB instance uses to provide services.

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: Abnormal and Normal. NOTE: Available in 1.142.0+

load_balancer_bussiness_status str

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0.

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 The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

tags Mapping[str, Any]

The tag of 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. You must specify at least two zones.

accessLogConfigs List<Property Map>

The Access Logging Configuration Structure.

addressAllocatedMode String

The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.

addressType String

The type of IP address that the ALB instance uses to provide services.

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: Abnormal and Normal. NOTE: Available in 1.142.0+

loadBalancerBussinessStatus String

Load Balancing of the Service Status. Valid Values: Abnormal and Normal. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0.

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 The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

tags Map<Any>

The tag of 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. You must specify at least two zones.

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. Valid value: PayAsYouGo.

PayType string

The billing method of the ALB instance. Valid value: PayAsYouGo.

payType String

The billing method of the ALB instance. Valid value: PayAsYouGo.

payType string

The billing method of the ALB instance. Valid value: PayAsYouGo.

pay_type str

The billing method of the ALB instance. Valid value: PayAsYouGo.

payType String

The billing method of the ALB instance. Valid value: PayAsYouGo.

GetLoadBalancersBalancerLoadBalancerOperationLock

LockReason string

The Locking of the Reasons.

LockType string

The Locking of the Type. Valid Values: securitylocked,relatedresourcelocked, financiallocked, and residuallocked.

LockReason string

The Locking of the Reasons.

LockType string

The Locking of the Type. Valid Values: securitylocked,relatedresourcelocked, financiallocked, and residuallocked.

lockReason String

The Locking of the Reasons.

lockType String

The Locking of the Type. Valid Values: securitylocked,relatedresourcelocked, financiallocked, and residuallocked.

lockReason string

The Locking of the Reasons.

lockType string

The Locking of the Type. Valid Values: securitylocked,relatedresourcelocked, financiallocked, and residuallocked.

lock_reason str

The Locking of the Reasons.

lock_type str

The Locking of the Type. Valid Values: securitylocked,relatedresourcelocked, financiallocked, and residuallocked.

lockReason String

The Locking of the Reasons.

lockType String

The Locking of the Type. Valid Values: securitylocked,relatedresourcelocked, financiallocked, and residuallocked.

GetLoadBalancersBalancerModificationProtectionConfig

Reason string

The reason for modification protection. This parameter must be 2 to 128 characters in length, and can contain letters, digits, periods, underscores, and hyphens. The reason must start with a letter. This parameter is required only if ModificationProtectionStatus is set to ConsoleProtection.

Status string

The The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

Reason string

The reason for modification protection. This parameter must be 2 to 128 characters in length, and can contain letters, digits, periods, underscores, and hyphens. The reason must start with a letter. This parameter is required only if ModificationProtectionStatus is set to ConsoleProtection.

Status string

The The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

reason String

The reason for modification protection. This parameter must be 2 to 128 characters in length, and can contain letters, digits, periods, underscores, and hyphens. The reason must start with a letter. This parameter is required only if ModificationProtectionStatus is set to ConsoleProtection.

status String

The The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

reason string

The reason for modification protection. This parameter must be 2 to 128 characters in length, and can contain letters, digits, periods, underscores, and hyphens. The reason must start with a letter. This parameter is required only if ModificationProtectionStatus is set to ConsoleProtection.

status string

The The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

reason str

The reason for modification protection. This parameter must be 2 to 128 characters in length, and can contain letters, digits, periods, underscores, and hyphens. The reason must start with a letter. This parameter is required only if ModificationProtectionStatus is set to ConsoleProtection.

status str

The The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

reason String

The reason for modification protection. This parameter must be 2 to 128 characters in length, and can contain letters, digits, periods, underscores, and hyphens. The reason must start with a letter. This parameter is required only if ModificationProtectionStatus is set to ConsoleProtection.

status String

The The load balancer status. Valid values: Active, Configuring, CreateFailed, Inactive and Provisioning.

GetLoadBalancersBalancerZoneMapping

LoadBalancerAddresses List<Pulumi.AliCloud.Alb.Inputs.GetLoadBalancersBalancerZoneMappingLoadBalancerAddress>
VswitchId string

The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.

ZoneId string

The ID of the zone to which the ALB instance belongs.

LoadBalancerAddresses []GetLoadBalancersBalancerZoneMappingLoadBalancerAddress
VswitchId string

The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.

ZoneId string

The ID of the zone to which the ALB instance belongs.

loadBalancerAddresses List<GetLoadBalancersBalancerZoneMappingLoadBalancerAddress>
vswitchId String

The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.

zoneId String

The ID of the zone to which the ALB instance belongs.

loadBalancerAddresses GetLoadBalancersBalancerZoneMappingLoadBalancerAddress[]
vswitchId string

The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.

zoneId string

The ID of the zone to which the ALB instance belongs.

load_balancer_addresses Sequence[GetLoadBalancersBalancerZoneMappingLoadBalancerAddress]
vswitch_id str

The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.

zone_id str

The ID of the zone to which the ALB instance belongs.

loadBalancerAddresses List<Property Map>
vswitchId String

The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.

zoneId String

The ID of the zone to which the ALB instance belongs.

GetLoadBalancersBalancerZoneMappingLoadBalancerAddress

Address string
Address string
address String
address string
address String

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.