Class: Ansible::Ruby::Modules::Vmware_datastore_facts

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

Overview

This module can be used to gather facts about datastores in VMWare infrastructure. All values 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

#clusterObject?

Returns Cluster to search for datastores.,If set, facts of datastores belonging this clusters will be returned.,This parameter is required, if C(datacenter) is not supplied.

Returns:

  • (Object, nil)

    Cluster to search for datastores.,If set, facts of datastores belonging this clusters will be returned.,This parameter is required, if C(datacenter) is not supplied.



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

attribute :cluster

#datacenterString?

Returns Datacenter to search for datastores.,This parameter is required, if C(cluster) is not supplied.

Returns:

  • (String, nil)

    Datacenter to search for datastores.,This parameter is required, if C(cluster) is not supplied.



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

attribute :datacenter

#nameString?

Returns Name of the datastore to match.,If set, facts of specific datastores are returned.

Returns:

  • (String, nil)

    Name of the datastore to match.,If set, facts of specific datastores are returned.



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

attribute :name