Sha256: ed9a09ef8ef49ef8ef633f01f55c7aa38947a9a2a6abf60d60be8d8ddba0fdfe

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Migrate volume
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/migrateVolume.html]
        def migrate_volume(volumeid, storageid, options={})
          options.merge!(
            'command' => 'migrateVolume', 
            'volumeid' => volumeid, 
            'storageid' => storageid  
          )
          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/migrate_volume.rb