Sha256: eae83a9e14c9fa11673fc04ed332ef5da2a7f5b8f1f777c034f3b376958bd26b
Contents?: true
Size: 960 Bytes
Versions: 76
Compression:
Stored size: 960 Bytes
Contents
module Fog module Compute class BareMetalCloud class Real # Boot a new server by configuration # # ==== Parameters # * config<~String> - The Hardware configuration string # * options<~Hash>: optional extra arguments # * imageName<~String> - Optional imageName to be installed # * name<~String> - Optional server Name # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'server'<~Hash>: # * 'id'<~String> - Id of the image # def add_server_by_configuration(config, options = {}) request( :expects => 200, :method => 'GET', :parser => Fog::ToHashDocument.new, :path => 'api/addServerByConfiguration', :query => {'configuration' => config}.merge!(options) ) end end end end end
Version data entries
76 entries across 76 versions & 11 rubygems