LoadBalancerArgs

data class LoadBalancerArgs(val addressIpVersion: Output<String>? = null, val dryRun: Output<Boolean>? = null, val loadBalancerName: Output<String>? = null, val resourceGroupId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val vpcId: Output<String>? = null, val zoneMappings: Output<List<LoadBalancerZoneMappingArgs>>? = null) : ConvertibleToJava<LoadBalancerArgs>

Provides a GWLB Load Balancer resource. For information about GWLB Load Balancer and how to use it, see What is Load Balancer.

NOTE: Available since v1.234.0.

Import

GWLB Load Balancer can be imported using the id, e.g.

$ pulumi import alicloud:gwlb/loadBalancer:LoadBalancer example <id>

Constructors

Link copied to clipboard
constructor(addressIpVersion: Output<String>? = null, dryRun: Output<Boolean>? = null, loadBalancerName: Output<String>? = null, resourceGroupId: Output<String>? = null, tags: Output<Map<String, String>>? = null, vpcId: Output<String>? = null, zoneMappings: Output<List<LoadBalancerZoneMappingArgs>>? = null)

Properties

Link copied to clipboard
val addressIpVersion: Output<String>? = null

The IP version. Valid values:

Link copied to clipboard
val dryRun: Output<Boolean>? = null

Specifies whether to perform a dry run, without performing the actual request. Valid values:

Link copied to clipboard
val loadBalancerName: Output<String>? = null

The GWLB instance name. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.

Link copied to clipboard
val resourceGroupId: Output<String>? = null

The ID of the resource group.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

The tag keys. You can specify at most 20 tags in each call.

Link copied to clipboard
val vpcId: Output<String>? = null

The virtual private cloud (VPC) ID.

Link copied to clipboard

The mappings between zones and vSwitches. You must specify at least one zone. You can specify at most 20 zones. If the region supports two or more zones, we recommend that you select two or more zones. See zone_mappings below.

Functions

Link copied to clipboard
open override fun toJava(): LoadBalancerArgs