github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/openstack/r/lb_member_v2.html.markdown (about)

     1  ---
     2  layout: "openstack"
     3  page_title: "OpenStack: openstack_lb_member_v2"
     4  sidebar_current: "docs-openstack-resource-lb-member-v2"
     5  description: |-
     6    Manages a V2 member resource within OpenStack.
     7  ---
     8  
     9  # openstack\_lb\_member\_v2
    10  
    11  Manages a V2 member resource within OpenStack.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "openstack_lb_member_v2" "member_1" {
    17    address       = "192.168.199.23"
    18    protocol_port = 8080
    19  }
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `region` - (Required) The region in which to obtain the V2 Networking client.
    27      A Networking client is needed to create an . If omitted, the
    28      `OS_REGION_NAME` environment variable is used. Changing this creates a new
    29      member.
    30  
    31  * `pool_id` - (Required) The id of the pool that this member will be
    32      assigned to.
    33  
    34  * `subnet_id` - (Required) The subnet in which to access the member
    35  
    36  * `name` - (Optional) Human-readable name for the member.
    37  
    38  * `tenant_id` - (Optional) Required for admins. The UUID of the tenant who owns
    39      the member.  Only administrative users can specify a tenant UUID
    40      other than their own. Changing this creates a new member.
    41  
    42  * `address` - (Required) The IP address of the member to receive traffic from
    43      the load balancer. Changing this creates a new member.
    44  
    45  * `protocol_port` - (Required) The port on which to listen for client traffic.
    46      Changing this creates a new member.
    47  
    48  * `weight` - (Optional)  A positive integer value that indicates the relative
    49      portion of traffic that this member should receive from the pool. For
    50      example, a member with a weight of 10 receives five times as much traffic
    51      as a member with a weight of 2.
    52  
    53  * `admin_state_up` - (Optional) The administrative state of the member.
    54      A valid value is true (UP) or false (DOWN).
    55  
    56  ## Attributes Reference
    57  
    58  The following attributes are exported:
    59  
    60  * `id` - The unique ID for the member.
    61  * `name` - See Argument Reference above.
    62  * `weight` - See Argument Reference above.
    63  * `admin_state_up` - See Argument Reference above.
    64  * `tenant_id` - See Argument Reference above.
    65  * `subnet_id` - See Argument Reference above.
    66  * `pool_id` - See Argument Reference above.
    67  * `address` - See Argument Reference above.
    68  * `protocol_port` - See Argument Reference above.