Class: Ansible::Ruby::Modules::Vmware_guest_disk_facts

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

Overview

This module can be used to gather facts about disks belonging to given virtual machine. All parameters and VMware object names are case sensitive.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#datacenterString

Returns The datacenter name to which virtual machine belongs to.

Returns:

  • (String)

    The datacenter name to which virtual machine belongs to.



24
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_disk_facts.rb', line 24

attribute :datacenter

#folderObject?

Returns Destination folder, absolute or relative path to find an existing guest.,This is required parameter, only if multiple VMs are found with same name.,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, folder: vm/folder2, folder: folder2.

Returns:

  • (Object, nil)

    Destination folder, absolute or relative path to find an existing guest.,This is required parameter, only if multiple VMs are found with same name.,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, folder: vm/folder2, folder: folder2



21
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_disk_facts.rb', line 21

attribute :folder

#nameString?

Returns Name of the virtual machine.,This is required parameter, if parameter C(uuid) is not supplied.

Returns:

  • (String, nil)

    Name of the virtual machine.,This is required parameter, if parameter C(uuid) is not supplied.



13
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_disk_facts.rb', line 13

attribute :name

#uuidString?

Returns UUID of the instance to gather facts if known, this is VMware’s unique identifier.,This is required parameter, if parameter C(name) is not supplied.

Returns:

  • (String, nil)

    UUID of the instance to gather facts if known, this is VMware’s unique identifier.,This is required parameter, if parameter C(name) is not supplied.



17
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_guest_disk_facts.rb', line 17

attribute :uuid