type: The SKU of the load balancer resource: "basic" or "standard". If NULL (the default), this will be determined based on the VM scaleset's configuration. Note that the load balancer SKU must be the same as that of its public IP address.
rules: A list of load balancer rules, each obtained via a call to lb_rule.
probes: A list of health checking probes, each obtained via a call to lb_probe. There must be a probe corresponding to each rule.
...: Other named arguments that will be treated as resource properties.
name: For lb_rule, a name for the load balancing rule.
port: For lb_probe, the port to probe.
interval: For lb_probe, the time interval between probes in seconds.
fail_on: For lb_probe, the probe health check will fail after this many non-responses.
protocol: For lb_probe and lb_rule, the protocol: either "Tcp" or "Ip".
frontend_port, backend_port: For lb_rule, the ports for this rule.
timeout: The timeout interval for the rule. The default is 5 minutes.
floating_ip: Whether to use floating IP addresses (direct server return). Only needed for specific scenarios, and when the frontend and backend ports don't match.
probe_name: The name of the corresponding health check probe.