azure::load-balancer¶
Creates a load balancer.
Example¶
azure::load-balancer load-balancer-example
name: "load-balancer-example"
resource-group: $(azure::resource-group resource-group-lb-example)
public-frontend
name: "public-frontend"
public-ip-address: $(azure::public-ip-address public-ip-address)
end
load-balancer-rule
name: "test-rule"
backend-port: 80
floating-ip: false
frontend-name: "public-frontend"
frontend-port: 443
idle-timeout-in-minutes: 8
protocol: "TCP"
backend-name: "backend-name"
health-check-probe-name: "healthcheck-tcp"
end
health-check-probe-tcp
name: "healthcheck-tcp"
interval: 5
port: 80
probes: 2
protocol: "TCP"
end
tags: {
Name: "load-balancer-example"
}
end
Attributes¶
Attribute | Description |
---|---|
health-check-probe-http set subresource | The Health Check Http Probes associated with the Load Balancer.
|
health-check-probe-tcp set subresource | The Health Check Tcp Probes associated with the Load Balancer.
|
name | The name of the Load Balancer. (Required) |
load-balancer-rule set subresource | The Load Balancer rules associated with the Load Balancer. (Required)
|
private-frontend set subresource | The Private Frontend associated with the Load Balancer.
|
public-frontend set subresource | The Public Frontend associated with the Load Balancer.
|
resource-group | The Resource Group under which the Load Balancer would reside. (Required) |
sku-type | Specifies the sku type for the Load Balancer. Defaults to BASIC . Valid values are BASIC or STANDARD . |
tags map | The tags associated with the Load Balancer. |
inbound-nat-pool set subresource | The Inbound Nat Pools Associated with the Load Balancer.
|
inbound-nat-rule set subresource | The Inbound Nat Rules associated with the Load Balancer. Nat rules may not be associated with a Load Balancer if a Nat Pool is associated.
|
Outputs¶
Attribute | Description |
---|---|
id | The ID of the Load Balancer. |