Application Load Balancer
Import
Load balancer can be imported using the id, e.g.
$ pulumi import alicloud:slb/applicationLoadBalancer:ApplicationLoadBalancer example lb-abc123456
Properties
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.
The network type of the SLB instance. Valid values: "internet", "intranet". If load balancer launched in VPC, this value must be intranet
.
Whether enable the deletion protection or not. on: Enable deletion protection. off: Disable deletion protection. Default to off. Only postpaid instance support this function.
Support PayBySpec
(default) and PayByCLCU
, This parameter takes effect when the value of payment_type (instance payment mode) is PayAsYouGo (pay-as-you-go).
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
.
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"
.
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.
The reason of modification protection. It's effective when modification_protection_status
is ConsoleProtection
.
The status of modification protection. Valid values: ConsoleProtection
and NonProtection
. Default value is NonProtection
.
The billing method of the load balancer. Valid values are PayAsYouGo
and Subscription
. Default to PayAsYouGo
.
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.
The id of resource group which the SLB belongs.
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.
Field specification
has been deprecated from provider version 1.123.1 New field load_balancer_spec
instead.