Sha256: f2a3d0eeffb60fe7eaad97fc79009da1c28b32e478cc437e0e18247e4a986760

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Updates the volume.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/updateVolume.html]
        def update_volume(id, path, options={})
          options.merge!(
            'command' => 'updateVolume', 
            'id' => id, 
            'path' => path  
          )
          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/update_volume.rb