heatclient.v1.resources.Resource(manager, info, loaded=False)Bases: heatclient.common.base.Resource
data(**kwargs)delete()stack_nameupdate(**fields)heatclient.v1.resources.ResourceManager(client)Bases: heatclient.v1.stacks.StackChildManager
generate_template(resource_name)Deprecated in favor of generate_template in ResourceTypeManager.
get(stack_id, resource_name, with_attr=None)Get the details for a specific resource.
stack_id – ID or name of stack containing the resource
resource_name – ID of resource to get the details for
with_attr – Attributes to show
list(stack_id, **kwargs)Get a list of resources.
list of Resource
mark_unhealthy(stack_id, resource_name, mark_unhealthy, resource_status_reason)Mark a resource as healthy or unhealthy.
stack_id – ID or name of stack containing the resource
resource_name – ID of resource
mark_unhealthy – Mark resource unhealthy if set to True
resource_status_reason – Reason for resource status change.
metadata(stack_id, resource_name)Get the metadata for a specific resource.
stack_id – ID or name of stack containing the resource
resource_name – ID of resource to get metadata for
resource_classalias of Resource
signal(stack_id, resource_name, data=None)Signal a specific resource.
stack_id – ID or name of stack containing the resource
resource_name – ID of resource to send signal to
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.