Class: Ansible::Ruby::Modules::Vmware_host_vmnic_facts

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

Overview

This module can be used to gather facts about vmnics available on the given ESXi host. If C(cluster_name) is provided, then vmnic facts about all hosts from given cluster will be returned. If C(esxi_hostname) is provided, then vmnic facts about given host system will be returned. Additional details about vswitch and dvswitch with respective vmnic is also provided which is added in 2.7 version.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #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.,Vmnic facts about each ESXi server will be returned for the given cluster.,If C(esxi_hostname) is not given, this parameter is required.

Returns:

  • (String, nil)

    Name of the cluster.,Vmnic facts about each ESXi server will be returned for the given cluster.,If C(esxi_hostname) is not given, this parameter is required.



15
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_host_vmnic_facts.rb', line 15

attribute :cluster_name

#esxi_hostnameString?

Returns ESXi hostname.,Vmnic facts about this ESXi server will be returned.,If C(cluster_name) is not given, this parameter is required.

Returns:

  • (String, nil)

    ESXi hostname.,Vmnic facts about this ESXi server will be returned.,If C(cluster_name) is not given, this parameter is required.



19
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_host_vmnic_facts.rb', line 19

attribute :esxi_hostname