128cfceb2SGunnar Mills{ 228cfceb2SGunnar Mills "$id": "http://redfish.dmtf.org/schemas/v1/MetricReport.v1_5_2.json", 328cfceb2SGunnar Mills "$ref": "#/definitions/MetricReport", 428cfceb2SGunnar Mills "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 528cfceb2SGunnar Mills "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", 628cfceb2SGunnar Mills "definitions": { 728cfceb2SGunnar Mills "Actions": { 828cfceb2SGunnar Mills "additionalProperties": false, 928cfceb2SGunnar Mills "description": "The available actions for this resource.", 1028cfceb2SGunnar Mills "longDescription": "This type shall contain the available actions for this resource.", 1128cfceb2SGunnar Mills "patternProperties": { 1228cfceb2SGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 1328cfceb2SGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 1428cfceb2SGunnar Mills "type": [ 1528cfceb2SGunnar Mills "array", 1628cfceb2SGunnar Mills "boolean", 1728cfceb2SGunnar Mills "integer", 1828cfceb2SGunnar Mills "number", 1928cfceb2SGunnar Mills "null", 2028cfceb2SGunnar Mills "object", 2128cfceb2SGunnar Mills "string" 2228cfceb2SGunnar Mills ] 2328cfceb2SGunnar Mills } 2428cfceb2SGunnar Mills }, 2528cfceb2SGunnar Mills "properties": { 2628cfceb2SGunnar Mills "Oem": { 2728cfceb2SGunnar Mills "$ref": "#/definitions/OemActions", 2828cfceb2SGunnar Mills "description": "The available OEM-specific actions for this resource.", 2928cfceb2SGunnar Mills "longDescription": "This property shall contain the available OEM-specific actions for this resource." 3028cfceb2SGunnar Mills } 3128cfceb2SGunnar Mills }, 3228cfceb2SGunnar Mills "type": "object" 3328cfceb2SGunnar Mills }, 3428cfceb2SGunnar Mills "MetricReport": { 3528cfceb2SGunnar Mills "additionalProperties": false, 3628cfceb2SGunnar Mills "description": "The `MetricReport` schema represents a set of collected metrics.", 3728cfceb2SGunnar Mills "longDescription": "This resource shall represent a metric report in a Redfish implementation. When a metric report is deleted, the historic metric data used to generate the report shall be deleted as well unless other metric reports are consuming the data.", 3828cfceb2SGunnar Mills "patternProperties": { 3928cfceb2SGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 4028cfceb2SGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 4128cfceb2SGunnar Mills "type": [ 4228cfceb2SGunnar Mills "array", 4328cfceb2SGunnar Mills "boolean", 4428cfceb2SGunnar Mills "integer", 4528cfceb2SGunnar Mills "number", 4628cfceb2SGunnar Mills "null", 4728cfceb2SGunnar Mills "object", 4828cfceb2SGunnar Mills "string" 4928cfceb2SGunnar Mills ] 5028cfceb2SGunnar Mills } 5128cfceb2SGunnar Mills }, 5228cfceb2SGunnar Mills "properties": { 5328cfceb2SGunnar Mills "@odata.context": { 5428cfceb2SGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 5528cfceb2SGunnar Mills }, 5628cfceb2SGunnar Mills "@odata.etag": { 5728cfceb2SGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 5828cfceb2SGunnar Mills }, 5928cfceb2SGunnar Mills "@odata.id": { 6028cfceb2SGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 6128cfceb2SGunnar Mills }, 6228cfceb2SGunnar Mills "@odata.type": { 6328cfceb2SGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" 6428cfceb2SGunnar Mills }, 6528cfceb2SGunnar Mills "Actions": { 6628cfceb2SGunnar Mills "$ref": "#/definitions/Actions", 6728cfceb2SGunnar Mills "description": "The available actions for this resource.", 6828cfceb2SGunnar Mills "longDescription": "This property shall contain the available actions for this resource." 6928cfceb2SGunnar Mills }, 7028cfceb2SGunnar Mills "Context": { 7128cfceb2SGunnar Mills "description": "A context can be supplied at subscription time. This property is the context value supplied by the subscriber.", 7228cfceb2SGunnar Mills "longDescription": "This property shall contain a client supplied context for the event destination to which this event is being sent. This property shall only be present when sent as a payload in an event.", 7328cfceb2SGunnar Mills "readonly": true, 7428cfceb2SGunnar Mills "type": "string", 7528cfceb2SGunnar Mills "versionAdded": "v1_4_0" 7628cfceb2SGunnar Mills }, 7728cfceb2SGunnar Mills "Description": { 7828cfceb2SGunnar Mills "anyOf": [ 7928cfceb2SGunnar Mills { 8028cfceb2SGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" 8128cfceb2SGunnar Mills }, 8228cfceb2SGunnar Mills { 8328cfceb2SGunnar Mills "type": "null" 8428cfceb2SGunnar Mills } 8528cfceb2SGunnar Mills ], 8628cfceb2SGunnar Mills "readonly": true 8728cfceb2SGunnar Mills }, 8828cfceb2SGunnar Mills "Id": { 8928cfceb2SGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", 9028cfceb2SGunnar Mills "readonly": true 9128cfceb2SGunnar Mills }, 9228cfceb2SGunnar Mills "MetricReportDefinition": { 9328cfceb2SGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/MetricReportDefinition.json#/definitions/MetricReportDefinition", 9428cfceb2SGunnar Mills "description": "The link to the definition of this metric report.", 9528cfceb2SGunnar Mills "longDescription": "This property shall contain a link to a resource of type `MetricReportDefinition`.", 9628cfceb2SGunnar Mills "readonly": true 9728cfceb2SGunnar Mills }, 9828cfceb2SGunnar Mills "MetricValues": { 9928cfceb2SGunnar Mills "description": "An array of metric values for the metered items of this metric report.", 10028cfceb2SGunnar Mills "items": { 10128cfceb2SGunnar Mills "$ref": "#/definitions/MetricValue" 10228cfceb2SGunnar Mills }, 10328cfceb2SGunnar Mills "longDescription": "The values shall be metric values for this metric report.", 10428cfceb2SGunnar Mills "type": "array" 10528cfceb2SGunnar Mills }, 10628cfceb2SGunnar Mills "Name": { 10728cfceb2SGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", 10828cfceb2SGunnar Mills "readonly": true 10928cfceb2SGunnar Mills }, 11028cfceb2SGunnar Mills "Oem": { 11128cfceb2SGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 11228cfceb2SGunnar Mills "description": "The OEM extension property.", 11328cfceb2SGunnar Mills "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." 11428cfceb2SGunnar Mills }, 11528cfceb2SGunnar Mills "ReportSequence": { 11628cfceb2SGunnar Mills "deprecated": "This property has been deprecated due to specification changes with regards to Server-Sent Events.", 11728cfceb2SGunnar Mills "description": "The current sequence identifier for this metric report.", 11828cfceb2SGunnar Mills "longDescription": "This property shall contain the current sequence identifier for this metric report. The sequence identifier is a unique identifier assigned by the service for serializing metric reports as they are produced.", 11928cfceb2SGunnar Mills "readonly": true, 12028cfceb2SGunnar Mills "type": "string", 12128cfceb2SGunnar Mills "versionDeprecated": "v1_3_0" 12228cfceb2SGunnar Mills }, 12328cfceb2SGunnar Mills "Timestamp": { 12428cfceb2SGunnar Mills "description": "The time associated with the metric report in its entirety. The time of the metric report can be relevant when the time of individual metrics are minimally different.", 12528cfceb2SGunnar Mills "format": "date-time", 12628cfceb2SGunnar Mills "longDescription": "This property shall contain the time when the metric report was generated.", 12728cfceb2SGunnar Mills "readonly": true, 12828cfceb2SGunnar Mills "type": [ 12928cfceb2SGunnar Mills "string", 13028cfceb2SGunnar Mills "null" 13128cfceb2SGunnar Mills ], 13228cfceb2SGunnar Mills "versionAdded": "v1_1_0" 13328cfceb2SGunnar Mills } 13428cfceb2SGunnar Mills }, 13528cfceb2SGunnar Mills "required": [ 13628cfceb2SGunnar Mills "@odata.id", 13728cfceb2SGunnar Mills "@odata.type", 13828cfceb2SGunnar Mills "Id", 13928cfceb2SGunnar Mills "Name" 14028cfceb2SGunnar Mills ], 14128cfceb2SGunnar Mills "type": "object" 14228cfceb2SGunnar Mills }, 14328cfceb2SGunnar Mills "MetricValue": { 14428cfceb2SGunnar Mills "additionalProperties": false, 14528cfceb2SGunnar Mills "description": "Properties that capture a metric value and other associated information.", 14628cfceb2SGunnar Mills "longDescription": "This type shall contain properties that capture a metric value and other associated information.", 14728cfceb2SGunnar Mills "patternProperties": { 14828cfceb2SGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 14928cfceb2SGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 15028cfceb2SGunnar Mills "type": [ 15128cfceb2SGunnar Mills "array", 15228cfceb2SGunnar Mills "boolean", 15328cfceb2SGunnar Mills "integer", 15428cfceb2SGunnar Mills "number", 15528cfceb2SGunnar Mills "null", 15628cfceb2SGunnar Mills "object", 15728cfceb2SGunnar Mills "string" 15828cfceb2SGunnar Mills ] 15928cfceb2SGunnar Mills } 16028cfceb2SGunnar Mills }, 16128cfceb2SGunnar Mills "properties": { 16228cfceb2SGunnar Mills "MetricDefinition": { 16328cfceb2SGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/MetricDefinition.json#/definitions/MetricDefinition", 16428cfceb2SGunnar Mills "deprecated": "This property has been deprecated in favor of the `MetricId` property.", 16528cfceb2SGunnar Mills "description": "The link to the metric definition for this metric.", 16628cfceb2SGunnar Mills "longDescription": "This property shall contain a link to a resource of type `MetricDefinition` that describes what this metric value captures.", 16728cfceb2SGunnar Mills "readonly": true, 16828cfceb2SGunnar Mills "versionDeprecated": "v1_5_0" 16928cfceb2SGunnar Mills }, 17028cfceb2SGunnar Mills "MetricId": { 17128cfceb2SGunnar Mills "description": "The metric definitions identifier that contains additional information for the source metric.", 17228cfceb2SGunnar Mills "longDescription": "This property shall contain the value of the `Id` property of the `MetricDefinition` resource that contains additional information for the source metric.", 17328cfceb2SGunnar Mills "readonly": true, 17428cfceb2SGunnar Mills "type": [ 17528cfceb2SGunnar Mills "string", 17628cfceb2SGunnar Mills "null" 17728cfceb2SGunnar Mills ] 17828cfceb2SGunnar Mills }, 17928cfceb2SGunnar Mills "MetricProperty": { 18028cfceb2SGunnar Mills "description": "The URI for the property from which this metric is derived.", 18128cfceb2SGunnar Mills "format": "uri-reference", 18228cfceb2SGunnar Mills "longDescription": "This property shall contain a URI following RFC6901-specified JSON pointer notation to the property from which this metric is derived. The value of `MetricValue` may contain additional calculations performed on the property based upon the configuration of the `MetricReportDefinition`.", 18328cfceb2SGunnar Mills "readonly": true, 18428cfceb2SGunnar Mills "type": [ 18528cfceb2SGunnar Mills "string", 18628cfceb2SGunnar Mills "null" 18728cfceb2SGunnar Mills ] 18828cfceb2SGunnar Mills }, 18928cfceb2SGunnar Mills "MetricValue": { 19028cfceb2SGunnar Mills "description": "The metric value, as a string.", 19128cfceb2SGunnar Mills "longDescription": "This property shall contain the metric value, as a string. For numeric metrics, the service shall convert the number to a string representation of the number. For array metrics, the service shall convert the array to an RFC8259-defined JSON string. For boolean metrics, this property shall contain the strings `true` or `false`. If the metric value is `null`, this property shall contain `null`.", 19228cfceb2SGunnar Mills "readonly": true, 19328cfceb2SGunnar Mills "type": [ 19428cfceb2SGunnar Mills "string", 19528cfceb2SGunnar Mills "null" 19628cfceb2SGunnar Mills ] 19728cfceb2SGunnar Mills }, 19828cfceb2SGunnar Mills "Oem": { 19928cfceb2SGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 20028cfceb2SGunnar Mills "description": "The OEM extension property.", 20128cfceb2SGunnar Mills "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements.", 20228cfceb2SGunnar Mills "versionAdded": "v1_2_0" 20328cfceb2SGunnar Mills }, 20428cfceb2SGunnar Mills "Timestamp": { 20528cfceb2SGunnar Mills "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.", 20628cfceb2SGunnar Mills "format": "date-time", 20728cfceb2SGunnar Mills "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.", 20828cfceb2SGunnar Mills "readonly": true, 20928cfceb2SGunnar Mills "type": [ 21028cfceb2SGunnar Mills "string", 21128cfceb2SGunnar Mills "null" 21228cfceb2SGunnar Mills ] 21328cfceb2SGunnar Mills } 21428cfceb2SGunnar Mills }, 21528cfceb2SGunnar Mills "type": "object" 21628cfceb2SGunnar Mills }, 21728cfceb2SGunnar Mills "OemActions": { 21828cfceb2SGunnar Mills "additionalProperties": true, 21928cfceb2SGunnar Mills "description": "The available OEM-specific actions for this resource.", 22028cfceb2SGunnar Mills "longDescription": "This type shall contain the available OEM-specific actions for this resource.", 22128cfceb2SGunnar Mills "patternProperties": { 22228cfceb2SGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 22328cfceb2SGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 22428cfceb2SGunnar Mills "type": [ 22528cfceb2SGunnar Mills "array", 22628cfceb2SGunnar Mills "boolean", 22728cfceb2SGunnar Mills "integer", 22828cfceb2SGunnar Mills "number", 22928cfceb2SGunnar Mills "null", 23028cfceb2SGunnar Mills "object", 23128cfceb2SGunnar Mills "string" 23228cfceb2SGunnar Mills ] 23328cfceb2SGunnar Mills } 23428cfceb2SGunnar Mills }, 23528cfceb2SGunnar Mills "properties": {}, 23628cfceb2SGunnar Mills "type": "object" 23728cfceb2SGunnar Mills } 23828cfceb2SGunnar Mills }, 23928cfceb2SGunnar Mills "language": "en", 24028cfceb2SGunnar Mills "owningEntity": "DMTF", 24128cfceb2SGunnar Mills "release": "2022.2", 24228cfceb2SGunnar Mills "title": "#MetricReport.v1_5_2.MetricReport" 24328cfceb2SGunnar Mills}