Sha256: b25fdb4d066e8e8c80a6cbfb2d782630e8c641fe8bb395063f77ce6109dd7641
Contents?: true
Size: 792 Bytes
Versions: 4
Compression:
Stored size: 792 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Creates a network offering. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/createNetworkOffering.html] def create_network_offering(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'createNetworkOffering') else options.merge!('command' => 'createNetworkOffering', 'traffictype' => args[0], 'guestiptype' => args[1], 'name' => args[2], 'supportedservices' => args[3], 'displaytext' => args[4]) end request(options) end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems