Sha256: aae8dcbb3731f9af1823034653f0530d6a3f56443e3e1fbad5218a29ba85b157

Contents?: true

Size: 352 Bytes

Versions: 23

Compression:

Stored size: 352 Bytes

Contents

module Fog
  module Vsphere
    class Compute
      class Real
        def set_vm_customvalue(vm_id, key, value)
          vm_ref = get_vm_ref(vm_id)
          vm_ref.setCustomValue(key: key, value: value)
        end
      end
      class Mock
        def set_vm_customvalue(_vm_id, _key, _value)
          nil
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
fog-vsphere-3.7.0 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.6.8 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.6.7 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.6.6 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.6.5 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.6.4 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.6.3 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.6.2 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.5.3 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.6.0 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.5.2 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.5.1 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.5.0 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.4.0 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.3.1 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.3.0 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.2.5 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.2.2 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.2.1 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb
fog-vsphere-3.2.0 lib/fog/vsphere/requests/compute/set_vm_customvalue.rb