Sha256: a97c20d303e9b8e283bc3e99d3ec86a722001d0a13506e50737992660d07ac4a
Contents?: true
Size: 743 Bytes
Versions: 28
Compression:
Stored size: 743 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Configures an Internal Load Balancer element. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/configureInternalLoadBalancerElement.html] def configure_internal_load_balancer_element(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'configureInternalLoadBalancerElement') else options.merge!('command' => 'configureInternalLoadBalancerElement', 'id' => args[0], 'enabled' => args[1]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems