• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Heat
  5. Templates
  6. List Resource Types

List Resource Types

Function Description

This interface is used to query stack resource types.

Interface Format

Method

URI

Description

GET

/v1/{tenant_id}/resource_types

This interface is used to query stack resource types.

Request Parameter

N/A

Response Parameter

Parameter

Type

Mandatory

Description

resource_types

List(str)

Yes

Specifies the resource type list.

Request Example

GET /v1/95d02433133a4c0a87ba6967474a2ad3/resource_types

Response Example

{"resource_types": [
   "OS::Nova::Server",
   "OS::Neutron::Net",
   "OS::Neutron::Port",
   "OS::Cinder::VolumeAttachment",
   "OS::Neutron::RouterInterface",
   "OS::Neutron::Router"
]}

Returned Code

See section Return Code Processing.