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

alicloud.nlb.getLoadBalancers

Explore with Pulumi AI

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

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

    NOTE: Available in v1.191.0+.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const ids = alicloud.nlb.getLoadBalancers({
        ids: ["example_id"],
    });
    export const nlbLoadBalancerId1 = ids.then(ids => ids.balancers?.[0]?.id);
    const nameRegex = alicloud.nlb.getLoadBalancers({
        nameRegex: "^my-LoadBalancer",
    });
    export const nlbLoadBalancerId2 = nameRegex.then(nameRegex => nameRegex.balancers?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    ids = alicloud.nlb.get_load_balancers(ids=["example_id"])
    pulumi.export("nlbLoadBalancerId1", ids.balancers[0].id)
    name_regex = alicloud.nlb.get_load_balancers(name_regex="^my-LoadBalancer")
    pulumi.export("nlbLoadBalancerId2", name_regex.balancers[0].id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/nlb"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		ids, err := nlb.GetLoadBalancers(ctx, &nlb.GetLoadBalancersArgs{
    			Ids: []string{
    				"example_id",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("nlbLoadBalancerId1", ids.Balancers[0].Id)
    		nameRegex, err := nlb.GetLoadBalancers(ctx, &nlb.GetLoadBalancersArgs{
    			NameRegex: pulumi.StringRef("^my-LoadBalancer"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("nlbLoadBalancerId2", 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.Nlb.GetLoadBalancers.Invoke(new()
        {
            Ids = new[]
            {
                "example_id",
            },
        });
    
        var nameRegex = AliCloud.Nlb.GetLoadBalancers.Invoke(new()
        {
            NameRegex = "^my-LoadBalancer",
        });
    
        return new Dictionary<string, object?>
        {
            ["nlbLoadBalancerId1"] = ids.Apply(getLoadBalancersResult => getLoadBalancersResult.Balancers[0]?.Id),
            ["nlbLoadBalancerId2"] = 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.nlb.NlbFunctions;
    import com.pulumi.alicloud.nlb.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 = NlbFunctions.getLoadBalancers(GetLoadBalancersArgs.builder()
                .ids("example_id")
                .build());
    
            ctx.export("nlbLoadBalancerId1", ids.applyValue(getLoadBalancersResult -> getLoadBalancersResult.balancers()[0].id()));
            final var nameRegex = NlbFunctions.getLoadBalancers(GetLoadBalancersArgs.builder()
                .nameRegex("^my-LoadBalancer")
                .build());
    
            ctx.export("nlbLoadBalancerId2", nameRegex.applyValue(getLoadBalancersResult -> getLoadBalancersResult.balancers()[0].id()));
        }
    }
    
    variables:
      ids:
        fn::invoke:
          Function: alicloud:nlb:getLoadBalancers
          Arguments:
            ids:
              - example_id
      nameRegex:
        fn::invoke:
          Function: alicloud:nlb:getLoadBalancers
          Arguments:
            nameRegex: ^my-LoadBalancer
    outputs:
      nlbLoadBalancerId1: ${ids.balancers[0].id}
      nlbLoadBalancerId2: ${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_ip_version: Optional[str] = None,
                           address_type: Optional[str] = None,
                           dns_name: Optional[str] = None,
                           ids: Optional[Sequence[str]] = None,
                           ipv6_address_type: Optional[str] = None,
                           load_balancer_business_status: Optional[str] = None,
                           load_balancer_names: Optional[Sequence[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_ids: Optional[Sequence[str]] = None,
                           zone_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetLoadBalancersResult
    def get_load_balancers_output(address_ip_version: Optional[pulumi.Input[str]] = None,
                           address_type: Optional[pulumi.Input[str]] = None,
                           dns_name: Optional[pulumi.Input[str]] = None,
                           ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           ipv6_address_type: Optional[pulumi.Input[str]] = None,
                           load_balancer_business_status: Optional[pulumi.Input[str]] = None,
                           load_balancer_names: Optional[pulumi.Input[Sequence[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_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:nlb/getLoadBalancers:getLoadBalancers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AddressIpVersion string
    The IP version. Valid values: ipv4, DualStack.
    AddressType string
    The type of IPv4 address used by the NLB instance. Valid values: Internet, Intranet.
    DnsName string
    The domain name of the NLB instance.
    Ids List<string>
    A list of Load Balancer IDs.
    Ipv6AddressType string
    The type of IPv6 address used by the NLB instance. Valid values: Internet, Intranet.
    LoadBalancerBusinessStatus string
    The business status of the NLB instance. Valid values: Abnormal, Normal.
    LoadBalancerNames List<string>
    The name of the NLB instance. You can specify at most 10 names.
    NameRegex string
    A regex string to filter results by Load Balancer name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    ResourceGroupId string
    The ID of the resource group.
    Status string
    The status of the NLB instance. Valid values: Inactive, Active, Provisioning, Configuring, Deleting, Deleted.
    Tags Dictionary<string, string>
    VpcIds List<string>
    The ID of the virtual private cloud (VPC) where the NLB instance is deployed. You can specify at most 10 IDs.
    ZoneId string
    The name of the zone.
    AddressIpVersion string
    The IP version. Valid values: ipv4, DualStack.
    AddressType string
    The type of IPv4 address used by the NLB instance. Valid values: Internet, Intranet.
    DnsName string
    The domain name of the NLB instance.
    Ids []string
    A list of Load Balancer IDs.
    Ipv6AddressType string
    The type of IPv6 address used by the NLB instance. Valid values: Internet, Intranet.
    LoadBalancerBusinessStatus string
    The business status of the NLB instance. Valid values: Abnormal, Normal.
    LoadBalancerNames []string
    The name of the NLB instance. You can specify at most 10 names.
    NameRegex string
    A regex string to filter results by Load Balancer name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    ResourceGroupId string
    The ID of the resource group.
    Status string
    The status of the NLB instance. Valid values: Inactive, Active, Provisioning, Configuring, Deleting, Deleted.
    Tags map[string]string
    VpcIds []string
    The ID of the virtual private cloud (VPC) where the NLB instance is deployed. You can specify at most 10 IDs.
    ZoneId string
    The name of the zone.
    addressIpVersion String
    The IP version. Valid values: ipv4, DualStack.
    addressType String
    The type of IPv4 address used by the NLB instance. Valid values: Internet, Intranet.
    dnsName String
    The domain name of the NLB instance.
    ids List<String>
    A list of Load Balancer IDs.
    ipv6AddressType String
    The type of IPv6 address used by the NLB instance. Valid values: Internet, Intranet.
    loadBalancerBusinessStatus String
    The business status of the NLB instance. Valid values: Abnormal, Normal.
    loadBalancerNames List<String>
    The name of the NLB instance. You can specify at most 10 names.
    nameRegex String
    A regex string to filter results by Load Balancer name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    resourceGroupId String
    The ID of the resource group.
    status String
    The status of the NLB instance. Valid values: Inactive, Active, Provisioning, Configuring, Deleting, Deleted.
    tags Map<String,String>
    vpcIds List<String>
    The ID of the virtual private cloud (VPC) where the NLB instance is deployed. You can specify at most 10 IDs.
    zoneId String
    The name of the zone.
    addressIpVersion string
    The IP version. Valid values: ipv4, DualStack.
    addressType string
    The type of IPv4 address used by the NLB instance. Valid values: Internet, Intranet.
    dnsName string
    The domain name of the NLB instance.
    ids string[]
    A list of Load Balancer IDs.
    ipv6AddressType string
    The type of IPv6 address used by the NLB instance. Valid values: Internet, Intranet.
    loadBalancerBusinessStatus string
    The business status of the NLB instance. Valid values: Abnormal, Normal.
    loadBalancerNames string[]
    The name of the NLB instance. You can specify at most 10 names.
    nameRegex string
    A regex string to filter results by Load Balancer name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    resourceGroupId string
    The ID of the resource group.
    status string
    The status of the NLB instance. Valid values: Inactive, Active, Provisioning, Configuring, Deleting, Deleted.
    tags {[key: string]: string}
    vpcIds string[]
    The ID of the virtual private cloud (VPC) where the NLB instance is deployed. You can specify at most 10 IDs.
    zoneId string
    The name of the zone.
    address_ip_version str
    The IP version. Valid values: ipv4, DualStack.
    address_type str
    The type of IPv4 address used by the NLB instance. Valid values: Internet, Intranet.
    dns_name str
    The domain name of the NLB instance.
    ids Sequence[str]
    A list of Load Balancer IDs.
    ipv6_address_type str
    The type of IPv6 address used by the NLB instance. Valid values: Internet, Intranet.
    load_balancer_business_status str
    The business status of the NLB instance. Valid values: Abnormal, Normal.
    load_balancer_names Sequence[str]
    The name of the NLB instance. You can specify at most 10 names.
    name_regex str
    A regex string to filter results by Load Balancer name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    resource_group_id str
    The ID of the resource group.
    status str
    The status of the NLB instance. Valid values: Inactive, Active, Provisioning, Configuring, Deleting, Deleted.
    tags Mapping[str, str]
    vpc_ids Sequence[str]
    The ID of the virtual private cloud (VPC) where the NLB instance is deployed. You can specify at most 10 IDs.
    zone_id str
    The name of the zone.
    addressIpVersion String
    The IP version. Valid values: ipv4, DualStack.
    addressType String
    The type of IPv4 address used by the NLB instance. Valid values: Internet, Intranet.
    dnsName String
    The domain name of the NLB instance.
    ids List<String>
    A list of Load Balancer IDs.
    ipv6AddressType String
    The type of IPv6 address used by the NLB instance. Valid values: Internet, Intranet.
    loadBalancerBusinessStatus String
    The business status of the NLB instance. Valid values: Abnormal, Normal.
    loadBalancerNames List<String>
    The name of the NLB instance. You can specify at most 10 names.
    nameRegex String
    A regex string to filter results by Load Balancer name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    resourceGroupId String
    The ID of the resource group.
    status String
    The status of the NLB instance. Valid values: Inactive, Active, Provisioning, Configuring, Deleting, Deleted.
    tags Map<String>
    vpcIds List<String>
    The ID of the virtual private cloud (VPC) where the NLB instance is deployed. You can specify at most 10 IDs.
    zoneId String
    The name of the zone.

    getLoadBalancers Result

    The following output properties are available:

    Balancers List<Pulumi.AliCloud.Nlb.Outputs.GetLoadBalancersBalancer>
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Names List<string>
    AddressIpVersion string
    AddressType string
    DnsName string
    Ipv6AddressType string
    LoadBalancerBusinessStatus string
    LoadBalancerNames List<string>
    NameRegex string
    OutputFile string
    ResourceGroupId string
    Status string
    Tags Dictionary<string, string>
    VpcIds List<string>
    ZoneId string
    Balancers []GetLoadBalancersBalancer
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Names []string
    AddressIpVersion string
    AddressType string
    DnsName string
    Ipv6AddressType string
    LoadBalancerBusinessStatus string
    LoadBalancerNames []string
    NameRegex string
    OutputFile string
    ResourceGroupId string
    Status string
    Tags map[string]string
    VpcIds []string
    ZoneId string
    balancers List<GetLoadBalancersBalancer>
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    addressIpVersion String
    addressType String
    dnsName String
    ipv6AddressType String
    loadBalancerBusinessStatus String
    loadBalancerNames List<String>
    nameRegex String
    outputFile String
    resourceGroupId String
    status String
    tags Map<String,String>
    vpcIds List<String>
    zoneId String
    balancers GetLoadBalancersBalancer[]
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    names string[]
    addressIpVersion string
    addressType string
    dnsName string
    ipv6AddressType string
    loadBalancerBusinessStatus string
    loadBalancerNames string[]
    nameRegex string
    outputFile string
    resourceGroupId string
    status string
    tags {[key: string]: string}
    vpcIds string[]
    zoneId string
    balancers Sequence[GetLoadBalancersBalancer]
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    names Sequence[str]
    address_ip_version str
    address_type str
    dns_name str
    ipv6_address_type str
    load_balancer_business_status str
    load_balancer_names Sequence[str]
    name_regex str
    output_file str
    resource_group_id str
    status str
    tags Mapping[str, 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>
    addressIpVersion String
    addressType String
    dnsName String
    ipv6AddressType String
    loadBalancerBusinessStatus String
    loadBalancerNames List<String>
    nameRegex String
    outputFile String
    resourceGroupId String
    status String
    tags Map<String>
    vpcIds List<String>
    zoneId String

    Supporting Types

    GetLoadBalancersBalancer

    AddressIpVersion string
    The IP version.
    AddressType string
    The type of IPv4 address used by the NLB instance.
    BandwidthPackageId string
    The ID of the EIP bandwidth plan that is associated with the NLB instance if the NLB instance uses a public IP address.
    CreateTime string
    The time when the resource was created. The time is displayed in UTC in yyyy-MM-ddTHH:mm:ssZ format.
    CrossZoneEnabled bool
    Indicates whether cross-zone load balancing is enabled for the NLB instance.
    DnsName string
    The domain name of the NLB instance.
    Id string
    The ID of the NLB instance.
    Ipv6AddressType string
    The type of IPv6 address used by the NLB instance.
    LoadBalancerBusinessStatus string
    The business status of the NLB instance.
    LoadBalancerId string
    The ID of the NLB instance.
    LoadBalancerName string
    The name of the NLB instance.
    LoadBalancerType string
    The type of the SLB instance. Only Network is supported, which indicates NLB.
    OperationLocks List<Pulumi.AliCloud.Nlb.Inputs.GetLoadBalancersBalancerOperationLock>
    The configuration of the operation lock. This parameter takes effect if LoadBalancerBussinessStatus is Abnormal.
    ResourceGroupId string
    The ID of the resource group.
    SecurityGroupIds List<string>
    The security group to which the NLB instance belongs.
    Status string
    The status of the NLB instance.
    VpcId string
    The ID of the VPC where the NLB instance is deployed.
    ZoneMappings List<Pulumi.AliCloud.Nlb.Inputs.GetLoadBalancersBalancerZoneMapping>
    The zones and the vSwitches in the zones. An NLB instance can be deployed across 2 to 10 zones.
    Tags Dictionary<string, string>
    The tag of the resource.
    AddressIpVersion string
    The IP version.
    AddressType string
    The type of IPv4 address used by the NLB instance.
    BandwidthPackageId string
    The ID of the EIP bandwidth plan that is associated with the NLB instance if the NLB instance uses a public IP address.
    CreateTime string
    The time when the resource was created. The time is displayed in UTC in yyyy-MM-ddTHH:mm:ssZ format.
    CrossZoneEnabled bool
    Indicates whether cross-zone load balancing is enabled for the NLB instance.
    DnsName string
    The domain name of the NLB instance.
    Id string
    The ID of the NLB instance.
    Ipv6AddressType string
    The type of IPv6 address used by the NLB instance.
    LoadBalancerBusinessStatus string
    The business status of the NLB instance.
    LoadBalancerId string
    The ID of the NLB instance.
    LoadBalancerName string
    The name of the NLB instance.
    LoadBalancerType string
    The type of the SLB instance. Only Network is supported, which indicates NLB.
    OperationLocks []GetLoadBalancersBalancerOperationLock
    The configuration of the operation lock. This parameter takes effect if LoadBalancerBussinessStatus is Abnormal.
    ResourceGroupId string
    The ID of the resource group.
    SecurityGroupIds []string
    The security group to which the NLB instance belongs.
    Status string
    The status of the NLB instance.
    VpcId string
    The ID of the VPC where the NLB instance is deployed.
    ZoneMappings []GetLoadBalancersBalancerZoneMapping
    The zones and the vSwitches in the zones. An NLB instance can be deployed across 2 to 10 zones.
    Tags map[string]string
    The tag of the resource.
    addressIpVersion String
    The IP version.
    addressType String
    The type of IPv4 address used by the NLB instance.
    bandwidthPackageId String
    The ID of the EIP bandwidth plan that is associated with the NLB instance if the NLB instance uses a public IP address.
    createTime String
    The time when the resource was created. The time is displayed in UTC in yyyy-MM-ddTHH:mm:ssZ format.
    crossZoneEnabled Boolean
    Indicates whether cross-zone load balancing is enabled for the NLB instance.
    dnsName String
    The domain name of the NLB instance.
    id String
    The ID of the NLB instance.
    ipv6AddressType String
    The type of IPv6 address used by the NLB instance.
    loadBalancerBusinessStatus String
    The business status of the NLB instance.
    loadBalancerId String
    The ID of the NLB instance.
    loadBalancerName String
    The name of the NLB instance.
    loadBalancerType String
    The type of the SLB instance. Only Network is supported, which indicates NLB.
    operationLocks List<GetLoadBalancersBalancerOperationLock>
    The configuration of the operation lock. This parameter takes effect if LoadBalancerBussinessStatus is Abnormal.
    resourceGroupId String
    The ID of the resource group.
    securityGroupIds List<String>
    The security group to which the NLB instance belongs.
    status String
    The status of the NLB instance.
    vpcId String
    The ID of the VPC where the NLB instance is deployed.
    zoneMappings List<GetLoadBalancersBalancerZoneMapping>
    The zones and the vSwitches in the zones. An NLB instance can be deployed across 2 to 10 zones.
    tags Map<String,String>
    The tag of the resource.
    addressIpVersion string
    The IP version.
    addressType string
    The type of IPv4 address used by the NLB instance.
    bandwidthPackageId string
    The ID of the EIP bandwidth plan that is associated with the NLB instance if the NLB instance uses a public IP address.
    createTime string
    The time when the resource was created. The time is displayed in UTC in yyyy-MM-ddTHH:mm:ssZ format.
    crossZoneEnabled boolean
    Indicates whether cross-zone load balancing is enabled for the NLB instance.
    dnsName string
    The domain name of the NLB instance.
    id string
    The ID of the NLB instance.
    ipv6AddressType string
    The type of IPv6 address used by the NLB instance.
    loadBalancerBusinessStatus string
    The business status of the NLB instance.
    loadBalancerId string
    The ID of the NLB instance.
    loadBalancerName string
    The name of the NLB instance.
    loadBalancerType string
    The type of the SLB instance. Only Network is supported, which indicates NLB.
    operationLocks GetLoadBalancersBalancerOperationLock[]
    The configuration of the operation lock. This parameter takes effect if LoadBalancerBussinessStatus is Abnormal.
    resourceGroupId string
    The ID of the resource group.
    securityGroupIds string[]
    The security group to which the NLB instance belongs.
    status string
    The status of the NLB instance.
    vpcId string
    The ID of the VPC where the NLB instance is deployed.
    zoneMappings GetLoadBalancersBalancerZoneMapping[]
    The zones and the vSwitches in the zones. An NLB instance can be deployed across 2 to 10 zones.
    tags {[key: string]: string}
    The tag of the resource.
    address_ip_version str
    The IP version.
    address_type str
    The type of IPv4 address used by the NLB instance.
    bandwidth_package_id str
    The ID of the EIP bandwidth plan that is associated with the NLB instance if the NLB instance uses a public IP address.
    create_time str
    The time when the resource was created. The time is displayed in UTC in yyyy-MM-ddTHH:mm:ssZ format.
    cross_zone_enabled bool
    Indicates whether cross-zone load balancing is enabled for the NLB instance.
    dns_name str
    The domain name of the NLB instance.
    id str
    The ID of the NLB instance.
    ipv6_address_type str
    The type of IPv6 address used by the NLB instance.
    load_balancer_business_status str
    The business status of the NLB instance.
    load_balancer_id str
    The ID of the NLB instance.
    load_balancer_name str
    The name of the NLB instance.
    load_balancer_type str
    The type of the SLB instance. Only Network is supported, which indicates NLB.
    operation_locks Sequence[GetLoadBalancersBalancerOperationLock]
    The configuration of the operation lock. This parameter takes effect if LoadBalancerBussinessStatus is Abnormal.
    resource_group_id str
    The ID of the resource group.
    security_group_ids Sequence[str]
    The security group to which the NLB instance belongs.
    status str
    The status of the NLB instance.
    vpc_id str
    The ID of the VPC where the NLB instance is deployed.
    zone_mappings Sequence[GetLoadBalancersBalancerZoneMapping]
    The zones and the vSwitches in the zones. An NLB instance can be deployed across 2 to 10 zones.
    tags Mapping[str, str]
    The tag of the resource.
    addressIpVersion String
    The IP version.
    addressType String
    The type of IPv4 address used by the NLB instance.
    bandwidthPackageId String
    The ID of the EIP bandwidth plan that is associated with the NLB instance if the NLB instance uses a public IP address.
    createTime String
    The time when the resource was created. The time is displayed in UTC in yyyy-MM-ddTHH:mm:ssZ format.
    crossZoneEnabled Boolean
    Indicates whether cross-zone load balancing is enabled for the NLB instance.
    dnsName String
    The domain name of the NLB instance.
    id String
    The ID of the NLB instance.
    ipv6AddressType String
    The type of IPv6 address used by the NLB instance.
    loadBalancerBusinessStatus String
    The business status of the NLB instance.
    loadBalancerId String
    The ID of the NLB instance.
    loadBalancerName String
    The name of the NLB instance.
    loadBalancerType String
    The type of the SLB instance. Only Network is supported, which indicates NLB.
    operationLocks List<Property Map>
    The configuration of the operation lock. This parameter takes effect if LoadBalancerBussinessStatus is Abnormal.
    resourceGroupId String
    The ID of the resource group.
    securityGroupIds List<String>
    The security group to which the NLB instance belongs.
    status String
    The status of the NLB instance.
    vpcId String
    The ID of the VPC where the NLB instance is deployed.
    zoneMappings List<Property Map>
    The zones and the vSwitches in the zones. An NLB instance can be deployed across 2 to 10 zones.
    tags Map<String>
    The tag of the resource.

    GetLoadBalancersBalancerOperationLock

    LockReason string
    The reason why the NLB instance is locked.
    LockType string
    The type of lock.
    LockReason string
    The reason why the NLB instance is locked.
    LockType string
    The type of lock.
    lockReason String
    The reason why the NLB instance is locked.
    lockType String
    The type of lock.
    lockReason string
    The reason why the NLB instance is locked.
    lockType string
    The type of lock.
    lock_reason str
    The reason why the NLB instance is locked.
    lock_type str
    The type of lock.
    lockReason String
    The reason why the NLB instance is locked.
    lockType String
    The type of lock.

    GetLoadBalancersBalancerZoneMapping

    AllocationId string
    The ID of the elastic IP address (EIP).
    EniId string
    The ID of the elastic network interface (ENI) attached to the NLB instance.
    Ipv6Address string
    The IPv6 address of the NLB instance.
    PrivateIpv4Address string
    The private IPv4 address used by the NLB instance.
    PublicIpv4Address string
    The public IPv4 address used by the NLB instance.
    VswitchId string
    The ID of the vSwitch. By default, you can specify one vSwitch (subnet) in each zone of the NLB instance.
    ZoneId string
    The name of the zone.
    AllocationId string
    The ID of the elastic IP address (EIP).
    EniId string
    The ID of the elastic network interface (ENI) attached to the NLB instance.
    Ipv6Address string
    The IPv6 address of the NLB instance.
    PrivateIpv4Address string
    The private IPv4 address used by the NLB instance.
    PublicIpv4Address string
    The public IPv4 address used by the NLB instance.
    VswitchId string
    The ID of the vSwitch. By default, you can specify one vSwitch (subnet) in each zone of the NLB instance.
    ZoneId string
    The name of the zone.
    allocationId String
    The ID of the elastic IP address (EIP).
    eniId String
    The ID of the elastic network interface (ENI) attached to the NLB instance.
    ipv6Address String
    The IPv6 address of the NLB instance.
    privateIpv4Address String
    The private IPv4 address used by the NLB instance.
    publicIpv4Address String
    The public IPv4 address used by the NLB instance.
    vswitchId String
    The ID of the vSwitch. By default, you can specify one vSwitch (subnet) in each zone of the NLB instance.
    zoneId String
    The name of the zone.
    allocationId string
    The ID of the elastic IP address (EIP).
    eniId string
    The ID of the elastic network interface (ENI) attached to the NLB instance.
    ipv6Address string
    The IPv6 address of the NLB instance.
    privateIpv4Address string
    The private IPv4 address used by the NLB instance.
    publicIpv4Address string
    The public IPv4 address used by the NLB instance.
    vswitchId string
    The ID of the vSwitch. By default, you can specify one vSwitch (subnet) in each zone of the NLB instance.
    zoneId string
    The name of the zone.
    allocation_id str
    The ID of the elastic IP address (EIP).
    eni_id str
    The ID of the elastic network interface (ENI) attached to the NLB instance.
    ipv6_address str
    The IPv6 address of the NLB instance.
    private_ipv4_address str
    The private IPv4 address used by the NLB instance.
    public_ipv4_address str
    The public IPv4 address used by the NLB instance.
    vswitch_id str
    The ID of the vSwitch. By default, you can specify one vSwitch (subnet) in each zone of the NLB instance.
    zone_id str
    The name of the zone.
    allocationId String
    The ID of the elastic IP address (EIP).
    eniId String
    The ID of the elastic network interface (ENI) attached to the NLB instance.
    ipv6Address String
    The IPv6 address of the NLB instance.
    privateIpv4Address String
    The private IPv4 address used by the NLB instance.
    publicIpv4Address String
    The public IPv4 address used by the NLB instance.
    vswitchId String
    The ID of the vSwitch. By default, you can specify one vSwitch (subnet) in each zone of the NLB instance.
    zoneId String
    The name of the zone.

    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