Sha256: 94a47da317e18ae3cd06eea3d2ec0ba2ed5d297d4c1f08e3b0b2bb448fc0d576
Contents?: true
Size: 671 Bytes
Versions: 27
Compression:
Stored size: 671 Bytes
Contents
module Fog module Rackspace class LoadBalancers class Real def create_load_balancer(name, protocol, port, virtual_ips, nodes) data = { 'loadBalancer' => { 'name' => name, 'port' => port, 'protocol' => protocol, 'virtualIps' => virtual_ips, 'nodes' => nodes #Is algorithm allowed on create? } } request( :body => MultiJson.encode(data), :expects => 202, :method => 'POST', :path => 'loadbalancers.json' ) end end end end end
Version data entries
27 entries across 27 versions & 6 rubygems