Class: Ansible::Ruby::Modules::Vmware_dvs_host
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vmware_dvs_host
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvs_host.rb
Overview
Manage a host system from distributed virtual switch.
Instance Method Summary collapse
-
#esxi_hostname ⇒ String
The ESXi hostname.
-
#state ⇒ :present, :absent
If the host should be present or absent attached to the vSwitch.
-
#switch_name ⇒ String
The name of the Distributed vSwitch.
-
#vmnics ⇒ Array<String>, String
The ESXi hosts vmnics to use with the Distributed vSwitch.
Methods inherited from Base
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
#esxi_hostname ⇒ String
Returns The ESXi hostname.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvs_host.rb', line 12 attribute :esxi_hostname |
#state ⇒ :present, :absent
Returns If the host should be present or absent attached to the vSwitch.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvs_host.rb', line 24 attribute :state |
#switch_name ⇒ String
Returns The name of the Distributed vSwitch.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvs_host.rb', line 16 attribute :switch_name |
#vmnics ⇒ Array<String>, String
Returns The ESXi hosts vmnics to use with the Distributed vSwitch.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_dvs_host.rb', line 20 attribute :vmnics |