Sha256: 3753d0f4e0a806255aec2d2586c588a36d4fef00ef1b59db641ec514e9f48606

Contents?: true

Size: 866 Bytes

Versions: 7

Compression:

Stored size: 866 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real
        # @param [Hash] options
        # @option options [String] :name
        # @option options [String] :description
        # @option options [String] :engine Database engine to request
        # @option options [String] :version Database version to request
        # @option options [Array] :allow_access ...
        # @option options [String] :snapshot
        # @option options [String] :zone
        #
        # @return [Hash] if successful Hash version of JSON object
        # @return [NilClass] if no options were passed
        #
        # @see https://api.gb1.brightbox.com/1.0/#database_server_create_database_server
        #
        def create_database_server(options)
          wrapped_request("post", "/1.0/database_servers", [202], options)
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-brightbox-0.9.0/lib/fog/brightbox/requests/compute/create_database_server.rb
fog-brightbox-0.9.0 lib/fog/brightbox/requests/compute/create_database_server.rb
fog-brightbox-0.8.0 lib/fog/brightbox/requests/compute/create_database_server.rb
fog-brightbox-0.7.2 lib/fog/brightbox/requests/compute/create_database_server.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-brightbox-0.7.1/lib/fog/brightbox/requests/compute/create_database_server.rb
fog-brightbox-0.7.1 lib/fog/brightbox/requests/compute/create_database_server.rb
fog-brightbox-0.7.0 lib/fog/brightbox/requests/compute/create_database_server.rb