Sha256: 9de468b329e6e337a9f8e1199f059554b31279416c0e355d2fe248b41875ba9c

Contents?: true

Size: 858 Bytes

Versions: 2

Compression:

Stored size: 858 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Install VMware Tools on a running VM.
        #
        # 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-InstallVMwareTools.html
        # @since vCloud API version 1.5
        def post_install_vmware_tools(id)
          request(
            :expects => 202,
            :method  => 'POST',
            :parser  => Fog::ToHashDocument.new,
            :path    => "vApp/#{id}/action/installVMwareTools"
          )
        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_install_vmware_tools.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/post_install_vmware_tools.rb