ResourcesΒΆ

class heatclient.v1.resources.Resource(manager, info, loaded=False)

Bases: heatclient.openstack.common.apiclient.base.Resource

data(**kwargs)
delete()
update(**fields)
class heatclient.v1.resources.ResourceManager(client)

Bases: heatclient.v1.stacks.StackChildManager

generate_template(resource_name)
get(stack_id, resource_name)

Get the details for a specific resource.

Parameters:
  • stack_id – ID of stack containing the resource
  • resource_name – ID of resource to get the details for
list(stack_id)

Get a list of resources. :rtype: list of Resource

metadata(stack_id, resource_name)

Get the metadata for a specific resource.

Parameters:
  • stack_id – ID of stack containing the resource
  • resource_name – ID of resource to get metadata for
resource_class

alias of Resource

signal(stack_id, resource_name, data=None)

Signal a specific resource.

Parameters:
  • stack_id – ID of stack containing the resource
  • resource_name – ID of resource to send signal to

Previous topic

Stacks

Next topic

Events

This Page