Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:alb/getLoadBalancers:getLoadBalancers
arguments:
# arguments dictionary
The following arguments are supported:
- Address
Type string - The type of IP address that the ALB instance uses to provide services. Valid
values:
Intranet
,Internet
. - Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids List<string>
- A list of Load Balancer IDs.
- Load
Balancer stringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - Load
Balancer stringBussiness Status - Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. Use 'load_balancer_business_status' replaces it.
- Load
Balancer List<string>Ids - The load balancer ids.
- Load
Balancer stringName - The name of the resource.
- Name
Regex string - A regex string to filter results by Load Balancer name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Resource
Group stringId - The ID of the resource group.
- Status string
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Dictionary<string, string>
- Vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Vpc
Ids List<string> - The vpc ids.
- Zone
Id string - The zone ID of the resource.
- Address
Type string - The type of IP address that the ALB instance uses to provide services. Valid
values:
Intranet
,Internet
. - Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids []string
- A list of Load Balancer IDs.
- Load
Balancer stringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - Load
Balancer stringBussiness Status - Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. Use 'load_balancer_business_status' replaces it.
- Load
Balancer []stringIds - The load balancer ids.
- Load
Balancer stringName - The name of the resource.
- Name
Regex string - A regex string to filter results by Load Balancer name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Resource
Group stringId - The ID of the resource group.
- Status string
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - map[string]string
- Vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Vpc
Ids []string - The vpc ids.
- Zone
Id string - The zone ID of the resource.
- address
Type String - The type of IP address that the ALB instance uses to provide services. Valid
values:
Intranet
,Internet
. - enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids List<String>
- A list of Load Balancer IDs.
- load
Balancer StringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load
Balancer StringBussiness Status - Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. Use 'load_balancer_business_status' replaces it.
- load
Balancer List<String>Ids - The load balancer ids.
- load
Balancer StringName - The name of the resource.
- name
Regex String - A regex string to filter results by Load Balancer name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - resource
Group StringId - The ID of the resource group.
- status String
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Map<String,String>
- vpc
Id String - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc
Ids List<String> - The vpc ids.
- zone
Id String - The zone ID of the resource.
- address
Type string - The type of IP address that the ALB instance uses to provide services. Valid
values:
Intranet
,Internet
. - enable
Details boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids string[]
- A list of Load Balancer IDs.
- load
Balancer stringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load
Balancer stringBussiness Status - Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. Use 'load_balancer_business_status' replaces it.
- load
Balancer string[]Ids - The load balancer ids.
- load
Balancer stringName - The name of the resource.
- name
Regex string - A regex string to filter results by Load Balancer name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - resource
Group stringId - The ID of the resource group.
- status string
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - {[key: string]: string}
- vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc
Ids string[] - The vpc ids.
- zone
Id string - The zone ID of the resource.
- address_
type str - The type of IP address that the ALB instance uses to provide services. Valid
values:
Intranet
,Internet
. - enable_
details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - ids Sequence[str]
- A list of Load Balancer IDs.
- load_
balancer_ strbusiness_ status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load_
balancer_ strbussiness_ status - Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. Use 'load_balancer_business_status' replaces it.
- load_
balancer_ Sequence[str]ids - The load balancer ids.
- load_
balancer_ strname - The name of the resource.
- name_
regex str - A regex string to filter results by Load Balancer name.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - resource_
group_ strid - The ID of the resource group.
- status str
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Mapping[str, str]
- vpc_
id str - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc_
ids Sequence[str] - The vpc ids.
- zone_
id str - The zone ID of the resource.
- address
Type String - The type of IP address that the ALB instance uses to provide services. Valid
values:
Intranet
,Internet
. - enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids List<String>
- A list of Load Balancer IDs.
- load
Balancer StringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. - load
Balancer StringBussiness Status - Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0. Use 'load_balancer_business_status' replaces it.
- load
Balancer List<String>Ids - The load balancer ids.
- load
Balancer StringName - The name of the resource.
- name
Regex String - A regex string to filter results by Load Balancer name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - resource
Group StringId - The ID of the resource group.
- status String
- The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Map<String>
- vpc
Id String - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- vpc
Ids List<String> - The vpc ids.
- zone
Id String - The zone ID of the resource.
getLoadBalancers Result
The following output properties are available:
- Balancers
List<Pulumi.
Ali Cloud. Alb. Outputs. Get Load Balancers Balancer> - 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 List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Access Log Config> - The Access Logging Configuration Structure.
- Address
Allocated stringMode - The method in which IP addresses are assigned. 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 string - The type of IP address that the ALB instance uses to provide services.
- Bandwidth
Package stringId - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- Create
Time string - The creation time of the resource.
- Deletion
Protection List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Deletion Protection Config> - Remove the Protection Configuration.
- Dns
Name string - DNS Domain Name.
- Id string
- The ID of the Load Balancer.
- Load
Balancer List<Pulumi.Billing Configs Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Load Balancer Billing Config> - The configuration of the billing method.
- Load
Balancer stringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Available in 1.142.0+ - Load
Balancer stringBussiness Status - 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 stringEdition - The edition of the ALB instance.
- Load
Balancer stringId - The first ID of the resource.
- Load
Balancer stringName - The name of the resource.
- Load
Balancer List<Pulumi.Operation Locks Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Load Balancer Operation Lock> - The Load Balancing Operations Lock Configuration.
- Modification
Protection List<Pulumi.Configs Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Modification Protection Config> - Modify the Protection Configuration.
- Resource
Group stringId - The ID of the resource group.
- Status string
- The The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Dictionary<string, string>
- The tag of the resource.
- Vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Zone
Mappings 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 []GetConfigs Load Balancers Balancer Access Log Config - The Access Logging Configuration Structure.
- Address
Allocated stringMode - 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 string - The type of IP address that the ALB instance uses to provide services.
- Bandwidth
Package stringId - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- Create
Time string - The creation time of the resource.
- Deletion
Protection []GetConfigs Load Balancers Balancer Deletion Protection Config - Remove the Protection Configuration.
- Dns
Name string - DNS Domain Name.
- Id string
- The ID of the Load Balancer.
- Load
Balancer []GetBilling Configs Load Balancers Balancer Load Balancer Billing Config - The configuration of the billing method.
- Load
Balancer stringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Available in 1.142.0+ - Load
Balancer stringBussiness Status - 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 stringEdition - The edition of the ALB instance.
- Load
Balancer stringId - The first ID of the resource.
- Load
Balancer stringName - The name of the resource.
- Load
Balancer []GetOperation Locks Load Balancers Balancer Load Balancer Operation Lock - The Load Balancing Operations Lock Configuration.
- Modification
Protection []GetConfigs Load Balancers Balancer Modification Protection Config - Modify the Protection Configuration.
- Resource
Group stringId - The ID of the resource group.
- Status string
- The The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - map[string]string
- The tag of the resource.
- Vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- Zone
Mappings []GetLoad Balancers Balancer Zone Mapping - The zones and vSwitches. You must specify at least two zones.
- access
Log List<GetConfigs Load Balancers Balancer Access Log Config> - The Access Logging Configuration Structure.
- address
Allocated StringMode - The method in which IP addresses are assigned. 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 String - The type of IP address that the ALB instance uses to provide services.
- bandwidth
Package StringId - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- create
Time String - The creation time of the resource.
- deletion
Protection List<GetConfigs Load Balancers Balancer Deletion Protection Config> - Remove the Protection Configuration.
- dns
Name String - DNS Domain Name.
- id String
- The ID of the Load Balancer.
- load
Balancer List<GetBilling Configs Load Balancers Balancer Load Balancer Billing Config> - The configuration of the billing method.
- load
Balancer StringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Available in 1.142.0+ - load
Balancer StringBussiness Status - 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 StringEdition - The edition of the ALB instance.
- load
Balancer StringId - The first ID of the resource.
- load
Balancer StringName - The name of the resource.
- load
Balancer List<GetOperation Locks Load Balancers Balancer Load Balancer Operation Lock> - The Load Balancing Operations Lock Configuration.
- modification
Protection List<GetConfigs Load Balancers Balancer Modification Protection Config> - Modify the Protection Configuration.
- resource
Group StringId - The ID of the resource group.
- status String
- The The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Map<String,String>
- The tag of the resource.
- vpc
Id String - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- zone
Mappings List<GetLoad Balancers Balancer Zone Mapping> - The zones and vSwitches. You must specify at least two zones.
- access
Log GetConfigs Load Balancers Balancer Access Log Config[] - The Access Logging Configuration Structure.
- address
Allocated stringMode - The method in which IP addresses are assigned. 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 string - The type of IP address that the ALB instance uses to provide services.
- bandwidth
Package stringId - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- create
Time string - The creation time of the resource.
- deletion
Protection GetConfigs Load Balancers Balancer Deletion Protection Config[] - Remove the Protection Configuration.
- dns
Name string - DNS Domain Name.
- id string
- The ID of the Load Balancer.
- load
Balancer GetBilling Configs Load Balancers Balancer Load Balancer Billing Config[] - The configuration of the billing method.
- load
Balancer stringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Available in 1.142.0+ - load
Balancer stringBussiness Status - 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 stringEdition - The edition of the ALB instance.
- load
Balancer stringId - The first ID of the resource.
- load
Balancer stringName - The name of the resource.
- load
Balancer GetOperation Locks Load Balancers Balancer Load Balancer Operation Lock[] - The Load Balancing Operations Lock Configuration.
- modification
Protection GetConfigs Load Balancers Balancer Modification Protection Config[] - Modify the Protection Configuration.
- resource
Group stringId - The ID of the resource group.
- status string
- The The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - {[key: string]: string}
- The tag of the resource.
- vpc
Id string - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- zone
Mappings GetLoad Balancers Balancer Zone Mapping[] - The zones and vSwitches. You must specify at least two zones.
- access_
log_ Sequence[Getconfigs Load Balancers Balancer Access Log Config] - The Access Logging Configuration Structure.
- address_
allocated_ strmode - The method in which IP addresses are assigned. 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_ strid - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- create_
time str - The creation time of the resource.
- deletion_
protection_ Sequence[Getconfigs Load Balancers Balancer Deletion Protection Config] - Remove the Protection Configuration.
- dns_
name str - DNS Domain Name.
- id str
- The ID of the Load Balancer.
- load_
balancer_ Sequence[Getbilling_ configs Load Balancers Balancer Load Balancer Billing Config] - The configuration of the billing method.
- load_
balancer_ strbusiness_ status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Available in 1.142.0+ - load_
balancer_ strbussiness_ status - 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_ stredition - The edition of the ALB instance.
- load_
balancer_ strid - The first ID of the resource.
- load_
balancer_ strname - The name of the resource.
- load_
balancer_ Sequence[Getoperation_ locks Load Balancers Balancer Load Balancer Operation Lock] - The Load Balancing Operations Lock Configuration.
- modification_
protection_ Sequence[Getconfigs Load Balancers Balancer Modification Protection Config] - Modify the Protection Configuration.
- resource_
group_ strid - The ID of the resource group.
- status str
- The The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Mapping[str, str]
- The tag of the resource.
- vpc_
id str - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- zone_
mappings Sequence[GetLoad Balancers Balancer Zone Mapping] - The zones and vSwitches. You must specify at least two zones.
- access
Log List<Property Map>Configs - The Access Logging Configuration Structure.
- address
Allocated StringMode - 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 String - The type of IP address that the ALB instance uses to provide services.
- bandwidth
Package StringId - The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.
- create
Time String - The creation time of the resource.
- deletion
Protection List<Property Map>Configs - Remove the Protection Configuration.
- dns
Name String - DNS Domain Name.
- id String
- The ID of the Load Balancer.
- load
Balancer List<Property Map>Billing Configs - The configuration of the billing method.
- load
Balancer StringBusiness Status - Load Balancing of the Service Status. Valid Values:
Abnormal
andNormal
. NOTE: Available in 1.142.0+ - load
Balancer StringBussiness Status - 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 StringEdition - The edition of the ALB instance.
- load
Balancer StringId - The first ID of the resource.
- load
Balancer StringName - The name of the resource.
- load
Balancer List<Property Map>Operation Locks - The Load Balancing Operations Lock Configuration.
- modification
Protection List<Property Map>Configs - Modify the Protection Configuration.
- resource
Group StringId - The ID of the resource group.
- status String
- The The load balancer status. Valid values:
Active
,Configuring
,CreateFailed
,Inactive
andProvisioning
. - Map<String>
- The tag of the resource.
- vpc
Id String - The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
- zone
Mappings List<Property Map> - The zones and vSwitches. You must specify at least two zones.
GetLoadBalancersBalancerAccessLogConfig
- Log
Project string - The log service that access logs are shipped to.
- Log
Store string - The logstore that access logs are shipped to.
- Log
Project string - The log service that access logs are shipped to.
- Log
Store string - The logstore that access logs are shipped to.
- log
Project String - The log service that access logs are shipped to.
- log
Store String - The logstore that access logs are shipped to.
- log
Project string - The log service that access logs are shipped to.
- log
Store string - The logstore that access logs are shipped to.
- log_
project str - The log service that access logs are shipped to.
- log_
store str - The logstore that access logs are shipped to.
- log
Project String - The log service that access logs are shipped to.
- log
Store String - The logstore that access logs are shipped to.
GetLoadBalancersBalancerDeletionProtectionConfig
- Enabled bool
- Remove the Protection Status.
- Enabled
Time string - Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
- Enabled bool
- Remove the Protection Status.
- Enabled
Time string - Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
- enabled Boolean
- Remove the Protection Status.
- enabled
Time String - Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
- enabled boolean
- Remove the Protection Status.
- enabled
Time string - Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
- enabled bool
- Remove the Protection Status.
- enabled_
time str - Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
- enabled Boolean
- Remove the Protection Status.
- enabled
Time String - Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm:SSZ.
GetLoadBalancersBalancerLoadBalancerBillingConfig
- Pay
Type string - The billing method of the ALB instance. Valid value:
PayAsYouGo
.
- Pay
Type string - The billing method of the ALB instance. Valid value:
PayAsYouGo
.
- pay
Type String - The billing method of the ALB instance. Valid value:
PayAsYouGo
.
- pay
Type string - The billing method of the ALB instance. Valid value:
PayAsYouGo
.
- pay_
type str - The billing method of the ALB instance. Valid value:
PayAsYouGo
.
- pay
Type String - The billing method of the ALB instance. Valid value:
PayAsYouGo
.
GetLoadBalancersBalancerLoadBalancerOperationLock
- Lock
Reason string - The Locking of the Reasons.
- Lock
Type string - The Locking of the Type. Valid Values:
securitylocked
,relatedresourcelocked
,financiallocked
, andresiduallocked
.
- Lock
Reason string - The Locking of the Reasons.
- Lock
Type string - The Locking of the Type. Valid Values:
securitylocked
,relatedresourcelocked
,financiallocked
, andresiduallocked
.
- lock
Reason String - The Locking of the Reasons.
- lock
Type String - The Locking of the Type. Valid Values:
securitylocked
,relatedresourcelocked
,financiallocked
, andresiduallocked
.
- lock
Reason string - The Locking of the Reasons.
- lock
Type string - The Locking of the Type. Valid Values:
securitylocked
,relatedresourcelocked
,financiallocked
, andresiduallocked
.
- lock_
reason str - The Locking of the Reasons.
- lock_
type str - The Locking of the Type. Valid Values:
securitylocked
,relatedresourcelocked
,financiallocked
, andresiduallocked
.
- lock
Reason String - The Locking of the Reasons.
- lock
Type String - The Locking of the Type. Valid Values:
securitylocked
,relatedresourcelocked
,financiallocked
, andresiduallocked
.
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 toConsoleProtection
. - Status 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 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 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 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 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 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 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 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 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 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 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 List<Pulumi.Addresses Ali Cloud. Alb. Inputs. Get Load Balancers Balancer Zone Mapping Load Balancer Address> - Vswitch
Id string - The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
- Zone
Id string - The ID of the zone to which the ALB instance belongs.
- Load
Balancer []GetAddresses Load Balancers Balancer Zone Mapping Load Balancer Address - Vswitch
Id string - The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
- Zone
Id string - The ID of the zone to which the ALB instance belongs.
- load
Balancer List<GetAddresses Load Balancers Balancer Zone Mapping Load Balancer Address> - vswitch
Id String - The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
- zone
Id String - The ID of the zone to which the ALB instance belongs.
- load
Balancer GetAddresses Load Balancers Balancer Zone Mapping Load Balancer Address[] - vswitch
Id string - The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
- zone
Id string - The ID of the zone to which the ALB instance belongs.
- load_
balancer_ Sequence[Getaddresses Load Balancers Balancer Zone Mapping Load Balancer Address] - 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.
- load
Balancer List<Property Map>Addresses - vswitch
Id String - The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
- zone
Id String - The ID of the zone to which the ALB instance belongs.
GetLoadBalancersBalancerZoneMappingLoadBalancerAddress
- Address string
- Address string
- address String
- address string
- address str
- 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.