The Resource Class

The Resource class inherits from Resource.

class openstack.orchestration.v1.resource.Resource(_synchronized=False, **attrs)

The base resource

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

A list of dictionaries containing links relevant to the resource.

logical_resource_id = None

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

name = None

Name of the resource.

physical_resource_id = None

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 = None

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

resource_type = None

A string representation of the resource type.

status = None

A string representing the status the resource is currently in.

status_reason = None

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

updated_at = None

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.