class Fog::Storage::StormOnDemand::Real

Public Instance Methods

attach_volume_to_server(options = {}) click to toggle source
# File lib/fog/storage/storm_on_demand/requests/attach_volume_to_server.rb, line 5
def attach_volume_to_server(options = {})
  request(
    :path => "/Storage/Block/Volume/attach",
    :body => Fog::JSON.encode(:params => options)
  )
end
create_volume(options = {}) click to toggle source
# File lib/fog/storage/storm_on_demand/requests/create_volume.rb, line 5
def create_volume(options = {})
  request(
    :path => "/Storage/Block/Volume/create",
    :body => Fog::JSON.encode(:params => options)
  )
end
delete_volume(options = {}) click to toggle source
# File lib/fog/storage/storm_on_demand/requests/delete_volume.rb, line 5
def delete_volume(options = {})
  request(
    :path => "/Storage/Block/Volume/delete",
    :body => Fog::JSON.encode(:params => options)
  )
end
detach_volume_from_server(options = {}) click to toggle source
# File lib/fog/storage/storm_on_demand/requests/detach_volume_from_server.rb, line 5
def detach_volume_from_server(options = {})
  request(
    :path => "/Storage/Block/Volume/detach",
    :body => Fog::JSON.encode(:params => options)
  )
end
get_volume(options = {}) click to toggle source
# File lib/fog/storage/storm_on_demand/requests/get_volume.rb, line 5
def get_volume(options = {})
  request(
    :path => "/Storage/Block/Volume/details",
    :body => Fog::JSON.encode(:params => options)
  )
end
list_clusters(options = {}) click to toggle source
# File lib/fog/storage/storm_on_demand/requests/list_clusters.rb, line 5
def list_clusters(options = {})
  request(
    :path => "/Storage/Block/Cluster/list",
    :body => Fog::JSON.encode(:params => options)
  )
end
list_volumes(options = {}) click to toggle source
# File lib/fog/storage/storm_on_demand/requests/list_volumes.rb, line 5
def list_volumes(options = {})
  request(
    :path => "/Storage/Block/Volume/list",
    :body => Fog::JSON.encode(:params => options)
  )
end
resize_volume(options = {}) click to toggle source
# File lib/fog/storage/storm_on_demand/requests/resize_volume.rb, line 5
def resize_volume(options = {})
  request(
    :path => "/Storage/Block/Volume/resize",
    :body => Fog::JSON.encode(:params => options)
  )
end
update_volume(options = {}) click to toggle source
# File lib/fog/storage/storm_on_demand/requests/update_volume.rb, line 5
def update_volume(options = {})
  request(
    :path => "/Storage/Block/Volume/update",
    :body => Fog::JSON.encode(:params => options)
  )
end