github.com/keshavdv/terraform@v0.7.0-rc2.0.20160711232630-d69256dcb425/website/source/docs/providers/openstack/r/lb_member_v2.html.markdown (about) 1 --- 2 layout: "openstack" 3 page_title: "OpenStack: openstack_lbaas_member_v2" 4 sidebar_current: "docs-openstack-resource-lbaas-member-v2" 5 description: |- 6 Manages a V2 member resource within OpenStack. 7 --- 8 9 # openstack\_lbaas\_member\_v2 10 11 Manages a V2 member resource within OpenStack. 12 13 ## Example Usage 14 15 ``` 16 resource "openstack_lbaas_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 * `name` - (Optional) Human-readable name for the member. 32 33 * `tenant_id` - (Optional) Required for admins. The UUID of the tenant who owns 34 the member. Only administrative users can specify a tenant UUID 35 other than their own. Changing this creates a new member. 36 37 * `address` - (Required) The IP address of the member to receive traffic from 38 the load balancer. Changing this creates a new member. 39 40 * `protocol_port` - (Required) The port on which to listen for client traffic. 41 Changing this creates a new member. 42 43 * `weight` - (Optional) A positive integer value that indicates the relative 44 portion of traffic that this member should receive from the pool. For 45 example, a member with a weight of 10 receives five times as much traffic 46 as a member with a weight of 2. 47 48 * `admin_state_up` - (Optional) The administrative state of the member. 49 A valid value is true (UP) or false (DOWN). 50 51 ## Attributes Reference 52 53 The following attributes are exported: 54 55 * `id` - The unique ID for the member. 56 * `name` - See Argument Reference above. 57 * `weight` - See Argument Reference above. 58 * `admin_state_up` - See Argument Reference above. 59 * `tenant_id` - See Argument Reference above. 60 * `subnet_id` - See Argument Reference above. 61 * `pool_id` - See Argument Reference above. 62 * `address` - See Argument Reference above. 63 * `protocol_port` - See Argument Reference above.