ApplicationLoadBalancer

class ApplicationLoadBalancer : KotlinCustomResource

Import

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

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

Properties

Link copied to clipboard
val address: Output<String>

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>?

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>

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>?

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>?

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 id: Output<String>
Link copied to clipboard

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

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
Link copied to clipboard

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>

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>

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>

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

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

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 pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceGroupId: Output<String>

The id of resource group which the SLB belongs.

Link copied to clipboard
val slaveZoneId: Output<String>

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>

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>

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>>

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 urn: Output<String>
Link copied to clipboard
val vswitchId: Output<String>?

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