Sha256: 28c043eb9e20a6d9d4b3e3ad97d3a01e801447688d339bfe1fc563454d9b0339

Contents?: true

Size: 720 Bytes

Versions: 2

Compression:

Stored size: 720 Bytes

Contents

module Fog
  module VcloudDirector
    class Compute
      class Real
        # Retrieve the results of a compliance check.
        #
        # @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/GET-VmComplianceResults.html
        def get_vm_compliance_results(id)
          request(
            :expects    => 200,
            :idempotent => true,
            :method     => 'GET',
            :parser     => Fog::ToHashDocument.new,
            :path       => "vApp/#{id}/complianceResult"
          )
        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/get_vm_compliance_results.rb
fog-vcloud-director-0.3.0 lib/fog/vcloud_director/requests/compute/get_vm_compliance_results.rb