Class: Ansible::Ruby::Modules::Vmware_guest_move
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vmware_guest_move
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_move.rb
Overview
This module can be used to move virtual machines between folders.
Instance Method Summary collapse
-
#datacenter ⇒ String
Destination datacenter for the move operation.
-
#dest_folder ⇒ String
Absolute path to move an existing guest,The dest_folder should include the datacenter.
-
#name ⇒ String?
Name of the existing virtual machine to move.,This is required if C(UUID) is not supplied.
-
#name_match ⇒ :first, ...
If multiple virtual machines matching the name, use the first or last found.
-
#uuid ⇒ String?
UUID of the virtual machine to manage if known, this is VMware’s unique identifier.,This is required if C(name) is not supplied.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#datacenter ⇒ String
Returns Destination datacenter for the move operation.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_move.rb', line 28 attribute :datacenter |
#dest_folder ⇒ String
Returns Absolute path to move an existing guest,The dest_folder should include the datacenter. ESX’s datacenter is ha-datacenter.,This parameter is case sensitive.,Examples:, dest_folder: /ha-datacenter/vm, dest_folder: ha-datacenter/vm, dest_folder: /datacenter1/vm, dest_folder: datacenter1/vm, dest_folder: /datacenter1/vm/folder1, dest_folder: datacenter1/vm/folder1, dest_folder: /folder1/datacenter1/vm, dest_folder: folder1/datacenter1/vm, dest_folder: /folder1/datacenter1/vm/folder2.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_move.rb', line 24 attribute :dest_folder |
#name ⇒ String?
Returns Name of the existing virtual machine to move.,This is required if C(UUID) is not supplied.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_move.rb', line 12 attribute :name |
#name_match ⇒ :first, ...
Returns If multiple virtual machines matching the name, use the first or last found.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_move.rb', line 20 attribute :name_match |
#uuid ⇒ String?
Returns UUID of the virtual machine to manage if known, this is VMware’s unique identifier.,This is required if C(name) is not supplied.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_move.rb', line 16 attribute :uuid |