Class: Ansible::Ruby::Modules::Vmware_maintenancemode
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vmware_maintenancemode
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/vmware/vmware_maintenancemode.rb
Overview
This module can be used for placing a ESXi host into maintenance mode. Support for VSAN compliant maintenance mode when selected.
Instance Method Summary collapse
-
#esxi_hostname ⇒ String
Name of the host as defined in vCenter.
-
#evacuate ⇒ Symbol?
If set to C(True), evacuate all powered off VMs.
-
#state ⇒ :present, ...
Enter or exit maintenance mode.
-
#timeout ⇒ Integer?
Specify a timeout for the operation.
-
#vsan ⇒ :ensureObjectAccessibility, ...
Specify which VSAN compliant mode to enter.
Methods inherited from Base
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_hostname ⇒ String
Returns Name of the host as defined in vCenter.
13 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_maintenancemode.rb', line 13 attribute :esxi_hostname |
#evacuate ⇒ Symbol?
Returns If set to C(True), evacuate all powered off VMs.
21 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_maintenancemode.rb', line 21 attribute :evacuate |
#state ⇒ :present, ...
Returns Enter or exit maintenance mode.
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_maintenancemode.rb', line 29 attribute :state |
#timeout ⇒ Integer?
Returns Specify a timeout for the operation.
25 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_maintenancemode.rb', line 25 attribute :timeout |
#vsan ⇒ :ensureObjectAccessibility, ...
Returns Specify which VSAN compliant mode to enter.
17 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_maintenancemode.rb', line 17 attribute :vsan |