Terraform will autogenerate a name beginning with `tf-lb`.
*`internet` - (Optional, Forces New Resource) If true, the SLB addressType will be internet, false will be intranet, Default is false. If load balancer launched in VPC, this value must be "false".
*`internet_charge_type` - (Optional, Forces New Resource) Valid
values are `paybybandwidth`, `paybytraffic`. If this value is "paybybandwidth", then argument "internet" must be "true". Default is "paybytraffic". If load balancer launched in VPC, this value must be "paybytraffic".
*`bandwidth` - (Optional) Valid
value is between 1 and 1000, If argument "internet_charge_type" is "paybytraffic", then this value will be ignore.
*`listener` - (Optional) Additional SLB listener. See [Block listener](#block-listener) below for details.
*`vswitch_id` - (Required for a VPC SLB, Forces New Resource) The VSwitch ID to launch in.
## Block listener
The listener mapping supports the following:
*`instance_port` - (Required) The port on which the backend servers are listening. Valid value is between 1 to 65535.
*`lb_port` - (Required) The port on which the load balancer is listening. Valid value is between 1 to 65535.
*`bandwidth` - (Required) The bandwidth on which the load balancer is listening. Valid values is -1 or between 1 and 1000. If -1, the bindwidth will haven’t upper limit.
## Attributes Reference
The following attributes are exported:
*`id` - The ID of the load balancer.
*`name` - The name of the load balancer.
*`internet` - The internet of the load balancer.
*`internet_charge_type` - The internet_charge_type of the load balancer.
*`bandwidth` - The bandwidth of the load balancer.
*`vswitch_id` - The VSwitch ID of the load balancer. Only available on SLB launched in a VPC.