redfish_codegen/registries/environmental/
v1_0_0.rs

1// Generated by redfish-codegen. Do not modify.
2
3use redfish_macros::IntoRedfishMessage;
4
5/// This registry defines messages related to environmental sensors, heating and cooling equipment, or other environmental conditions.
6#[derive(Clone, Debug, IntoRedfishMessage)]
7#[message(crate::models::message::v1_1_2::Message)]
8pub enum Environmental {
9    /// This message shall be used to indicate that a fan was inserted or installed
10    #[message(message = "Fan '%1' was inserted.")]
11    #[message(id = "Environmental.1.0.0.FanInserted")]
12    #[message(severity = "crate::models::resource::Health::OK")]
13    #[message(resolution = "None.")]
14    FanInserted(
15        /// This argument shall contain a string that identifies or describes the `Fan` resource.
16        String,
17    ),
18    /// This message shall be used to indicate that a humidity reading violates an lower caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties.
19    #[message(message = "Humidity '%1' reading of %2 percent is below the %3 lower caution threshold.")]
20    #[message(id = "Environmental.1.0.0.HumidityBelowLowerCautionThreshold")]
21    #[message(severity = "crate::models::resource::Health::Warning")]
22    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
23    HumidityBelowLowerCautionThreshold(
24        /// This argument shall contain a string that identifies or describes the location or physical context of the humidity reading.
25        String,
26        /// This argument shall contain the humidity as a percentage.
27        f64,
28        /// This argument shall contain the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties of the `Sensor` resource.
29        f64,
30    ),
31    /// This message shall be used to indicate that a temperature reading violates an upper caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties.  Otherwise, the message shall indicate that the reading violates an internal level or threshold.
32    #[message(message = "Temperature '%1' reading of %2 degrees (C) is above the %3 upper caution threshold.")]
33    #[message(id = "Environmental.1.0.0.TemperatureAboveUpperCautionThreshold")]
34    #[message(severity = "crate::models::resource::Health::Warning")]
35    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
36    TemperatureAboveUpperCautionThreshold(
37        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
38        String,
39        /// This argument shall contain the temperature in degrees Celsius.
40        f64,
41        /// If the reading originated from a `Sensor` resource, this argument shall contain the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties of the `Sensor` resource.  Otherwise, this argument shall contain an internal level or threshold value.
42        f64,
43    ),
44    /// This message shall be used to indicate that a temperature reading violates an upper fatal threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperFatal` property.
45    #[message(message = "Temperature '%1' reading of %2 degrees (C) is above the %3 upper fatal threshold.")]
46    #[message(id = "Environmental.1.0.0.TemperatureAboveUpperFatalThreshold")]
47    #[message(severity = "crate::models::resource::Health::Critical")]
48    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
49    TemperatureAboveUpperFatalThreshold(
50        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
51        String,
52        /// This argument shall contain the temperature in degrees Celsius.
53        f64,
54        /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
55        f64,
56    ),
57    /// This message shall be used to indicate that a temperature reading violates a lower critical threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties.
58    #[message(message = "Temperature '%1' reading of %2 degrees (C) is below the %3 lower critical threshold.")]
59    #[message(id = "Environmental.1.0.0.TemperatureBelowLowerCriticalThreshold")]
60    #[message(severity = "crate::models::resource::Health::Critical")]
61    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
62    TemperatureBelowLowerCriticalThreshold(
63        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
64        String,
65        /// This argument shall contain the temperature in degrees Celsius.
66        f64,
67        /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
68        f64,
69    ),
70    /// This message shall be used to indicate that a temperature reading violates an internal warning level.  This message shall be used for temperature properties or `Sensor` resources that implement boolean trip points for a caution limit, such as from hardware mechanisms with no threshold value.  The temperature properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
71    #[message(message = "Temperature '%1' reading of %2 degrees (C) exceeds the warning level.")]
72    #[message(id = "Environmental.1.0.0.TemperatureWarning")]
73    #[message(severity = "crate::models::resource::Health::Warning")]
74    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
75    TemperatureWarning(
76        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
77        String,
78        /// This argument shall contain the temperature in degrees Celsius.
79        f64,
80    ),
81    /// This message shall be used to indicate that a temperature reading violates a lower caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties.
82    #[message(message = "Temperature '%1' reading of %2 degrees (C) is below the %3 lower caution threshold.")]
83    #[message(id = "Environmental.1.0.0.TemperatureBelowLowerCautionThreshold")]
84    #[message(severity = "crate::models::resource::Health::Warning")]
85    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
86    TemperatureBelowLowerCautionThreshold(
87        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
88        String,
89        /// This argument shall contain the temperature in degrees Celsius.
90        f64,
91        /// This argument shall contain the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties of the `Sensor` resource.
92        f64,
93    ),
94    /// This message shall be used to indicate that a temperature reading violates an internal critical level.  This message shall be used for temperature properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value.  The temperature properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
95    #[message(message = "Temperature '%1' reading of %2 degrees (C) exceeds the critical level.")]
96    #[message(id = "Environmental.1.0.0.TemperatureCritical")]
97    #[message(severity = "crate::models::resource::Health::Critical")]
98    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
99    TemperatureCritical(
100        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
101        String,
102        /// This argument shall contain the temperature in degrees Celsius.
103        f64,
104    ),
105    /// This message shall be used to indicate that a humidity reading, previously below the lower critical threshold, no longer violates the lower critical threshold.  However, the humidity violates at least one lower threshold and is not within the normal operating range.
106    #[message(message = "Humidity '%1' reading of %2 percent is now above the %3 lower critical threshold but remains outside of normal range.")]
107    #[message(id = "Environmental.1.0.0.HumidityAboveLowerCriticalThreshold")]
108    #[message(severity = "crate::models::resource::Health::Warning")]
109    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
110    HumidityAboveLowerCriticalThreshold(
111        /// This argument shall contain a string that identifies or describes the location or physical context of the humidity reading.
112        String,
113        /// This argument shall contain the humidity as a percentage.
114        f64,
115        /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
116        f64,
117    ),
118    /// This message shall be used to indicate that a temperature reading violates an upper critical threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties.
119    #[message(message = "Temperature '%1' reading of %2 degrees (C) is above the %3 upper critical threshold.")]
120    #[message(id = "Environmental.1.0.0.TemperatureAboveUpperCriticalThreshold")]
121    #[message(severity = "crate::models::resource::Health::Critical")]
122    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
123    TemperatureAboveUpperCriticalThreshold(
124        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
125        String,
126        /// This argument shall contain the temperature in degrees Celsius.
127        f64,
128        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
129        f64,
130    ),
131    /// This message shall be used to indicate that a humidity reading violates a lower critical threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties.
132    #[message(message = "Humidity '%1' reading of %2 percent is below the %3 lower critical threshold.")]
133    #[message(id = "Environmental.1.0.0.HumidityBelowLowerCriticalThreshold")]
134    #[message(severity = "crate::models::resource::Health::Critical")]
135    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
136    HumidityBelowLowerCriticalThreshold(
137        /// This argument shall contain a string that identifies or describes the location or physical context of the humidity reading.
138        String,
139        /// This argument shall contain the humidity as a percentage.
140        f64,
141        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
142        f64,
143    ),
144    /// This message shall be used to indicate that a humidity reading violates  an upper caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties.
145    #[message(message = "Humidity '%1' reading of %2 percent is above the %3 upper caution threshold.")]
146    #[message(id = "Environmental.1.0.0.HumidityAboveUpperCautionThreshold")]
147    #[message(severity = "crate::models::resource::Health::Warning")]
148    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
149    HumidityAboveUpperCautionThreshold(
150        /// This argument shall contain a string that identifies or describes the location or physical context of the humidity reading.
151        String,
152        /// This argument shall contain the humidity as a percentage.
153        f64,
154        /// This argument shall contain the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties of the `Sensor` resource.
155        f64,
156    ),
157    /// This message shall be used to indicate that a temperature reading violates a lower fatal threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerFatal` property.
158    #[message(message = "Temperature '%1' reading of %2 degrees (C) is below the %3 lower fatal threshold.")]
159    #[message(id = "Environmental.1.0.0.TemperatureBelowLowerFatalThreshold")]
160    #[message(severity = "crate::models::resource::Health::Critical")]
161    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
162    TemperatureBelowLowerFatalThreshold(
163        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
164        String,
165        /// This argument shall contain the temperature in degrees Celsius.
166        f64,
167        /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
168        f64,
169    ),
170    /// This message shall be used to indicate that a temperature reading has returned to its normal operating range.
171    #[message(message = "Temperature '%1' reading of %2 degrees (C) is within normal operating range.")]
172    #[message(id = "Environmental.1.0.0.TemperatureNormal")]
173    #[message(severity = "crate::models::resource::Health::OK")]
174    #[message(resolution = "None.")]
175    TemperatureNormal(
176        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
177        String,
178        /// This argument shall contain the temperature in degrees Celsius.
179        f64,
180    ),
181    /// This message shall be used to indicate that a humidity reading has returned to its normal operating range.
182    #[message(message = "Humidity '%1' reading of %2 percent is within normal operating range.")]
183    #[message(id = "Environmental.1.0.0.HumidityNormal")]
184    #[message(severity = "crate::models::resource::Health::OK")]
185    #[message(resolution = "None.")]
186    HumidityNormal(
187        /// This argument shall contain a string that identifies or describes the location or physical context of the humidity reading.
188        String,
189        /// This argument shall contain the humidity as a percentage.
190        f64,
191    ),
192    /// This message shall be used to indicate that a fan has failed.
193    #[message(message = "Fan '%1' has failed.")]
194    #[message(id = "Environmental.1.0.0.FanFailed")]
195    #[message(severity = "crate::models::resource::Health::Warning")]
196    #[message(resolution = "Check the fan hardware and replace any faulty component.")]
197    FanFailed(
198        /// This argument shall contain a string that identifies or describes the `Fan` resource.
199        String,
200    ),
201    /// This message shall be used to indicate that a fan group is operating with a warning status or in a non-redundant state due to a fault or a change in configuration.
202    #[message(message = "Fan group '%1' is in a warning state.")]
203    #[message(id = "Environmental.1.0.0.FanGroupWarning")]
204    #[message(severity = "crate::models::resource::Health::Warning")]
205    #[message(resolution = "None.")]
206    FanGroupWarning(
207        /// This argument shall contain a string that identifies or describes the group of `Fan` resources.
208        String,
209    ),
210    /// This message shall be used to indicate that a temperature reading, previously above the upper critical threshold, no longer violates the upper critical threshold.  However, the temperature violates at least one upper threshold and is not within the normal operating range.
211    #[message(message = "Temperature '%1' reading of %2 degrees (C) is now below the %3 upper critical threshold but remains outside of normal range.")]
212    #[message(id = "Environmental.1.0.0.TemperatureBelowUpperCriticalThreshold")]
213    #[message(severity = "crate::models::resource::Health::Warning")]
214    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
215    TemperatureBelowUpperCriticalThreshold(
216        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
217        String,
218        /// This argument shall contain the temperature in degrees Celsius.
219        f64,
220        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
221        f64,
222    ),
223    /// This message shall be used to indicate that a fan was repaired, replaced, or otherwise returned to normal operation.
224    #[message(message = "Fan '%1' was restored.")]
225    #[message(id = "Environmental.1.0.0.FanRestored")]
226    #[message(severity = "crate::models::resource::Health::OK")]
227    #[message(resolution = "None.")]
228    FanRestored(
229        /// This argument shall contain a string that identifies or describes the `Fan` resource.
230        String,
231    ),
232    /// This message shall be used to indicate that a temperature reading no longer violates an internal critical level, but still violates an internal warning level.  This message shall be used for temperature properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value.  The temperature properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
233    #[message(message = "Temperature '%1' reading of %2 degrees (C) no longer exceeds the critical level.")]
234    #[message(id = "Environmental.1.0.0.TemperatureNoLongerCritical")]
235    #[message(severity = "crate::models::resource::Health::Warning")]
236    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
237    TemperatureNoLongerCritical(
238        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
239        String,
240        /// This argument shall contain the temperature in degrees Celsius.
241        f64,
242    ),
243    /// This message shall be used to indicate that a temperature reading, previously above the upper fatal threshold, no longer violates the upper fatal threshold.  However, the temperature violates at least one upper threshold and is not within the normal operating range.
244    #[message(message = "Temperature '%1' reading of %2 degrees (C) is now below the %3 upper fatal threshold but remains outside of normal range.")]
245    #[message(id = "Environmental.1.0.0.TemperatureBelowUpperFatalThreshold")]
246    #[message(severity = "crate::models::resource::Health::Critical")]
247    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
248    TemperatureBelowUpperFatalThreshold(
249        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
250        String,
251        /// This argument shall contain the temperature in degrees Celsius.
252        f64,
253        /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
254        f64,
255    ),
256    /// This message shall be used to indicate that a fan group is operating in a critical state due to a fault or a change in configuration.
257    #[message(message = "Fan group '%1' is in a critical state.")]
258    #[message(id = "Environmental.1.0.0.FanGroupCritical")]
259    #[message(severity = "crate::models::resource::Health::Critical")]
260    #[message(resolution = "None.")]
261    FanGroupCritical(
262        /// This argument shall contain a string that identifies or describes the group of `Fan` resources.
263        String,
264    ),
265    /// This message shall be used to indicate that a fan group has returned to a normal operating state.
266    #[message(message = "Fan group '%1' is operating normally.")]
267    #[message(id = "Environmental.1.0.0.FanGroupNormal")]
268    #[message(severity = "crate::models::resource::Health::OK")]
269    #[message(resolution = "None.")]
270    FanGroupNormal(
271        /// This argument shall contain a string that identifies or describes the group of `Fan` resources.
272        String,
273    ),
274    /// This message shall be used to indicate that a temperature reading, previously below the lower critical threshold, no longer violates the lower critical threshold.  However, the temperature violates at least one lower threshold and is not within the normal operating range.
275    #[message(message = "Temperature '%1' reading of %2 degrees (C) is now above the %3 lower critical threshold but remains outside of normal range.")]
276    #[message(id = "Environmental.1.0.0.TemperatureAboveLowerCriticalThreshold")]
277    #[message(severity = "crate::models::resource::Health::Warning")]
278    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
279    TemperatureAboveLowerCriticalThreshold(
280        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
281        String,
282        /// This argument shall contain the temperature in degrees Celsius.
283        f64,
284        /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
285        f64,
286    ),
287    /// This message shall be used to indicate that a humidity reading violates an upper caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties.
288    #[message(message = "Humidity '%1' reading of %2 percent is above the %3 upper critical threshold.")]
289    #[message(id = "Environmental.1.0.0.HumidityAboveUpperCriticalThreshold")]
290    #[message(severity = "crate::models::resource::Health::Critical")]
291    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
292    HumidityAboveUpperCriticalThreshold(
293        /// This argument shall contain a string that identifies or describes the location or physical context of the humidity reading.
294        String,
295        /// This argument shall contain the humidity as a percentage.
296        f64,
297        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
298        f64,
299    ),
300    /// This message shall be used to indicate that a humidity reading, previously above the critical threshold, no longer violates the critical threshold.  However, the humidity violates at least one upper threshold and is not within the normal operating range.
301    #[message(message = "Humidity '%1' reading of %2 percent is now below the %3 upper critical threshold but remains outside of normal range.")]
302    #[message(id = "Environmental.1.0.0.HumidityBelowUpperCriticalThreshold")]
303    #[message(severity = "crate::models::resource::Health::Warning")]
304    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
305    HumidityBelowUpperCriticalThreshold(
306        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
307        String,
308        /// This argument shall contain the humidity as a percentage.
309        f64,
310        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
311        f64,
312    ),
313    /// This message shall be used to indicate that a fan was removed.
314    #[message(message = "Fan '%1' was removed.")]
315    #[message(id = "Environmental.1.0.0.FanRemoved")]
316    #[message(severity = "crate::models::resource::Health::OK")]
317    #[message(resolution = "None.")]
318    FanRemoved(
319        /// This argument shall contain a string that identifies or describes the `Fan` resource.
320        String,
321    ),
322    /// This message shall be used to indicate that a temperature reading, previously below the lower fatal threshold, no longer violates the lower fatal threshold.  However, the temperature violates at least one lower threshold and is not within the normal operating range.
323    #[message(message = "Temperature '%1' reading of %2 degrees (C) is now above the %3 lower fatal threshold but remains outside of normal range.")]
324    #[message(id = "Environmental.1.0.0.TemperatureAboveLowerFatalThreshold")]
325    #[message(severity = "crate::models::resource::Health::Critical")]
326    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
327    TemperatureAboveLowerFatalThreshold(
328        /// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
329        String,
330        /// This argument shall contain the temperature in degrees Celsius.
331        f64,
332        /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
333        f64,
334    ),
335}