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