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 bandwidthPackageId: Output<String>? = null, val deletionProtectionConfig: Output<LoadBalancerDeletionProtectionConfigArgs>? = null, val deletionProtectionEnabled: Output<Boolean>? = null, val dryRun: Output<Boolean>? = null, val ipv6AddressType: Output<String>? = 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, String>>? = null, val vpcId: Output<String>? = null, val zoneMappings: Output<List<LoadBalancerZoneMappingArgs>>? = null) : ConvertibleToJava<LoadBalancerArgs>

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

NOTE: Available since v1.132.0.

Import

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

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

Constructors

Link copied to clipboard
constructor(accessLogConfig: Output<LoadBalancerAccessLogConfigArgs>? = null, addressAllocatedMode: Output<String>? = null, addressIpVersion: Output<String>? = null, addressType: Output<String>? = null, bandwidthPackageId: Output<String>? = null, deletionProtectionConfig: Output<LoadBalancerDeletionProtectionConfigArgs>? = null, deletionProtectionEnabled: Output<Boolean>? = null, dryRun: Output<Boolean>? = null, ipv6AddressType: Output<String>? = 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, String>>? = null, vpcId: Output<String>? = null, zoneMappings: Output<List<LoadBalancerZoneMappingArgs>>? = null)

Properties

Link copied to clipboard

The configuration of the access log. See access_log_config below.

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

The method in which IP addresses are assigned. Valid values: Fixed: The ALB instance uses a fixed IP address. Dynamic (default): An IP address is dynamically assigned to each zone of the ALB instance.

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

The protocol version. Value:

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

The type of IP address that the SLB instance uses to provide services.

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

The ID of the EIP bandwidth plan which is associated with an ALB instance that uses a public IP address.

Link copied to clipboard

The Protection Configuration See deletion_protection_config below.

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

Specifies whether to enable deletion protection. Default value: false. Valid values:

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

Whether to PreCheck only this request, value:

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

The address type of Ipv6

Link copied to clipboard

The configuration of the billing method. See load_balancer_billing_config below.

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

The edition of the ALB instance.

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.

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 of the resource

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

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

Link copied to clipboard

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

Functions

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