Class: Ansible::Ruby::Modules::Vmware_vswitch_facts

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

Overview

This module can be used to gather facts about an ESXi host’s vswitch configurations when ESXi hostname or Cluster name is given.

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

#cluster_nameString?

Returns Name of the cluster.,Facts about vswitch belonging to every ESXi host systems under this cluster will be returned.,If C(esxi_hostname) is not given, this parameter is required.

Returns:

  • (String, nil)

    Name of the cluster.,Facts about vswitch belonging to every ESXi host systems under this cluster will be returned.,If C(esxi_hostname) is not given, this parameter is required.



12
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vswitch_facts.rb', line 12

attribute :cluster_name

#esxi_hostnameString?

Returns ESXi hostname to gather facts from.,If C(cluster_name) is not given, this parameter is required.

Returns:

  • (String, nil)

    ESXi hostname to gather facts from.,If C(cluster_name) is not given, this parameter is required.



16
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vswitch_facts.rb', line 16

attribute :esxi_hostname