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 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, 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, bandwidthPackageId: Output<String>? = 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, 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.

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
val deletionProtectionEnabled: Output<Boolean>? = null

Whether to enable delete protection. Value:true: on.false (default): Off.

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

Whether to PreCheck only this request, value:true: sends a check request and does not create a resource. Check items include whether required parameters are filled in, request format, and business restrictions. If the check fails, the corresponding error is returned. If the check passes, the error code DryRunOperation is returned.false (default): Sends a normal request, returns the HTTP_2xx status code after the check, and directly performs the operation.

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, Any>>? = 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.