Class: Ansible::Ruby::Modules::Vmware_guest_snapshot_facts
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vmware_guest_snapshot_facts
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_snapshot_facts.rb
Overview
This module can be used to gather facts about virtual machine’s snapshots.
Instance Method Summary collapse
-
#datacenter ⇒ String
Name of the datacenter.
-
#folder ⇒ Object?
Destination folder, absolute or relative path to find an existing guest.,This is required only, if multiple virtual machines with same name are found on given vCenter.,The folder should include the datacenter.
-
#name ⇒ String?
Name of the VM to work with.,This is required if C(uuid) is not supplied.
-
#uuid ⇒ Object?
UUID of the instance to manage if known, this value is VMware’s unique identifier.,This is required if C(name) is not supplied.,The C(folder) is ignored, if C(uuid) is provided.
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 Name of the datacenter.
22 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_snapshot_facts.rb', line 22 attribute :datacenter |
#folder ⇒ Object?
Returns Destination folder, absolute or relative path to find an existing guest.,This is required only, if multiple virtual machines with same name are found on given vCenter.,The folder should include the datacenter. ESX’s datacenter is ha-datacenter,Examples:, folder: /ha-datacenter/vm, folder: ha-datacenter/vm, folder: /datacenter1/vm, folder: datacenter1/vm, folder: /datacenter1/vm/folder1, folder: datacenter1/vm/folder1, folder: /folder1/datacenter1/vm, folder: folder1/datacenter1/vm, folder: /folder1/datacenter1/vm/folder2.
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_snapshot_facts.rb', line 19 attribute :folder |
#name ⇒ String?
Returns Name of the VM to work with.,This is required if C(uuid) is not supplied.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_snapshot_facts.rb', line 12 attribute :name |
#uuid ⇒ Object?
Returns UUID of the instance to manage if known, this value is VMware’s unique identifier.,This is required if C(name) is not supplied.,The C(folder) is ignored, if C(uuid) is provided.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_snapshot_facts.rb', line 16 attribute :uuid |