Sha256: 6847dbc30a0a5e47c7967eac3ec08c2b0fd3e631d7fe6aaed8d7ba78faf4f999

Contents?: true

Size: 876 Bytes

Versions: 2

Compression:

Stored size: 876 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Hide hardware-assisted CPU virtualization from guest OS.
        #
        # This operation is asynchronous and returns a task that you can
        # monitor to track the progress of the request.
        #
        # @param [String] id Object identifier of the VM.
        # @return [Excon::Response]
        #   * body<~Hash>:
        #
        # @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/POST-DisableNestedHv.html
        # @since vCloud API version 5.1
        def post_disable_nested_hv(id)
          request(
            :expects => 202,
            :method  => 'POST',
            :parser  => Fog::ToHashDocument.new,
            :path    => "vApp/#{id}/action/disableNestedHypervisor"
          )
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-vcloud-director-0.3.1 lib/fog/vcloud_director/requests/compute/post_disable_nested_hv.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/post_disable_nested_hv.rb