The Stack
class inherits from Resource
.
openstack.orchestration.v1.stack.
Stack
(_synchronized=False, connection=None, **attrs)¶The base resource
Parameters: |
|
---|
capabilities
¶Placeholder for AWS compatible template listing capabilities required by the stack.
created_at
¶Timestamp of the stack creation.
description
¶A text description of the stack.
deleted
¶A list of resource objects that will be deleted if a stack update is performed.
is_rollback_disabled
¶Whether the stack will support a rollback operation on stack create/update failures. Type: bool
links
¶A list of dictionaries containing links relevant to the stack.
name
¶Name of the stack.
notification_topics
¶Placeholder for future extensions where stack related events can be published.
outputs
¶A list containing output keys and values from the stack, if any.
owner_id
¶The ID of the owner stack if any.
parameters
¶A dictionary containing the parameter names and values for the stack.
parent_id
¶The ID of the parent stack if any
replaced
¶A list of resource objects that will be replaced if a stack update is performed.
status
¶A string representation of the stack status, e.g. CREATE_COMPLETE
.
status_reason
¶A text explaining how the stack transits to its current status.
A list of strings used as tags on the stack
template
¶A dict containing the template use for stack creation.
template_description
¶Stack template description text. Currently contains the same text
as that of the description
property.
template_url
¶A string containing the URL where a stack template can be found.
timeout_mins
¶Stack operation timeout in minutes.
unchanged
¶A list of resource objects that will remain unchanged if a stack update is performed.
updated
¶A list of resource objects that will have their properties updated in place if a stack update is performed.
updated_at
¶Timestamp of last update on the stack.
user_project_id
¶The ID of the user project created for this stack.
create
(session, base_path=None)¶Create a remote resource based on this instance.
Parameters: |
|
---|---|
Returns: | This |
Raises: |
|
commit
(session, base_path=None)¶Commit the state of the instance to the remote resource.
Parameters: |
|
---|---|
Returns: | This |
Raises: |
|
update
([E, ]**F) → None. Update D from dict/iterable E and F.¶If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
fetch
(session, requires_id=True, base_path=None, error_message=None)¶Get a remote resource based on this instance.
Parameters: |
|
---|---|
Returns: | This |
Raises: |
|
Raises: |
|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.