1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. slb
  5. getApplicationLoadBalancers
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.slb.getApplicationLoadBalancers

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the server load balancers of the current Alibaba Cloud user.

    NOTE: Available in 1.123.1+

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const example = alicloud.slb.getApplicationLoadBalancers({
        nameRegex: "sample_slb",
        tags: {
            tagKey1: "tagValue1",
            tagKey2: "tagValue2",
        },
    });
    export const firstSlbId = example.then(example => example.balancers?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    example = alicloud.slb.get_application_load_balancers(name_regex="sample_slb",
        tags={
            "tagKey1": "tagValue1",
            "tagKey2": "tagValue2",
        })
    pulumi.export("firstSlbId", example.balancers[0].id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/slb"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := slb.GetApplicationLoadBalancers(ctx, &slb.GetApplicationLoadBalancersArgs{
    			NameRegex: pulumi.StringRef("sample_slb"),
    			Tags: map[string]interface{}{
    				"tagKey1": "tagValue1",
    				"tagKey2": "tagValue2",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("firstSlbId", example.Balancers[0].Id)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = AliCloud.Slb.GetApplicationLoadBalancers.Invoke(new()
        {
            NameRegex = "sample_slb",
            Tags = 
            {
                { "tagKey1", "tagValue1" },
                { "tagKey2", "tagValue2" },
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["firstSlbId"] = example.Apply(getApplicationLoadBalancersResult => getApplicationLoadBalancersResult.Balancers[0]?.Id),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.slb.SlbFunctions;
    import com.pulumi.alicloud.slb.inputs.GetApplicationLoadBalancersArgs;
    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 example = SlbFunctions.getApplicationLoadBalancers(GetApplicationLoadBalancersArgs.builder()
                .nameRegex("sample_slb")
                .tags(Map.ofEntries(
                    Map.entry("tagKey1", "tagValue1"),
                    Map.entry("tagKey2", "tagValue2")
                ))
                .build());
    
            ctx.export("firstSlbId", example.applyValue(getApplicationLoadBalancersResult -> getApplicationLoadBalancersResult.balancers()[0].id()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: alicloud:slb:getApplicationLoadBalancers
          Arguments:
            nameRegex: sample_slb
            tags:
              tagKey1: tagValue1
              tagKey2: tagValue2
    outputs:
      firstSlbId: ${example.balancers[0].id}
    

    Using getApplicationLoadBalancers

    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 getApplicationLoadBalancers(args: GetApplicationLoadBalancersArgs, opts?: InvokeOptions): Promise<GetApplicationLoadBalancersResult>
    function getApplicationLoadBalancersOutput(args: GetApplicationLoadBalancersOutputArgs, opts?: InvokeOptions): Output<GetApplicationLoadBalancersResult>
    def get_application_load_balancers(address: Optional[str] = None,
                                       address_ip_version: Optional[str] = None,
                                       address_type: Optional[str] = None,
                                       enable_details: Optional[bool] = None,
                                       ids: Optional[Sequence[str]] = None,
                                       internet_charge_type: Optional[str] = None,
                                       load_balancer_name: Optional[str] = None,
                                       master_zone_id: Optional[str] = None,
                                       name_regex: Optional[str] = None,
                                       network_type: Optional[str] = None,
                                       output_file: Optional[str] = None,
                                       page_number: Optional[int] = None,
                                       page_size: Optional[int] = None,
                                       payment_type: Optional[str] = None,
                                       resource_group_id: Optional[str] = None,
                                       server_id: Optional[str] = None,
                                       server_intranet_address: Optional[str] = None,
                                       slave_zone_id: Optional[str] = None,
                                       status: Optional[str] = None,
                                       tags: Optional[Mapping[str, str]] = None,
                                       vpc_id: Optional[str] = None,
                                       vswitch_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetApplicationLoadBalancersResult
    def get_application_load_balancers_output(address: Optional[pulumi.Input[str]] = None,
                                       address_ip_version: Optional[pulumi.Input[str]] = None,
                                       address_type: Optional[pulumi.Input[str]] = None,
                                       enable_details: Optional[pulumi.Input[bool]] = None,
                                       ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                       internet_charge_type: Optional[pulumi.Input[str]] = None,
                                       load_balancer_name: Optional[pulumi.Input[str]] = None,
                                       master_zone_id: Optional[pulumi.Input[str]] = None,
                                       name_regex: Optional[pulumi.Input[str]] = None,
                                       network_type: Optional[pulumi.Input[str]] = None,
                                       output_file: Optional[pulumi.Input[str]] = None,
                                       page_number: Optional[pulumi.Input[int]] = None,
                                       page_size: Optional[pulumi.Input[int]] = None,
                                       payment_type: Optional[pulumi.Input[str]] = None,
                                       resource_group_id: Optional[pulumi.Input[str]] = None,
                                       server_id: Optional[pulumi.Input[str]] = None,
                                       server_intranet_address: Optional[pulumi.Input[str]] = None,
                                       slave_zone_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,
                                       vswitch_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetApplicationLoadBalancersResult]
    func GetApplicationLoadBalancers(ctx *Context, args *GetApplicationLoadBalancersArgs, opts ...InvokeOption) (*GetApplicationLoadBalancersResult, error)
    func GetApplicationLoadBalancersOutput(ctx *Context, args *GetApplicationLoadBalancersOutputArgs, opts ...InvokeOption) GetApplicationLoadBalancersResultOutput

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

    public static class GetApplicationLoadBalancers 
    {
        public static Task<GetApplicationLoadBalancersResult> InvokeAsync(GetApplicationLoadBalancersArgs args, InvokeOptions? opts = null)
        public static Output<GetApplicationLoadBalancersResult> Invoke(GetApplicationLoadBalancersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApplicationLoadBalancersResult> getApplicationLoadBalancers(GetApplicationLoadBalancersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:slb/getApplicationLoadBalancers:getApplicationLoadBalancers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Address string
    Service address of the SLBs.
    AddressIpVersion string
    The address ip version. Valid values ipv4 and ipv6.
    AddressType string
    The address type of the SLB. Valid values internet and intranet.
    EnableDetails bool
    Ids List<string>
    A list of SLBs IDs.
    InternetChargeType string
    The internet charge type. Valid values PayByBandwidth and PayByTraffic.
    LoadBalancerName string
    The name of the SLB.
    MasterZoneId string
    The master zone id of the SLB.
    NameRegex string
    A regex string to filter results by SLB name.
    NetworkType string
    Network type of the SLBs. Valid values: vpc and classic.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    PageNumber int
    PageSize int
    PaymentType string
    The payment type of SLB. Valid values PayAsYouGo and Subscription.
    ResourceGroupId string
    The Id of resource group which SLB belongs.
    ServerId string
    The server ID.
    ServerIntranetAddress string
    The server intranet address.
    SlaveZoneId string
    The slave zone id of the SLB.
    Status string
    SLB current status. Possible values: inactive, active and locked.
    Tags Dictionary<string, string>
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    VpcId string
    ID of the VPC linked to the SLBs.
    VswitchId string
    ID of the vSwitch linked to the SLBs.
    Address string
    Service address of the SLBs.
    AddressIpVersion string
    The address ip version. Valid values ipv4 and ipv6.
    AddressType string
    The address type of the SLB. Valid values internet and intranet.
    EnableDetails bool
    Ids []string
    A list of SLBs IDs.
    InternetChargeType string
    The internet charge type. Valid values PayByBandwidth and PayByTraffic.
    LoadBalancerName string
    The name of the SLB.
    MasterZoneId string
    The master zone id of the SLB.
    NameRegex string
    A regex string to filter results by SLB name.
    NetworkType string
    Network type of the SLBs. Valid values: vpc and classic.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    PageNumber int
    PageSize int
    PaymentType string
    The payment type of SLB. Valid values PayAsYouGo and Subscription.
    ResourceGroupId string
    The Id of resource group which SLB belongs.
    ServerId string
    The server ID.
    ServerIntranetAddress string
    The server intranet address.
    SlaveZoneId string
    The slave zone id of the SLB.
    Status string
    SLB current status. Possible values: inactive, active and locked.
    Tags map[string]string
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    VpcId string
    ID of the VPC linked to the SLBs.
    VswitchId string
    ID of the vSwitch linked to the SLBs.
    address String
    Service address of the SLBs.
    addressIpVersion String
    The address ip version. Valid values ipv4 and ipv6.
    addressType String
    The address type of the SLB. Valid values internet and intranet.
    enableDetails Boolean
    ids List<String>
    A list of SLBs IDs.
    internetChargeType String
    The internet charge type. Valid values PayByBandwidth and PayByTraffic.
    loadBalancerName String
    The name of the SLB.
    masterZoneId String
    The master zone id of the SLB.
    nameRegex String
    A regex string to filter results by SLB name.
    networkType String
    Network type of the SLBs. Valid values: vpc and classic.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    pageNumber Integer
    pageSize Integer
    paymentType String
    The payment type of SLB. Valid values PayAsYouGo and Subscription.
    resourceGroupId String
    The Id of resource group which SLB belongs.
    serverId String
    The server ID.
    serverIntranetAddress String
    The server intranet address.
    slaveZoneId String
    The slave zone id of the SLB.
    status String
    SLB current status. Possible values: inactive, active and locked.
    tags Map<String,String>
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    vpcId String
    ID of the VPC linked to the SLBs.
    vswitchId String
    ID of the vSwitch linked to the SLBs.
    address string
    Service address of the SLBs.
    addressIpVersion string
    The address ip version. Valid values ipv4 and ipv6.
    addressType string
    The address type of the SLB. Valid values internet and intranet.
    enableDetails boolean
    ids string[]
    A list of SLBs IDs.
    internetChargeType string
    The internet charge type. Valid values PayByBandwidth and PayByTraffic.
    loadBalancerName string
    The name of the SLB.
    masterZoneId string
    The master zone id of the SLB.
    nameRegex string
    A regex string to filter results by SLB name.
    networkType string
    Network type of the SLBs. Valid values: vpc and classic.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    pageNumber number
    pageSize number
    paymentType string
    The payment type of SLB. Valid values PayAsYouGo and Subscription.
    resourceGroupId string
    The Id of resource group which SLB belongs.
    serverId string
    The server ID.
    serverIntranetAddress string
    The server intranet address.
    slaveZoneId string
    The slave zone id of the SLB.
    status string
    SLB current status. Possible values: inactive, active and locked.
    tags {[key: string]: string}
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    vpcId string
    ID of the VPC linked to the SLBs.
    vswitchId string
    ID of the vSwitch linked to the SLBs.
    address str
    Service address of the SLBs.
    address_ip_version str
    The address ip version. Valid values ipv4 and ipv6.
    address_type str
    The address type of the SLB. Valid values internet and intranet.
    enable_details bool
    ids Sequence[str]
    A list of SLBs IDs.
    internet_charge_type str
    The internet charge type. Valid values PayByBandwidth and PayByTraffic.
    load_balancer_name str
    The name of the SLB.
    master_zone_id str
    The master zone id of the SLB.
    name_regex str
    A regex string to filter results by SLB name.
    network_type str
    Network type of the SLBs. Valid values: vpc and classic.
    output_file str
    File name where to save data source results (after running pulumi preview).
    page_number int
    page_size int
    payment_type str
    The payment type of SLB. Valid values PayAsYouGo and Subscription.
    resource_group_id str
    The Id of resource group which SLB belongs.
    server_id str
    The server ID.
    server_intranet_address str
    The server intranet address.
    slave_zone_id str
    The slave zone id of the SLB.
    status str
    SLB current status. Possible values: inactive, active and locked.
    tags Mapping[str, str]
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    vpc_id str
    ID of the VPC linked to the SLBs.
    vswitch_id str
    ID of the vSwitch linked to the SLBs.
    address String
    Service address of the SLBs.
    addressIpVersion String
    The address ip version. Valid values ipv4 and ipv6.
    addressType String
    The address type of the SLB. Valid values internet and intranet.
    enableDetails Boolean
    ids List<String>
    A list of SLBs IDs.
    internetChargeType String
    The internet charge type. Valid values PayByBandwidth and PayByTraffic.
    loadBalancerName String
    The name of the SLB.
    masterZoneId String
    The master zone id of the SLB.
    nameRegex String
    A regex string to filter results by SLB name.
    networkType String
    Network type of the SLBs. Valid values: vpc and classic.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    pageNumber Number
    pageSize Number
    paymentType String
    The payment type of SLB. Valid values PayAsYouGo and Subscription.
    resourceGroupId String
    The Id of resource group which SLB belongs.
    serverId String
    The server ID.
    serverIntranetAddress String
    The server intranet address.
    slaveZoneId String
    The slave zone id of the SLB.
    status String
    SLB current status. Possible values: inactive, active and locked.
    tags Map<String>
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    vpcId String
    ID of the VPC linked to the SLBs.
    vswitchId String
    ID of the vSwitch linked to the SLBs.

    getApplicationLoadBalancers Result

    The following output properties are available:

    Balancers List<Pulumi.AliCloud.Slb.Outputs.GetApplicationLoadBalancersBalancer>
    A list of SLBs. Each element contains the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of slb IDs.
    Names List<string>
    A list of slb names.
    Slbs List<Pulumi.AliCloud.Slb.Outputs.GetApplicationLoadBalancersSlb>

    Deprecated: Field 'slbs' has deprecated from v1.123.1 and replace by 'balancers'.

    TotalCount int
    Address string
    The IP address that the SLB instance uses to provide services.
    AddressIpVersion string
    The address ip version.
    AddressType string
    The address type.
    EnableDetails bool
    InternetChargeType string
    The billing method of the Internet-facing SLB instance.
    LoadBalancerName string
    The name of the SLB.
    MasterZoneId string
    Master availability zone of the SLBs.
    NameRegex string
    NetworkType string
    Network type of the SLB. Possible values: vpc and classic.
    OutputFile string
    PageNumber int
    PageSize int
    PaymentType string
    ResourceGroupId string
    The ID of the resource group.
    ServerId string
    The ID of the Elastic Compute Service (ECS) instance that is specified as a backend server of the CLB instance.
    ServerIntranetAddress string
    SlaveZoneId string
    Slave availability zone of the SLBs.
    Status string
    SLB current status. Possible values: inactive, active and locked.
    Tags Dictionary<string, string>
    The tags of the SLB.
    VpcId string
    ID of the VPC the SLB belongs to.
    VswitchId string
    ID of the vSwitch the SLB belongs to.
    Balancers []GetApplicationLoadBalancersBalancer
    A list of SLBs. Each element contains the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of slb IDs.
    Names []string
    A list of slb names.
    Slbs []GetApplicationLoadBalancersSlb

    Deprecated: Field 'slbs' has deprecated from v1.123.1 and replace by 'balancers'.

    TotalCount int
    Address string
    The IP address that the SLB instance uses to provide services.
    AddressIpVersion string
    The address ip version.
    AddressType string
    The address type.
    EnableDetails bool
    InternetChargeType string
    The billing method of the Internet-facing SLB instance.
    LoadBalancerName string
    The name of the SLB.
    MasterZoneId string
    Master availability zone of the SLBs.
    NameRegex string
    NetworkType string
    Network type of the SLB. Possible values: vpc and classic.
    OutputFile string
    PageNumber int
    PageSize int
    PaymentType string
    ResourceGroupId string
    The ID of the resource group.
    ServerId string
    The ID of the Elastic Compute Service (ECS) instance that is specified as a backend server of the CLB instance.
    ServerIntranetAddress string
    SlaveZoneId string
    Slave availability zone of the SLBs.
    Status string
    SLB current status. Possible values: inactive, active and locked.
    Tags map[string]string
    The tags of the SLB.
    VpcId string
    ID of the VPC the SLB belongs to.
    VswitchId string
    ID of the vSwitch the SLB belongs to.
    balancers List<GetApplicationLoadBalancersBalancer>
    A list of SLBs. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of slb IDs.
    names List<String>
    A list of slb names.
    slbs List<GetApplicationLoadBalancersSlb>

    Deprecated: Field 'slbs' has deprecated from v1.123.1 and replace by 'balancers'.

    totalCount Integer
    address String
    The IP address that the SLB instance uses to provide services.
    addressIpVersion String
    The address ip version.
    addressType String
    The address type.
    enableDetails Boolean
    internetChargeType String
    The billing method of the Internet-facing SLB instance.
    loadBalancerName String
    The name of the SLB.
    masterZoneId String
    Master availability zone of the SLBs.
    nameRegex String
    networkType String
    Network type of the SLB. Possible values: vpc and classic.
    outputFile String
    pageNumber Integer
    pageSize Integer
    paymentType String
    resourceGroupId String
    The ID of the resource group.
    serverId String
    The ID of the Elastic Compute Service (ECS) instance that is specified as a backend server of the CLB instance.
    serverIntranetAddress String
    slaveZoneId String
    Slave availability zone of the SLBs.
    status String
    SLB current status. Possible values: inactive, active and locked.
    tags Map<String,String>
    The tags of the SLB.
    vpcId String
    ID of the VPC the SLB belongs to.
    vswitchId String
    ID of the vSwitch the SLB belongs to.
    balancers GetApplicationLoadBalancersBalancer[]
    A list of SLBs. Each element contains the following attributes:
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of slb IDs.
    names string[]
    A list of slb names.
    slbs GetApplicationLoadBalancersSlb[]

    Deprecated: Field 'slbs' has deprecated from v1.123.1 and replace by 'balancers'.

    totalCount number
    address string
    The IP address that the SLB instance uses to provide services.
    addressIpVersion string
    The address ip version.
    addressType string
    The address type.
    enableDetails boolean
    internetChargeType string
    The billing method of the Internet-facing SLB instance.
    loadBalancerName string
    The name of the SLB.
    masterZoneId string
    Master availability zone of the SLBs.
    nameRegex string
    networkType string
    Network type of the SLB. Possible values: vpc and classic.
    outputFile string
    pageNumber number
    pageSize number
    paymentType string
    resourceGroupId string
    The ID of the resource group.
    serverId string
    The ID of the Elastic Compute Service (ECS) instance that is specified as a backend server of the CLB instance.
    serverIntranetAddress string
    slaveZoneId string
    Slave availability zone of the SLBs.
    status string
    SLB current status. Possible values: inactive, active and locked.
    tags {[key: string]: string}
    The tags of the SLB.
    vpcId string
    ID of the VPC the SLB belongs to.
    vswitchId string
    ID of the vSwitch the SLB belongs to.
    balancers Sequence[GetApplicationLoadBalancersBalancer]
    A list of SLBs. Each element contains the following attributes:
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of slb IDs.
    names Sequence[str]
    A list of slb names.
    slbs Sequence[GetApplicationLoadBalancersSlb]

    Deprecated: Field 'slbs' has deprecated from v1.123.1 and replace by 'balancers'.

    total_count int
    address str
    The IP address that the SLB instance uses to provide services.
    address_ip_version str
    The address ip version.
    address_type str
    The address type.
    enable_details bool
    internet_charge_type str
    The billing method of the Internet-facing SLB instance.
    load_balancer_name str
    The name of the SLB.
    master_zone_id str
    Master availability zone of the SLBs.
    name_regex str
    network_type str
    Network type of the SLB. Possible values: vpc and classic.
    output_file str
    page_number int
    page_size int
    payment_type str
    resource_group_id str
    The ID of the resource group.
    server_id str
    The ID of the Elastic Compute Service (ECS) instance that is specified as a backend server of the CLB instance.
    server_intranet_address str
    slave_zone_id str
    Slave availability zone of the SLBs.
    status str
    SLB current status. Possible values: inactive, active and locked.
    tags Mapping[str, str]
    The tags of the SLB.
    vpc_id str
    ID of the VPC the SLB belongs to.
    vswitch_id str
    ID of the vSwitch the SLB belongs to.
    balancers List<Property Map>
    A list of SLBs. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of slb IDs.
    names List<String>
    A list of slb names.
    slbs List<Property Map>

    Deprecated: Field 'slbs' has deprecated from v1.123.1 and replace by 'balancers'.

    totalCount Number
    address String
    The IP address that the SLB instance uses to provide services.
    addressIpVersion String
    The address ip version.
    addressType String
    The address type.
    enableDetails Boolean
    internetChargeType String
    The billing method of the Internet-facing SLB instance.
    loadBalancerName String
    The name of the SLB.
    masterZoneId String
    Master availability zone of the SLBs.
    nameRegex String
    networkType String
    Network type of the SLB. Possible values: vpc and classic.
    outputFile String
    pageNumber Number
    pageSize Number
    paymentType String
    resourceGroupId String
    The ID of the resource group.
    serverId String
    The ID of the Elastic Compute Service (ECS) instance that is specified as a backend server of the CLB instance.
    serverIntranetAddress String
    slaveZoneId String
    Slave availability zone of the SLBs.
    status String
    SLB current status. Possible values: inactive, active and locked.
    tags Map<String>
    The tags of the SLB.
    vpcId String
    ID of the VPC the SLB belongs to.
    vswitchId String
    ID of the vSwitch the SLB belongs to.

    Supporting Types

    GetApplicationLoadBalancersBalancer

    Address string
    Service address of the SLBs.
    AddressIpVersion string
    The address ip version. Valid values ipv4 and ipv6.
    AddressType string
    The address type of the SLB. Valid values internet and intranet.
    AutoReleaseTime int
    The auto release time.
    BackendServers List<Pulumi.AliCloud.Slb.Inputs.GetApplicationLoadBalancersBalancerBackendServer>
    The backend servers of the SLB.
    Bandwidth int
    The bandwidth of the SLB.
    CreateTimeStamp int
    The create time stamp of the SLB.
    DeleteProtection string
    Whether the SLB should delete protection.
    EndTime string
    The end time of the SLB.
    EndTimeStamp int
    The end time stamp of the SLB.
    Id string
    ID of the SLB.
    InternetChargeType string
    The internet charge type. Valid values PayByBandwidth and PayByTraffic.
    ListenerPortsAndProtocals List<Pulumi.AliCloud.Slb.Inputs.GetApplicationLoadBalancersBalancerListenerPortsAndProtocal>
    The listener ports and protocal of the SLB.
    ListenerPortsAndProtocols List<Pulumi.AliCloud.Slb.Inputs.GetApplicationLoadBalancersBalancerListenerPortsAndProtocol>
    The listener ports and protocol of the SLB.
    LoadBalancerId string
    Thd ID of the SLB.
    LoadBalancerName string
    The name of the SLB.
    LoadBalancerSpec string
    The specification of the SLB.
    MasterZoneId string
    The master zone id of the SLB.
    ModificationProtectionReason string
    The reason of modification protection.
    ModificationProtectionStatus string
    The status of modification protection.
    NetworkType string
    Network type of the SLBs. Valid values: vpc and classic.
    PaymentType string
    The payment type of SLB. Valid values PayAsYouGo and Subscription.
    RegionIdAlias string
    Region ID the SLB belongs to.
    RenewalCycUnit string
    The renewal cyc unit of the SLB.
    RenewalDuration int
    The renewal duration of the SLB.
    RenewalStatus string
    The renewal status of the SLB.
    ResourceGroupId string
    The Id of resource group which SLB belongs.
    SlaveZoneId string
    The slave zone id of the SLB.
    Status string
    SLB current status. Possible values: inactive, active and locked.
    Tags Dictionary<string, string>
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    VpcId string
    ID of the VPC linked to the SLBs.
    VswitchId string
    ID of the vSwitch linked to the SLBs.
    Address string
    Service address of the SLBs.
    AddressIpVersion string
    The address ip version. Valid values ipv4 and ipv6.
    AddressType string
    The address type of the SLB. Valid values internet and intranet.
    AutoReleaseTime int
    The auto release time.
    BackendServers []GetApplicationLoadBalancersBalancerBackendServer
    The backend servers of the SLB.
    Bandwidth int
    The bandwidth of the SLB.
    CreateTimeStamp int
    The create time stamp of the SLB.
    DeleteProtection string
    Whether the SLB should delete protection.
    EndTime string
    The end time of the SLB.
    EndTimeStamp int
    The end time stamp of the SLB.
    Id string
    ID of the SLB.
    InternetChargeType string
    The internet charge type. Valid values PayByBandwidth and PayByTraffic.
    ListenerPortsAndProtocals []GetApplicationLoadBalancersBalancerListenerPortsAndProtocal
    The listener ports and protocal of the SLB.
    ListenerPortsAndProtocols []GetApplicationLoadBalancersBalancerListenerPortsAndProtocol
    The listener ports and protocol of the SLB.
    LoadBalancerId string
    Thd ID of the SLB.
    LoadBalancerName string
    The name of the SLB.
    LoadBalancerSpec string
    The specification of the SLB.
    MasterZoneId string
    The master zone id of the SLB.
    ModificationProtectionReason string
    The reason of modification protection.
    ModificationProtectionStatus string
    The status of modification protection.
    NetworkType string
    Network type of the SLBs. Valid values: vpc and classic.
    PaymentType string
    The payment type of SLB. Valid values PayAsYouGo and Subscription.
    RegionIdAlias string
    Region ID the SLB belongs to.
    RenewalCycUnit string
    The renewal cyc unit of the SLB.
    RenewalDuration int
    The renewal duration of the SLB.
    RenewalStatus string
    The renewal status of the SLB.
    ResourceGroupId string
    The Id of resource group which SLB belongs.
    SlaveZoneId string
    The slave zone id of the SLB.
    Status string
    SLB current status. Possible values: inactive, active and locked.
    Tags map[string]string
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    VpcId string
    ID of the VPC linked to the SLBs.
    VswitchId string
    ID of the vSwitch linked to the SLBs.
    address String
    Service address of the SLBs.
    addressIpVersion String
    The address ip version. Valid values ipv4 and ipv6.
    addressType String
    The address type of the SLB. Valid values internet and intranet.
    autoReleaseTime Integer
    The auto release time.
    backendServers List<GetApplicationLoadBalancersBalancerBackendServer>
    The backend servers of the SLB.
    bandwidth Integer
    The bandwidth of the SLB.
    createTimeStamp Integer
    The create time stamp of the SLB.
    deleteProtection String
    Whether the SLB should delete protection.
    endTime String
    The end time of the SLB.
    endTimeStamp Integer
    The end time stamp of the SLB.
    id String
    ID of the SLB.
    internetChargeType String
    The internet charge type. Valid values PayByBandwidth and PayByTraffic.
    listenerPortsAndProtocals List<GetApplicationLoadBalancersBalancerListenerPortsAndProtocal>
    The listener ports and protocal of the SLB.
    listenerPortsAndProtocols List<GetApplicationLoadBalancersBalancerListenerPortsAndProtocol>
    The listener ports and protocol of the SLB.
    loadBalancerId String
    Thd ID of the SLB.
    loadBalancerName String
    The name of the SLB.
    loadBalancerSpec String
    The specification of the SLB.
    masterZoneId String
    The master zone id of the SLB.
    modificationProtectionReason String
    The reason of modification protection.
    modificationProtectionStatus String
    The status of modification protection.
    networkType String
    Network type of the SLBs. Valid values: vpc and classic.
    paymentType String
    The payment type of SLB. Valid values PayAsYouGo and Subscription.
    regionIdAlias String
    Region ID the SLB belongs to.
    renewalCycUnit String
    The renewal cyc unit of the SLB.
    renewalDuration Integer
    The renewal duration of the SLB.
    renewalStatus String
    The renewal status of the SLB.
    resourceGroupId String
    The Id of resource group which SLB belongs.
    slaveZoneId String
    The slave zone id of the SLB.
    status String
    SLB current status. Possible values: inactive, active and locked.
    tags Map<String,String>
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    vpcId String
    ID of the VPC linked to the SLBs.
    vswitchId String
    ID of the vSwitch linked to the SLBs.
    address string
    Service address of the SLBs.
    addressIpVersion string
    The address ip version. Valid values ipv4 and ipv6.
    addressType string
    The address type of the SLB. Valid values internet and intranet.
    autoReleaseTime number
    The auto release time.
    backendServers GetApplicationLoadBalancersBalancerBackendServer[]
    The backend servers of the SLB.
    bandwidth number
    The bandwidth of the SLB.
    createTimeStamp number
    The create time stamp of the SLB.
    deleteProtection string
    Whether the SLB should delete protection.
    endTime string
    The end time of the SLB.
    endTimeStamp number
    The end time stamp of the SLB.
    id string
    ID of the SLB.
    internetChargeType string
    The internet charge type. Valid values PayByBandwidth and PayByTraffic.
    listenerPortsAndProtocals GetApplicationLoadBalancersBalancerListenerPortsAndProtocal[]
    The listener ports and protocal of the SLB.
    listenerPortsAndProtocols GetApplicationLoadBalancersBalancerListenerPortsAndProtocol[]
    The listener ports and protocol of the SLB.
    loadBalancerId string
    Thd ID of the SLB.
    loadBalancerName string
    The name of the SLB.
    loadBalancerSpec string
    The specification of the SLB.
    masterZoneId string
    The master zone id of the SLB.
    modificationProtectionReason string
    The reason of modification protection.
    modificationProtectionStatus string
    The status of modification protection.
    networkType string
    Network type of the SLBs. Valid values: vpc and classic.
    paymentType string
    The payment type of SLB. Valid values PayAsYouGo and Subscription.
    regionIdAlias string
    Region ID the SLB belongs to.
    renewalCycUnit string
    The renewal cyc unit of the SLB.
    renewalDuration number
    The renewal duration of the SLB.
    renewalStatus string
    The renewal status of the SLB.
    resourceGroupId string
    The Id of resource group which SLB belongs.
    slaveZoneId string
    The slave zone id of the SLB.
    status string
    SLB current status. Possible values: inactive, active and locked.
    tags {[key: string]: string}
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    vpcId string
    ID of the VPC linked to the SLBs.
    vswitchId string
    ID of the vSwitch linked to the SLBs.
    address str
    Service address of the SLBs.
    address_ip_version str
    The address ip version. Valid values ipv4 and ipv6.
    address_type str
    The address type of the SLB. Valid values internet and intranet.
    auto_release_time int
    The auto release time.
    backend_servers Sequence[GetApplicationLoadBalancersBalancerBackendServer]
    The backend servers of the SLB.
    bandwidth int
    The bandwidth of the SLB.
    create_time_stamp int
    The create time stamp of the SLB.
    delete_protection str
    Whether the SLB should delete protection.
    end_time str
    The end time of the SLB.
    end_time_stamp int
    The end time stamp of the SLB.
    id str
    ID of the SLB.
    internet_charge_type str
    The internet charge type. Valid values PayByBandwidth and PayByTraffic.
    listener_ports_and_protocals Sequence[GetApplicationLoadBalancersBalancerListenerPortsAndProtocal]
    The listener ports and protocal of the SLB.
    listener_ports_and_protocols Sequence[GetApplicationLoadBalancersBalancerListenerPortsAndProtocol]
    The listener ports and protocol of the SLB.
    load_balancer_id str
    Thd ID of the SLB.
    load_balancer_name str
    The name of the SLB.
    load_balancer_spec str
    The specification of the SLB.
    master_zone_id str
    The master zone id of the SLB.
    modification_protection_reason str
    The reason of modification protection.
    modification_protection_status str
    The status of modification protection.
    network_type str
    Network type of the SLBs. Valid values: vpc and classic.
    payment_type str
    The payment type of SLB. Valid values PayAsYouGo and Subscription.
    region_id_alias str
    Region ID the SLB belongs to.
    renewal_cyc_unit str
    The renewal cyc unit of the SLB.
    renewal_duration int
    The renewal duration of the SLB.
    renewal_status str
    The renewal status of the SLB.
    resource_group_id str
    The Id of resource group which SLB belongs.
    slave_zone_id str
    The slave zone id of the SLB.
    status str
    SLB current status. Possible values: inactive, active and locked.
    tags Mapping[str, str]
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    vpc_id str
    ID of the VPC linked to the SLBs.
    vswitch_id str
    ID of the vSwitch linked to the SLBs.
    address String
    Service address of the SLBs.
    addressIpVersion String
    The address ip version. Valid values ipv4 and ipv6.
    addressType String
    The address type of the SLB. Valid values internet and intranet.
    autoReleaseTime Number
    The auto release time.
    backendServers List<Property Map>
    The backend servers of the SLB.
    bandwidth Number
    The bandwidth of the SLB.
    createTimeStamp Number
    The create time stamp of the SLB.
    deleteProtection String
    Whether the SLB should delete protection.
    endTime String
    The end time of the SLB.
    endTimeStamp Number
    The end time stamp of the SLB.
    id String
    ID of the SLB.
    internetChargeType String
    The internet charge type. Valid values PayByBandwidth and PayByTraffic.
    listenerPortsAndProtocals List<Property Map>
    The listener ports and protocal of the SLB.
    listenerPortsAndProtocols List<Property Map>
    The listener ports and protocol of the SLB.
    loadBalancerId String
    Thd ID of the SLB.
    loadBalancerName String
    The name of the SLB.
    loadBalancerSpec String
    The specification of the SLB.
    masterZoneId String
    The master zone id of the SLB.
    modificationProtectionReason String
    The reason of modification protection.
    modificationProtectionStatus String
    The status of modification protection.
    networkType String
    Network type of the SLBs. Valid values: vpc and classic.
    paymentType String
    The payment type of SLB. Valid values PayAsYouGo and Subscription.
    regionIdAlias String
    Region ID the SLB belongs to.
    renewalCycUnit String
    The renewal cyc unit of the SLB.
    renewalDuration Number
    The renewal duration of the SLB.
    renewalStatus String
    The renewal status of the SLB.
    resourceGroupId String
    The Id of resource group which SLB belongs.
    slaveZoneId String
    The slave zone id of the SLB.
    status String
    SLB current status. Possible values: inactive, active and locked.
    tags Map<String>
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    vpcId String
    ID of the VPC linked to the SLBs.
    vswitchId String
    ID of the vSwitch linked to the SLBs.

    GetApplicationLoadBalancersBalancerBackendServer

    Description string
    The description of protocol.
    ServerId string
    The server ID.
    Type string
    The type of servers.
    Weight int
    The weight of servers.
    Description string
    The description of protocol.
    ServerId string
    The server ID.
    Type string
    The type of servers.
    Weight int
    The weight of servers.
    description String
    The description of protocol.
    serverId String
    The server ID.
    type String
    The type of servers.
    weight Integer
    The weight of servers.
    description string
    The description of protocol.
    serverId string
    The server ID.
    type string
    The type of servers.
    weight number
    The weight of servers.
    description str
    The description of protocol.
    server_id str
    The server ID.
    type str
    The type of servers.
    weight int
    The weight of servers.
    description String
    The description of protocol.
    serverId String
    The server ID.
    type String
    The type of servers.
    weight Number
    The weight of servers.

    GetApplicationLoadBalancersBalancerListenerPortsAndProtocal

    ListenerPort int
    The listener port.
    ListenerProtocal string
    The listener protoal.
    ListenerPort int
    The listener port.
    ListenerProtocal string
    The listener protoal.
    listenerPort Integer
    The listener port.
    listenerProtocal String
    The listener protoal.
    listenerPort number
    The listener port.
    listenerProtocal string
    The listener protoal.
    listener_port int
    The listener port.
    listener_protocal str
    The listener protoal.
    listenerPort Number
    The listener port.
    listenerProtocal String
    The listener protoal.

    GetApplicationLoadBalancersBalancerListenerPortsAndProtocol

    Description string
    The description of protocol.
    ForwardPort int
    The forward port.
    ListenerForward string
    The listener forward.
    ListenerPort int
    The listener port.
    ListenerProtocol string
    The listener protocol.
    Description string
    The description of protocol.
    ForwardPort int
    The forward port.
    ListenerForward string
    The listener forward.
    ListenerPort int
    The listener port.
    ListenerProtocol string
    The listener protocol.
    description String
    The description of protocol.
    forwardPort Integer
    The forward port.
    listenerForward String
    The listener forward.
    listenerPort Integer
    The listener port.
    listenerProtocol String
    The listener protocol.
    description string
    The description of protocol.
    forwardPort number
    The forward port.
    listenerForward string
    The listener forward.
    listenerPort number
    The listener port.
    listenerProtocol string
    The listener protocol.
    description str
    The description of protocol.
    forward_port int
    The forward port.
    listener_forward str
    The listener forward.
    listener_port int
    The listener port.
    listener_protocol str
    The listener protocol.
    description String
    The description of protocol.
    forwardPort Number
    The forward port.
    listenerForward String
    The listener forward.
    listenerPort Number
    The listener port.
    listenerProtocol String
    The listener protocol.

    GetApplicationLoadBalancersSlb

    Address string
    Service address of the SLBs.
    CreationTime string
    Id string
    ID of the SLB.
    Internet bool
    MasterAvailabilityZone string
    Name string
    NetworkType string
    Network type of the SLBs. Valid values: vpc and classic.
    RegionId string
    SlaveAvailabilityZone string
    Status string
    SLB current status. Possible values: inactive, active and locked.
    Tags Dictionary<string, string>
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    VpcId string
    ID of the VPC linked to the SLBs.
    VswitchId string
    ID of the vSwitch linked to the SLBs.
    Address string
    Service address of the SLBs.
    CreationTime string
    Id string
    ID of the SLB.
    Internet bool
    MasterAvailabilityZone string
    Name string
    NetworkType string
    Network type of the SLBs. Valid values: vpc and classic.
    RegionId string
    SlaveAvailabilityZone string
    Status string
    SLB current status. Possible values: inactive, active and locked.
    Tags map[string]string
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    VpcId string
    ID of the VPC linked to the SLBs.
    VswitchId string
    ID of the vSwitch linked to the SLBs.
    address String
    Service address of the SLBs.
    creationTime String
    id String
    ID of the SLB.
    internet Boolean
    masterAvailabilityZone String
    name String
    networkType String
    Network type of the SLBs. Valid values: vpc and classic.
    regionId String
    slaveAvailabilityZone String
    status String
    SLB current status. Possible values: inactive, active and locked.
    tags Map<String,String>
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    vpcId String
    ID of the VPC linked to the SLBs.
    vswitchId String
    ID of the vSwitch linked to the SLBs.
    address string
    Service address of the SLBs.
    creationTime string
    id string
    ID of the SLB.
    internet boolean
    masterAvailabilityZone string
    name string
    networkType string
    Network type of the SLBs. Valid values: vpc and classic.
    regionId string
    slaveAvailabilityZone string
    status string
    SLB current status. Possible values: inactive, active and locked.
    tags {[key: string]: string}
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    vpcId string
    ID of the VPC linked to the SLBs.
    vswitchId string
    ID of the vSwitch linked to the SLBs.
    address str
    Service address of the SLBs.
    creation_time str
    id str
    ID of the SLB.
    internet bool
    master_availability_zone str
    name str
    network_type str
    Network type of the SLBs. Valid values: vpc and classic.
    region_id str
    slave_availability_zone str
    status str
    SLB current status. Possible values: inactive, active and locked.
    tags Mapping[str, str]
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    vpc_id str
    ID of the VPC linked to the SLBs.
    vswitch_id str
    ID of the vSwitch linked to the SLBs.
    address String
    Service address of the SLBs.
    creationTime String
    id String
    ID of the SLB.
    internet Boolean
    masterAvailabilityZone String
    name String
    networkType String
    Network type of the SLBs. Valid values: vpc and classic.
    regionId String
    slaveAvailabilityZone String
    status String
    SLB current status. Possible values: inactive, active and locked.
    tags Map<String>
    A map of tags assigned to the SLB instances. The tags can have a maximum of 5 tag. It must be in the format:
    vpcId String
    ID of the VPC linked to the SLBs.
    vswitchId String
    ID of the vSwitch linked to the SLBs.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi