Alibaba Cloud v3.75.0 published on Friday, Mar 7, 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 in v1.132.0+.
Example Usage
Basic Usage
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);
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)
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, &alb.GetLoadBalancersArgs{}, 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
})
}
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 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()));
}
}
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, 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 Changes to this property will trigger replacement.
- The type of IP address that the ALB instance uses to provide services. Valid
values:
Intranet
,Internet
. - Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids
Changes to this property will trigger replacement.
- A list of Load Balancer IDs.
- Load
Balancer Business Status Changes to this property will trigger replacement.
- Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - Load
Balancer Bussiness Status Changes to this property will trigger replacement.
- Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. Use 'load_balancer_business_status' replaces it.
- Load
Balancer Ids Changes to this property will trigger replacement.
- The load balancer ids.
- Load
Balancer Name Changes to this property will trigger replacement.
- The name of the resource.
- Name
Regex Changes to this property will trigger replacement.
- 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 Id Changes to this property will trigger replacement.
- The ID of the resource group.
- Status
Changes to this property will trigger replacement.
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Dictionary<string, string>
- Vpc
Id Changes to this property will trigger replacement.
- The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Vpc
Ids Changes to this property will trigger replacement.
- The vpc ids.
- Zone
Id Changes to this property will trigger replacement.
- The zone ID of the resource.
- Address
Type Changes to this property will trigger replacement.
- The type of IP address that the ALB instance uses to provide services. Valid
values:
Intranet
,Internet
. - Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids
Changes to this property will trigger replacement.
- A list of Load Balancer IDs.
- Load
Balancer Business Status Changes to this property will trigger replacement.
- Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - Load
Balancer Bussiness Status Changes to this property will trigger replacement.
- Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. Use 'load_balancer_business_status' replaces it.
- Load
Balancer Ids Changes to this property will trigger replacement.
- The load balancer ids.
- Load
Balancer Name Changes to this property will trigger replacement.
- The name of the resource.
- Name
Regex Changes to this property will trigger replacement.
- 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 Id Changes to this property will trigger replacement.
- The ID of the resource group.
- Status
Changes to this property will trigger replacement.
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - map[string]string
- Vpc
Id Changes to this property will trigger replacement.
- The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Vpc
Ids Changes to this property will trigger replacement.
- The vpc ids.
- Zone
Id Changes to this property will trigger replacement.
- The zone ID of the resource.
- address
Type Changes to this property will trigger replacement.
- The type of IP address that the ALB instance uses to provide services. Valid
values:
Intranet
,Internet
. - enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Load Balancer IDs.
- load
Balancer Business Status Changes to this property will trigger replacement.
- Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load
Balancer Bussiness Status Changes to this property will trigger replacement.
- Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. Use 'load_balancer_business_status' replaces it.
- load
Balancer Ids Changes to this property will trigger replacement.
- The load balancer ids.
- load
Balancer Name Changes to this property will trigger replacement.
- The name of the resource.
- name
Regex Changes to this property will trigger replacement.
- 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 Id Changes to this property will trigger replacement.
- The ID of the resource group.
- status
Changes to this property will trigger replacement.
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Map<String,String>
- vpc
Id Changes to this property will trigger replacement.
- The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc
Ids Changes to this property will trigger replacement.
- The vpc ids.
- zone
Id Changes to this property will trigger replacement.
- The zone ID of the resource.
- address
Type Changes to this property will trigger replacement.
- The type of IP address that the ALB instance uses to provide services. Valid
values:
Intranet
,Internet
. - enable
Details boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Load Balancer IDs.
- load
Balancer Business Status Changes to this property will trigger replacement.
- Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load
Balancer Bussiness Status Changes to this property will trigger replacement.
- Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. Use 'load_balancer_business_status' replaces it.
- load
Balancer Ids Changes to this property will trigger replacement.
- The load balancer ids.
- load
Balancer Name Changes to this property will trigger replacement.
- The name of the resource.
- name
Regex Changes to this property will trigger replacement.
- 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 Id Changes to this property will trigger replacement.
- The ID of the resource group.
- status
Changes to this property will trigger replacement.
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - {[key: string]: string}
- vpc
Id Changes to this property will trigger replacement.
- The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc
Ids Changes to this property will trigger replacement.
- The vpc ids.
- zone
Id Changes to this property will trigger replacement.
- The zone ID of the resource.
- address_
type Changes to this property will trigger replacement.
- The type of IP address that the ALB instance uses to provide services. Valid
values:
Intranet
,Internet
. - enable_
details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Load Balancer IDs.
- load_
balancer_ business_ status Changes to this property will trigger replacement.
- Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load_
balancer_ bussiness_ status Changes to this property will trigger replacement.
- Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. Use 'load_balancer_business_status' replaces it.
- load_
balancer_ ids Changes to this property will trigger replacement.
- The load balancer ids.
- load_
balancer_ name Changes to this property will trigger replacement.
- The name of the resource.
- name_
regex Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The ID of the resource group.
- status
Changes to this property will trigger replacement.
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Mapping[str, str]
- vpc_
id Changes to this property will trigger replacement.
- The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc_
ids Changes to this property will trigger replacement.
- The vpc ids.
- zone_
id Changes to this property will trigger replacement.
- The zone ID of the resource.
- address
Type Changes to this property will trigger replacement.
- The type of IP address that the ALB instance uses to provide services. Valid
values:
Intranet
,Internet
. - enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Load Balancer IDs.
- load
Balancer Business Status Changes to this property will trigger replacement.
- Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load
Balancer Bussiness Status Changes to this property will trigger replacement.
- Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. Use 'load_balancer_business_status' replaces it.
- load
Balancer Ids Changes to this property will trigger replacement.
- The load balancer ids.
- load
Balancer Name Changes to this property will trigger replacement.
- The name of the resource.
- name
Regex Changes to this property will trigger replacement.
- 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 Id Changes to this property will trigger replacement.
- The ID of the resource group.
- status
Changes to this property will trigger replacement.
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Map<String>
- vpc
Id Changes to this property will trigger replacement.
- The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc
Ids Changes to this property will trigger replacement.
- The vpc ids.
- zone
Id Changes to this property will trigger replacement.
- 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> - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- Address
Type string - Enable
Details bool - Load
Balancer stringBusiness Status - Load
Balancer stringBussiness Status - Load
Balancer List<string>Ids - Load
Balancer stringName - Name
Regex string - Output
File string - Resource
Group stringId - Status string
- Dictionary<string, string>
- Vpc
Id string - Vpc
Ids List<string> - Zone
Id string
- Balancers
[]Get
Load Balancers Balancer - Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- Address
Type string - Enable
Details bool - Load
Balancer stringBusiness Status - Load
Balancer stringBussiness Status - Load
Balancer []stringIds - Load
Balancer stringName - Name
Regex string - Output
File string - Resource
Group stringId - Status string
- map[string]string
- Vpc
Id string - Vpc
Ids []string - Zone
Id string
- balancers
List<Get
Load Balancers Balancer> - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- address
Type String - enable
Details Boolean - load
Balancer StringBusiness Status - load
Balancer StringBussiness Status - load
Balancer List<String>Ids - load
Balancer StringName - name
Regex String - output
File String - resource
Group StringId - status String
- Map<String,String>
- vpc
Id String - vpc
Ids List<String> - zone
Id String
- balancers
Get
Load Balancers Balancer[] - id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- address
Type string - enable
Details boolean - load
Balancer stringBusiness Status - load
Balancer stringBussiness Status - load
Balancer string[]Ids - load
Balancer stringName - name
Regex string - output
File string - resource
Group stringId - status string
- {[key: string]: string}
- vpc
Id string - vpc
Ids string[] - zone
Id string
- balancers
Sequence[Get
Load Balancers Balancer] - 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_ strbusiness_ status - load_
balancer_ strbussiness_ status - load_
balancer_ Sequence[str]ids - load_
balancer_ strname - name_
regex str - output_
file str - resource_
group_ strid - status str
- Mapping[str, str]
- 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>
- address
Type String - enable
Details Boolean - load
Balancer StringBusiness Status - load
Balancer StringBussiness Status - load
Balancer List<String>Ids - load
Balancer StringName - name
Regex String - output
File String - resource
Group StringId - status String
- Map<String>
- vpc
Id String - vpc
Ids List<String> - zone
Id String
Supporting Types
GetLoadBalancersBalancer
- Access
Log Configs This property is required. List<Pulumi.Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Access Log Config> - The Access Logging Configuration Structure.
- Address
Allocated Mode This property is required. 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.
- Address
Type This property is required. string - The type of IP address that the ALB instance uses to provide services.
- Bandwidth
Package Id This property is required. string - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- Create
Time This property is required. string - The creation time of the resource.
- Deletion
Protection Configs This property is required. List<Pulumi.Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Deletion Protection Config> - Remove the Protection Configuration.
- Dns
Name This property is required. string - DNS Domain Name.
- Id
This property is required. string - The ID of the Load Balancer.
- Load
Balancer Billing Configs This property is required. List<Pulumi.Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Load Balancer Billing Config> - The configuration of the billing method.
- Load
Balancer Business Status This property is required. string - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Available in 1.142.0+ - Load
Balancer Bussiness Status This property is required. string - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. - Load
Balancer Edition This property is required. string - The edition of the ALB instance.
- Load
Balancer Id This property is required. string - The first ID of the resource.
- Load
Balancer Name This property is required. string - The name of the resource.
- Load
Balancer Operation Locks This property is required. List<Pulumi.Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Load Balancer Operation Lock> - The Load Balancing Operations Lock Configuration.
- Modification
Protection Configs This property is required. List<Pulumi.Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Modification Protection Config> - Modify the Protection Configuration.
- Resource
Group Id This property is required. string - The ID of the resource group.
- Status
This property is required. string - The The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. This property is required. Dictionary<string, string>- The tag of the resource.
- Vpc
Id This property is required. string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Zone
Mappings This property is required. List<Pulumi.Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Zone Mapping> - The zones and vSwitches. You must specify at least two zones.
- Access
Log Configs This property is required. []GetLoad Balancers Balancer Access Log Config - The Access Logging Configuration Structure.
- Address
Allocated Mode This property is required. 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.
- Address
Type This property is required. string - The type of IP address that the ALB instance uses to provide services.
- Bandwidth
Package Id This property is required. string - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- Create
Time This property is required. string - The creation time of the resource.
- Deletion
Protection Configs This property is required. []GetLoad Balancers Balancer Deletion Protection Config - Remove the Protection Configuration.
- Dns
Name This property is required. string - DNS Domain Name.
- Id
This property is required. string - The ID of the Load Balancer.
- Load
Balancer Billing Configs This property is required. []GetLoad Balancers Balancer Load Balancer Billing Config - The configuration of the billing method.
- Load
Balancer Business Status This property is required. string - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Available in 1.142.0+ - Load
Balancer Bussiness Status This property is required. string - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. - Load
Balancer Edition This property is required. string - The edition of the ALB instance.
- Load
Balancer Id This property is required. string - The first ID of the resource.
- Load
Balancer Name This property is required. string - The name of the resource.
- Load
Balancer Operation Locks This property is required. []GetLoad Balancers Balancer Load Balancer Operation Lock - The Load Balancing Operations Lock Configuration.
- Modification
Protection Configs This property is required. []GetLoad Balancers Balancer Modification Protection Config - Modify the Protection Configuration.
- Resource
Group Id This property is required. string - The ID of the resource group.
- Status
This property is required. string - The The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. This property is required. map[string]string- The tag of the resource.
- Vpc
Id This property is required. string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Zone
Mappings This property is required. []GetLoad Balancers Balancer Zone Mapping - The zones and vSwitches. You must specify at least two zones.
- access
Log Configs This property is required. List<GetLoad Balancers Balancer Access Log Config> - The Access Logging Configuration Structure.
- address
Allocated Mode This property is required. 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.
- address
Type This property is required. String - The type of IP address that the ALB instance uses to provide services.
- bandwidth
Package Id This property is required. String - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- create
Time This property is required. String - The creation time of the resource.
- deletion
Protection Configs This property is required. List<GetLoad Balancers Balancer Deletion Protection Config> - Remove the Protection Configuration.
- dns
Name This property is required. String - DNS Domain Name.
- id
This property is required. String - The ID of the Load Balancer.
- load
Balancer Billing Configs This property is required. List<GetLoad Balancers Balancer Load Balancer Billing Config> - The configuration of the billing method.
- load
Balancer Business Status This property is required. String - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Available in 1.142.0+ - load
Balancer Bussiness Status This property is required. String - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. - load
Balancer Edition This property is required. String - The edition of the ALB instance.
- load
Balancer Id This property is required. String - The first ID of the resource.
- load
Balancer Name This property is required. String - The name of the resource.
- load
Balancer Operation Locks This property is required. List<GetLoad Balancers Balancer Load Balancer Operation Lock> - The Load Balancing Operations Lock Configuration.
- modification
Protection Configs This property is required. List<GetLoad Balancers Balancer Modification Protection Config> - Modify the Protection Configuration.
- resource
Group Id This property is required. String - The ID of the resource group.
- status
This property is required. String - The The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. This property is required. Map<String,String>- The tag of the resource.
- vpc
Id This property is required. String - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- zone
Mappings This property is required. List<GetLoad Balancers Balancer Zone Mapping> - The zones and vSwitches. You must specify at least two zones.
- access
Log Configs This property is required. GetLoad Balancers Balancer Access Log Config[] - The Access Logging Configuration Structure.
- address
Allocated Mode This property is required. 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.
- address
Type This property is required. string - The type of IP address that the ALB instance uses to provide services.
- bandwidth
Package Id This property is required. string - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- create
Time This property is required. string - The creation time of the resource.
- deletion
Protection Configs This property is required. GetLoad Balancers Balancer Deletion Protection Config[] - Remove the Protection Configuration.
- dns
Name This property is required. string - DNS Domain Name.
- id
This property is required. string - The ID of the Load Balancer.
- load
Balancer Billing Configs This property is required. GetLoad Balancers Balancer Load Balancer Billing Config[] - The configuration of the billing method.
- load
Balancer Business Status This property is required. string - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Available in 1.142.0+ - load
Balancer Bussiness Status This property is required. string - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. - load
Balancer Edition This property is required. string - The edition of the ALB instance.
- load
Balancer Id This property is required. string - The first ID of the resource.
- load
Balancer Name This property is required. string - The name of the resource.
- load
Balancer Operation Locks This property is required. GetLoad Balancers Balancer Load Balancer Operation Lock[] - The Load Balancing Operations Lock Configuration.
- modification
Protection Configs This property is required. GetLoad Balancers Balancer Modification Protection Config[] - Modify the Protection Configuration.
- resource
Group Id This property is required. string - The ID of the resource group.
- status
This property is required. string - The The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. This property is required. {[key: string]: string}- The tag of the resource.
- vpc
Id This property is required. string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- zone
Mappings This property is required. GetLoad Balancers Balancer Zone Mapping[] - The zones and vSwitches. You must specify at least two zones.
- access_
log_ configs This property is required. Sequence[GetLoad Balancers Balancer Access Log Config] - The Access Logging Configuration Structure.
- address_
allocated_ mode This property is required. 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 This property is required. str - The type of IP address that the ALB instance uses to provide services.
- bandwidth_
package_ id This property is required. str - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- create_
time This property is required. str - The creation time of the resource.
- deletion_
protection_ configs This property is required. Sequence[GetLoad Balancers Balancer Deletion Protection Config] - Remove the Protection Configuration.
- dns_
name This property is required. str - DNS Domain Name.
- id
This property is required. str - The ID of the Load Balancer.
- load_
balancer_ billing_ configs This property is required. Sequence[GetLoad Balancers Balancer Load Balancer Billing Config] - The configuration of the billing method.
- load_
balancer_ business_ status This property is required. str - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Available in 1.142.0+ - load_
balancer_ bussiness_ status This property is required. str - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. - load_
balancer_ edition This property is required. str - The edition of the ALB instance.
- load_
balancer_ id This property is required. str - The first ID of the resource.
- load_
balancer_ name This property is required. str - The name of the resource.
- load_
balancer_ operation_ locks This property is required. Sequence[GetLoad Balancers Balancer Load Balancer Operation Lock] - The Load Balancing Operations Lock Configuration.
- modification_
protection_ configs This property is required. Sequence[GetLoad Balancers Balancer Modification Protection Config] - Modify the Protection Configuration.
- resource_
group_ id This property is required. str - The ID of the resource group.
- status
This property is required. str - The The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. This property is required. Mapping[str, str]- The tag of the resource.
- vpc_
id This property is required. str - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- zone_
mappings This property is required. Sequence[GetLoad Balancers Balancer Zone Mapping] - The zones and vSwitches. You must specify at least two zones.
- access
Log Configs This property is required. List<Property Map> - The Access Logging Configuration Structure.
- address
Allocated Mode This property is required. 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.
- address
Type This property is required. String - The type of IP address that the ALB instance uses to provide services.
- bandwidth
Package Id This property is required. String - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- create
Time This property is required. String - The creation time of the resource.
- deletion
Protection Configs This property is required. List<Property Map> - Remove the Protection Configuration.
- dns
Name This property is required. String - DNS Domain Name.
- id
This property is required. String - The ID of the Load Balancer.
- load
Balancer Billing Configs This property is required. List<Property Map> - The configuration of the billing method.
- load
Balancer Business Status This property is required. String - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Available in 1.142.0+ - load
Balancer Bussiness Status This property is required. String - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. - load
Balancer Edition This property is required. String - The edition of the ALB instance.
- load
Balancer Id This property is required. String - The first ID of the resource.
- load
Balancer Name This property is required. String - The name of the resource.
- load
Balancer Operation Locks This property is required. List<Property Map> - The Load Balancing Operations Lock Configuration.
- modification
Protection Configs This property is required. List<Property Map> - Modify the Protection Configuration.
- resource
Group Id This property is required. String - The ID of the resource group.
- status
This property is required. String - The The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. This property is required. Map<String>- The tag of the resource.
- vpc
Id This property is required. String - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- zone
Mappings This property is required. List<Property Map> - The zones and vSwitches. You must specify at least two zones.
GetLoadBalancersBalancerAccessLogConfig
- Log
Project This property is required. string - The log service that access logs are shipped to.
- Log
Store This property is required. string - The logstore that access logs are shipped to.
- Log
Project This property is required. string - The log service that access logs are shipped to.
- Log
Store This property is required. string - The logstore that access logs are shipped to.
- log
Project This property is required. String - The log service that access logs are shipped to.
- log
Store This property is required. String - The logstore that access logs are shipped to.
- log
Project This property is required. string - The log service that access logs are shipped to.
- log
Store This property is required. string - The logstore that access logs are shipped to.
- log_
project This property is required. str - The log service that access logs are shipped to.
- log_
store This property is required. str - The logstore that access logs are shipped to.
- log
Project This property is required. String - The log service that access logs are shipped to.
- log
Store This property is required. String - The logstore that access logs are shipped to.
GetLoadBalancersBalancerDeletionProtectionConfig
- Enabled
This property is required. bool - Remove the Protection Status.
- Enabled
Time This property is required. string - Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
- Enabled
This property is required. bool - Remove the Protection Status.
- Enabled
Time This property is required. string - Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
- enabled
This property is required. Boolean - Remove the Protection Status.
- enabled
Time This property is required. String - Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
- enabled
This property is required. boolean - Remove the Protection Status.
- enabled
Time This property is required. string - Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
- enabled
This property is required. bool - Remove the Protection Status.
- enabled_
time This property is required. str - Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
- enabled
This property is required. Boolean - Remove the Protection Status.
- enabled
Time This property is required. String - Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
GetLoadBalancersBalancerLoadBalancerBillingConfig
- Pay
Type This property is required. string - The billing method of the ALB instance. Valid value:
PayAsYouGo
.
- Pay
Type This property is required. string - The billing method of the ALB instance. Valid value:
PayAsYouGo
.
- pay
Type This property is required. String - The billing method of the ALB instance. Valid value:
PayAsYouGo
.
- pay
Type This property is required. string - The billing method of the ALB instance. Valid value:
PayAsYouGo
.
- pay_
type This property is required. str - The billing method of the ALB instance. Valid value:
PayAsYouGo
.
- pay
Type This property is required. String - The billing method of the ALB instance. Valid value:
PayAsYouGo
.
GetLoadBalancersBalancerLoadBalancerOperationLock
- Lock
Reason This property is required. string - The Locking of the Reasons.
- Lock
Type This property is required. string - The Locking of the Type. Valid Values:
securitylocked
,relatedresourcelocked
,financiallocked
, andresiduallocked
.
- Lock
Reason This property is required. string - The Locking of the Reasons.
- Lock
Type This property is required. string - The Locking of the Type. Valid Values:
securitylocked
,relatedresourcelocked
,financiallocked
, andresiduallocked
.
- lock
Reason This property is required. String - The Locking of the Reasons.
- lock
Type This property is required. String - The Locking of the Type. Valid Values:
securitylocked
,relatedresourcelocked
,financiallocked
, andresiduallocked
.
- lock
Reason This property is required. string - The Locking of the Reasons.
- lock
Type This property is required. string - The Locking of the Type. Valid Values:
securitylocked
,relatedresourcelocked
,financiallocked
, andresiduallocked
.
- lock_
reason This property is required. str - The Locking of the Reasons.
- lock_
type This property is required. str - The Locking of the Type. Valid Values:
securitylocked
,relatedresourcelocked
,financiallocked
, andresiduallocked
.
- lock
Reason This property is required. String - The Locking of the Reasons.
- lock
Type This property is required. String - The Locking of the Type. Valid Values:
securitylocked
,relatedresourcelocked
,financiallocked
, andresiduallocked
.
GetLoadBalancersBalancerModificationProtectionConfig
- Reason
This property is required. 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 toConsoleProtection
. - Status
This property is required. string - Specifies whether to enable the configuration read-only mode for the ALB instance. Valid values:
NonProtection
andConsoleProtection
.NonProtection
- disables the configuration read-only mode. After you disable the configuration read-only mode, you cannot set the ModificationProtectionReason parameter. If the parameter is set, the value is cleared.ConsoleProtection
- enables the configuration read-only mode. After you enable the configuration read-only mode, you can set the ModificationProtectionReason parameter.
- Reason
This property is required. 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 toConsoleProtection
. - Status
This property is required. string - Specifies whether to enable the configuration read-only mode for the ALB instance. Valid values:
NonProtection
andConsoleProtection
.NonProtection
- disables the configuration read-only mode. After you disable the configuration read-only mode, you cannot set the ModificationProtectionReason parameter. If the parameter is set, the value is cleared.ConsoleProtection
- enables the configuration read-only mode. After you enable the configuration read-only mode, you can set the ModificationProtectionReason parameter.
- reason
This property is required. 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 toConsoleProtection
. - status
This property is required. String - Specifies whether to enable the configuration read-only mode for the ALB instance. Valid values:
NonProtection
andConsoleProtection
.NonProtection
- disables the configuration read-only mode. After you disable the configuration read-only mode, you cannot set the ModificationProtectionReason parameter. If the parameter is set, the value is cleared.ConsoleProtection
- enables the configuration read-only mode. After you enable the configuration read-only mode, you can set the ModificationProtectionReason parameter.
- reason
This property is required. 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 toConsoleProtection
. - status
This property is required. string - Specifies whether to enable the configuration read-only mode for the ALB instance. Valid values:
NonProtection
andConsoleProtection
.NonProtection
- disables the configuration read-only mode. After you disable the configuration read-only mode, you cannot set the ModificationProtectionReason parameter. If the parameter is set, the value is cleared.ConsoleProtection
- enables the configuration read-only mode. After you enable the configuration read-only mode, you can set the ModificationProtectionReason parameter.
- reason
This property is required. 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 toConsoleProtection
. - status
This property is required. str - Specifies whether to enable the configuration read-only mode for the ALB instance. Valid values:
NonProtection
andConsoleProtection
.NonProtection
- disables the configuration read-only mode. After you disable the configuration read-only mode, you cannot set the ModificationProtectionReason parameter. If the parameter is set, the value is cleared.ConsoleProtection
- enables the configuration read-only mode. After you enable the configuration read-only mode, you can set the ModificationProtectionReason parameter.
- reason
This property is required. 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 toConsoleProtection
. - status
This property is required. String - Specifies whether to enable the configuration read-only mode for the ALB instance. Valid values:
NonProtection
andConsoleProtection
.NonProtection
- disables the configuration read-only mode. After you disable the configuration read-only mode, you cannot set the ModificationProtectionReason parameter. If the parameter is set, the value is cleared.ConsoleProtection
- enables the configuration read-only mode. After you enable the configuration read-only mode, you can set the ModificationProtectionReason parameter.
GetLoadBalancersBalancerZoneMapping
- Load
Balancer Addresses This property is required. List<Pulumi.Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Zone Mapping Load Balancer Address> - Vswitch
Id This property is required. string - The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
- Zone
Id This property is required. string - The ID of the zone to which the ALB instance belongs.
- Load
Balancer Addresses This property is required. []GetLoad Balancers Balancer Zone Mapping Load Balancer Address - Vswitch
Id This property is required. string - The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
- Zone
Id This property is required. string - The ID of the zone to which the ALB instance belongs.
- load
Balancer Addresses This property is required. List<GetLoad Balancers Balancer Zone Mapping Load Balancer Address> - vswitch
Id This property is required. String - The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
- zone
Id This property is required. String - The ID of the zone to which the ALB instance belongs.
- load
Balancer Addresses This property is required. GetLoad Balancers Balancer Zone Mapping Load Balancer Address[] - vswitch
Id This property is required. string - The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
- zone
Id This property is required. string - The ID of the zone to which the ALB instance belongs.
- load_
balancer_ addresses This property is required. Sequence[GetLoad Balancers Balancer Zone Mapping Load Balancer Address] - vswitch_
id This property is required. str - The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
- zone_
id This property is required. str - The ID of the zone to which the ALB instance belongs.
- load
Balancer Addresses This property is required. List<Property Map> - vswitch
Id This property is required. String - The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
- zone
Id This property is required. String - The ID of the zone to which the ALB instance belongs.
GetLoadBalancersBalancerZoneMappingLoadBalancerAddress
- Address
This property is required. string
- Address
This property is required. string
- address
This property is required. String
- address
This property is required. string
- address
This property is required. str
- address
This property is required. String
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.