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

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

Overview

Add or remove a host 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, #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



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

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



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

attribute :state

#switch_nameString

Returns The name of the Distributed vSwitch.

Returns:

  • (String)

    The name of the Distributed vSwitch



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

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



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

attribute :vmnics