| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
BASE_SCHEMA = { |
| 21 |
"additionalProperties": False, |
| 22 |
"required": ["name"], |
| 23 |
"name": "resource_type_association", |
| 24 |
"properties": { |
| 25 |
"name": { |
| 26 |
"type": "string", |
| 27 |
"description": "Resource type names should be aligned with Heat " |
| 28 |
"resource types whenever possible: https://docs." |
| 29 |
"openstack.org/heat/latest/template_guide/" |
| 30 |
"openstack.html", |
| 31 |
"maxLength": 80 |
| 32 |
|
| 33 |
}, |
| 34 |
"prefix": { |
| 35 |
"type": "string", |
| 36 |
"description": "Specifies the prefix to use for the given resource" |
| 37 |
" type. Any properties in the namespace should be" |
| 38 |
" prefixed with this prefix when being applied to" |
| 39 |
" the specified resource type. Must include prefix" |
| 40 |
" separator (e.g. a colon :).", |
| 41 |
"maxLength": 80 |
| 42 |
}, |
| 43 |
"properties_target": { |
| 44 |
"type": "string", |
| 45 |
"description": "Some resource types allow more than one key / " |
| 46 |
"value pair per instance. For example, Cinder " |
| 47 |
"allows user and image metadata on volumes. Only " |
| 48 |
"the image properties metadata is evaluated by Nova" |
| 49 |
" (scheduling or drivers). This property allows a " |
| 50 |
"namespace target to remove the ambiguity.", |
| 51 |
"maxLength": 80 |
| 52 |
}, |
| 53 |
"created_at": { |
| 54 |
"type": "string", |
| 55 |
"readOnly": True, |
| 56 |
"description": "Date and time of resource type association.", |
| 57 |
"format": "date-time" |
| 58 |
}, |
| 59 |
"updated_at": { |
| 60 |
"type": "string", |
| 61 |
"readOnly": True, |
| 62 |
"description": "Date and time of the last resource type " |
| 63 |
"association modification.", |
| 64 |
"format": "date-time" |
| 65 |
} |
| 66 |
} |
| 67 |
} |