terraform/website/source/docs/providers/profitbricks/r/profitbricks_loadbalancer.h...

31 lines
771 B
Markdown
Raw Normal View History

---
layout: "profitbricks"
page_title: "ProfitBricks: profitbricks_loadbalancer"
sidebar_current: "docs-profitbricks-resource-loadbalancer"
description: |-
Creates and manages Load Balancers
---
# profitbricks\_loadbalancer
Manages a Load Balancers on ProfitBricks
## Example Usage
```
resource "profitbricks_loadbalancer" "example" {
datacenter_id = "${profitbricks_datacenter.example.id}"
nic_id = "${profitbricks_nic.example.id}"
name = "load balancer name"
dhcp = true
}
```
##Argument reference
* `datacenter_id` - (Required)[string]
* `nic_id` - (Required)[string]
* `dhcp` - (Optional) [boolean] Indicates if the load balancer will reserve an IP using DHCP.
* `ip` - (Optional) [string] IPv4 address of the load balancer.