blob: 9ed1a618279481be34df1c78f9d0473b9e08142d [file] [log] [blame]
Ed Tanous530520e2019-01-02 13:41:37 -08001{
Gunnar Mills09b9d452020-02-11 13:27:39 -06002 "$id": "http://redfish.dmtf.org/schemas/v1/TelemetryService.v1_2_0.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 Tanouscb103132019-10-08 11:34:22 -07005 "copyright": "Copyright 2014-2019 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,
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 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": {
26 "#TelemetryService.SubmitTestMetricReport": {
27 "$ref": "#/definitions/SubmitTestMetricReport"
28 },
29 "Oem": {
30 "$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."
Ed Tanous530520e2019-01-02 13:41:37 -080033 }
34 },
35 "type": "object"
36 },
37 "CollectionFunction": {
38 "description": "An operation to perform over the sample.",
39 "enum": [
40 "Average",
41 "Maximum",
42 "Minimum",
43 "Summation"
44 ],
45 "enumDescriptions": {
46 "Average": "An averaging function.",
47 "Maximum": "A maximum function.",
48 "Minimum": "A minimum function.",
49 "Summation": "A summation function."
50 },
51 "longDescription": "If present, the metric value shall be computed according to this function.",
52 "type": "string"
53 },
Marri Devender Raod45d2d02019-01-21 10:11:34 -060054 "MetricValue": {
55 "additionalProperties": false,
56 "description": "A metric value.",
57 "longDescription": "A metric value in the context of a Metric.",
58 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070059 "^([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 -060060 "description": "This property shall specify a valid odata or Redfish property.",
61 "type": [
62 "array",
63 "boolean",
64 "integer",
65 "number",
66 "null",
67 "object",
68 "string"
69 ]
70 }
71 },
72 "properties": {
73 "MetricDefinition": {
74 "$ref": "http://redfish.dmtf.org/schemas/v1/MetricDefinition.json#/definitions/MetricDefinition",
Ed Tanouscb103132019-10-08 11:34:22 -070075 "description": "The link to the metric.",
76 "longDescription": "The link to the Metric Definition Resource that describes what this metric report captures.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -060077 "readonly": true,
78 "versionAdded": "v1_1_0"
79 },
80 "MetricId": {
81 "description": "The metric definitions identifier for this metric.",
Ed Tanouscb103132019-10-08 11:34:22 -070082 "longDescription": "This property shall contain the same as the Id property of the source metric within the associated MetricDefinition.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -060083 "readonly": true,
84 "type": [
85 "string",
86 "null"
87 ],
88 "versionAdded": "v1_1_0"
89 },
90 "MetricProperty": {
91 "description": "The URI for the property from which this metric is derived.",
Ed Tanouscb103132019-10-08 11:34:22 -070092 "format": "uri-reference",
93 "longDescription": "This property shall contain the URI to the property, which follows the RFC6901-defined JSON fragment notation, to identify an individual property in a Redfish Resource.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -060094 "readonly": true,
95 "type": [
96 "string",
97 "null"
98 ],
99 "versionAdded": "v1_1_0"
100 },
101 "MetricValue": {
Ed Tanouscb103132019-10-08 11:34:22 -0700102 "description": "The metric value, as a string.",
103 "longDescription": "This property shall contain the metric value, as a string.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600104 "readonly": true,
105 "type": [
106 "string",
107 "null"
108 ],
109 "versionAdded": "v1_1_0"
110 },
111 "Timestamp": {
Ed Tanouscb103132019-10-08 11:34:22 -0700112 "description": "The time when the metric value is obtained. A management application may 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 -0600113 "format": "date-time",
Ed Tanouscb103132019-10-08 11:34:22 -0700114 "longDescription": "This property shall contain the time when the metric value was obtained. Note that this may be different from the time when this instance is created.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600115 "readonly": true,
116 "type": [
117 "string",
118 "null"
119 ],
120 "versionAdded": "v1_1_0"
121 }
122 },
123 "type": "object"
124 },
Ed Tanous530520e2019-01-02 13:41:37 -0800125 "OemActions": {
126 "additionalProperties": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700127 "description": "The available OEM-specific actions for this Resource.",
128 "longDescription": "This type shall contain the available OEM-specific actions for this Resource.",
Ed Tanous530520e2019-01-02 13:41:37 -0800129 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700130 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous530520e2019-01-02 13:41:37 -0800131 "description": "This property shall specify a valid odata or Redfish property.",
132 "type": [
133 "array",
134 "boolean",
135 "integer",
136 "number",
137 "null",
138 "object",
139 "string"
140 ]
141 }
142 },
143 "properties": {},
144 "type": "object"
145 },
146 "SubmitTestMetricReport": {
147 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700148 "description": "This action generates a metric report.",
149 "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 -0800150 "parameters": {
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600151 "GeneratedMetricReportValues": {
152 "description": "The content of the MetricReportValues in the generated metric report.",
153 "items": {
154 "$ref": "#/definitions/MetricValue"
155 },
156 "longDescription": "This parameter shall contain the contents of the MetricReportValues array property in the generated metric report.",
157 "requiredParameter": true,
158 "type": "array",
159 "versionAdded": "v1_1_0"
160 },
Ed Tanous530520e2019-01-02 13:41:37 -0800161 "MetricReportName": {
Ed Tanouscb103132019-10-08 11:34:22 -0700162 "description": "The name of the metric report in generated metric report.",
163 "longDescription": "This parameter shall contain the name of the generated metric report.",
Ed Tanous530520e2019-01-02 13:41:37 -0800164 "requiredParameter": true,
165 "type": "string"
166 },
167 "MetricReportValues": {
Ed Tanouscb103132019-10-08 11:34:22 -0700168 "deprecated": "This property has been deprecated in favor of using the property 'GeneratedMetricReportValues'.",
169 "description": "The contents of MetricReportValues array in the generated metric report.",
Ed Tanous530520e2019-01-02 13:41:37 -0800170 "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 -0600171 "type": "string",
172 "versionDeprecated": "v1_1_0"
Ed Tanous530520e2019-01-02 13:41:37 -0800173 }
174 },
175 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700176 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous530520e2019-01-02 13:41:37 -0800177 "description": "This property shall specify a valid odata or Redfish property.",
178 "type": [
179 "array",
180 "boolean",
181 "integer",
182 "number",
183 "null",
184 "object",
185 "string"
186 ]
187 }
188 },
189 "properties": {
190 "target": {
191 "description": "Link to invoke action",
Ed Tanouscb103132019-10-08 11:34:22 -0700192 "format": "uri-reference",
Ed Tanous530520e2019-01-02 13:41:37 -0800193 "type": "string"
194 },
195 "title": {
196 "description": "Friendly action name",
197 "type": "string"
198 }
199 },
200 "type": "object"
201 },
202 "TelemetryService": {
203 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700204 "description": "The TelemetryService schema describes a Telemetry Service. The Telemetry Service is used to for collecting and reporting metric data within the Redfish Service.",
205 "longDescription": "This Resource contains a Telemetry Service for a Redfish implementation.",
Ed Tanous530520e2019-01-02 13:41:37 -0800206 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700207 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous530520e2019-01-02 13:41:37 -0800208 "description": "This property shall specify a valid odata or Redfish property.",
209 "type": [
210 "array",
211 "boolean",
212 "integer",
213 "number",
214 "null",
215 "object",
216 "string"
217 ]
218 }
219 },
220 "properties": {
221 "@odata.context": {
Ed Tanouscb103132019-10-08 11:34:22 -0700222 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
Ed Tanous530520e2019-01-02 13:41:37 -0800223 },
224 "@odata.etag": {
Ed Tanouscb103132019-10-08 11:34:22 -0700225 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
Ed Tanous530520e2019-01-02 13:41:37 -0800226 },
227 "@odata.id": {
Ed Tanouscb103132019-10-08 11:34:22 -0700228 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
Ed Tanous530520e2019-01-02 13:41:37 -0800229 },
230 "@odata.type": {
Ed Tanouscb103132019-10-08 11:34:22 -0700231 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
Ed Tanous530520e2019-01-02 13:41:37 -0800232 },
233 "Actions": {
234 "$ref": "#/definitions/Actions",
Ed Tanouscb103132019-10-08 11:34:22 -0700235 "description": "The available actions for this Resource.",
236 "longDescription": "This property shall contain the available actions for this Resource."
Ed Tanous530520e2019-01-02 13:41:37 -0800237 },
238 "Description": {
239 "anyOf": [
240 {
241 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
242 },
243 {
244 "type": "null"
245 }
246 ],
247 "readonly": true
248 },
249 "Id": {
250 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
251 "readonly": true
252 },
253 "LogService": {
254 "$ref": "http://redfish.dmtf.org/schemas/v1/LogService.json#/definitions/LogService",
Ed Tanouscb103132019-10-08 11:34:22 -0700255 "description": "The link to a Log Service that the Telemetry Service uses. This service may be a dedicated Log Service or a pointer a Log Service under another entity, such as Manager.",
256 "longDescription": "This property shall contain a link to a Log Service that this Telemetry Service uses.",
Ed Tanous530520e2019-01-02 13:41:37 -0800257 "readonly": true
258 },
259 "MaxReports": {
Ed Tanouscb103132019-10-08 11:34:22 -0700260 "description": "The maximum number of metric reports that this service supports.",
261 "longDescription": "This property shall contain the maximum number of metric reports that this service supports.",
Ed Tanous530520e2019-01-02 13:41:37 -0800262 "readonly": true,
263 "type": [
264 "integer",
265 "null"
266 ]
267 },
268 "MetricDefinitions": {
269 "$ref": "http://redfish.dmtf.org/schemas/v1/MetricDefinitionCollection.json#/definitions/MetricDefinitionCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700270 "description": "The link to the collection of metric definitions.",
271 "longDescription": "This property shall contain a link to a Resource Collection of type MetricDefinitionCollection.",
Ed Tanous530520e2019-01-02 13:41:37 -0800272 "readonly": true
273 },
274 "MetricReportDefinitions": {
275 "$ref": "http://redfish.dmtf.org/schemas/v1/MetricReportDefinitionCollection.json#/definitions/MetricReportDefinitionCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700276 "description": "The link to the collection of metric report definitions.",
277 "longDescription": "This property shall contain a link to a Resource Collection of type MetricReportDefinitionCollection.",
Ed Tanous530520e2019-01-02 13:41:37 -0800278 "readonly": true
279 },
280 "MetricReports": {
281 "$ref": "http://redfish.dmtf.org/schemas/v1/MetricReportCollection.json#/definitions/MetricReportCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700282 "description": "The link to the collection of metric reports.",
283 "longDescription": "This property shall contain a link to a Resource Collection of type MetricReportCollection.",
Ed Tanous530520e2019-01-02 13:41:37 -0800284 "readonly": true
285 },
286 "MinCollectionInterval": {
Ed Tanouscb103132019-10-08 11:34:22 -0700287 "description": "The minimum time interval between gathering metric data that this service allows.",
288 "longDescription": "This property shall contain the minimum time interval between gathering metric data that this service allows.",
Ed Tanous530520e2019-01-02 13:41:37 -0800289 "pattern": "-?P(\\d+D)?(T(\\d+H)?(\\d+M)?(\\d+(.\\d+)?S)?)?",
290 "readonly": true,
291 "type": [
292 "string",
293 "null"
294 ]
295 },
296 "Name": {
297 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
298 "readonly": true
299 },
300 "Oem": {
301 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700302 "description": "The OEM extension property.",
303 "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 -0800304 },
Gunnar Mills09b9d452020-02-11 13:27:39 -0600305 "ServiceEnabled": {
306 "description": "An indication of whether this service is enabled.",
307 "longDescription": "This property shall indicate whether this service is enabled.",
308 "readonly": false,
309 "type": [
310 "boolean",
311 "null"
312 ],
313 "versionAdded": "v1_2_0"
314 },
Ed Tanous530520e2019-01-02 13:41:37 -0800315 "Status": {
316 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
Ed Tanouscb103132019-10-08 11:34:22 -0700317 "description": "The status and health of the Resource and its subordinate or dependent Resources.",
318 "longDescription": "This property shall contain any status or health properties of the Resource."
Ed Tanous530520e2019-01-02 13:41:37 -0800319 },
320 "SupportedCollectionFunctions": {
321 "description": "The functions that can be performed over each metric.",
322 "items": {
323 "anyOf": [
324 {
325 "$ref": "#/definitions/CollectionFunction"
326 },
327 {
328 "type": "null"
329 }
330 ]
331 },
Ed Tanouscb103132019-10-08 11:34:22 -0700332 "longDescription": "This property shall contain the function to apply over the collection duration.",
Ed Tanous530520e2019-01-02 13:41:37 -0800333 "readonly": false,
334 "type": "array"
335 },
336 "Triggers": {
337 "$ref": "http://redfish.dmtf.org/schemas/v1/TriggersCollection.json#/definitions/TriggersCollection",
Ed Tanouscb103132019-10-08 11:34:22 -0700338 "description": "The link to the collection of triggers, which apply to metrics.",
339 "longDescription": "This property shall contain a link to a Resource Collection of type TriggersCollection.",
Ed Tanous530520e2019-01-02 13:41:37 -0800340 "readonly": true
341 }
342 },
343 "required": [
344 "@odata.id",
345 "@odata.type",
346 "Id",
347 "Name"
348 ],
349 "type": "object"
350 }
351 },
352 "owningEntity": "DMTF",
Gunnar Mills09b9d452020-02-11 13:27:39 -0600353 "release": "2019.4",
354 "title": "#TelemetryService.v1_2_0.TelemetryService"
Ed Tanous530520e2019-01-02 13:41:37 -0800355}