Sha256: 010af9ef71307eb22219e8c7e7b374cb239b56336e405af14f07c92d98681d55

Contents?: true

Size: 687 Bytes

Versions: 28

Compression:

Stored size: 687 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Lists storage pools available for migration of a volume.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/findStoragePoolsForMigration.html]
        def find_storage_pools_for_migration(*args)
          options = {}
          if args[0].is_a? Hash
            options = args[0]
            options.merge!('command' => 'findStoragePoolsForMigration') 
          else
            options.merge!('command' => 'findStoragePoolsForMigration', 
            'id' => args[0])
          end
          request(options)
        end
      end

    end
  end
end

Version data entries

28 entries across 26 versions & 4 rubygems

Version Path
fog-1.30.0 lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb
fog-1.29.0 lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb
fog-1.28.0 lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb
fog-1.27.0 lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb
fog-1.26.0 lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb
fog-1.25.0 lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb
nsidc-fog-1.24.1 lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb
fog-1.24.0 lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb