Method: Fog::OpenStack::Network::LbMember#create

Defined in:
lib/fog/openstack/network/models/lb_member.rb

#createObject



17
18
19
20
21
22
23
24
25
# File 'lib/fog/openstack/network/models/lb_member.rb', line 17

def create
  requires :pool_id, :address, :protocol_port, :weight
  merge_attributes(service.create_lb_member(pool_id,
                                            address,
                                            protocol_port,
                                            weight,
                                            attributes).body['member'])
  self
end