xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/StorageMetrics.v1_0_0.json (revision 9b46bc0b4c0c58c426e9bfb5a7d90250862ca9d2)
1*9b46bc0bSMyung Bae{
2*9b46bc0bSMyung Bae    "$id": "http://redfish.dmtf.org/schemas/v1/StorageMetrics.v1_0_0.json",
3*9b46bc0bSMyung Bae    "$ref": "#/definitions/StorageMetrics",
4*9b46bc0bSMyung Bae    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5*9b46bc0bSMyung Bae    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6*9b46bc0bSMyung Bae    "definitions": {
7*9b46bc0bSMyung Bae        "Actions": {
8*9b46bc0bSMyung Bae            "additionalProperties": false,
9*9b46bc0bSMyung Bae            "description": "The available actions for this resource.",
10*9b46bc0bSMyung Bae            "longDescription": "This type shall contain the available actions for this resource.",
11*9b46bc0bSMyung Bae            "patternProperties": {
12*9b46bc0bSMyung Bae                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13*9b46bc0bSMyung Bae                    "description": "This property shall specify a valid odata or Redfish property.",
14*9b46bc0bSMyung Bae                    "type": [
15*9b46bc0bSMyung Bae                        "array",
16*9b46bc0bSMyung Bae                        "boolean",
17*9b46bc0bSMyung Bae                        "integer",
18*9b46bc0bSMyung Bae                        "number",
19*9b46bc0bSMyung Bae                        "null",
20*9b46bc0bSMyung Bae                        "object",
21*9b46bc0bSMyung Bae                        "string"
22*9b46bc0bSMyung Bae                    ]
23*9b46bc0bSMyung Bae                }
24*9b46bc0bSMyung Bae            },
25*9b46bc0bSMyung Bae            "properties": {
26*9b46bc0bSMyung Bae                "Oem": {
27*9b46bc0bSMyung Bae                    "$ref": "#/definitions/OemActions",
28*9b46bc0bSMyung Bae                    "description": "The available OEM-specific actions for this resource.",
29*9b46bc0bSMyung Bae                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
30*9b46bc0bSMyung Bae                }
31*9b46bc0bSMyung Bae            },
32*9b46bc0bSMyung Bae            "type": "object"
33*9b46bc0bSMyung Bae        },
34*9b46bc0bSMyung Bae        "OemActions": {
35*9b46bc0bSMyung Bae            "additionalProperties": true,
36*9b46bc0bSMyung Bae            "description": "The available OEM-specific actions for this resource.",
37*9b46bc0bSMyung Bae            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
38*9b46bc0bSMyung Bae            "patternProperties": {
39*9b46bc0bSMyung Bae                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40*9b46bc0bSMyung Bae                    "description": "This property shall specify a valid odata or Redfish property.",
41*9b46bc0bSMyung Bae                    "type": [
42*9b46bc0bSMyung Bae                        "array",
43*9b46bc0bSMyung Bae                        "boolean",
44*9b46bc0bSMyung Bae                        "integer",
45*9b46bc0bSMyung Bae                        "number",
46*9b46bc0bSMyung Bae                        "null",
47*9b46bc0bSMyung Bae                        "object",
48*9b46bc0bSMyung Bae                        "string"
49*9b46bc0bSMyung Bae                    ]
50*9b46bc0bSMyung Bae                }
51*9b46bc0bSMyung Bae            },
52*9b46bc0bSMyung Bae            "properties": {},
53*9b46bc0bSMyung Bae            "type": "object"
54*9b46bc0bSMyung Bae        },
55*9b46bc0bSMyung Bae        "StorageMetrics": {
56*9b46bc0bSMyung Bae            "additionalProperties": false,
57*9b46bc0bSMyung Bae            "description": "The usage and health statistics for a storage subsystem.",
58*9b46bc0bSMyung Bae            "longDescription": "The `StorageMetrics` schema shall contain the usage and health statistics for a storage subsystem in a Redfish implementation.",
59*9b46bc0bSMyung Bae            "patternProperties": {
60*9b46bc0bSMyung Bae                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
61*9b46bc0bSMyung Bae                    "description": "This property shall specify a valid odata or Redfish property.",
62*9b46bc0bSMyung Bae                    "type": [
63*9b46bc0bSMyung Bae                        "array",
64*9b46bc0bSMyung Bae                        "boolean",
65*9b46bc0bSMyung Bae                        "integer",
66*9b46bc0bSMyung Bae                        "number",
67*9b46bc0bSMyung Bae                        "null",
68*9b46bc0bSMyung Bae                        "object",
69*9b46bc0bSMyung Bae                        "string"
70*9b46bc0bSMyung Bae                    ]
71*9b46bc0bSMyung Bae                }
72*9b46bc0bSMyung Bae            },
73*9b46bc0bSMyung Bae            "properties": {
74*9b46bc0bSMyung Bae                "@odata.context": {
75*9b46bc0bSMyung Bae                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
76*9b46bc0bSMyung Bae                },
77*9b46bc0bSMyung Bae                "@odata.etag": {
78*9b46bc0bSMyung Bae                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
79*9b46bc0bSMyung Bae                },
80*9b46bc0bSMyung Bae                "@odata.id": {
81*9b46bc0bSMyung Bae                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
82*9b46bc0bSMyung Bae                },
83*9b46bc0bSMyung Bae                "@odata.type": {
84*9b46bc0bSMyung Bae                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
85*9b46bc0bSMyung Bae                },
86*9b46bc0bSMyung Bae                "Actions": {
87*9b46bc0bSMyung Bae                    "$ref": "#/definitions/Actions",
88*9b46bc0bSMyung Bae                    "description": "The available actions for this resource.",
89*9b46bc0bSMyung Bae                    "longDescription": "This property shall contain the available actions for this resource."
90*9b46bc0bSMyung Bae                },
91*9b46bc0bSMyung Bae                "CompressionSavingsBytes": {
92*9b46bc0bSMyung Bae                    "description": "Current compression savings on the storage system in bytes.",
93*9b46bc0bSMyung Bae                    "longDescription": "The value shall represent the current compression savings on the storage system in bytes.",
94*9b46bc0bSMyung Bae                    "readonly": true,
95*9b46bc0bSMyung Bae                    "type": [
96*9b46bc0bSMyung Bae                        "integer",
97*9b46bc0bSMyung Bae                        "null"
98*9b46bc0bSMyung Bae                    ],
99*9b46bc0bSMyung Bae                    "units": "By"
100*9b46bc0bSMyung Bae                },
101*9b46bc0bSMyung Bae                "DeduplicationSavingsBytes": {
102*9b46bc0bSMyung Bae                    "description": "Current deduplication savings on the storage system in bytes.",
103*9b46bc0bSMyung Bae                    "longDescription": "The value shall represent the current deduplication savings on the storage system in bytes.",
104*9b46bc0bSMyung Bae                    "readonly": true,
105*9b46bc0bSMyung Bae                    "type": [
106*9b46bc0bSMyung Bae                        "integer",
107*9b46bc0bSMyung Bae                        "null"
108*9b46bc0bSMyung Bae                    ],
109*9b46bc0bSMyung Bae                    "units": "By"
110*9b46bc0bSMyung Bae                },
111*9b46bc0bSMyung Bae                "Description": {
112*9b46bc0bSMyung Bae                    "anyOf": [
113*9b46bc0bSMyung Bae                        {
114*9b46bc0bSMyung Bae                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
115*9b46bc0bSMyung Bae                        },
116*9b46bc0bSMyung Bae                        {
117*9b46bc0bSMyung Bae                            "type": "null"
118*9b46bc0bSMyung Bae                        }
119*9b46bc0bSMyung Bae                    ],
120*9b46bc0bSMyung Bae                    "readonly": true
121*9b46bc0bSMyung Bae                },
122*9b46bc0bSMyung Bae                "IOStatistics": {
123*9b46bc0bSMyung Bae                    "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/IOStatistics.json#/definitions/IOStatistics",
124*9b46bc0bSMyung Bae                    "description": "Statistics for this storage system.",
125*9b46bc0bSMyung Bae                    "longDescription": "The value shall contain the I/O statistics for this storage system."
126*9b46bc0bSMyung Bae                },
127*9b46bc0bSMyung Bae                "Id": {
128*9b46bc0bSMyung Bae                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
129*9b46bc0bSMyung Bae                    "readonly": true
130*9b46bc0bSMyung Bae                },
131*9b46bc0bSMyung Bae                "Name": {
132*9b46bc0bSMyung Bae                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
133*9b46bc0bSMyung Bae                    "readonly": true
134*9b46bc0bSMyung Bae                },
135*9b46bc0bSMyung Bae                "Oem": {
136*9b46bc0bSMyung Bae                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
137*9b46bc0bSMyung Bae                    "description": "The OEM extension property.",
138*9b46bc0bSMyung Bae                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
139*9b46bc0bSMyung Bae                },
140*9b46bc0bSMyung Bae                "StateChangeCount": {
141*9b46bc0bSMyung Bae                    "description": "The number of state changes for this storage subsystem.",
142*9b46bc0bSMyung Bae                    "longDescription": "This property shall contain the number of times the `State` property within the `Status` property of the parent `Storage` resource changed.",
143*9b46bc0bSMyung Bae                    "readonly": true,
144*9b46bc0bSMyung Bae                    "type": [
145*9b46bc0bSMyung Bae                        "number",
146*9b46bc0bSMyung Bae                        "null"
147*9b46bc0bSMyung Bae                    ]
148*9b46bc0bSMyung Bae                },
149*9b46bc0bSMyung Bae                "ThinProvisioningSavingsBytes": {
150*9b46bc0bSMyung Bae                    "description": "Current thin provisioning savings on the storage system in bytes.",
151*9b46bc0bSMyung Bae                    "longDescription": "The value shall represent the current thin provisioning savings on the storage system in bytes.",
152*9b46bc0bSMyung Bae                    "readonly": true,
153*9b46bc0bSMyung Bae                    "type": [
154*9b46bc0bSMyung Bae                        "integer",
155*9b46bc0bSMyung Bae                        "null"
156*9b46bc0bSMyung Bae                    ],
157*9b46bc0bSMyung Bae                    "units": "By"
158*9b46bc0bSMyung Bae                }
159*9b46bc0bSMyung Bae            },
160*9b46bc0bSMyung Bae            "required": [
161*9b46bc0bSMyung Bae                "@odata.id",
162*9b46bc0bSMyung Bae                "@odata.type",
163*9b46bc0bSMyung Bae                "Id",
164*9b46bc0bSMyung Bae                "Name"
165*9b46bc0bSMyung Bae            ],
166*9b46bc0bSMyung Bae            "type": "object"
167*9b46bc0bSMyung Bae        }
168*9b46bc0bSMyung Bae    },
169*9b46bc0bSMyung Bae    "language": "en",
170*9b46bc0bSMyung Bae    "owningEntity": "DMTF",
171*9b46bc0bSMyung Bae    "release": "2024.4",
172*9b46bc0bSMyung Bae    "title": "#StorageMetrics.v1_0_0.StorageMetrics"
173*9b46bc0bSMyung Bae}