ApplicationLoadBalancerArgs

data class ApplicationLoadBalancerArgs(val address: Output<String>? = null, val addressIpVersion: Output<String>? = null, val addressType: Output<String>? = null, val bandwidth: Output<Int>? = null, val deleteProtection: Output<String>? = null, val instanceChargeType: Output<String>? = null, val internetChargeType: Output<String>? = null, val loadBalancerName: Output<String>? = null, val loadBalancerSpec: Output<String>? = null, val masterZoneId: Output<String>? = null, val modificationProtectionReason: Output<String>? = null, val modificationProtectionStatus: Output<String>? = null, val name: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<Int>? = null, val resourceGroupId: Output<String>? = null, val slaveZoneId: Output<String>? = null, val specification: Output<String>? = null, val status: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<ApplicationLoadBalancerArgs>

Import

Load balancer can be imported using the id, e.g.

$ pulumi import alicloud:slb/applicationLoadBalancer:ApplicationLoadBalancer example lb-abc123456

Constructors

Link copied to clipboard
constructor(address: Output<String>? = null, addressIpVersion: Output<String>? = null, addressType: Output<String>? = null, bandwidth: Output<Int>? = null, deleteProtection: Output<String>? = null, instanceChargeType: Output<String>? = null, internetChargeType: Output<String>? = null, loadBalancerName: Output<String>? = null, loadBalancerSpec: Output<String>? = null, masterZoneId: Output<String>? = null, modificationProtectionReason: Output<String>? = null, modificationProtectionStatus: Output<String>? = null, name: Output<String>? = null, paymentType: Output<String>? = null, period: Output<Int>? = null, resourceGroupId: Output<String>? = null, slaveZoneId: Output<String>? = null, specification: Output<String>? = null, status: Output<String>? = null, tags: Output<Map<String, String>>? = null, vswitchId: Output<String>? = null)

Properties

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

Specify the IP address of the private network for the SLB instance, which must be in the destination CIDR block of the corresponding switch.

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

The IP version of the SLB instance to be created, which can be set to ipv4 or ipv6 . Default to ipv4. Now, only internet instance support ipv6 address.

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

The network type of the SLB instance. Valid values: "internet", "intranet". If load balancer launched in VPC, this value must be intranet.

Link copied to clipboard
val bandwidth: Output<Int>? = null

Valid value is between 1 and 5120, If argument internet_charge_type is PayByTraffic, then this value will be ignored.

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

Whether enable the deletion protection or not. on: Enable deletion protection. off: Disable deletion protection. Default to off. Only postpaid instance support this function.

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

Support PayBySpec (default) and PayByCLCU, This parameter takes effect when the value of payment_type (instance payment mode) is PayAsYouGo (pay-as-you-go).

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

Valid values are PayByBandwidth, PayByTraffic. If this value is PayByBandwidth, then argument address_type must be internet. Default is PayByTraffic. If load balancer launched in VPC, this value must be PayByTraffic. Before version 1.10.1, the valid values are paybybandwidth and paybytraffic.

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

The specification of the Server Load Balancer instance. Default to empty string indicating it is "Shared-Performance" instance. Launching "Performance-guaranteed" instance, it must be specified. Valid values: slb.s1.small, slb.s2.small, slb.s2.medium, slb.s3.small, slb.s3.medium, slb.s3.large and slb.s4.large. It will be ignored when instance_charge_type = "PayByCLCU".

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

The primary zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API.

Link copied to clipboard

The reason of modification protection. It's effective when modification_protection_status is ConsoleProtection.

Link copied to clipboard

The status of modification protection. Valid values: ConsoleProtection and NonProtection. Default value is NonProtection.

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

Field name has been deprecated from provider version 1.123.1 New field load_balancer_name instead.

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

The billing method of the load balancer. Valid values are PayAsYouGo and Subscription. Default to PayAsYouGo.

Link copied to clipboard
val period: Output<Int>? = null

The duration that you will buy the resource, in month. It is valid when PaymentType is Subscription. Default to 1. Valid values: 1-9, 12, 24, 36. This attribute is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not affect the resource.

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

The id of resource group which the SLB belongs.

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

The standby zone ID of the SLB instance. If not specified, the system will be randomly assigned. You can query the primary and standby zones in a region by calling the DescribeZone API.

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

Field specification has been deprecated from provider version 1.123.1 New field load_balancer_spec instead.

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

The status of slb load balancer. Valid values: active and inactice. The system default value is active.

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

A mapping of tags to assign to the resource. The tags can have a maximum of 10 tag for every load balancer instance. This filed mark as Computed since v1.217.1.

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

The VSwitch ID to launch in. Note: Required for a VPC SLB. If address_type is internet, it will be ignored.

Functions

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