Class: Ansible::Ruby::Modules::Vmware_host

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

Overview

This module can be used to add/remove an ESXi host to/from vCenter

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 to add the host.

Returns:

  • (String)

    Name of the cluster to add the host



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

attribute :cluster_name

#datacenter_nameString

Returns Name of the datacenter to add the host.

Returns:

  • (String)

    Name of the datacenter to add the host



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

attribute :datacenter_name

#esxi_hostnameString

Returns ESXi hostname to manage.

Returns:

  • (String)

    ESXi hostname to manage



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

attribute :esxi_hostname

#esxi_passwordString

Returns ESXi password.

Returns:

  • (String)

    ESXi password



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

attribute :esxi_password

#esxi_usernameString

Returns ESXi username.

Returns:

  • (String)

    ESXi username



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

attribute :esxi_username

#state:present, ...

Returns Add or remove the host.

Returns:

  • (:present, :absent, nil)

    Add or remove the host



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

attribute :state