• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Heat
  5. Stack Resources
  6. Show Resource Metadata

Show Resource Metadata

Function Description

This interface is used to query the stack resource metadata.

Interface Format

Method

URI

Description

GET

/v1/{tenant_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/metadata

Queries the stack resource metadata.

Request Parameter

N/A

Response Parameter

Parameter

Type

Mandatory

Description

metadata

Dict

Yes

Specifies the resource metadata.

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/stacks/HeatStack/c89c4bb3-96cb-4a55-aafa-076a7939a306/resources/my_instance/metadata

Response Example

{"metadata": {"Name": "SmokeServer"}}

Returned Code

See section Return Code Processing.