Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi
alicloud.nlb.getLoadBalancers
Explore with Pulumi AI
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, Any]] = 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, Any]]] = 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:
- Address
Ip stringVersion - The IP version. Valid values:
ipv4
,DualStack
. - Address
Type string - The type of IPv4 address used by the NLB instance. Valid values:
Internet
,Intranet
. - Dns
Name string - The domain name of the NLB instance.
- Ids List<string>
- A list of Load Balancer IDs.
- Ipv6Address
Type string - The type of IPv6 address used by the NLB instance. Valid values:
Internet
,Intranet
. - Load
Balancer stringBusiness Status - The business status of the NLB instance. Valid values:
Abnormal
,Normal
. - Load
Balancer List<string>Names - The name of the NLB instance. You can specify at most 10 names.
- 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 status of the NLB instance. Valid values:
Inactive
,Active
,Provisioning
,Configuring
,Deleting
,Deleted
. - Dictionary<string, object>
- Vpc
Ids List<string> - The ID of the virtual private cloud (VPC) where the NLB instance is deployed. You can specify at most 10 IDs.
- Zone
Id string - The name of the zone.
- Address
Ip stringVersion - The IP version. Valid values:
ipv4
,DualStack
. - Address
Type string - The type of IPv4 address used by the NLB instance. Valid values:
Internet
,Intranet
. - Dns
Name string - The domain name of the NLB instance.
- Ids []string
- A list of Load Balancer IDs.
- Ipv6Address
Type string - The type of IPv6 address used by the NLB instance. Valid values:
Internet
,Intranet
. - Load
Balancer stringBusiness Status - The business status of the NLB instance. Valid values:
Abnormal
,Normal
. - Load
Balancer []stringNames - The name of the NLB instance. You can specify at most 10 names.
- 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 status of the NLB instance. Valid values:
Inactive
,Active
,Provisioning
,Configuring
,Deleting
,Deleted
. - map[string]interface{}
- Vpc
Ids []string - The ID of the virtual private cloud (VPC) where the NLB instance is deployed. You can specify at most 10 IDs.
- Zone
Id string - The name of the zone.
- address
Ip StringVersion - The IP version. Valid values:
ipv4
,DualStack
. - address
Type String - The type of IPv4 address used by the NLB instance. Valid values:
Internet
,Intranet
. - dns
Name String - The domain name of the NLB instance.
- ids List<String>
- A list of Load Balancer IDs.
- ipv6Address
Type String - The type of IPv6 address used by the NLB instance. Valid values:
Internet
,Intranet
. - load
Balancer StringBusiness Status - The business status of the NLB instance. Valid values:
Abnormal
,Normal
. - load
Balancer List<String>Names - The name of the NLB instance. You can specify at most 10 names.
- 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 status of the NLB instance. Valid values:
Inactive
,Active
,Provisioning
,Configuring
,Deleting
,Deleted
. - Map<String,Object>
- vpc
Ids List<String> - The ID of the virtual private cloud (VPC) where the NLB instance is deployed. You can specify at most 10 IDs.
- zone
Id String - The name of the zone.
- address
Ip stringVersion - The IP version. Valid values:
ipv4
,DualStack
. - address
Type string - The type of IPv4 address used by the NLB instance. Valid values:
Internet
,Intranet
. - dns
Name string - The domain name of the NLB instance.
- ids string[]
- A list of Load Balancer IDs.
- ipv6Address
Type string - The type of IPv6 address used by the NLB instance. Valid values:
Internet
,Intranet
. - load
Balancer stringBusiness Status - The business status of the NLB instance. Valid values:
Abnormal
,Normal
. - load
Balancer string[]Names - The name of the NLB instance. You can specify at most 10 names.
- 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 status of the NLB instance. Valid values:
Inactive
,Active
,Provisioning
,Configuring
,Deleting
,Deleted
. - {[key: string]: any}
- vpc
Ids string[] - The ID of the virtual private cloud (VPC) where the NLB instance is deployed. You can specify at most 10 IDs.
- zone
Id string - The name of the zone.
- address_
ip_ strversion - 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_ strtype - The type of IPv6 address used by the NLB instance. Valid values:
Internet
,Intranet
. - load_
balancer_ strbusiness_ status - The business status of the NLB instance. Valid values:
Abnormal
,Normal
. - load_
balancer_ Sequence[str]names - 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_ strid - The ID of the resource group.
- status str
- The status of the NLB instance. Valid values:
Inactive
,Active
,Provisioning
,Configuring
,Deleting
,Deleted
. - Mapping[str, Any]
- 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.
- address
Ip StringVersion - The IP version. Valid values:
ipv4
,DualStack
. - address
Type String - The type of IPv4 address used by the NLB instance. Valid values:
Internet
,Intranet
. - dns
Name String - The domain name of the NLB instance.
- ids List<String>
- A list of Load Balancer IDs.
- ipv6Address
Type String - The type of IPv6 address used by the NLB instance. Valid values:
Internet
,Intranet
. - load
Balancer StringBusiness Status - The business status of the NLB instance. Valid values:
Abnormal
,Normal
. - load
Balancer List<String>Names - The name of the NLB instance. You can specify at most 10 names.
- 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 status of the NLB instance. Valid values:
Inactive
,Active
,Provisioning
,Configuring
,Deleting
,Deleted
. - Map<Any>
- vpc
Ids List<String> - The ID of the virtual private cloud (VPC) where the NLB instance is deployed. You can specify at most 10 IDs.
- zone
Id String - The name of the zone.
getLoadBalancers Result
The following output properties are available:
- Balancers
List<Pulumi.
Ali Cloud. Nlb. Outputs. Get Load Balancers Balancer> - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- Address
Ip stringVersion - Address
Type string - Dns
Name string - Ipv6Address
Type string - Load
Balancer stringBusiness Status - Load
Balancer List<string>Names - Name
Regex string - Output
File string - Resource
Group stringId - Status string
- Dictionary<string, object>
- 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
Ip stringVersion - Address
Type string - Dns
Name string - Ipv6Address
Type string - Load
Balancer stringBusiness Status - Load
Balancer []stringNames - Name
Regex string - Output
File string - Resource
Group stringId - Status string
- map[string]interface{}
- 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
Ip StringVersion - address
Type String - dns
Name String - ipv6Address
Type String - load
Balancer StringBusiness Status - load
Balancer List<String>Names - name
Regex String - output
File String - resource
Group StringId - status String
- Map<String,Object>
- 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
Ip stringVersion - address
Type string - dns
Name string - ipv6Address
Type string - load
Balancer stringBusiness Status - load
Balancer string[]Names - name
Regex string - output
File string - resource
Group stringId - status string
- {[key: string]: any}
- 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_
ip_ strversion - address_
type str - dns_
name str - ipv6_
address_ strtype - load_
balancer_ strbusiness_ status - load_
balancer_ Sequence[str]names - name_
regex str - output_
file str - resource_
group_ strid - status str
- Mapping[str, Any]
- 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
Ip StringVersion - address
Type String - dns
Name String - ipv6Address
Type String - load
Balancer StringBusiness Status - load
Balancer List<String>Names - name
Regex String - output
File String - resource
Group StringId - status String
- Map<Any>
- vpc
Ids List<String> - zone
Id String
Supporting Types
GetLoadBalancersBalancer
- Address
Ip stringVersion - The IP version.
- Address
Type string - The type of IPv4 address used by the NLB instance.
- Bandwidth
Package stringId - 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 string - The time when the resource was created. The time is displayed in UTC in
yyyy-MM-ddTHH:mm:ssZ
format. - Cross
Zone boolEnabled - Indicates whether cross-zone load balancing is enabled for the NLB instance.
- Dns
Name string - The domain name of the NLB instance.
- Id string
- The ID of the NLB instance.
- Ipv6Address
Type string - The type of IPv6 address used by the NLB instance.
- Load
Balancer stringBusiness Status - The business status of the NLB instance.
- Load
Balancer stringId - The ID of the NLB instance.
- Load
Balancer stringName - The name of the NLB instance.
- Load
Balancer stringType - The type of the SLB instance. Only Network is supported, which indicates NLB.
- Operation
Locks List<Pulumi.Ali Cloud. Nlb. Inputs. Get Load Balancers Balancer Operation Lock> - The configuration of the operation lock. This parameter takes effect if LoadBalancerBussinessStatus is Abnormal.
- Resource
Group stringId - The ID of the resource group.
- Security
Group List<string>Ids - The security group to which the NLB instance belongs.
- Status string
- The status of the NLB instance.
- Vpc
Id string - The ID of the VPC where the NLB instance is deployed.
- Zone
Mappings List<Pulumi.Ali Cloud. Nlb. Inputs. Get Load Balancers Balancer Zone Mapping> - The zones and the vSwitches in the zones. An NLB instance can be deployed across 2 to 10 zones.
- Dictionary<string, object>
- The tag of the resource.
- Address
Ip stringVersion - The IP version.
- Address
Type string - The type of IPv4 address used by the NLB instance.
- Bandwidth
Package stringId - 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 string - The time when the resource was created. The time is displayed in UTC in
yyyy-MM-ddTHH:mm:ssZ
format. - Cross
Zone boolEnabled - Indicates whether cross-zone load balancing is enabled for the NLB instance.
- Dns
Name string - The domain name of the NLB instance.
- Id string
- The ID of the NLB instance.
- Ipv6Address
Type string - The type of IPv6 address used by the NLB instance.
- Load
Balancer stringBusiness Status - The business status of the NLB instance.
- Load
Balancer stringId - The ID of the NLB instance.
- Load
Balancer stringName - The name of the NLB instance.
- Load
Balancer stringType - The type of the SLB instance. Only Network is supported, which indicates NLB.
- Operation
Locks []GetLoad Balancers Balancer Operation Lock - The configuration of the operation lock. This parameter takes effect if LoadBalancerBussinessStatus is Abnormal.
- Resource
Group stringId - The ID of the resource group.
- Security
Group []stringIds - The security group to which the NLB instance belongs.
- Status string
- The status of the NLB instance.
- Vpc
Id string - The ID of the VPC where the NLB instance is deployed.
- Zone
Mappings []GetLoad Balancers Balancer Zone Mapping - The zones and the vSwitches in the zones. An NLB instance can be deployed across 2 to 10 zones.
- map[string]interface{}
- The tag of the resource.
- address
Ip StringVersion - The IP version.
- address
Type String - The type of IPv4 address used by the NLB instance.
- bandwidth
Package StringId - 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 String - The time when the resource was created. The time is displayed in UTC in
yyyy-MM-ddTHH:mm:ssZ
format. - cross
Zone BooleanEnabled - Indicates whether cross-zone load balancing is enabled for the NLB instance.
- dns
Name String - The domain name of the NLB instance.
- id String
- The ID of the NLB instance.
- ipv6Address
Type String - The type of IPv6 address used by the NLB instance.
- load
Balancer StringBusiness Status - The business status of the NLB instance.
- load
Balancer StringId - The ID of the NLB instance.
- load
Balancer StringName - The name of the NLB instance.
- load
Balancer StringType - The type of the SLB instance. Only Network is supported, which indicates NLB.
- operation
Locks List<GetLoad Balancers Balancer Operation Lock> - The configuration of the operation lock. This parameter takes effect if LoadBalancerBussinessStatus is Abnormal.
- resource
Group StringId - The ID of the resource group.
- security
Group List<String>Ids - The security group to which the NLB instance belongs.
- status String
- The status of the NLB instance.
- vpc
Id String - The ID of the VPC where the NLB instance is deployed.
- zone
Mappings List<GetLoad Balancers Balancer Zone Mapping> - The zones and the vSwitches in the zones. An NLB instance can be deployed across 2 to 10 zones.
- Map<String,Object>
- The tag of the resource.
- address
Ip stringVersion - The IP version.
- address
Type string - The type of IPv4 address used by the NLB instance.
- bandwidth
Package stringId - 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 string - The time when the resource was created. The time is displayed in UTC in
yyyy-MM-ddTHH:mm:ssZ
format. - cross
Zone booleanEnabled - Indicates whether cross-zone load balancing is enabled for the NLB instance.
- dns
Name string - The domain name of the NLB instance.
- id string
- The ID of the NLB instance.
- ipv6Address
Type string - The type of IPv6 address used by the NLB instance.
- load
Balancer stringBusiness Status - The business status of the NLB instance.
- load
Balancer stringId - The ID of the NLB instance.
- load
Balancer stringName - The name of the NLB instance.
- load
Balancer stringType - The type of the SLB instance. Only Network is supported, which indicates NLB.
- operation
Locks GetLoad Balancers Balancer Operation Lock[] - The configuration of the operation lock. This parameter takes effect if LoadBalancerBussinessStatus is Abnormal.
- resource
Group stringId - The ID of the resource group.
- security
Group string[]Ids - The security group to which the NLB instance belongs.
- status string
- The status of the NLB instance.
- vpc
Id string - The ID of the VPC where the NLB instance is deployed.
- zone
Mappings GetLoad Balancers Balancer Zone Mapping[] - The zones and the vSwitches in the zones. An NLB instance can be deployed across 2 to 10 zones.
- {[key: string]: any}
- The tag of the resource.
- address_
ip_ strversion - The IP version.
- address_
type str - The type of IPv4 address used by the NLB instance.
- bandwidth_
package_ strid - 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_ boolenabled - 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_ strtype - The type of IPv6 address used by the NLB instance.
- load_
balancer_ strbusiness_ status - The business status of the NLB instance.
- load_
balancer_ strid - The ID of the NLB instance.
- load_
balancer_ strname - The name of the NLB instance.
- load_
balancer_ strtype - The type of the SLB instance. Only Network is supported, which indicates NLB.
- operation_
locks Sequence[GetLoad Balancers Balancer Operation Lock] - The configuration of the operation lock. This parameter takes effect if LoadBalancerBussinessStatus is Abnormal.
- resource_
group_ strid - The ID of the resource group.
- security_
group_ Sequence[str]ids - 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[GetLoad Balancers Balancer Zone Mapping] - The zones and the vSwitches in the zones. An NLB instance can be deployed across 2 to 10 zones.
- Mapping[str, Any]
- The tag of the resource.
- address
Ip StringVersion - The IP version.
- address
Type String - The type of IPv4 address used by the NLB instance.
- bandwidth
Package StringId - 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 String - The time when the resource was created. The time is displayed in UTC in
yyyy-MM-ddTHH:mm:ssZ
format. - cross
Zone BooleanEnabled - Indicates whether cross-zone load balancing is enabled for the NLB instance.
- dns
Name String - The domain name of the NLB instance.
- id String
- The ID of the NLB instance.
- ipv6Address
Type String - The type of IPv6 address used by the NLB instance.
- load
Balancer StringBusiness Status - The business status of the NLB instance.
- load
Balancer StringId - The ID of the NLB instance.
- load
Balancer StringName - The name of the NLB instance.
- load
Balancer StringType - The type of the SLB instance. Only Network is supported, which indicates NLB.
- operation
Locks List<Property Map> - The configuration of the operation lock. This parameter takes effect if LoadBalancerBussinessStatus is Abnormal.
- resource
Group StringId - The ID of the resource group.
- security
Group List<String>Ids - The security group to which the NLB instance belongs.
- status String
- The status of the NLB instance.
- vpc
Id String - The ID of the VPC where the NLB instance is deployed.
- zone
Mappings List<Property Map> - The zones and the vSwitches in the zones. An NLB instance can be deployed across 2 to 10 zones.
- Map<Any>
- The tag of the resource.
GetLoadBalancersBalancerOperationLock
- Lock
Reason string - The reason why the NLB instance is locked.
- Lock
Type string - The type of lock.
- Lock
Reason string - The reason why the NLB instance is locked.
- Lock
Type string - The type of lock.
- lock
Reason String - The reason why the NLB instance is locked.
- lock
Type String - The type of lock.
- lock
Reason string - The reason why the NLB instance is locked.
- lock
Type string - The type of lock.
- lock_
reason str - The reason why the NLB instance is locked.
- lock_
type str - The type of lock.
- lock
Reason String - The reason why the NLB instance is locked.
- lock
Type String - The type of lock.
GetLoadBalancersBalancerZoneMapping
- Allocation
Id string - The ID of the elastic IP address (EIP).
- Eni
Id string - The ID of the elastic network interface (ENI) attached to the NLB instance.
- Ipv6Address string
- The IPv6 address of the NLB instance.
- Private
Ipv4Address string - The private IPv4 address used by the NLB instance.
- Public
Ipv4Address string - The public IPv4 address used by the NLB instance.
- Vswitch
Id string - The ID of the vSwitch. By default, you can specify one vSwitch (subnet) in each zone of the NLB instance.
- Zone
Id string - The name of the zone.
- Allocation
Id string - The ID of the elastic IP address (EIP).
- Eni
Id string - The ID of the elastic network interface (ENI) attached to the NLB instance.
- Ipv6Address string
- The IPv6 address of the NLB instance.
- Private
Ipv4Address string - The private IPv4 address used by the NLB instance.
- Public
Ipv4Address string - The public IPv4 address used by the NLB instance.
- Vswitch
Id string - The ID of the vSwitch. By default, you can specify one vSwitch (subnet) in each zone of the NLB instance.
- Zone
Id string - The name of the zone.
- allocation
Id String - The ID of the elastic IP address (EIP).
- eni
Id String - The ID of the elastic network interface (ENI) attached to the NLB instance.
- ipv6Address String
- The IPv6 address of the NLB instance.
- private
Ipv4Address String - The private IPv4 address used by the NLB instance.
- public
Ipv4Address String - The public IPv4 address used by the NLB instance.
- vswitch
Id String - The ID of the vSwitch. By default, you can specify one vSwitch (subnet) in each zone of the NLB instance.
- zone
Id String - The name of the zone.
- allocation
Id string - The ID of the elastic IP address (EIP).
- eni
Id string - The ID of the elastic network interface (ENI) attached to the NLB instance.
- ipv6Address string
- The IPv6 address of the NLB instance.
- private
Ipv4Address string - The private IPv4 address used by the NLB instance.
- public
Ipv4Address string - The public IPv4 address used by the NLB instance.
- vswitch
Id string - The ID of the vSwitch. By default, you can specify one vSwitch (subnet) in each zone of the NLB instance.
- zone
Id 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_ straddress - The private IPv4 address used by the NLB instance.
- public_
ipv4_ straddress - 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.
- allocation
Id String - The ID of the elastic IP address (EIP).
- eni
Id String - The ID of the elastic network interface (ENI) attached to the NLB instance.
- ipv6Address String
- The IPv6 address of the NLB instance.
- private
Ipv4Address String - The private IPv4 address used by the NLB instance.
- public
Ipv4Address String - The public IPv4 address used by the NLB instance.
- vswitch
Id String - The ID of the vSwitch. By default, you can specify one vSwitch (subnet) in each zone of the NLB instance.
- zone
Id 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.