blob: 93103f167f5ae7dc4a49eb744c4b6949e2ef39c1 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Gunnar Millsa778c022020-05-12 12:20:36 -05002 "$id": "http://redfish.dmtf.org/schemas/v1/EventDestination.v1_8_0.json",
Ed Tanous118b1c72018-09-13 13:45:51 -07003 "$ref": "#/definitions/EventDestination",
Ed Tanous530520e2019-01-02 13:41:37 -08004 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Gunnar Millsa778c022020-05-12 12:20:36 -05005 "copyright": "Copyright 2014-2020 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous118b1c72018-09-13 13:45:51 -07006 "definitions": {
7 "Actions": {
8 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -07009 "description": "The available actions for this Resource.",
10 "longDescription": "This type shall contain the available actions for this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070011 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070012 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070013 "description": "This property shall specify a valid odata or Redfish property.",
14 "type": [
15 "array",
16 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080017 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070018 "number",
19 "null",
20 "object",
21 "string"
22 ]
23 }
24 },
25 "properties": {
Ed Tanouscb103132019-10-08 11:34:22 -070026 "#EventDestination.ResumeSubscription": {
27 "$ref": "#/definitions/ResumeSubscription"
28 },
Ed Tanous118b1c72018-09-13 13:45:51 -070029 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -080030 "$ref": "#/definitions/OemActions",
Ed Tanouscb103132019-10-08 11:34:22 -070031 "description": "The available OEM-specific actions for this Resource.",
32 "longDescription": "This property shall contain the available OEM-specific actions for this Resource.",
33 "versionAdded": "v1_2_0"
Ed Tanous118b1c72018-09-13 13:45:51 -070034 }
35 },
36 "type": "object"
37 },
Ed Tanouscb103132019-10-08 11:34:22 -070038 "DeliveryRetryPolicy": {
39 "enum": [
40 "TerminateAfterRetries",
41 "SuspendRetries",
42 "RetryForever"
43 ],
44 "enumDescriptions": {
45 "RetryForever": "The subscription is not suspended or terminated, and attempts at delivery of future events shall continue even after the after the maximum number of retries is reached.",
46 "SuspendRetries": "The subscription is suspended after the maximum number of retries is reached.",
47 "TerminateAfterRetries": "The subscription is terminated after the maximum number of retries is reached."
48 },
49 "type": "string"
50 },
Ed Tanous118b1c72018-09-13 13:45:51 -070051 "EventDestination": {
52 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -070053 "description": "The EventDestination schema defines the target of an event subscription, including the event types and context to provide to the target in the Event payload.",
54 "longDescription": "This Resource shall represent the target of an event subscription, including the event types and context to provide to the target in the Event payload.",
Ed Tanous118b1c72018-09-13 13:45:51 -070055 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070056 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070057 "description": "This property shall specify a valid odata or Redfish property.",
58 "type": [
59 "array",
60 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080061 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070062 "number",
63 "null",
64 "object",
65 "string"
66 ]
67 }
68 },
69 "properties": {
70 "@odata.context": {
Ed Tanouscb103132019-10-08 11:34:22 -070071 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
Ed Tanous118b1c72018-09-13 13:45:51 -070072 },
73 "@odata.etag": {
Ed Tanouscb103132019-10-08 11:34:22 -070074 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
Ed Tanous118b1c72018-09-13 13:45:51 -070075 },
76 "@odata.id": {
Ed Tanouscb103132019-10-08 11:34:22 -070077 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
Ed Tanous118b1c72018-09-13 13:45:51 -070078 },
79 "@odata.type": {
Ed Tanouscb103132019-10-08 11:34:22 -070080 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
Ed Tanous118b1c72018-09-13 13:45:51 -070081 },
82 "Actions": {
83 "$ref": "#/definitions/Actions",
Ed Tanouscb103132019-10-08 11:34:22 -070084 "description": "The available actions for this Resource.",
85 "longDescription": "This property shall contain the available actions for this Resource.",
86 "versionAdded": "v1_2_0"
Ed Tanous118b1c72018-09-13 13:45:51 -070087 },
88 "Context": {
89 "description": "A client-supplied string that is stored with the event destination subscription.",
Ed Tanouscb103132019-10-08 11:34:22 -070090 "longDescription": "This property shall contain a client-supplied context that remains with the connection through the connection's lifetime.",
Ed Tanous118b1c72018-09-13 13:45:51 -070091 "readonly": false,
92 "type": [
93 "string",
94 "null"
95 ]
96 },
Ed Tanouscb103132019-10-08 11:34:22 -070097 "DeliveryRetryPolicy": {
98 "anyOf": [
99 {
100 "$ref": "#/definitions/DeliveryRetryPolicy"
101 },
102 {
103 "type": "null"
104 }
105 ],
106 "description": "This property shall contain the subscription delivery retry policy for events, where the subscription type is RedfishEvent.",
107 "longDescription": "This property shall indicate the subscription delivery retry policy for events where the subscription type is RedfishEvent. If this property is not present, the policy shall be assumed to be TerminateAfterRetries.",
108 "readonly": false,
109 "versionAdded": "v1_6_0"
110 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700111 "Description": {
112 "anyOf": [
113 {
114 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
115 },
116 {
117 "type": "null"
118 }
119 ],
120 "readonly": true
121 },
122 "Destination": {
Ed Tanouscb103132019-10-08 11:34:22 -0700123 "description": "The URI of the destination event receiver.",
124 "format": "uri-reference",
Gunnar Mills6f44b752020-02-06 16:50:51 -0600125 "longDescription": "This property shall contain a URI to the destination where the events are sent. If Protocol is `SMTP`, the URI shall follow the RFC6068-described format. SNMP URIs shall be consistent with RFC4088. Specifically, for SNMPv3, if a username is specified in the SNMP URI, the SNMPv3 authentication and encryption configuration associated with that user shall be utilized in the SNMPv3 traps. For other URIs, such as HTTP or HTTPS, they shall be consistent with RFC3986.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700126 "readonly": true,
127 "type": "string"
128 },
Ed Tanous530520e2019-01-02 13:41:37 -0800129 "EventFormatType": {
130 "anyOf": [
131 {
132 "$ref": "http://redfish.dmtf.org/schemas/v1/EventDestination.json#/definitions/EventFormatType"
133 },
134 {
135 "type": "null"
136 }
137 ],
Ed Tanouscb103132019-10-08 11:34:22 -0700138 "description": "The content types of the message that are sent to the EventDestination.",
139 "longDescription": "This property shall indicate the content types of the message that this service sends to the EventDestination. If this property is not present, the EventFormatType shall be assumed to be Event.",
140 "readonly": true,
141 "versionAdded": "v1_4_0"
Ed Tanous530520e2019-01-02 13:41:37 -0800142 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700143 "EventTypes": {
Ed Tanouscb103132019-10-08 11:34:22 -0700144 "deprecated": "This property has been deprecated. Starting with Redfish Specification v1.6 (Event v1.3), subscriptions are based on the RegistryPrefix and ResourceType properties and not on the EventType property. Use EventFormatType to create subscriptions for Metric Reports. If the subscription does not include this property, the service shall use a single element with a default of `Other`.",
145 "description": "The types of events that are sent to the destination.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700146 "items": {
147 "$ref": "http://redfish.dmtf.org/schemas/v1/Event.json#/definitions/EventType"
148 },
Ed Tanouscb103132019-10-08 11:34:22 -0700149 "longDescription": "This property shall contain an array that contains the types of events that shall be sent to the destination. To specify that a client is subscribing for Metric Reports, the EventTypes property should include 'MetricReport'. If the subscription does not include this property, the service shall use a single element with a default of `Other`.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700150 "readonly": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700151 "type": "array",
152 "versionDeprecated": "v1_5_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700153 },
154 "HttpHeaders": {
Ed Tanouscb103132019-10-08 11:34:22 -0700155 "description": "An array of settings for HTTP headers, such as authorization information. This array is null or an empty array in responses. An empty array is the preferred return value on read operations.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700156 "items": {
157 "$ref": "#/definitions/HttpHeaderProperty"
158 },
Ed Tanouscb103132019-10-08 11:34:22 -0700159 "longDescription": "This property shall contain an object consisting of the names and values of of HTTP header to be included with every event POST to the Event Destination. This object shall be null or an empty array in responses. An empty array is the preferred return value in responses.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700160 "type": "array"
161 },
162 "Id": {
163 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
164 "readonly": true
165 },
Gunnar Millsa778c022020-05-12 12:20:36 -0500166 "IncludeOriginOfCondition": {
167 "description": "An indication of whether the events subscribed to will also include the entire resource or object referenced the OriginOfCondition property in the event payload.",
168 "longDescription": "This property shall indicate whether the event payload sent to the subscription destination will expand the OriginOfCondition property to include the resource or object referenced by the OriginOfCondition property.",
169 "readonly": true,
170 "type": [
171 "boolean",
172 "null"
173 ],
174 "versionAdded": "v1_8_0"
175 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700176 "MessageIds": {
Ed Tanouscb103132019-10-08 11:34:22 -0700177 "description": "The list of MessageIds that the service sends. If this property is absent or the array is empty, events with any MessageId are sent to the subscriber.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700178 "items": {
179 "type": [
180 "string",
181 "null"
182 ]
183 },
Ed Tanouscb103132019-10-08 11:34:22 -0700184 "longDescription": "This property shall specify an array of MessageIds that are the only allowable values for the MessageId property within an EventRecord sent to the subscriber. Events with MessageIds that are not contained in this array shall not be sent to the subscriber. If this property is absent or the array is empty, the service shall send events with any MessageId to the subscriber.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700185 "readonly": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700186 "type": "array",
187 "versionAdded": "v1_1_0"
188 },
189 "MetricReportDefinitions": {
190 "description": "A list of metric report definitions for which the service only sends related metric reports. If this property is absent or the array is empty, metric reports that originate from any metric report definition are sent to the subscriber.",
191 "items": {
192 "$ref": "http://redfish.dmtf.org/schemas/v1/MetricReportDefinition.json#/definitions/MetricReportDefinition"
193 },
194 "longDescription": "This property shall specify an array of metric report definitions that are the only allowable generators of metric reports for this subscription. Metric reports originating from metric report definitions not contained in this array shall not be sent to the subscriber. If this property is absent or the array is empty, the service shall send metric reports originating from any metric report definition to the subscriber.",
195 "readonly": true,
196 "type": "array",
197 "versionAdded": "v1_6_0"
198 },
199 "MetricReportDefinitions@odata.count": {
200 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
Ed Tanous118b1c72018-09-13 13:45:51 -0700201 },
202 "Name": {
203 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
204 "readonly": true
205 },
206 "Oem": {
207 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700208 "description": "The OEM extension property.",
209 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
Ed Tanous118b1c72018-09-13 13:45:51 -0700210 },
211 "OriginResources": {
Ed Tanouscb103132019-10-08 11:34:22 -0700212 "description": "The array of Resources for which the service sends only related events. If this property is absent or the array is empty, the service sends the events that originate from any Resource to the subscriber.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700213 "items": {
Ed Tanouscb103132019-10-08 11:34:22 -0700214 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef"
Ed Tanous118b1c72018-09-13 13:45:51 -0700215 },
Ed Tanouscb103132019-10-08 11:34:22 -0700216 "longDescription": "This property shall specify an array of Resources, Resource Collections, or Referenceable Members that are the only allowable values for the OriginOfCondition property within an EventRecord that the service sends to the subscriber. The service shall not send events that originate from Resources, Resource Collections, or Referenceable Members, and that this array does not contain, to the subscriber. If this property is absent or the array is empty, the service shall send events that originate from any Resource, Resource Collection, or Referenceable Member to the subscriber.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700217 "readonly": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700218 "type": "array",
219 "versionAdded": "v1_1_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700220 },
221 "OriginResources@odata.count": {
Ed Tanouscb103132019-10-08 11:34:22 -0700222 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
Ed Tanous118b1c72018-09-13 13:45:51 -0700223 },
224 "Protocol": {
225 "$ref": "#/definitions/EventDestinationProtocol",
226 "description": "The protocol type of the event connection.",
Ed Tanouscb103132019-10-08 11:34:22 -0700227 "longDescription": "This property shall contain the protocol type that the event uses to send the event to the destination. A `Redfish` value shall indicate that the event type shall adhere to the type defined in the Redfish Specification.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700228 "readonly": true
229 },
Ed Tanous530520e2019-01-02 13:41:37 -0800230 "RegistryPrefixes": {
Ed Tanouscb103132019-10-08 11:34:22 -0700231 "description": "The list of the prefixes for the Message Registries that contain the MessageIds that are sent to this event destination.",
Ed Tanous530520e2019-01-02 13:41:37 -0800232 "items": {
233 "type": [
234 "string",
235 "null"
236 ]
237 },
Ed Tanouscb103132019-10-08 11:34:22 -0700238 "longDescription": "This property shall contain the array of the prefixes of the Message Registries that contain the MessageIds in the Events that shall be sent to the EventDestination. If this property is absent or the array is empty, the service shall send events with MessageIds from any Message Registry.",
Ed Tanous530520e2019-01-02 13:41:37 -0800239 "readonly": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700240 "type": "array",
241 "versionAdded": "v1_4_0"
Ed Tanous530520e2019-01-02 13:41:37 -0800242 },
243 "ResourceTypes": {
Ed Tanouscb103132019-10-08 11:34:22 -0700244 "description": "The list of Resource Type values (Schema names) that correspond to the OriginOfCondition. The version and full namespace should not be specified.",
Ed Tanous530520e2019-01-02 13:41:37 -0800245 "items": {
246 "type": [
247 "string",
248 "null"
249 ]
250 },
Ed Tanouscb103132019-10-08 11:34:22 -0700251 "longDescription": "This property shall specify an array of Resource Type values. When an event is generated, if the OriginOfCondition's Resource Type matches a value in this array, the event shall be sent to the event destination (unless it would be filtered by other property conditions such as RegistryPrefix). If this property is absent or the array is empty, the service shall send Events from any Resource type to the subscriber. This property shall contain only the general namespace for the type and not the versioned value. For example, it shall not contain Task.v1_2_0.Task and instead shall contain Task. To specify that a client is subscribing to metric reports, the EventTypes property should include `MetricReport`.",
Ed Tanous530520e2019-01-02 13:41:37 -0800252 "readonly": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700253 "type": "array",
254 "versionAdded": "v1_4_0"
255 },
Gunnar Mills6f44b752020-02-06 16:50:51 -0600256 "SNMP": {
257 "$ref": "#/definitions/SNMPSettings",
258 "description": "Settings for an SNMP event destination.",
259 "longDescription": "This property shall contain the settings for an SNMP event destination.",
260 "versionAdded": "v1_7_0"
261 },
Ed Tanouscb103132019-10-08 11:34:22 -0700262 "Status": {
263 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
264 "description": "This property shall contain the status of the subscription.",
265 "longDescription": "This property shall contain the status of the subscription.",
266 "versionAdded": "v1_6_0"
Ed Tanous530520e2019-01-02 13:41:37 -0800267 },
268 "SubordinateResources": {
Ed Tanouscb103132019-10-08 11:34:22 -0700269 "description": "An indication of whether the subscription is for events in the OriginResources array and its subordinate Resources. If `true` and the OriginResources array is specified, the subscription is for events in the OriginResources array and its subordinate Resources. Note that Resources associated through the Links section are not considered subordinate. If `false` and the OriginResources array is specified, the subscription shall be for events in the OriginResources array only. If the OriginResources array is not present, this property shall have no relevance.",
270 "longDescription": "This property shall indicate whether the subscription is for events in the OriginResources array and its subordinate Resources. If `true` and the OriginResources array is specified, the subscription is for events in the OriginResources array and its subordinate Resources. Note that Resources associated through the Links section are not considered subordinate. If `false` and the OriginResources array is specified, the subscription shall be for events in the OriginResources array only. If the OriginResources array is not present, this property shall have no relevance.",
Ed Tanous530520e2019-01-02 13:41:37 -0800271 "readonly": true,
272 "type": [
273 "boolean",
274 "null"
Ed Tanouscb103132019-10-08 11:34:22 -0700275 ],
276 "versionAdded": "v1_4_0"
Ed Tanous530520e2019-01-02 13:41:37 -0800277 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700278 "SubscriptionType": {
279 "anyOf": [
280 {
281 "$ref": "#/definitions/SubscriptionType"
282 },
283 {
284 "type": "null"
285 }
286 ],
Ed Tanouscb103132019-10-08 11:34:22 -0700287 "description": "The subscription type for events.",
288 "longDescription": "This property shall indicate the type of subscription for events. If this property is not present, the SubscriptionType shall be assumed to be RedfishEvent.",
289 "readonly": true,
290 "versionAdded": "v1_3_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700291 }
292 },
293 "required": [
294 "Context",
Ed Tanous530520e2019-01-02 13:41:37 -0800295 "@odata.id",
296 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700297 "Id",
298 "Name",
299 "SubscriptionType"
300 ],
301 "requiredOnCreate": [
302 "Destination",
Ed Tanous118b1c72018-09-13 13:45:51 -0700303 "Protocol"
304 ],
305 "type": "object"
306 },
307 "EventDestinationProtocol": {
308 "enum": [
Gunnar Mills6f44b752020-02-06 16:50:51 -0600309 "Redfish",
310 "SNMPv1",
311 "SNMPv2c",
312 "SNMPv3",
313 "SMTP"
Ed Tanous118b1c72018-09-13 13:45:51 -0700314 ],
315 "enumDescriptions": {
Gunnar Mills6f44b752020-02-06 16:50:51 -0600316 "Redfish": "The destination follows the Redfish Specification for event notifications.",
317 "SMTP": "The destination follows the SMTP specification for event notifications.",
318 "SNMPv1": "The destination follows the SNMPv1 protocol for event notifications.",
319 "SNMPv2c": "The destination follows the SNMPv2c protocol for event notifications.",
320 "SNMPv3": "The destination follows the SNMPv3 protocol for event notifications."
321 },
322 "enumLongDescriptions": {
323 "SMTP": "This value shall indicate the destination follows the RFC5321-defined SMTP specification.",
324 "SNMPv1": "This value shall indicate the destination follows the RFC1157-defined SNMPv1 protocol.",
325 "SNMPv2c": "This value shall indicate the destination follows the SNMPv2c protocol as defined by RFC1441 and RFC1452.",
326 "SNMPv3": "This value shall indicate the destination follows the SNMPv3 protocol as defined by RFC3411 and RFC3418."
327 },
328 "enumVersionAdded": {
329 "SMTP": "v1_7_0",
330 "SNMPv1": "v1_7_0",
331 "SNMPv2c": "v1_7_0",
332 "SNMPv3": "v1_7_0"
Ed Tanous530520e2019-01-02 13:41:37 -0800333 },
334 "type": "string"
335 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700336 "HttpHeaderProperty": {
337 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700338 "description": "The HTTP header value is the property value. The header name is the property name.",
Gunnar Mills6f44b752020-02-06 16:50:51 -0600339 "longDescription": "This type shall contain the HTTP header name and value to include with every event POST to the event destination.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700340 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700341 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700342 "description": "This property shall specify a valid odata or Redfish property.",
343 "type": [
344 "array",
345 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800346 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700347 "number",
348 "null",
349 "object",
350 "string"
351 ]
352 },
353 "^[^:\\\\s]+$": {
354 "type": "string"
355 }
356 },
357 "properties": {},
358 "type": "object"
359 },
360 "OemActions": {
361 "additionalProperties": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700362 "description": "The available OEM-specific actions for this Resource.",
363 "longDescription": "This type shall contain the available OEM-specific actions for this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700364 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700365 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700366 "description": "This property shall specify a valid odata or Redfish property.",
367 "type": [
368 "array",
369 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800370 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700371 "number",
372 "null",
373 "object",
374 "string"
375 ]
376 }
377 },
378 "properties": {},
379 "type": "object"
380 },
Ed Tanouscb103132019-10-08 11:34:22 -0700381 "ResumeSubscription": {
382 "additionalProperties": false,
383 "description": "This action resumes a suspended event subscription.",
384 "longDescription": "This action shall resume a suspended event subscription, which affects the subscription status.",
385 "parameters": {},
386 "patternProperties": {
387 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
388 "description": "This property shall specify a valid odata or Redfish property.",
389 "type": [
390 "array",
391 "boolean",
392 "integer",
393 "number",
394 "null",
395 "object",
396 "string"
397 ]
398 }
399 },
400 "properties": {
401 "target": {
402 "description": "Link to invoke action",
403 "format": "uri-reference",
404 "type": "string"
405 },
406 "title": {
407 "description": "Friendly action name",
408 "type": "string"
409 }
410 },
411 "type": "object"
412 },
Gunnar Mills6f44b752020-02-06 16:50:51 -0600413 "SNMPAuthenticationProtocols": {
414 "enum": [
415 "None",
416 "CommunityString",
417 "HMAC_MD5",
418 "HMAC_SHA96"
419 ],
420 "enumDescriptions": {
421 "CommunityString": "Trap community string authentication.",
422 "HMAC_MD5": "HMAC-MD5-96 authentication.",
423 "HMAC_SHA96": "HMAC-SHA-96 authentication.",
424 "None": "No authentication."
425 },
426 "enumLongDescriptions": {
427 "CommunityString": "This value shall indicate authentication using SNMP community strings and the value of TrapCommunity.",
428 "HMAC_MD5": "This value shall indicate authentication conforms to the RFC3414-defined HMAC-MD5-96 authentication protocol.",
429 "HMAC_SHA96": "This value shall indicate authentication conforms to the RFC3414-defined HMAC-SHA-96 authentication protocol.",
430 "None": "This value shall indicate authentication is not required."
431 },
432 "type": "string"
433 },
434 "SNMPEncryptionProtocols": {
435 "enum": [
436 "None",
437 "CBC_DES",
438 "CFB128_AES128"
439 ],
440 "enumDescriptions": {
441 "CBC_DES": "CBC-DES encryption.",
442 "CFB128_AES128": "CFB128-AES-128 encryption.",
443 "None": "No encryption."
444 },
445 "enumLongDescriptions": {
446 "CBC_DES": "This value shall indicate encryption conforms to the RFC3414-defined CBC-DES encryption protocol.",
447 "CFB128_AES128": "This value shall indicate encryption conforms to the RFC3414-defined CFB128-AES-128 encryption protocol.",
448 "None": "This value shall indicate there is no encryption."
449 },
450 "type": "string"
451 },
452 "SNMPSettings": {
453 "additionalProperties": false,
454 "description": "Settings for an SNMP event destination.",
455 "longDescription": "This type shall contain the settings for an SNMP event destination.",
456 "patternProperties": {
457 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
458 "description": "This property shall specify a valid odata or Redfish property.",
459 "type": [
460 "array",
461 "boolean",
462 "integer",
463 "number",
464 "null",
465 "object",
466 "string"
467 ]
468 }
469 },
470 "properties": {
471 "AuthenticationKey": {
472 "description": "The secret authentication key for SNMPv3.",
473 "longDescription": "This property shall contain the key used for SNMPv3 authentication. The value shall be `null` in responses.",
474 "pattern": "(^[A-Za-z0-9]+$)|(^\\*+$)",
475 "readonly": false,
476 "type": [
477 "string",
478 "null"
479 ],
480 "versionAdded": "v1_7_0"
481 },
482 "AuthenticationProtocol": {
483 "anyOf": [
484 {
485 "$ref": "#/definitions/SNMPAuthenticationProtocols"
486 },
487 {
488 "type": "null"
489 }
490 ],
491 "description": "The authentication protocol for SNMPv3.",
492 "longDescription": "This property shall contain the SNMPv3 authentication protocol.",
493 "readonly": false,
494 "versionAdded": "v1_7_0"
495 },
496 "EncryptionKey": {
497 "description": "The secret authentication key for SNMPv3.",
498 "longDescription": "This property shall contain the key for SNMPv3 encryption. The value shall be `null` in responses.",
499 "pattern": "(^[A-Za-z0-9]+$)|(^\\*+$)",
500 "readonly": false,
501 "type": [
502 "string",
503 "null"
504 ],
505 "versionAdded": "v1_7_0"
506 },
507 "EncryptionProtocol": {
508 "anyOf": [
509 {
510 "$ref": "#/definitions/SNMPEncryptionProtocols"
511 },
512 {
513 "type": "null"
514 }
515 ],
516 "description": "The encryption protocol for SNMPv3.",
517 "longDescription": "This property shall contain the SNMPv3 encryption protocol.",
518 "readonly": false,
519 "versionAdded": "v1_7_0"
520 },
521 "TrapCommunity": {
522 "description": "The SNMP trap community string.",
523 "longDescription": "This property shall contain the SNMP trap community string. The value shall be `null` in responses.",
524 "readonly": false,
525 "type": [
526 "string",
527 "null"
528 ],
529 "versionAdded": "v1_7_0"
530 }
531 },
532 "type": "object"
533 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700534 "SubscriptionType": {
535 "enum": [
536 "RedfishEvent",
Gunnar Mills6f44b752020-02-06 16:50:51 -0600537 "SSE",
538 "SNMPTrap",
539 "SNMPInform"
Ed Tanous118b1c72018-09-13 13:45:51 -0700540 ],
541 "enumDescriptions": {
Ed Tanouscb103132019-10-08 11:34:22 -0700542 "RedfishEvent": "The subscription follows the Redfish Specification for event notifications. To send an event notification, a service sends an HTTP POST to the subscriber's destination URI.",
Gunnar Mills6f44b752020-02-06 16:50:51 -0600543 "SNMPInform": "The subscription follows versions 2 and 3 of SNMP Inform for event notifications.",
544 "SNMPTrap": "The subscription follows the various versions of SNMP Traps for event notifications.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700545 "SSE": "The subscription follows the HTML5 Server-Sent Event definition for event notifications."
546 },
Gunnar Mills6f44b752020-02-06 16:50:51 -0600547 "enumLongDescriptions": {
548 "SNMPInform": "This value shall indicate the subscription follows versions 2 and 3 of SNMP Inform for event notifications. EventDestinationProtocol shall specify the appropriate version of SNMP.",
549 "SNMPTrap": "This value shall indicate the subscription follows the various versions of SNMP Traps for event notifications. EventDestinationProtocol shall specify the appropriate version of SNMP."
550 },
551 "enumVersionAdded": {
552 "SNMPInform": "v1_7_0",
553 "SNMPTrap": "v1_7_0"
554 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700555 "type": "string"
556 }
557 },
558 "owningEntity": "DMTF",
Gunnar Millsa778c022020-05-12 12:20:36 -0500559 "release": "2020.1",
560 "title": "#EventDestination.v1_8_0.EventDestination"
Ed Tanous118b1c72018-09-13 13:45:51 -0700561}