Class: Ansible::Ruby::Modules::Vmware_dvs_host

Inherits:
Base show all
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

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

#esxi_hostnameString

Returns The ESXi hostname.

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent)

    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_nameString

Returns The name of the Distributed vSwitch.

Returns:

  • (String)

    The name of the Distributed vSwitch.



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

attribute :switch_name

#vmnicsArray<String>, String

Returns The ESXi hosts vmnics to use with the Distributed vSwitch.

Returns:

  • (Array<String>, String)

    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