ResourcesΒΆ

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

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

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

Bases: heatclient.v1.stacks.StackChildManager

ResourceManager.generate_template(resource_name)
ResourceManager.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
ResourceManager.list(stack_id)

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

ResourceManager.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
ResourceManager.resource_class

alias of Resource

ResourceManager.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