Sha256: 6bd7ea1614f561961b09dba9888abc64c1f3f60859f9f1db7dcfc660116280f8
Contents?: true
Size: 653 Bytes
Versions: 28
Compression:
Stored size: 653 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Puts storage pool into maintenance state # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/enableStorageMaintenance.html] def enable_storage_maintenance(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'enableStorageMaintenance') else options.merge!('command' => 'enableStorageMaintenance', 'id' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems