Files
openstack-api-simulator/contracts/openstack/request_bodies/vitrage.json
T

3223 lines
85 KiB
JSON

{
"by_path": {
"PATCH /v1/alarm/{id}": {
"description": "",
"properties": {
"alarm": {
"description": "",
"properties": {
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "Enabled",
"type": "boolean"
},
"insufficient_data_actions": {
"description": "",
"items": {
"description": "",
"format": "uri",
"type": "string"
},
"type": "array"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"ok_actions": {
"description": "",
"items": {
"description": "",
"format": "uri",
"type": "string"
},
"type": "array"
},
"repeat_actions": {
"default": true,
"description": "Repeat actions",
"type": "boolean"
},
"severity_actions": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"threshold_rule": {
"description": "",
"properties": {
"comparison_operator": {
"description": "",
"enum": [
"gt",
"lt",
"ge",
"le",
"eq",
"ne"
],
"example": "gt",
"type": "string"
},
"evaluation_periods": {
"description": "",
"example": 1,
"type": "integer"
},
"meter_name": {
"description": "",
"example": "cpu_util",
"type": "string"
},
"period": {
"description": "",
"example": 60,
"type": "integer"
},
"query": {
"description": "",
"items": {
"description": "",
"properties": {
"field": {
"description": "",
"type": "string"
},
"op": {
"description": "",
"type": "string"
},
"value": {
"description": "",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"statistic": {
"description": "",
"enum": [
"avg",
"max",
"min",
"sum",
"count"
],
"example": "avg",
"type": "string"
},
"threshold": {
"description": "",
"example": 80,
"type": "integer"
}
},
"type": "object"
},
"type": {
"description": "Alarm type",
"enum": [
"threshold",
"event",
"gnocchi_resources_threshold"
],
"example": "threshold",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"alarm"
],
"type": "object"
},
"PATCH /v1/event/{id}": {
"description": "",
"properties": {
"event": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "event",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"event"
],
"type": "object"
},
"PATCH /v1/resources/{id}": {
"description": "",
"properties": {
"resource": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "resource",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"resource"
],
"type": "object"
},
"PATCH /v1/template/{id}": {
"description": "",
"properties": {
"template": {
"description": "",
"properties": {
"disable_rollback": {
"default": true,
"description": "Disable rollback",
"type": "boolean"
},
"environment": {
"description": "",
"properties": {},
"type": "object"
},
"files": {
"description": "",
"properties": {},
"type": "object"
},
"parameters": {
"description": "Stack parameters",
"properties": {},
"type": "object"
},
"stack_name": {
"description": "Stack name",
"example": "example",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"template": {
"description": "",
"properties": {
"description": {
"description": "",
"type": "string"
},
"heat_template_version": {
"description": "",
"example": "2015-04-30",
"type": "string"
},
"parameters": {
"description": "",
"properties": {},
"type": "object"
},
"resources": {
"description": "",
"properties": {},
"type": "object"
}
},
"required": [
"heat_template_version"
],
"type": "object"
},
"template_url": {
"description": "Template URL",
"format": "uri",
"type": "string"
},
"timeout_mins": {
"description": "Timeout minutes",
"example": 60,
"type": "integer"
}
},
"type": "object"
}
},
"required": [
"template"
],
"type": "object"
},
"PATCH /v1/topology/{id}": {
"description": "",
"properties": {
"topology": {
"description": "",
"properties": {
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"graph": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"topology"
],
"type": "object"
},
"POST /v1/alarm": {
"description": "",
"properties": {
"alarm": {
"description": "",
"properties": {
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "Enabled",
"type": "boolean"
},
"insufficient_data_actions": {
"description": "",
"items": {
"description": "",
"format": "uri",
"type": "string"
},
"type": "array"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"ok_actions": {
"description": "",
"items": {
"description": "",
"format": "uri",
"type": "string"
},
"type": "array"
},
"repeat_actions": {
"default": true,
"description": "Repeat actions",
"type": "boolean"
},
"severity_actions": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"threshold_rule": {
"description": "",
"properties": {
"comparison_operator": {
"description": "",
"enum": [
"gt",
"lt",
"ge",
"le",
"eq",
"ne"
],
"example": "gt",
"type": "string"
},
"evaluation_periods": {
"description": "",
"example": 1,
"type": "integer"
},
"meter_name": {
"description": "",
"example": "cpu_util",
"type": "string"
},
"period": {
"description": "",
"example": 60,
"type": "integer"
},
"query": {
"description": "",
"items": {
"description": "",
"properties": {
"field": {
"description": "",
"type": "string"
},
"op": {
"description": "",
"type": "string"
},
"value": {
"description": "",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"statistic": {
"description": "",
"enum": [
"avg",
"max",
"min",
"sum",
"count"
],
"example": "avg",
"type": "string"
},
"threshold": {
"description": "",
"example": 80,
"type": "integer"
}
},
"type": "object"
},
"type": {
"description": "Alarm type",
"enum": [
"threshold",
"event",
"gnocchi_resources_threshold"
],
"example": "threshold",
"type": "string"
}
},
"required": [
"name",
"type"
],
"type": "object"
}
},
"required": [
"alarm"
],
"type": "object"
},
"POST /v1/event": {
"description": "",
"properties": {
"event": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "event",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"event"
],
"type": "object"
},
"POST /v1/resources": {
"description": "",
"properties": {
"resource": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "resource",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"resource"
],
"type": "object"
},
"POST /v1/template": {
"description": "",
"properties": {
"template": {
"description": "",
"properties": {
"disable_rollback": {
"default": true,
"description": "Disable rollback",
"type": "boolean"
},
"environment": {
"description": "",
"properties": {},
"type": "object"
},
"files": {
"description": "",
"properties": {},
"type": "object"
},
"parameters": {
"description": "Stack parameters",
"properties": {},
"type": "object"
},
"stack_name": {
"description": "Stack name",
"example": "example",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"template": {
"description": "",
"properties": {
"description": {
"description": "",
"type": "string"
},
"heat_template_version": {
"description": "",
"example": "2015-04-30",
"type": "string"
},
"parameters": {
"description": "",
"properties": {},
"type": "object"
},
"resources": {
"description": "",
"properties": {},
"type": "object"
}
},
"required": [
"heat_template_version"
],
"type": "object"
},
"template_url": {
"description": "Template URL",
"format": "uri",
"type": "string"
},
"timeout_mins": {
"description": "Timeout minutes",
"example": 60,
"type": "integer"
}
},
"required": [
"stack_name",
"template"
],
"type": "object"
}
},
"required": [
"template"
],
"type": "object"
},
"POST /v1/topology": {
"description": "",
"properties": {
"topology": {
"description": "",
"properties": {
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"graph": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"topology"
],
"type": "object"
},
"PUT /v1/alarm/{id}": {
"description": "",
"properties": {
"alarm": {
"description": "",
"properties": {
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "Enabled",
"type": "boolean"
},
"insufficient_data_actions": {
"description": "",
"items": {
"description": "",
"format": "uri",
"type": "string"
},
"type": "array"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"ok_actions": {
"description": "",
"items": {
"description": "",
"format": "uri",
"type": "string"
},
"type": "array"
},
"repeat_actions": {
"default": true,
"description": "Repeat actions",
"type": "boolean"
},
"severity_actions": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"threshold_rule": {
"description": "",
"properties": {
"comparison_operator": {
"description": "",
"enum": [
"gt",
"lt",
"ge",
"le",
"eq",
"ne"
],
"example": "gt",
"type": "string"
},
"evaluation_periods": {
"description": "",
"example": 1,
"type": "integer"
},
"meter_name": {
"description": "",
"example": "cpu_util",
"type": "string"
},
"period": {
"description": "",
"example": 60,
"type": "integer"
},
"query": {
"description": "",
"items": {
"description": "",
"properties": {
"field": {
"description": "",
"type": "string"
},
"op": {
"description": "",
"type": "string"
},
"value": {
"description": "",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"statistic": {
"description": "",
"enum": [
"avg",
"max",
"min",
"sum",
"count"
],
"example": "avg",
"type": "string"
},
"threshold": {
"description": "",
"example": 80,
"type": "integer"
}
},
"type": "object"
},
"type": {
"description": "Alarm type",
"enum": [
"threshold",
"event",
"gnocchi_resources_threshold"
],
"example": "threshold",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"alarm"
],
"type": "object"
},
"PUT /v1/event/{id}": {
"description": "",
"properties": {
"event": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "event",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"event"
],
"type": "object"
},
"PUT /v1/resources/{id}": {
"description": "",
"properties": {
"resource": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "resource",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"resource"
],
"type": "object"
},
"PUT /v1/template/{id}": {
"description": "",
"properties": {
"template": {
"description": "",
"properties": {
"disable_rollback": {
"default": true,
"description": "Disable rollback",
"type": "boolean"
},
"environment": {
"description": "",
"properties": {},
"type": "object"
},
"files": {
"description": "",
"properties": {},
"type": "object"
},
"parameters": {
"description": "Stack parameters",
"properties": {},
"type": "object"
},
"stack_name": {
"description": "Stack name",
"example": "example",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"template": {
"description": "",
"properties": {
"description": {
"description": "",
"type": "string"
},
"heat_template_version": {
"description": "",
"example": "2015-04-30",
"type": "string"
},
"parameters": {
"description": "",
"properties": {},
"type": "object"
},
"resources": {
"description": "",
"properties": {},
"type": "object"
}
},
"required": [
"heat_template_version"
],
"type": "object"
},
"template_url": {
"description": "Template URL",
"format": "uri",
"type": "string"
},
"timeout_mins": {
"description": "Timeout minutes",
"example": 60,
"type": "integer"
}
},
"type": "object"
}
},
"required": [
"template"
],
"type": "object"
},
"PUT /v1/topology/{id}": {
"description": "",
"properties": {
"topology": {
"description": "",
"properties": {
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"graph": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"topology"
],
"type": "object"
}
},
"operations": {
"alarm_create": {
"description": "",
"properties": {
"alarm": {
"description": "",
"properties": {
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "Enabled",
"type": "boolean"
},
"insufficient_data_actions": {
"description": "",
"items": {
"description": "",
"format": "uri",
"type": "string"
},
"type": "array"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"ok_actions": {
"description": "",
"items": {
"description": "",
"format": "uri",
"type": "string"
},
"type": "array"
},
"repeat_actions": {
"default": true,
"description": "Repeat actions",
"type": "boolean"
},
"severity_actions": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"threshold_rule": {
"description": "",
"properties": {
"comparison_operator": {
"description": "",
"enum": [
"gt",
"lt",
"ge",
"le",
"eq",
"ne"
],
"example": "gt",
"type": "string"
},
"evaluation_periods": {
"description": "",
"example": 1,
"type": "integer"
},
"meter_name": {
"description": "",
"example": "cpu_util",
"type": "string"
},
"period": {
"description": "",
"example": 60,
"type": "integer"
},
"query": {
"description": "",
"items": {
"description": "",
"properties": {
"field": {
"description": "",
"type": "string"
},
"op": {
"description": "",
"type": "string"
},
"value": {
"description": "",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"statistic": {
"description": "",
"enum": [
"avg",
"max",
"min",
"sum",
"count"
],
"example": "avg",
"type": "string"
},
"threshold": {
"description": "",
"example": 80,
"type": "integer"
}
},
"type": "object"
},
"type": {
"description": "Alarm type",
"enum": [
"threshold",
"event",
"gnocchi_resources_threshold"
],
"example": "threshold",
"type": "string"
}
},
"required": [
"name",
"type"
],
"type": "object"
}
},
"required": [
"alarm"
],
"type": "object"
},
"alarm_patch": {
"description": "",
"properties": {
"alarm": {
"description": "",
"properties": {
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "Enabled",
"type": "boolean"
},
"insufficient_data_actions": {
"description": "",
"items": {
"description": "",
"format": "uri",
"type": "string"
},
"type": "array"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"ok_actions": {
"description": "",
"items": {
"description": "",
"format": "uri",
"type": "string"
},
"type": "array"
},
"repeat_actions": {
"default": true,
"description": "Repeat actions",
"type": "boolean"
},
"severity_actions": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"threshold_rule": {
"description": "",
"properties": {
"comparison_operator": {
"description": "",
"enum": [
"gt",
"lt",
"ge",
"le",
"eq",
"ne"
],
"example": "gt",
"type": "string"
},
"evaluation_periods": {
"description": "",
"example": 1,
"type": "integer"
},
"meter_name": {
"description": "",
"example": "cpu_util",
"type": "string"
},
"period": {
"description": "",
"example": 60,
"type": "integer"
},
"query": {
"description": "",
"items": {
"description": "",
"properties": {
"field": {
"description": "",
"type": "string"
},
"op": {
"description": "",
"type": "string"
},
"value": {
"description": "",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"statistic": {
"description": "",
"enum": [
"avg",
"max",
"min",
"sum",
"count"
],
"example": "avg",
"type": "string"
},
"threshold": {
"description": "",
"example": 80,
"type": "integer"
}
},
"type": "object"
},
"type": {
"description": "Alarm type",
"enum": [
"threshold",
"event",
"gnocchi_resources_threshold"
],
"example": "threshold",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"alarm"
],
"type": "object"
},
"alarm_update": {
"description": "",
"properties": {
"alarm": {
"description": "",
"properties": {
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "Enabled",
"type": "boolean"
},
"insufficient_data_actions": {
"description": "",
"items": {
"description": "",
"format": "uri",
"type": "string"
},
"type": "array"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"ok_actions": {
"description": "",
"items": {
"description": "",
"format": "uri",
"type": "string"
},
"type": "array"
},
"repeat_actions": {
"default": true,
"description": "Repeat actions",
"type": "boolean"
},
"severity_actions": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"threshold_rule": {
"description": "",
"properties": {
"comparison_operator": {
"description": "",
"enum": [
"gt",
"lt",
"ge",
"le",
"eq",
"ne"
],
"example": "gt",
"type": "string"
},
"evaluation_periods": {
"description": "",
"example": 1,
"type": "integer"
},
"meter_name": {
"description": "",
"example": "cpu_util",
"type": "string"
},
"period": {
"description": "",
"example": 60,
"type": "integer"
},
"query": {
"description": "",
"items": {
"description": "",
"properties": {
"field": {
"description": "",
"type": "string"
},
"op": {
"description": "",
"type": "string"
},
"value": {
"description": "",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"statistic": {
"description": "",
"enum": [
"avg",
"max",
"min",
"sum",
"count"
],
"example": "avg",
"type": "string"
},
"threshold": {
"description": "",
"example": 80,
"type": "integer"
}
},
"type": "object"
},
"type": {
"description": "Alarm type",
"enum": [
"threshold",
"event",
"gnocchi_resources_threshold"
],
"example": "threshold",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"alarm"
],
"type": "object"
},
"event_create": {
"description": "",
"properties": {
"event": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "event",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"event"
],
"type": "object"
},
"event_patch": {
"description": "",
"properties": {
"event": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "event",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"event"
],
"type": "object"
},
"event_update": {
"description": "",
"properties": {
"event": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "event",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"event"
],
"type": "object"
},
"resource_create": {
"description": "",
"properties": {
"resource": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "resource",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"resource"
],
"type": "object"
},
"resource_patch": {
"description": "",
"properties": {
"resource": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "resource",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"resource"
],
"type": "object"
},
"resource_update": {
"description": "",
"properties": {
"resource": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "resource",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"resource"
],
"type": "object"
},
"template_create": {
"description": "",
"properties": {
"template": {
"description": "",
"properties": {
"disable_rollback": {
"default": true,
"description": "Disable rollback",
"type": "boolean"
},
"environment": {
"description": "",
"properties": {},
"type": "object"
},
"files": {
"description": "",
"properties": {},
"type": "object"
},
"parameters": {
"description": "Stack parameters",
"properties": {},
"type": "object"
},
"stack_name": {
"description": "Stack name",
"example": "example",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"template": {
"description": "",
"properties": {
"description": {
"description": "",
"type": "string"
},
"heat_template_version": {
"description": "",
"example": "2015-04-30",
"type": "string"
},
"parameters": {
"description": "",
"properties": {},
"type": "object"
},
"resources": {
"description": "",
"properties": {},
"type": "object"
}
},
"required": [
"heat_template_version"
],
"type": "object"
},
"template_url": {
"description": "Template URL",
"format": "uri",
"type": "string"
},
"timeout_mins": {
"description": "Timeout minutes",
"example": 60,
"type": "integer"
}
},
"required": [
"stack_name",
"template"
],
"type": "object"
}
},
"required": [
"template"
],
"type": "object"
},
"template_patch": {
"description": "",
"properties": {
"template": {
"description": "",
"properties": {
"disable_rollback": {
"default": true,
"description": "Disable rollback",
"type": "boolean"
},
"environment": {
"description": "",
"properties": {},
"type": "object"
},
"files": {
"description": "",
"properties": {},
"type": "object"
},
"parameters": {
"description": "Stack parameters",
"properties": {},
"type": "object"
},
"stack_name": {
"description": "Stack name",
"example": "example",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"template": {
"description": "",
"properties": {
"description": {
"description": "",
"type": "string"
},
"heat_template_version": {
"description": "",
"example": "2015-04-30",
"type": "string"
},
"parameters": {
"description": "",
"properties": {},
"type": "object"
},
"resources": {
"description": "",
"properties": {},
"type": "object"
}
},
"required": [
"heat_template_version"
],
"type": "object"
},
"template_url": {
"description": "Template URL",
"format": "uri",
"type": "string"
},
"timeout_mins": {
"description": "Timeout minutes",
"example": 60,
"type": "integer"
}
},
"type": "object"
}
},
"required": [
"template"
],
"type": "object"
},
"template_update": {
"description": "",
"properties": {
"template": {
"description": "",
"properties": {
"disable_rollback": {
"default": true,
"description": "Disable rollback",
"type": "boolean"
},
"environment": {
"description": "",
"properties": {},
"type": "object"
},
"files": {
"description": "",
"properties": {},
"type": "object"
},
"parameters": {
"description": "Stack parameters",
"properties": {},
"type": "object"
},
"stack_name": {
"description": "Stack name",
"example": "example",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"template": {
"description": "",
"properties": {
"description": {
"description": "",
"type": "string"
},
"heat_template_version": {
"description": "",
"example": "2015-04-30",
"type": "string"
},
"parameters": {
"description": "",
"properties": {},
"type": "object"
},
"resources": {
"description": "",
"properties": {},
"type": "object"
}
},
"required": [
"heat_template_version"
],
"type": "object"
},
"template_url": {
"description": "Template URL",
"format": "uri",
"type": "string"
},
"timeout_mins": {
"description": "Timeout minutes",
"example": 60,
"type": "integer"
}
},
"type": "object"
}
},
"required": [
"template"
],
"type": "object"
},
"topology_create": {
"description": "",
"properties": {
"topology": {
"description": "",
"properties": {
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"graph": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"topology"
],
"type": "object"
},
"topology_patch": {
"description": "",
"properties": {
"topology": {
"description": "",
"properties": {
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"graph": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"topology"
],
"type": "object"
},
"topology_update": {
"description": "",
"properties": {
"topology": {
"description": "",
"properties": {
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"graph": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"topology"
],
"type": "object"
}
},
"service": "vitrage",
"source": "generated-from-api-ref-catalog"
}