The novaclient.v2.instance_action Module

The novaclient.v2.instance_action Module

class novaclient.v2.instance_action.InstanceAction(manager, info, loaded=False, resp=None)

Bases: novaclient.base.Resource

Populate and bind to a manager.

Parameters:
  • manager – BaseManager object
  • info – dictionary representing resource attributes
  • loaded – prevent lazy-loading if set to True
  • resp – Response or list of Response objects
class novaclient.v2.instance_action.InstanceActionManager(api)

Bases: novaclient.base.ManagerWithFind

get(server, request_id)

Get details of an action performed on an instance.

Parameters:request_id – The request_id of the action to get.
list(obj, *args, **kwargs)

Get a list of actions performed on a server.

Parameters:
  • server – The Server (or its ID)
  • marker – Begin returning actions that appear later in the action list than that represented by this action request id (optional).
  • limit – Maximum number of actions to return. (optional).
  • changes_since – List only instance actions changed after a certain point of time. The provided time should be an ISO 8061 formatted time. ex 2016-03-04T06:27:59Z . (optional).
resource_class

alias of InstanceAction

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.