Sha256: 190181f39c04f35fcaff837f74ad08194f51b812b0329e76b67b8a3ca2fcb399

Contents?: true

Size: 593 Bytes

Versions: 8

Compression:

Stored size: 593 Bytes

Contents

module Fog
  module Compute
    class Brightbox
      class Real
        # @param [String] identifier Unique reference to identify the resource
        #
        # @return [Hash] if successful Hash version of JSON object
        #
        # @see https://api.gb1.brightbox.com/1.0/#database_snapshot_lock_resource_database_snapshot
        #
        def lock_resource_database_snapshot(identifier)
          return nil if identifier.nil? || identifier == ""
          wrapped_request("put", "/1.0/database_snapshots/#{identifier}/lock_resource", [200])
        end

      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fog-brightbox-0.6.1 lib/fog/brightbox/requests/compute/lock_resource_database_snapshot.rb
fog-brightbox-0.6.0 lib/fog/brightbox/requests/compute/lock_resource_database_snapshot.rb
fog-brightbox-0.5.1 lib/fog/brightbox/requests/compute/lock_resource_database_snapshot.rb
fog-brightbox-0.5.0 lib/fog/brightbox/requests/compute/lock_resource_database_snapshot.rb
fog-brightbox-0.4.1 lib/fog/brightbox/requests/compute/lock_resource_database_snapshot.rb
fog-brightbox-0.4.0 lib/fog/brightbox/requests/compute/lock_resource_database_snapshot.rb
fog-brightbox-0.3.0 lib/fog/brightbox/requests/compute/lock_resource_database_snapshot.rb
fog-brightbox-0.2.0 lib/fog/brightbox/requests/compute/lock_resource_database_snapshot.rb