Sha256: b2cc9e29ac03b0b31dc1314f4ddb97f6b827c40f5881852ef96d2dcf7cc76bc7
Contents?: true
Size: 676 Bytes
Versions: 1
Compression:
Stored size: 676 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Creates a service offering. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createServiceOffering.html] def create_service_offering(displaytext, cpunumber, name, memory, cpuspeed, options={}) options.merge!( 'command' => 'createServiceOffering', 'displaytext' => displaytext, 'cpunumber' => cpunumber, 'name' => name, 'memory' => memory, 'cpuspeed' => cpuspeed ) request(options) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-1.23.0 | lib/fog/cloudstack/requests/compute/create_service_offering.rb |