Class: Ansible::Ruby::Modules::Vmware_vmotion

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vmotion.rb

Overview

Using VMware vCenter, move a virtual machine using vMotion to a different host, and/or its vmdks to another datastore using storage vMotion.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#destination_datastoreString?

Returns Name of the destination datastore the virtual machine’s vmdk should be moved on.

Returns:

  • (String, nil)

    Name of the destination datastore the virtual machine’s vmdk should be moved on.



23
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vmotion.rb', line 23

attribute :destination_datastore

#destination_hostString?

Returns Name of the destination host the virtual machine should be running on.,Version 2.6 onwards, this parameter is not a required parameter, unlike the previous versions.

Returns:

  • (String, nil)

    Name of the destination host the virtual machine should be running on.,Version 2.6 onwards, this parameter is not a required parameter, unlike the previous versions.



19
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vmotion.rb', line 19

attribute :destination_host

#vm_nameString?

Returns Name of the VM to perform a vMotion on.,This is required parameter, if C(vm_uuid) is not set.,Version 2.6 onwards, this parameter is not a required parameter, unlike the previous versions.

Returns:

  • (String, nil)

    Name of the VM to perform a vMotion on.,This is required parameter, if C(vm_uuid) is not set.,Version 2.6 onwards, this parameter is not a required parameter, unlike the previous versions.



12
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vmotion.rb', line 12

attribute :vm_name

#vm_uuidObject?

Returns UUID of the virtual machine to perform a vMotion operation on.,This is a required parameter, if C(vm_name) is not set.

Returns:

  • (Object, nil)

    UUID of the virtual machine to perform a vMotion operation on.,This is a required parameter, if C(vm_name) is not set.



16
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vmotion.rb', line 16

attribute :vm_uuid