Sha256: 34dc2b86c111546a41776af9557578927d9cb06663a63539d8074a170a31533c

Contents?: true

Size: 987 Bytes

Versions: 88

Compression:

Stored size: 987 Bytes

Contents

module Fog
  module Compute
    class Vsphere
      class Real
        def vm_reconfig_memory(options = {})
          raise ArgumentError, "memory is a required parameter" unless options.has_key? 'memory'
          raise ArgumentError, "instance_uuid is a required parameter" unless options.has_key? 'instance_uuid'
          hardware_spec={'memoryMB' => options['memory']}
          vm_reconfig_hardware('instance_uuid' => options['instance_uuid'], 'hardware_spec' => hardware_spec )
        end
      end

      class Mock
        def vm_reconfig_memory(options = {})
          raise ArgumentError, "memory is a required parameter" unless options.has_key? 'memory'
          raise ArgumentError, "instance_uuid is a required parameter" unless options.has_key? 'instance_uuid'
          hardware_spec={'memoryMB' => options['memory']}
          vm_reconfig_hardware('instance_uuid' => options['instance_uuid'], 'hardware_spec' => hardware_spec )
        end
      end
    end
  end
end

Version data entries

88 entries across 88 versions & 16 rubygems

Version Path
fog-1.10.1 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-parser-fix-1.6.1 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-test-again-1.6.0 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-test-me-1.10.0 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-parser-fix-1.6.0 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-1.10.0 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-1.9.0 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-sgonyea-1.8.1 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-1.8.0 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-1.7.0 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-1.6.0 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-1.5.0 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
rackspace-fog-1.4.2 lib/rackspace-fog/vsphere/requests/compute/vm_reconfig_memory.rb
fog-1.4.0 lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/vsphere/requests/compute/vm_reconfig_memory.rb