LoadBalancer
A resource of the Azure provider, version 0.3.0, in its Load Balancing group. Import it with:
import LoadBalancer from "azure/loadbalancing"Example
resource LoadBalancer example {
name = "example-value"
resourceGroup = "example-value"
location = "example-value"
sku = "Standard"
tier = "Regional"
frontendIpConfigurations = "..."
backendAddressPools = "..."
healthProbes = "..."
loadBalancingRules = "..."
inboundNatRules = "..."
outboundRules = "..."
tags = "..."
}Properties
Set by your code in the resource block. A required one must be set; any other you leave out takes the value under Default, if it has one.
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
name | string | — | No | The name of the load balancer |
resourceGroup | string | — | No | The resource group name |
location | string | — | No | The Azure region |
sku | string | "Standard" | No | The SKU of the load balancer Allowed: "Basic", "Standard" |
tier | string | "Regional" | No | The SKU tier Allowed: "Regional", "Global" |
frontendIpConfigurations | any[] | — | No | Frontend IP configurations. At least one is required |
backendAddressPools | any[] | — | No | Backend address pools |
healthProbes | any[] | — | No | Health probes for backend health monitoring |
loadBalancingRules | any[] | — | No | Load balancing rules |
inboundNatRules | any[] | — | No | Inbound NAT rules for port forwarding |
outboundRules | any[] | — | No | Outbound rules (Standard SKU only) |
tags | object | — | No | Tags to apply to the load balancer |
Set by Azure after the resource is created: your code can read them but not set them. An importable one identifies an existing resource.
| Name | Type | Importable | Description |
|---|---|---|---|
id | string | Yes | The resource ID of the load balancer |
provisioningState | string | No | Provisioning state of the load balancer |