openstack.orchestration.v1.stack

The Stack Class

The Stack class inherits from Resource.

class openstack.orchestration.v1.stack.Stack(attrs=None, loaded=False)

Construct a Resource to interact with a service’s REST API.

The Resource class offers two class methods to construct resource objects, which are preferrable to entering through this initializer. See Resource.new() and Resource.existing().

Parameters:
  • attrs (dict) – The attributes to set when constructing this Resource.
  • loaded (bool) – True if this Resource exists on the server, False if it does not.
capabilities = None

Placeholder for AWS compatible template listing capabilities required by the stack.

created_at = None

Timestamp of the stack creation.

description = None

A text decription of the stack.

disable_rollback = None

Whether the stack will support a rollback operation on stack create/update failures.

A list of dictionaris containing links relevant to the stack.

notification_topics = None

Placeholder for future extensions where stack related events can be published.

outputs = None

A dictionary containing output keys and values from the stack, if any.

parameters = None

A ditionary containing the parameter names and values for the stack.

status = None

A string representation of the stack status, e.g. CREATE_COMPLETED.

status_reason = None

A text explaining how the stack transits to its current status.

template_description = None

Stack template description text. Currently contains the same text as that of the description property.

template_url = None

A URL (i.e. HTTP or HTTPS) where stack template can be retrieved.

timeout_mins = None

Stack operation timeout in minutes.

updated_at = None

Timestamp of last update on the stack.