LoadBalancerArgs

data class LoadBalancerArgs(val accessLogConfig: Output<LoadBalancerAccessLogConfigArgs>? = null, val addressAllocatedMode: Output<String>? = null, val addressIpVersion: Output<String>? = null, val addressType: Output<String>? = null, val deletionProtectionEnabled: Output<Boolean>? = null, val dryRun: Output<Boolean>? = null, val loadBalancerBillingConfig: Output<LoadBalancerLoadBalancerBillingConfigArgs>? = null, val loadBalancerEdition: Output<String>? = null, val loadBalancerName: Output<String>? = null, val modificationProtectionConfig: Output<LoadBalancerModificationProtectionConfigArgs>? = null, val resourceGroupId: Output<String>? = null, val tags: Output<Map<String, Any>>? = null, val vpcId: Output<String>? = null, val zoneMappings: Output<List<LoadBalancerZoneMappingArgs>>? = null) : ConvertibleToJava<LoadBalancerArgs>

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

NOTE: Available since v1.132.0.

Import

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

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

Constructors

Link copied to clipboard
fun LoadBalancerArgs(accessLogConfig: Output<LoadBalancerAccessLogConfigArgs>? = null, addressAllocatedMode: Output<String>? = null, addressIpVersion: Output<String>? = null, addressType: Output<String>? = null, deletionProtectionEnabled: Output<Boolean>? = null, dryRun: Output<Boolean>? = null, loadBalancerBillingConfig: Output<LoadBalancerLoadBalancerBillingConfigArgs>? = null, loadBalancerEdition: Output<String>? = null, loadBalancerName: Output<String>? = null, modificationProtectionConfig: Output<LoadBalancerModificationProtectionConfigArgs>? = null, resourceGroupId: Output<String>? = null, tags: Output<Map<String, Any>>? = null, vpcId: Output<String>? = null, zoneMappings: Output<List<LoadBalancerZoneMappingArgs>>? = null)

Functions

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

Properties

Link copied to clipboard

The Access Logging Configuration Structure. See access_log_config below for details.

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

The method in which IP addresses are assigned. Valid values: Fixed and Dynamic. Default value: Dynamic.

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

The IP version. Valid values: Ipv4, DualStack.

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

The type of IP address that the ALB instance uses to provide services. Valid values: Intranet, Internet. NOTE: From version 1.193.1, address_type can be modified.

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

The deletion protection enabled. Valid values: true and false. Default value: false.

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

Specifies whether to precheck the API request. Valid values: true and false.

Link copied to clipboard

The configuration of the billing method. See load_balancer_billing_config below for details.

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

The edition of the ALB instance. Different editions have different limits and billing methods. Valid values: Basic, Standard and StandardWithWaf(Available in v1.193.1+).

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

The name of the resource.

Link copied to clipboard

Modify the Protection Configuration. See modification_protection_config below for details.

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

The ID of the resource group.

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

A mapping of tags to assign to the resource. NOTE: The Key of tags cannot begin with "aliyun", "acs:", "http://", "https://", "ack" or "ingress".

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

The ID of the virtual private cloud (VPC) where the ALB instance is deployed.

Link copied to clipboard

The zones and vSwitches. You must specify at least two zones. See zone_mappings below for details.