This API is used to query the type of a resource.
N/A
Parameter |
In |
Type |
Description |
|---|---|---|---|
attributes |
body |
Dict |
Specifies the resource feature dictionary. |
properties |
body |
Dict |
Specifies the resource attributes, including the description and type. |
resource_type |
body |
String |
Specifies the resource type. |
support_status |
body |
Dict |
Specifies the current status. |
GET /v1/95d02433133a4c0a87ba6967474a2ad3/resource_types/OS%3A%3AHeat%3A%3ARandomString
{
"attributes": {
"an_attribute": {
"description": "A runtime value of the resource."
}
},
"properties": {
"a_property": {
"constraints": [
{
"description": "Must be between 1 and 255 characters",
"length": {
"max": 255,
"min": 1
}
}
],
"description": "A resource description.",
"required": true,
"type": "string",
"update_allowed": false
}
},
"resource_type": "OS::Heat::AResourceName",
"support_status": {
"message": "A status message",
"status": "SUPPORTED",
"version": "2014.1"
}
}
Return Code |
Type |
Description |
|---|---|---|
200 |
OK |
Request was successful. |
Return Code |
Type |
Description |
|---|---|---|
400 |
Bad Request |
The server failed to process the request. |
401 |
Unauthorized |
Authorization failed. |
404 |
Not found |
The requested resources are not found. |