openstack.image.v2.task

openstack.image.v2.task

The Task Class

The Task class inherits from Resource.

class openstack.image.v2.task.Task(_synchronized=False, connection=None, **attrs)

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

created_at

The date and time when the task was created.

expires_at

The date and time when the task is subject to removal.

input

A JSON object specifying the input parameters to the task.

message

Human-readable text, possibly an empty string, usually displayed in an error situation to provide more information about what has occurred.

owner_id

The ID of the owner, or project, of the task.

result

A JSON object specifying the outcome of the task.

schema

The URL for schema of the task.

status

The status of the task.

type

The type of task represented by this content.

updated_at

The date and time when the task was updated.

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.