Class: Ansible::Ruby::Modules::Os_server_action

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/openstack/os_server_action.rb,
lib/ansible/ruby/modules/generated/cloud/openstack/os_server_actions.rb

Overview

Perform server actions on an existing compute instance from OpenStack. This module does not return any data other than changed true/false. When I(action) is ‘rebuild’, then I(image) parameter is required.

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

#action:stop, ...



24
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_action.rb', line 24

attribute :action

#availability_zoneObject?



31
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_action.rb', line 31

attribute :availability_zone

#imageObject?



28
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_action.rb', line 28

attribute :image

#serverString



12
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_action.rb', line 12

attribute :server

#timeoutInteger?



20
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_action.rb', line 20

attribute :timeout

#wait:yes, ...



16
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_action.rb', line 16

attribute :wait