openstack.orchestration.v1.resource

openstack.orchestration.v1.resource

The Resource Class

The Resource class inherits from Resource.

class openstack.orchestration.v1.resource.Resource(_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.

A list of dictionaries containing links relevant to the resource.

logical_resource_id

ID of the logical resource, usually the literal name of the resource as it appears in the stack template.

name

Name of the resource.

physical_resource_id

ID of the physical resource (if any) that backs up the resource. For example, it contains a nova server ID if the resource is a nova server.

required_by

A list of resource names that depend on this resource. This property facilitates the deduction of resource dependencies. Type: list

resource_type

A string representation of the resource type.

status

A string representing the status the resource is currently in.

status_reason

A string that explains why the resource is in its current status.

updated_at

Timestamp of the last update made to the resource.

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.