The heatclient.v1.resources Module

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

Bases: heatclient.common.base.Resource

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

Bases: heatclient.v1.stacks.StackChildManager

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

This Page