Class: Ansible::Ruby::Modules::Vmware_host_vmnic_facts
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vmware_host_vmnic_facts
- 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
-
#cluster_name ⇒ String?
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.
-
#esxi_hostname ⇒ String?
ESXi hostname.,Vmnic facts about this ESXi server will be returned.,If C(cluster_name) is not given, this parameter is required.
Methods inherited from Base
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_name ⇒ String?
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.
15 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_host_vmnic_facts.rb', line 15 attribute :cluster_name |
#esxi_hostname ⇒ String?
Returns 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 |