How to get the resource data that in the db table resource_data by rest api?

asked 2015-03-30 02:12:13 -0600

bird6161 gravatar image


I can use the function get_attr to get the attribute's value in the HOT.

How can I get these data which are in the db table [resource_data] when I use the rest-api?

the api "/v1/​{tenant_id}​/stacks/​{stack_name}​/​{stack_id}​/resources/​{resource_name}​" did not contains the attributes' value in the table [resource_data]

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2015-03-30 10:24:56 -0600

Qiming gravatar image

No, you cannot do that in general. The attribute are sometimes generate on the fly by Heat engine, not stored in db.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-03-30 02:12:13 -0600

Seen: 55 times

Last updated: Mar 30 '15