Class: Ansible::Ruby::Modules::Os_server_action
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_server_action
- 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
-
#action ⇒ :stop, ...
Perform the given action.
-
#availability_zone ⇒ Object?
Ignored.
-
#image ⇒ Object?
Image the server should be rebuilt with.
-
#server ⇒ String
Name or ID of the instance.
-
#timeout ⇒ Integer?
The amount of time the module should wait for the instance to perform the requested action.
-
#wait ⇒ :yes, ...
If the module should wait for the instance action to be performed.
Methods inherited from Base
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_zone ⇒ Object?
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_action.rb', line 31 attribute :availability_zone |
#image ⇒ Object?
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_action.rb', line 28 attribute :image |
#server ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_action.rb', line 12 attribute :server |
#timeout ⇒ Integer?
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 |