1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[cloudstack] add create_disk_offering request

This commit is contained in:
Dmitry Dedov 2013-04-22 13:17:34 +03:00
parent 0e686b2740
commit 3a306e3131

View file

@ -0,0 +1,19 @@
module Fog
module Compute
class Cloudstack
class Real
# Creates a disk offering.
#
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.0.0/root_admin/createDiskOffering.html]
def create_disk_offering(options={})
options.merge!(
'command' => 'createDiskOffering'
)
request(options)
end
end # Real
end # Cloudstack
end # Compute
end # Fog