Class: Ansible::Ruby::Modules::Vmware_host_powerstate

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

Overview

This module can be used to manage power states of host systems in given vCenter infrastructure. User can set power state to ‘power-down-to-standby’, ‘power-up-from-standby’, ‘shutdown-host’ and ‘reboot-host’. State ‘reboot-host’, ‘shutdown-host’ and ‘power-down-to-standby’ are not supported by all the host systems.

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

#cluster_nameString?



22
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_host_powerstate.rb', line 22

attribute :cluster_name

#esxi_hostnameString?



18
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_host_powerstate.rb', line 18

attribute :esxi_hostname

#forceSymbol?



26
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_host_powerstate.rb', line 26

attribute :force

#state:"power-down-to-standby", ...



14
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_host_powerstate.rb', line 14

attribute :state

#timeoutInteger?



30
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_host_powerstate.rb', line 30

attribute :timeout