Sha256: 3d144c32ac675cb9665f58244b2d25e29ee061b304f9e3c69c1aa4be9d09597c

Contents?: true

Size: 494 Bytes

Versions: 9

Compression:

Stored size: 494 Bytes

Contents

module Fog
  module Compute
    class XenServer
      class Real
        def destroy_server( vm_ref , extra_args = {})
          Fog::Logger.deprecation(
              'This method is deprecated. Use #destroy_record instead.'
          )
          @connection.request({:parser => Fog::Parsers::XenServer::Base.new, :method => 'VM.destroy'}, vm_ref)
        end
      end

      class Mock
        def destroy_server()
          Fog::Mock.not_implemented
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/xenserver/requests/compute/destroy_server.rb
fog-1.34.0 lib/fog/xenserver/requests/compute/destroy_server.rb
fog-1.33.0 lib/fog/xenserver/requests/compute/destroy_server.rb
fog-1.32.0 lib/fog/xenserver/requests/compute/destroy_server.rb
fog-1.31.0 lib/fog/xenserver/requests/compute/destroy_server.rb
fog-1.30.0 lib/fog/xenserver/requests/compute/destroy_server.rb
fog-1.29.0 lib/fog/xenserver/requests/compute/destroy_server.rb
fog-1.28.0 lib/fog/xenserver/requests/compute/destroy_server.rb
fog-1.27.0 lib/fog/xenserver/requests/compute/destroy_server.rb