Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame^] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/EventDestination.v1_8_0.json", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 3 | "$ref": "#/definitions/EventDestination", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame^] | 5 | "copyright": "Copyright 2014-2020 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 6 | "definitions": { |
| 7 | "Actions": { |
| 8 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 9 | "description": "The available actions for this Resource.", |
| 10 | "longDescription": "This type shall contain the available actions for this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 11 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 12 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 13 | "description": "This property shall specify a valid odata or Redfish property.", |
| 14 | "type": [ |
| 15 | "array", |
| 16 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 17 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 18 | "number", |
| 19 | "null", |
| 20 | "object", |
| 21 | "string" |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | "properties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 26 | "#EventDestination.ResumeSubscription": { |
| 27 | "$ref": "#/definitions/ResumeSubscription" |
| 28 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 29 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 30 | "$ref": "#/definitions/OemActions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 31 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 34 | } |
| 35 | }, |
| 36 | "type": "object" |
| 37 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 38 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 51 | "EventDestination": { |
| 52 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 53 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 55 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 56 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 57 | "description": "This property shall specify a valid odata or Redfish property.", |
| 58 | "type": [ |
| 59 | "array", |
| 60 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 61 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 62 | "number", |
| 63 | "null", |
| 64 | "object", |
| 65 | "string" |
| 66 | ] |
| 67 | } |
| 68 | }, |
| 69 | "properties": { |
| 70 | "@odata.context": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 71 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 72 | }, |
| 73 | "@odata.etag": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 74 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 75 | }, |
| 76 | "@odata.id": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 77 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 78 | }, |
| 79 | "@odata.type": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 80 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 81 | }, |
| 82 | "Actions": { |
| 83 | "$ref": "#/definitions/Actions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 84 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 87 | }, |
| 88 | "Context": { |
| 89 | "description": "A client-supplied string that is stored with the event destination subscription.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 90 | "longDescription": "This property shall contain a client-supplied context that remains with the connection through the connection's lifetime.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 91 | "readonly": false, |
| 92 | "type": [ |
| 93 | "string", |
| 94 | "null" |
| 95 | ] |
| 96 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 97 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 111 | "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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 123 | "description": "The URI of the destination event receiver.", |
| 124 | "format": "uri-reference", |
Gunnar Mills | 6f44b75 | 2020-02-06 16:50:51 -0600 | [diff] [blame] | 125 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 126 | "readonly": true, |
| 127 | "type": "string" |
| 128 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 129 | "EventFormatType": { |
| 130 | "anyOf": [ |
| 131 | { |
| 132 | "$ref": "http://redfish.dmtf.org/schemas/v1/EventDestination.json#/definitions/EventFormatType" |
| 133 | }, |
| 134 | { |
| 135 | "type": "null" |
| 136 | } |
| 137 | ], |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 138 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 142 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 143 | "EventTypes": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 144 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 146 | "items": { |
| 147 | "$ref": "http://redfish.dmtf.org/schemas/v1/Event.json#/definitions/EventType" |
| 148 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 149 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 150 | "readonly": true, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 151 | "type": "array", |
| 152 | "versionDeprecated": "v1_5_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 153 | }, |
| 154 | "HttpHeaders": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 155 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 156 | "items": { |
| 157 | "$ref": "#/definitions/HttpHeaderProperty" |
| 158 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 159 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 160 | "type": "array" |
| 161 | }, |
| 162 | "Id": { |
| 163 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 164 | "readonly": true |
| 165 | }, |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame^] | 166 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 176 | "MessageIds": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 177 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 178 | "items": { |
| 179 | "type": [ |
| 180 | "string", |
| 181 | "null" |
| 182 | ] |
| 183 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 184 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 185 | "readonly": true, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 186 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 201 | }, |
| 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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 208 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 210 | }, |
| 211 | "OriginResources": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 212 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 213 | "items": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 214 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 215 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 216 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 217 | "readonly": true, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 218 | "type": "array", |
| 219 | "versionAdded": "v1_1_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 220 | }, |
| 221 | "OriginResources@odata.count": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 222 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 223 | }, |
| 224 | "Protocol": { |
| 225 | "$ref": "#/definitions/EventDestinationProtocol", |
| 226 | "description": "The protocol type of the event connection.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 227 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 228 | "readonly": true |
| 229 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 230 | "RegistryPrefixes": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 231 | "description": "The list of the prefixes for the Message Registries that contain the MessageIds that are sent to this event destination.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 232 | "items": { |
| 233 | "type": [ |
| 234 | "string", |
| 235 | "null" |
| 236 | ] |
| 237 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 238 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 239 | "readonly": true, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 240 | "type": "array", |
| 241 | "versionAdded": "v1_4_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 242 | }, |
| 243 | "ResourceTypes": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 244 | "description": "The list of Resource Type values (Schema names) that correspond to the OriginOfCondition. The version and full namespace should not be specified.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 245 | "items": { |
| 246 | "type": [ |
| 247 | "string", |
| 248 | "null" |
| 249 | ] |
| 250 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 251 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 252 | "readonly": true, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 253 | "type": "array", |
| 254 | "versionAdded": "v1_4_0" |
| 255 | }, |
Gunnar Mills | 6f44b75 | 2020-02-06 16:50:51 -0600 | [diff] [blame] | 256 | "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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 262 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 267 | }, |
| 268 | "SubordinateResources": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 269 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 271 | "readonly": true, |
| 272 | "type": [ |
| 273 | "boolean", |
| 274 | "null" |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 275 | ], |
| 276 | "versionAdded": "v1_4_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 277 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 278 | "SubscriptionType": { |
| 279 | "anyOf": [ |
| 280 | { |
| 281 | "$ref": "#/definitions/SubscriptionType" |
| 282 | }, |
| 283 | { |
| 284 | "type": "null" |
| 285 | } |
| 286 | ], |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 287 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 291 | } |
| 292 | }, |
| 293 | "required": [ |
| 294 | "Context", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 295 | "@odata.id", |
| 296 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 297 | "Id", |
| 298 | "Name", |
| 299 | "SubscriptionType" |
| 300 | ], |
| 301 | "requiredOnCreate": [ |
| 302 | "Destination", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 303 | "Protocol" |
| 304 | ], |
| 305 | "type": "object" |
| 306 | }, |
| 307 | "EventDestinationProtocol": { |
| 308 | "enum": [ |
Gunnar Mills | 6f44b75 | 2020-02-06 16:50:51 -0600 | [diff] [blame] | 309 | "Redfish", |
| 310 | "SNMPv1", |
| 311 | "SNMPv2c", |
| 312 | "SNMPv3", |
| 313 | "SMTP" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 314 | ], |
| 315 | "enumDescriptions": { |
Gunnar Mills | 6f44b75 | 2020-02-06 16:50:51 -0600 | [diff] [blame] | 316 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 333 | }, |
| 334 | "type": "string" |
| 335 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 336 | "HttpHeaderProperty": { |
| 337 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 338 | "description": "The HTTP header value is the property value. The header name is the property name.", |
Gunnar Mills | 6f44b75 | 2020-02-06 16:50:51 -0600 | [diff] [blame] | 339 | "longDescription": "This type shall contain the HTTP header name and value to include with every event POST to the event destination.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 340 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 341 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 342 | "description": "This property shall specify a valid odata or Redfish property.", |
| 343 | "type": [ |
| 344 | "array", |
| 345 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 346 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 347 | "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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 362 | "description": "The available OEM-specific actions for this Resource.", |
| 363 | "longDescription": "This type shall contain the available OEM-specific actions for this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 364 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 365 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 366 | "description": "This property shall specify a valid odata or Redfish property.", |
| 367 | "type": [ |
| 368 | "array", |
| 369 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 370 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 371 | "number", |
| 372 | "null", |
| 373 | "object", |
| 374 | "string" |
| 375 | ] |
| 376 | } |
| 377 | }, |
| 378 | "properties": {}, |
| 379 | "type": "object" |
| 380 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 381 | "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 Mills | 6f44b75 | 2020-02-06 16:50:51 -0600 | [diff] [blame] | 413 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 534 | "SubscriptionType": { |
| 535 | "enum": [ |
| 536 | "RedfishEvent", |
Gunnar Mills | 6f44b75 | 2020-02-06 16:50:51 -0600 | [diff] [blame] | 537 | "SSE", |
| 538 | "SNMPTrap", |
| 539 | "SNMPInform" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 540 | ], |
| 541 | "enumDescriptions": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 542 | "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 Mills | 6f44b75 | 2020-02-06 16:50:51 -0600 | [diff] [blame] | 543 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 545 | "SSE": "The subscription follows the HTML5 Server-Sent Event definition for event notifications." |
| 546 | }, |
Gunnar Mills | 6f44b75 | 2020-02-06 16:50:51 -0600 | [diff] [blame] | 547 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 555 | "type": "string" |
| 556 | } |
| 557 | }, |
| 558 | "owningEntity": "DMTF", |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame^] | 559 | "release": "2020.1", |
| 560 | "title": "#EventDestination.v1_8_0.EventDestination" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 561 | } |