lib/fog/bare_metal_cloud/requests/compute/list_configurations.rb
module Fog
module Compute
class BareMetalCloud
class Real
# List Configurations
#
# ==== Returns
# * response<~Excon::Response>:
# * body<~Hash>:
# * available-server<~Array>:
# * 'configuration'<~String> - Hardware Configuration string
# * 'quantity'<~String>: - quantity of servers to a certain configuration
#
def list_configurations
request(
:expects => 200,
:method => 'GET',
:parser => Fog::ToHashDocument.new,
:path => 'api/listConfigurations'
)
end
end
end
end
end