github.com/minamijoyo/terraform@v0.7.8-0.20161029001309-18b3736ba44b/website/source/docs/providers/clc/r/load_balancer.html.markdown (about)

     1  ---
     2  layout: "clc"
     3  page_title: "clc: clc_load_balancer"
     4  sidebar_current: "docs-clc-resource-load-balancer"
     5  description: |-
     6    Manages a CLC load balacner.
     7  ---
     8  
     9  # clc\_load\_balancer
    10  
    11  Manages a CLC load balancer. Manage connected backends with [clc_load_balancer_pool](load_balancer_pool.html)
    12  
    13  See also [Complete API documentation](https://www.ctl.io/api-docs/v2/#shared-load-balancer).
    14  
    15  ## Example Usage
    16  
    17  
    18  ```
    19  # Provision a load balancer
    20  resource "clc_load_balancer" "api" {
    21    data_center = "${clc_group.frontends.location_id}"
    22    name = "api"
    23    description = "api load balancer"
    24    status = "enabled"
    25  }
    26  
    27  output "api_ip" {
    28    value = "clc_load_balancer.api.ip_address"
    29  }
    30  ```
    31  
    32  
    33  ## Argument Reference
    34  
    35  The following arguments are supported:
    36  
    37  * `name` - (Required, string) The name of the load balancer.
    38  * `data_center` - (Required, string) The datacenter location of both parent group and this group.
    39  * `status` - (Required, string) Either "enabled" or "disabled"
    40  * `description` - (Optional, string) Description for server group (visible in control portal only)
    41  
    42  
    43  
    44  
    45