Class: Ansible::Ruby::Modules::Os_server_actions

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

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, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#action:stop, ...

Returns Perform the given action. The lock and unlock actions always return changed as the servers API does not provide lock status.

Returns:

  • (:stop, :start, :pause, :unpause, :lock, :unlock, :suspend, :resume, nil)

    Perform the given action. The lock and unlock actions always return changed as the servers API does not provide lock status.



22
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_server_actions.rb', line 22

attribute :action

#serverString

Returns Name or ID of the instance.

Returns:

  • (String)

    Name or ID of the instance



10
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_server_actions.rb', line 10

attribute :server

#timeoutInteger?

Returns The amount of time the module should wait for the instance to perform the requested action.

Returns:

  • (Integer, nil)

    The amount of time the module should wait for the instance to perform the requested action.



18
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_server_actions.rb', line 18

attribute :timeout

#waitString?

Returns If the module should wait for the instance action to be performed.

Returns:

  • (String, nil)

    If the module should wait for the instance action to be performed.



14
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_server_actions.rb', line 14

attribute :wait