Class: Ansible::Ruby::Modules::Vmware_vmotion
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vmware_vmotion
- 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
-
#destination_datastore ⇒ String?
Name of the destination datastore the virtual machine’s vmdk should be moved on.
-
#destination_host ⇒ String?
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.
-
#vm_name ⇒ String?
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.
-
#vm_uuid ⇒ Object?
UUID of the virtual machine to perform a vMotion operation on.,This is a required parameter, if C(vm_name) is not set.
Methods inherited from Base
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_datastore ⇒ String?
Returns 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_host ⇒ String?
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.
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vmotion.rb', line 19 attribute :destination_host |
#vm_name ⇒ String?
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.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vmotion.rb', line 12 attribute :vm_name |
#vm_uuid ⇒ Object?
Returns 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 |