blob: 48ea9a15a6f1d01899910b639ffda67bf02628c5 [file] [log] [blame]
Ed Tanous530520e2019-01-02 13:41:37 -08001{
Ed Tanousf263e092023-05-22 09:56:29 -07002 "$id": "http://redfish.dmtf.org/schemas/v1/TelemetryService.v1_3_2.json",
Ed Tanous530520e2019-01-02 13:41:37 -08003 "$ref": "#/definitions/TelemetryService",
4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Ed Tanousf263e092023-05-22 09:56:29 -07005 "copyright": "Copyright 2014-2023 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous530520e2019-01-02 13:41:37 -08006 "definitions": {
7 "Actions": {
8 "additionalProperties": false,
Gunnar Mills844b4152020-06-22 12:44:09 -05009 "description": "The available actions for this resource.",
10 "longDescription": "This type shall contain the available actions for this resource.",
Ed Tanous530520e2019-01-02 13:41:37 -080011 "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 Tanous530520e2019-01-02 13:41:37 -080013 "description": "This property shall specify a valid odata or Redfish property.",
14 "type": [
15 "array",
16 "boolean",
17 "integer",
18 "number",
19 "null",
20 "object",
21 "string"
22 ]
23 }
24 },
25 "properties": {
Gunnar Mills262d7d42021-01-20 16:28:41 -060026 "#TelemetryService.ClearMetricReports": {
27 "$ref": "#/definitions/ClearMetricReports"
28 },
29 "#TelemetryService.ResetMetricReportDefinitionsToDefaults": {
30 "$ref": "#/definitions/ResetMetricReportDefinitionsToDefaults"
31 },
32 "#TelemetryService.ResetTriggersToDefaults": {
33 "$ref": "#/definitions/ResetTriggersToDefaults"
34 },
Ed Tanous530520e2019-01-02 13:41:37 -080035 "#TelemetryService.SubmitTestMetricReport": {
36 "$ref": "#/definitions/SubmitTestMetricReport"
37 },
38 "Oem": {
39 "$ref": "#/definitions/OemActions",
Gunnar Mills844b4152020-06-22 12:44:09 -050040 "description": "The available OEM-specific actions for this resource.",
41 "longDescription": "This property shall contain the available OEM-specific actions for this resource."
Ed Tanous530520e2019-01-02 13:41:37 -080042 }
43 },
44 "type": "object"
45 },
Gunnar Mills262d7d42021-01-20 16:28:41 -060046 "ClearMetricReports": {
47 "additionalProperties": false,
48 "description": "The action to clear the metric reports for this telemetry service.",
49 "longDescription": "This action shall delete all entries found in the metric report collection for this telemetry service.",
50 "parameters": {},
51 "patternProperties": {
52 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
53 "description": "This property shall specify a valid odata or Redfish property.",
54 "type": [
55 "array",
56 "boolean",
57 "integer",
58 "number",
59 "null",
60 "object",
61 "string"
62 ]
63 }
64 },
65 "properties": {
66 "target": {
67 "description": "Link to invoke action",
68 "format": "uri-reference",
69 "type": "string"
70 },
71 "title": {
72 "description": "Friendly action name",
73 "type": "string"
74 }
75 },
76 "type": "object",
77 "versionAdded": "v1_3_0"
78 },
Ed Tanous530520e2019-01-02 13:41:37 -080079 "CollectionFunction": {
80 "description": "An operation to perform over the sample.",
81 "enum": [
82 "Average",
83 "Maximum",
84 "Minimum",
85 "Summation"
86 ],
87 "enumDescriptions": {
88 "Average": "An averaging function.",
89 "Maximum": "A maximum function.",
90 "Minimum": "A minimum function.",
91 "Summation": "A summation function."
92 },
93 "longDescription": "If present, the metric value shall be computed according to this function.",
94 "type": "string"
95 },
Marri Devender Raod45d2d02019-01-21 10:11:34 -060096 "MetricValue": {
97 "additionalProperties": false,
Gunnar Mills844b4152020-06-22 12:44:09 -050098 "description": "Properties that capture a metric value and other associated information.",
99 "longDescription": "This type shall contain properties that capture a metric value and other associated information.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600100 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700101 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600102 "description": "This property shall specify a valid odata or Redfish property.",
103 "type": [
104 "array",
105 "boolean",
106 "integer",
107 "number",
108 "null",
109 "object",
110 "string"
111 ]
112 }
113 },
114 "properties": {
115 "MetricDefinition": {
116 "$ref": "http://redfish.dmtf.org/schemas/v1/MetricDefinition.json#/definitions/MetricDefinition",
Gunnar Mills844b4152020-06-22 12:44:09 -0500117 "description": "The link to the metric definition for this metric.",
118 "longDescription": "This property shall contain a link to a resource of type MetricDefinition that describes what this metric value captures.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600119 "readonly": true,
120 "versionAdded": "v1_1_0"
121 },
122 "MetricId": {
123 "description": "The metric definitions identifier for this metric.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500124 "longDescription": "This property shall contain the same value as the Id property of the source metric within the associated metric definition.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600125 "readonly": true,
126 "type": [
127 "string",
128 "null"
129 ],
130 "versionAdded": "v1_1_0"
131 },
132 "MetricProperty": {
133 "description": "The URI for the property from which this metric is derived.",
Ed Tanouscb103132019-10-08 11:34:22 -0700134 "format": "uri-reference",
Gunnar Mills844b4152020-06-22 12:44:09 -0500135 "longDescription": "The value shall be URI to the property following the JSON fragment notation, as defined by RFC6901, to identify an individual property in a Redfish resource.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600136 "readonly": true,
137 "type": [
138 "string",
139 "null"
140 ],
141 "versionAdded": "v1_1_0"
142 },
143 "MetricValue": {
Ed Tanouscb103132019-10-08 11:34:22 -0700144 "description": "The metric value, as a string.",
145 "longDescription": "This property shall contain the metric value, as a string.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600146 "readonly": true,
147 "type": [
148 "string",
149 "null"
150 ],
151 "versionAdded": "v1_1_0"
152 },
153 "Timestamp": {
Gunnar Mills844b4152020-06-22 12:44:09 -0500154 "description": "The date and time when the metric is obtained. A management application can establish a time series of metric data by retrieving the instances of metric value and sorting them according to their timestamp.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600155 "format": "date-time",
Gunnar Mills10f270b2021-05-19 15:34:06 -0500156 "longDescription": "The value shall time when the metric value was obtained. Note that this value may be different from the time when this instance is created.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600157 "readonly": true,
158 "type": [
159 "string",
160 "null"
161 ],
162 "versionAdded": "v1_1_0"
163 }
164 },
165 "type": "object"
166 },
Ed Tanous530520e2019-01-02 13:41:37 -0800167 "OemActions": {
168 "additionalProperties": true,
Gunnar Mills844b4152020-06-22 12:44:09 -0500169 "description": "The available OEM-specific actions for this resource.",
170 "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
Ed Tanous530520e2019-01-02 13:41:37 -0800171 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700172 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous530520e2019-01-02 13:41:37 -0800173 "description": "This property shall specify a valid odata or Redfish property.",
174 "type": [
175 "array",
176 "boolean",
177 "integer",
178 "number",
179 "null",
180 "object",
181 "string"
182 ]
183 }
184 },
185 "properties": {},
186 "type": "object"
187 },
Gunnar Mills262d7d42021-01-20 16:28:41 -0600188 "ResetMetricReportDefinitionsToDefaults": {
189 "additionalProperties": false,
190 "description": "The action to reset the metric report definitions to factory defaults.",
Gunnar Mills10f270b2021-05-19 15:34:06 -0500191 "longDescription": "This action shall reset all entries found in the metric report definition collection to factory defaults. This action may delete members of the metric report definition collection.",
Gunnar Mills262d7d42021-01-20 16:28:41 -0600192 "parameters": {},
193 "patternProperties": {
194 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
195 "description": "This property shall specify a valid odata or Redfish property.",
196 "type": [
197 "array",
198 "boolean",
199 "integer",
200 "number",
201 "null",
202 "object",
203 "string"
204 ]
205 }
206 },
207 "properties": {
208 "target": {
209 "description": "Link to invoke action",
210 "format": "uri-reference",
211 "type": "string"
212 },
213 "title": {
214 "description": "Friendly action name",
215 "type": "string"
216 }
217 },
218 "type": "object",
219 "versionAdded": "v1_3_0"
220 },
221 "ResetTriggersToDefaults": {
222 "additionalProperties": false,
223 "description": "The action to reset the triggers to factory defaults.",
Gunnar Mills10f270b2021-05-19 15:34:06 -0500224 "longDescription": "This action shall reset all entries found in the triggers collection to factory defaults. This action may delete members of the triggers collection.",
Gunnar Mills262d7d42021-01-20 16:28:41 -0600225 "parameters": {},
226 "patternProperties": {
227 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
228 "description": "This property shall specify a valid odata or Redfish property.",
229 "type": [
230 "array",
231 "boolean",
232 "integer",
233 "number",
234 "null",
235 "object",
236 "string"
237 ]
238 }
239 },
240 "properties": {
241 "target": {
242 "description": "Link to invoke action",
243 "format": "uri-reference",
244 "type": "string"
245 },
246 "title": {
247 "description": "Friendly action name",
248 "type": "string"
249 }
250 },
251 "type": "object",
252 "versionAdded": "v1_3_0"
253 },
Ed Tanous530520e2019-01-02 13:41:37 -0800254 "SubmitTestMetricReport": {
255 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700256 "description": "This action generates a metric report.",
257 "longDescription": "This action shall cause the Event Service to immediately generate the metric report as an alert event. Then, this message should be sent to any appropriate event destinations.",
Ed Tanous530520e2019-01-02 13:41:37 -0800258 "parameters": {
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600259 "GeneratedMetricReportValues": {
260 "description": "The content of the MetricReportValues in the generated metric report.",
261 "items": {
262 "$ref": "#/definitions/MetricValue"
263 },
264 "longDescription": "This parameter shall contain the contents of the MetricReportValues array property in the generated metric report.",
265 "requiredParameter": true,
266 "type": "array",
267 "versionAdded": "v1_1_0"
268 },
Ed Tanous530520e2019-01-02 13:41:37 -0800269 "MetricReportName": {
Ed Tanouscb103132019-10-08 11:34:22 -0700270 "description": "The name of the metric report in generated metric report.",
271 "longDescription": "This parameter shall contain the name of the generated metric report.",
Ed Tanous530520e2019-01-02 13:41:37 -0800272 "requiredParameter": true,
273 "type": "string"
274 },
275 "MetricReportValues": {
Ed Tanouscb103132019-10-08 11:34:22 -0700276 "deprecated": "This property has been deprecated in favor of using the property 'GeneratedMetricReportValues'.",
277 "description": "The contents of MetricReportValues array in the generated metric report.",
Ed Tanous530520e2019-01-02 13:41:37 -0800278 "longDescription": "This parameter shall contain the contents of the MetricReportValues array property in the generated metric report.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600279 "type": "string",
280 "versionDeprecated": "v1_1_0"
Ed Tanous530520e2019-01-02 13:41:37 -0800281 }
282 },
283 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700284 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous530520e2019-01-02 13:41:37 -0800285 "description": "This property shall specify a valid odata or Redfish property.",
286 "type": [
287 "array",
288 "boolean",
289 "integer",
290 "number",
291 "null",
292 "object",
293 "string"
294 ]
295 }
296 },
297 "properties": {
298 "target": {
299 "description": "Link to invoke action",
Ed Tanouscb103132019-10-08 11:34:22 -0700300 "format": "uri-reference",
Ed Tanous530520e2019-01-02 13:41:37 -0800301 "type": "string"
302 },
303 "title": {
304 "description": "Friendly action name",
305 "type": "string"
306 }
307 },
308 "type": "object"
309 },
310 "TelemetryService": {
311 "additionalProperties": false,
Gunnar Mills844b4152020-06-22 12:44:09 -0500312 "description": "The TelemetryService schema describes a telemetry service. The telemetry service is used to for collecting and reporting metric data within the Redfish Service.",
313 "longDescription": "This resource contains a telemetry service for a Redfish implementation.",
Ed Tanous530520e2019-01-02 13:41:37 -0800314 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700315 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous530520e2019-01-02 13:41:37 -0800316 "description": "This property shall specify a valid odata or Redfish property.",
317 "type": [
318 "array",
319 "boolean",
320 "integer",
321 "number",
322 "null",
323 "object",
324 "string"
325 ]
326 }
327 },
328 "properties": {
329 "@odata.context": {
Ed Tanouscb103132019-10-08 11:34:22 -0700330 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
Ed Tanous530520e2019-01-02 13:41:37 -0800331 },
332 "@odata.etag": {
Ed Tanouscb103132019-10-08 11:34:22 -0700333 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
Ed Tanous530520e2019-01-02 13:41:37 -0800334 },
335 "@odata.id": {
Ed Tanouscb103132019-10-08 11:34:22 -0700336 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
Ed Tanous530520e2019-01-02 13:41:37 -0800337 },
338 "@odata.type": {
Ed Tanouscb103132019-10-08 11:34:22 -0700339 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
Ed Tanous530520e2019-01-02 13:41:37 -0800340 },
341 "Actions": {
342 "$ref": "#/definitions/Actions",
Gunnar Mills844b4152020-06-22 12:44:09 -0500343 "description": "The available actions for this resource.",
344 "longDescription": "This property shall contain the available actions for this resource."
Ed Tanous530520e2019-01-02 13:41:37 -0800345 },
346 "Description": {
347 "anyOf": [
348 {
349 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
350 },
351 {
352 "type": "null"
353 }
354 ],
355 "readonly": true
356 },
357 "Id": {
358 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
359 "readonly": true
360 },
361 "LogService": {
362 "$ref": "http://redfish.dmtf.org/schemas/v1/LogService.json#/definitions/LogService",
Gunnar Mills844b4152020-06-22 12:44:09 -0500363 "description": "The link to a log service that the telemetry service uses. This service can be a dedicated log service or a pointer a log service under another resource, such as a manager.",
364 "longDescription": "This property shall contain a link to a resource of type LogService that this telemetry service uses.",
Ed Tanous530520e2019-01-02 13:41:37 -0800365 "readonly": true
366 },
367 "MaxReports": {
Ed Tanouscb103132019-10-08 11:34:22 -0700368 "description": "The maximum number of metric reports that this service supports.",
369 "longDescription": "This property shall contain the maximum number of metric reports that this service supports.",
Ed Tanous530520e2019-01-02 13:41:37 -0800370 "readonly": true,
371 "type": [
372 "integer",
373 "null"
374 ]
375 },
376 "MetricDefinitions": {
377 "$ref": "http://redfish.dmtf.org/schemas/v1/MetricDefinitionCollection.json#/definitions/MetricDefinitionCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700378 "description": "The link to the collection of metric definitions.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500379 "longDescription": "This property shall contain a link to a resource collection of type MetricDefinitionCollection.",
Ed Tanous530520e2019-01-02 13:41:37 -0800380 "readonly": true
381 },
382 "MetricReportDefinitions": {
383 "$ref": "http://redfish.dmtf.org/schemas/v1/MetricReportDefinitionCollection.json#/definitions/MetricReportDefinitionCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700384 "description": "The link to the collection of metric report definitions.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500385 "longDescription": "This property shall contain a link to a resource collection of type MetricReportDefinitionCollection.",
Ed Tanous530520e2019-01-02 13:41:37 -0800386 "readonly": true
387 },
388 "MetricReports": {
389 "$ref": "http://redfish.dmtf.org/schemas/v1/MetricReportCollection.json#/definitions/MetricReportCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700390 "description": "The link to the collection of metric reports.",
Gunnar Mills844b4152020-06-22 12:44:09 -0500391 "longDescription": "This property shall contain a link to a resource collection of type MetricReportCollection.",
Ed Tanous530520e2019-01-02 13:41:37 -0800392 "readonly": true
393 },
394 "MinCollectionInterval": {
Ed Tanouscb103132019-10-08 11:34:22 -0700395 "description": "The minimum time interval between gathering metric data that this service allows.",
396 "longDescription": "This property shall contain the minimum time interval between gathering metric data that this service allows.",
Ed Tanousf263e092023-05-22 09:56:29 -0700397 "pattern": "^P(\\d+D)?(T(\\d+H)?(\\d+M)?(\\d+(.\\d+)?S)?)?$",
Ed Tanous530520e2019-01-02 13:41:37 -0800398 "readonly": true,
399 "type": [
400 "string",
401 "null"
402 ]
403 },
404 "Name": {
405 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
406 "readonly": true
407 },
408 "Oem": {
409 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700410 "description": "The OEM extension property.",
411 "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 Tanous530520e2019-01-02 13:41:37 -0800412 },
Gunnar Mills09b9d452020-02-11 13:27:39 -0600413 "ServiceEnabled": {
414 "description": "An indication of whether this service is enabled.",
415 "longDescription": "This property shall indicate whether this service is enabled.",
416 "readonly": false,
417 "type": [
418 "boolean",
419 "null"
420 ],
421 "versionAdded": "v1_2_0"
422 },
Ed Tanous530520e2019-01-02 13:41:37 -0800423 "Status": {
424 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
Gunnar Mills844b4152020-06-22 12:44:09 -0500425 "description": "The status and health of the resource and its subordinate or dependent resources.",
426 "longDescription": "This property shall contain any status or health properties of the resource."
Ed Tanous530520e2019-01-02 13:41:37 -0800427 },
428 "SupportedCollectionFunctions": {
429 "description": "The functions that can be performed over each metric.",
430 "items": {
431 "anyOf": [
432 {
433 "$ref": "#/definitions/CollectionFunction"
434 },
435 {
436 "type": "null"
437 }
438 ]
439 },
Ed Tanouscb103132019-10-08 11:34:22 -0700440 "longDescription": "This property shall contain the function to apply over the collection duration.",
Ed Tanousf263e092023-05-22 09:56:29 -0700441 "readonly": true,
Ed Tanous530520e2019-01-02 13:41:37 -0800442 "type": "array"
443 },
444 "Triggers": {
445 "$ref": "http://redfish.dmtf.org/schemas/v1/TriggersCollection.json#/definitions/TriggersCollection",
Gunnar Mills844b4152020-06-22 12:44:09 -0500446 "description": "The link to the collection of triggers that apply to metrics.",
447 "longDescription": "This property shall contain a link to a resource collection of type TriggersCollection.",
Ed Tanous530520e2019-01-02 13:41:37 -0800448 "readonly": true
449 }
450 },
451 "required": [
452 "@odata.id",
453 "@odata.type",
454 "Id",
455 "Name"
456 ],
457 "type": "object"
458 }
459 },
460 "owningEntity": "DMTF",
Gunnar Mills262d7d42021-01-20 16:28:41 -0600461 "release": "2020.4",
Ed Tanousf263e092023-05-22 09:56:29 -0700462 "title": "#TelemetryService.v1_3_2.TelemetryService"
Ed Tanous530520e2019-01-02 13:41:37 -0800463}