Class: Ansible::Ruby::Modules::Vmware_host_acceptance

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

Overview

This module can be used to manage acceptance level of an ESXi host.

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

#acceptance_level:community, ...

Returns Name of acceptance level.,If set to C(partner), then accept only partner and VMware signed and certified VIBs.,If set to C(vmware_certified), then accept only VIBs that are signed and certified by VMware.,If set to C(vmware_accepted), then accept VIBs that have been accepted by VMware.,If set to C(community), then accept all VIBs, even those that are not signed.

Returns:

  • (:community, :partner, :vmware_accepted, :vmware_certified, nil)

    Name of acceptance level.,If set to C(partner), then accept only partner and VMware signed and certified VIBs.,If set to C(vmware_certified), then accept only VIBs that are signed and certified by VMware.,If set to C(vmware_accepted), then accept VIBs that have been accepted by VMware.,If set to C(community), then accept all VIBs, even those that are not signed.



24
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_host_acceptance.rb', line 24

attribute :acceptance_level

#cluster_nameString?

Returns Name of the cluster.,Acceptance level of all ESXi host system in the given cluster will be managed.,If C(esxi_hostname) is not given, this parameter is required.

Returns:

  • (String, nil)

    Name of the cluster.,Acceptance level of all ESXi host system in the given cluster will be managed.,If C(esxi_hostname) is not given, this parameter is required.



12
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_host_acceptance.rb', line 12

attribute :cluster_name

#esxi_hostnameString?

Returns ESXi hostname.,Acceptance level of this ESXi host system will be managed.,If C(cluster_name) is not given, this parameter is required.

Returns:

  • (String, nil)

    ESXi hostname.,Acceptance level of this ESXi host system will be managed.,If C(cluster_name) is not given, this parameter is required.



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

attribute :esxi_hostname

#state:list, ...

Returns Set or list acceptance level of the given ESXi host.,If set to C(list), then will return current acceptance level of given host system/s.,If set to C(present), then will set given acceptance level.

Returns:

  • (:list, :present, nil)

    Set or list acceptance level of the given ESXi host.,If set to C(list), then will return current acceptance level of given host system/s.,If set to C(present), then will set given acceptance level.



20
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_host_acceptance.rb', line 20

attribute :state