redfish_codegen/registries/base/
v1_16_0.rs

1// Generated by redfish-codegen. Do not modify.
2
3use redfish_macros::IntoRedfishMessage;
4
5/// This registry defines the base messages for Redfish
6#[derive(Clone, Debug, IntoRedfishMessage)]
7#[message(crate::models::message::v1_1_2::Message)]
8pub enum Base {
9    /// This message shall be used to indicate that a property was not updated due to an internal service error, but the service is still functional.
10    #[message(message = "The property %1 was not updated due to an internal service error.  The service is still operational.")]
11    #[message(id = "Base.1.16.0.PropertyNotUpdated")]
12    #[message(severity = "crate::models::resource::Health::Critical")]
13    #[message(resolution = "Resubmit the request.  If the problem persists, check for additional messages and consider resetting the service.")]
14    PropertyNotUpdated(
15        /// This argument shall contain the name of the property.
16        String,
17    ),
18    /// This message shall be used to indicate that a session establishment has been requested but the operation failed due to the number of simultaneous sessions exceeding the limit of the implementation.
19    #[message(message = "The session establishment failed due to the number of simultaneous sessions exceeding the limit of the implementation.")]
20    #[message(id = "Base.1.16.0.SessionLimitExceeded")]
21    #[message(severity = "crate::models::resource::Health::Critical")]
22    #[message(resolution = "Reduce the number of other sessions before trying to establish the session or increase the limit of simultaneous sessions, if supported.")]
23    SessionLimitExceeded,
24
25    /// This message shall be used to indicate that while attempting to access, connect to or transfer a resource, file, or image from another location that the other end of the connection did not support the protocol.
26    #[message(message = "The other end of the connection at '%1' does not support the specified protocol %2.")]
27    #[message(id = "Base.1.16.0.SourceDoesNotSupportProtocol")]
28    #[message(severity = "crate::models::resource::Health::Critical")]
29    #[message(resolution = "Change protocols or URIs.")]
30    SourceDoesNotSupportProtocol(
31        /// This argument shall contain the URI provided for this operation.
32        String,
33        /// This argument shall contain the name of the protocol requested for this operation.
34        String,
35    ),
36    /// This message shall be used to indicate that all conditions of a successful operation have been met.
37    #[message(message = "The request completed successfully.")]
38    #[message(id = "Base.1.16.0.Success")]
39    #[message(severity = "crate::models::resource::Health::OK")]
40    #[message(resolution = "None")]
41    Success,
42
43    /// This message shall be used to indicate that network-based name resolution, such as DNS or WINS protocols, has not been configured on the service.
44    #[message(message = "Network name resolution has not been configured on this service.")]
45    #[message(id = "Base.1.16.0.NetworkNameResolutionNotConfigured")]
46    #[message(severity = "crate::models::resource::Health::Warning")]
47    #[message(resolution = "Configure the network name resolution protocol support on this service, or update any URI values to include an IP address instead of a network name and resubmit the request.")]
48    NetworkNameResolutionNotConfigured,
49
50    /// This message shall be used to indicate that a query parameter was given the wrong value type, such as when a number is supplied for a query parameter that requires a string.
51    #[message(message = "The value '%1' for the query parameter %2 is of a different type than the parameter can accept.")]
52    #[message(id = "Base.1.16.0.QueryParameterValueTypeError")]
53    #[message(severity = "crate::models::resource::Health::Warning")]
54    #[message(resolution = "Correct the value for the query parameter in the request and resubmit the request if the operation failed.")]
55    QueryParameterValueTypeError(
56        /// This argument shall contain the value provided for the query parameter.
57        String,
58        /// This argument shall contain the name of the query parameter.
59        String,
60    ),
61    /// This message shall be used to indicate that the resource is deprecated.
62    #[message(message = "The operation was performed on a deprecated resource '%1'.")]
63    #[message(id = "Base.1.16.0.ResourceDeprecated")]
64    #[message(severity = "crate::models::resource::Health::Warning")]
65    #[message(resolution = "Refer to the schema guide for more information.")]
66    ResourceDeprecated(
67        /// This argument shall contain the URI of the resource that is deprecated.
68        String,
69    ),
70    /// This message shall be used to indicate that the attempt to access the resource, file, or image at the URI was unauthorized.
71    #[message(message = "While accessing the resource at '%1', the service received an authorization error '%2'.")]
72    #[message(id = "Base.1.16.0.ResourceAtUriUnauthorized")]
73    #[message(severity = "crate::models::resource::Health::Critical")]
74    #[message(resolution = "Ensure that the appropriate access is provided for the service in order for it to access the URI.")]
75    ResourceAtUriUnauthorized(
76        /// This argument shall contain the URI provided for this operation.
77        String,
78        /// This argument shall contain the error message received from the authorization service or software.
79        String,
80    ),
81    /// This message shall be used to indicate that a property was given the correct value type but the value of that property was not supported.
82    #[message(message = "The value '%1' for the property %2 is of a different format than the property can accept.")]
83    #[message(id = "Base.1.16.0.PropertyValueFormatError")]
84    #[message(severity = "crate::models::resource::Health::Warning")]
85    #[message(resolution = "Correct the value for the property in the request body and resubmit the request if the operation failed.")]
86    PropertyValueFormatError(
87        /// This argument shall contain the value provided for the property.  Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
88        String,
89        /// This argument shall contain the name of the property.
90        String,
91    ),
92    /// This message shall be used to indicate that the requested write of a property could not be completed, because of a conflict with the value of another property.
93    #[message(message = "The property '%1' could not be written because its value would conflict with the value of the '%2' property.")]
94    #[message(id = "Base.1.16.0.PropertyValueConflict")]
95    #[message(severity = "crate::models::resource::Health::Warning")]
96    #[message(resolution = "No resolution is required.")]
97    PropertyValueConflict(
98        /// This argument shall contain the name of the property for which a write was requested.
99        String,
100        /// This argument shall contain the name of the property with which there is a conflict.
101        String,
102    ),
103    /// This message shall be used to indicate that a request header is known, but is invalid.
104    #[message(message = "Header '%1' is invalid.")]
105    #[message(id = "Base.1.16.0.HeaderInvalid")]
106    #[message(severity = "crate::models::resource::Health::Critical")]
107    #[message(resolution = "Resubmit the request with a valid request header.")]
108    HeaderInvalid(
109        /// This argument shall contain the full request header, including the field name and field value.
110        String,
111    ),
112    /// This message shall be used to indicate that the operation failed because the service is in an unknown state and cannot accept additional requests.
113    #[message(message = "The operation failed because the service is in an unknown state and can no longer take incoming requests.")]
114    #[message(id = "Base.1.16.0.ServiceInUnknownState")]
115    #[message(severity = "crate::models::resource::Health::Critical")]
116    #[message(resolution = "Restart the service and resubmit the request if the operation failed.")]
117    ServiceInUnknownState,
118
119    /// This message shall be used to indicate that the operation expected an image or other resource at the provided URI but none was found.
120    #[message(message = "The resource at the URI '%1' was not found.")]
121    #[message(id = "Base.1.16.0.ResourceMissingAtURI")]
122    #[message(severity = "crate::models::resource::Health::Critical")]
123    #[message(resolution = "Place a valid resource at the URI or correct the URI and resubmit the request.")]
124    ResourceMissingAtURI(
125        /// This argument shall contain the URI provided for this operation.
126        String,
127    ),
128    /// This message shall be used to indicate that the operation failed because the service, such as the account service, is disabled and cannot accept requests.
129    #[message(message = "The operation failed because the service at %1 is disabled and cannot accept requests.")]
130    #[message(id = "Base.1.16.0.ServiceDisabled")]
131    #[message(severity = "crate::models::resource::Health::Warning")]
132    #[message(resolution = "Enable the service and resubmit the request if the operation failed.")]
133    ServiceDisabled(
134        /// This argument shall contain the URI of the disabled service.
135        String,
136    ),
137    /// This message shall be used to indicate that the operation expected a resource identifier that corresponds to an existing resource but one was not found.
138    #[message(message = "The requested resource of type %1 named '%2' was not found.")]
139    #[message(id = "Base.1.16.0.ResourceNotFound")]
140    #[message(severity = "crate::models::resource::Health::Critical")]
141    #[message(resolution = "Provide a valid resource identifier and resubmit the request.")]
142    ResourceNotFound(
143        /// This argument shall contain the schema name of the resource.
144        String,
145        /// This argument shall contain the value of the `Id` property of the requested resource.
146        String,
147    ),
148    /// Indicates that the request did not provide the required precondition such as an `If-Match` or `If-None-Match` header, or `@odata.etag` annotations.  The use of this message shall only be used in responses for deep operations, since HTTP status code 428 is typically used for this.
149    #[message(message = "A precondition header or annotation is required to change this resource.")]
150    #[message(id = "Base.1.16.0.PreconditionRequired")]
151    #[message(severity = "crate::models::resource::Health::Critical")]
152    #[message(resolution = "Try the operation again using an If-Match or If-None-Match header and appropriate ETag.")]
153    PreconditionRequired,
154
155    /// This message shall be used to indicate that query is not supported with the given operation.
156    #[message(message = "Querying is not supported with the requested operation.")]
157    #[message(id = "Base.1.16.0.QueryNotSupportedOnOperation")]
158    #[message(severity = "crate::models::resource::Health::Warning")]
159    #[message(resolution = "Remove the query parameters and resubmit the request if the operation failed.")]
160    QueryNotSupportedOnOperation,
161
162    /// This message shall be used to indicate that no more resources can be created on the resource as it has reached its create limit.
163    #[message(message = "The create operation failed because the resource has reached the limit of possible resources.")]
164    #[message(id = "Base.1.16.0.CreateLimitReachedForResource")]
165    #[message(severity = "crate::models::resource::Health::Critical")]
166    #[message(resolution = "Either delete resources and resubmit the request if the operation failed or do not resubmit the request.")]
167    CreateLimitReachedForResource,
168
169    /// This message shall be used to indicate that a property was given the correct value type but the value of that property was not supported.
170    #[message(message = "The value '%1' for the property %2 is not in the list of acceptable values.")]
171    #[message(id = "Base.1.16.0.PropertyValueNotInList")]
172    #[message(severity = "crate::models::resource::Health::Warning")]
173    #[message(resolution = "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.")]
174    PropertyValueNotInList(
175        /// This argument shall contain the value provided for the property.
176        String,
177        /// This argument shall contain the name of the property.
178        String,
179    ),
180    /// This message shall be used to indicate that a property was given the correct value type but the value of that property was modified.
181    #[message(message = "The property %1 was assigned the value '%2' due to modification by the service.")]
182    #[message(id = "Base.1.16.0.PropertyValueModified")]
183    #[message(severity = "crate::models::resource::Health::Warning")]
184    #[message(resolution = "No resolution is required.")]
185    PropertyValueModified(
186        /// This argument shall contain the name of the property.
187        String,
188        /// This argument shall contain the value assigned for property.
189        String,
190    ),
191    /// This message shall be used to indicate that the service does not support network-based name resolution, such as DNS or WINS protocols.  URIs provided as property values must contain an IP address as the service cannot resolve a network name.
192    #[message(message = "Resolution of network-based names is not supported by this service.")]
193    #[message(id = "Base.1.16.0.NetworkNameResolutionNotSupported")]
194    #[message(severity = "crate::models::resource::Health::Warning")]
195    #[message(resolution = "Update any URI values to include an IP address instead of a network name and resubmit the request.")]
196    NetworkNameResolutionNotSupported,
197
198    /// This message shall be used to indicate that event buffer space used by the service has been exceeded, and as a result, one or more undelivered events may have been lost.
199    #[message(message = "Undelivered events may have been lost due to exceeding the event buffer.")]
200    #[message(id = "Base.1.16.0.EventBufferExceeded")]
201    #[message(severity = "crate::models::resource::Health::Warning")]
202    #[message(resolution = "None.")]
203    EventBufferExceeded,
204
205    /// This message shall be used to indicate that the request failed for an unknown internal error but that the service is still operational.
206    #[message(message = "The request failed due to an internal service error.  The service is still operational.")]
207    #[message(id = "Base.1.16.0.InternalError")]
208    #[message(severity = "crate::models::resource::Health::Critical")]
209    #[message(resolution = "Resubmit the request.  If the problem persists, consider resetting the service.")]
210    InternalError,
211
212    /// This message shall be used to indicate that the operation failed because a valid session is required in order to access any resources.
213    #[message(message = "There is no valid session established with the implementation.")]
214    #[message(id = "Base.1.16.0.NoValidSession")]
215    #[message(severity = "crate::models::resource::Health::Critical")]
216    #[message(resolution = "Establish a session before attempting any operations.")]
217    NoValidSession,
218
219    /// This message shall be used to indicate that the request exceeds the storage or memory available to the serivce.  For cases where the payload is larger than the maximum size supported, regardless of available storage, the message `PayloadTooLarge` shall be used.
220    #[message(message = "Insufficent storage or memory available to complete the request.")]
221    #[message(id = "Base.1.16.0.InsufficientStorage")]
222    #[message(severity = "crate::models::resource::Health::Critical")]
223    #[message(resolution = "Increase the free storage space available to the service and resubmit the request.")]
224    InsufficientStorage,
225
226    /// This message shall be used to indicate that the request could not be performed because the resource is in standby.
227    #[message(message = "The request could not be performed because the resource is in standby.")]
228    #[message(id = "Base.1.16.0.ResourceInStandby")]
229    #[message(severity = "crate::models::resource::Health::Critical")]
230    #[message(resolution = "Ensure that the resource is in the correct power state and resubmit the request.")]
231    ResourceInStandby,
232
233    /// This message shall be used to indicate that a parameter was given the wrong value type, such as when a number is supplied for a parameter that requires a string.
234    #[message(message = "The value '%1' for the parameter %2 in the action %3 is of a different type than the parameter can accept.")]
235    #[message(id = "Base.1.16.0.ActionParameterValueTypeError")]
236    #[message(severity = "crate::models::resource::Health::Warning")]
237    #[message(resolution = "Correct the value for the parameter in the request body and resubmit the request if the operation failed.")]
238    ActionParameterValueTypeError(
239        /// This argument shall contain the value provided for the action parameter.  Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
240        String,
241        /// This argument shall contain the name of the action parameter.
242        String,
243        /// This argument shall contain the name of the action.
244        String,
245    ),
246    /// This message shall be used to indicate that the request failed because a set of `AccountTypes` or `OEMAccountTypes` was not accepted while `StrictAccountTypes` is set to `true`.
247    #[message(message = "The request was not possible to fulfill with the account types included in property '%1' and property StrictAccountTypes set to true.")]
248    #[message(id = "Base.1.16.0.StrictAccountTypes")]
249    #[message(severity = "crate::models::resource::Health::Warning")]
250    #[message(resolution = "Resubmit the request either with an acceptable set of AccountTypes and OEMAccountTypes or with StrictAccountTypes set to false.")]
251    StrictAccountTypes(
252        /// This argument shall contain the name of the property `AccountTypes` or `OEMAccountTypes`.
253        String,
254    ),
255    /// This message shall be used to indicate that a create was attempted on a resource but that properties that are required for the create operation were missing from the request.
256    #[message(message = "The create operation failed because the required property %1 was missing from the request.")]
257    #[message(id = "Base.1.16.0.CreateFailedMissingReqProperties")]
258    #[message(severity = "crate::models::resource::Health::Critical")]
259    #[message(resolution = "Correct the body to include the required property with a valid value and resubmit the request if the operation failed.")]
260    CreateFailedMissingReqProperties(
261        /// This argument shall contain the name of the required property.
262        String,
263    ),
264    /// This message shall be used to indicate that the modification requested for the account was not successful.
265    #[message(message = "The account modification request failed.")]
266    #[message(id = "Base.1.16.0.AccountNotModified")]
267    #[message(severity = "crate::models::resource::Health::Warning")]
268    #[message(resolution = "The modification may have failed due to permission issues or issues with the request body.")]
269    AccountNotModified,
270
271    /// This message shall be used to indicate that all conditions of a successful create operation have been met.
272    #[message(message = "The resource has been created successfully.")]
273    #[message(id = "Base.1.16.0.Created")]
274    #[message(severity = "crate::models::resource::Health::OK")]
275    #[message(resolution = "None.")]
276    Created,
277
278    /// This message shall be used to indicate that the account for the session has been removed, thus the session has been removed as well.
279    #[message(message = "The account for the current session has been removed, thus the current session has been removed as well.")]
280    #[message(id = "Base.1.16.0.AccountForSessionNoLongerExists")]
281    #[message(severity = "crate::models::resource::Health::OK")]
282    #[message(resolution = "Attempt to connect with a valid account.")]
283    AccountForSessionNoLongerExists,
284
285    /// This message shall be used to indicate that one of the internal operations necessary to complete the request timed out.  Partial results of the client operation may be returned.
286    #[message(message = "A timeout internal to the service occured as part of the request.  Partial results may have been returned.")]
287    #[message(id = "Base.1.16.0.OperationTimeout")]
288    #[message(severity = "crate::models::resource::Health::Warning")]
289    #[message(resolution = "Resubmit the request.  If the problem persists, consider resetting the service or provider.")]
290    OperationTimeout,
291
292    /// This message shall be used to indicate that the action is deprecated.
293    #[message(message = "The action %1 is deprecated.")]
294    #[message(id = "Base.1.16.0.ActionDeprecated")]
295    #[message(severity = "crate::models::resource::Health::Warning")]
296    #[message(resolution = "Refer to the schema guide for more information.")]
297    ActionDeprecated(
298        /// This argument shall contain the name of the action that is deprecated.
299        String,
300    ),
301    /// This message shall be used to indicate that a change was requested to a resource but the change was rejected due to the resource being in use or transition.
302    #[message(message = "The change to the requested resource failed because the resource is in use or in transition.")]
303    #[message(id = "Base.1.16.0.ResourceInUse")]
304    #[message(severity = "crate::models::resource::Health::Warning")]
305    #[message(resolution = "Remove the condition and resubmit the request if the operation failed.")]
306    ResourceInUse,
307
308    /// This message shall be used to indicate that the request body contained an empty JSON object when one or more properties are expected in the body.
309    #[message(message = "The request body submitted contained an empty JSON object and the service is unable to process it.")]
310    #[message(id = "Base.1.16.0.EmptyJSON")]
311    #[message(severity = "crate::models::resource::Health::Warning")]
312    #[message(resolution = "Add properties in the JSON object and resubmit the request.")]
313    EmptyJSON,
314
315    /// This message shall be used to indicate that query is not supported on the implementation.
316    #[message(message = "Querying is not supported by the implementation.")]
317    #[message(id = "Base.1.16.0.QueryNotSupported")]
318    #[message(severity = "crate::models::resource::Health::Warning")]
319    #[message(resolution = "Remove the query parameters and resubmit the request if the operation failed.")]
320    QueryNotSupported,
321
322    /// This message shall be used to indicate that the request requires the specified chassis to be powered on as indicated by its `PowerState` property.
323    #[message(message = "The chassis with Id '%1' requires to be powered on to perform this request.")]
324    #[message(id = "Base.1.16.0.ChassisPowerStateOnRequired")]
325    #[message(severity = "crate::models::resource::Health::Warning")]
326    #[message(resolution = "Power on the specified chassis and resubmit the request.")]
327    ChassisPowerStateOnRequired(
328        /// The value of this argument shall be a string containing the value of the `Id` property of the chassis that requires to be powered on.
329        String,
330    ),
331    /// This message shall be used to indicate that the payload supplied exceeds the size supported by the service.  For cases where the payload size is supported, but there is insufficent available storage space, the message `InsufficientStorage` shall be used.
332    #[message(message = "The supplied payload exceeds the maximum size supported by the service.")]
333    #[message(id = "Base.1.16.0.PayloadTooLarge")]
334    #[message(severity = "crate::models::resource::Health::Critical")]
335    #[message(resolution = "Check that the supplied payload is correct and supported by this service.")]
336    PayloadTooLarge,
337
338    /// This message shall be used to indicate that the attempt to access the resource, file, or image at the URI was unsuccessful because a session could not be established.
339    #[message(message = "The service failed to establish a connection with the URI '%1'.")]
340    #[message(id = "Base.1.16.0.CouldNotEstablishConnection")]
341    #[message(severity = "crate::models::resource::Health::Critical")]
342    #[message(resolution = "Ensure that the URI contains a valid and reachable node name, protocol information and other URI components.")]
343    CouldNotEstablishConnection(
344        /// This argument shall contain the URI provided for this operation.
345        String,
346    ),
347    /// This value shall be used to indicate that a property was given the correct value type but the value of that property is outside the supported range.
348    #[message(message = "The value '%1' for the property %2 is not in the supported range of acceptable values.")]
349    #[message(id = "Base.1.16.0.PropertyValueOutOfRange")]
350    #[message(severity = "crate::models::resource::Health::Warning")]
351    #[message(resolution = "Correct the value for the property in the request body and resubmit the request if the operation failed.")]
352    PropertyValueOutOfRange(
353        /// This argument shall contain the value provided for the property.
354        String,
355        /// This argument shall contain the name of the property.
356        String,
357    ),
358    /// This message shall be used to indicate that a fault or error condition has been reported to the service, but the source of the fault cannot be determined or is unknown to the service.
359    #[message(message = "A undetermined fault condition has been reported by '%1'.")]
360    #[message(id = "Base.1.16.0.UndeterminedFault")]
361    #[message(severity = "crate::models::resource::Health::Critical")]
362    #[message(resolution = "None.")]
363    UndeterminedFault(
364        /// This argument shall contain the name of the entity that reported the fault condition.
365        String,
366    ),
367    /// The maximum number of errors that the implementation can report has been exceeded.  This shall not be the only message reported by the service.  The use of this message should be limited to RDE implementations.
368    #[message(message = "Too many errors have occurred to report them all.")]
369    #[message(id = "Base.1.16.0.MaximumErrorsExceeded")]
370    #[message(severity = "crate::models::resource::Health::Critical")]
371    #[message(resolution = "Resolve other reported errors and retry the current operation.")]
372    MaximumErrorsExceeded,
373
374    /// This message shall be used to indicate that that a license is required to perform the requested operation.
375    #[message(message = "A license is required for this operation: %1.")]
376    #[message(id = "Base.1.16.0.LicenseRequired")]
377    #[message(severity = "crate::models::resource::Health::Critical")]
378    #[message(resolution = "Install the requested license and resubmit the request.")]
379    LicenseRequired(
380        /// This argument shall contain the vendor description of the license required to perform the operation.
381        String,
382    ),
383    /// This message shall be used to indicate that while attempting to access, connect to, or transfer to or from another resource, the service denied access.
384    #[message(message = "While attempting to establish a connection to '%1', the service denied access.")]
385    #[message(id = "Base.1.16.0.AccessDenied")]
386    #[message(severity = "crate::models::resource::Health::Critical")]
387    #[message(resolution = "Attempt to ensure that the URI is correct and that the service has the appropriate credentials.")]
388    AccessDenied(
389        /// This argument shall contain the URI provided for this operation.
390        String,
391    ),
392    /// This message shall be used to indicate that the request body was malformed JSON.
393    #[message(message = "The request body submitted was malformed JSON and could not be parsed by the receiving service.")]
394    #[message(id = "Base.1.16.0.MalformedJSON")]
395    #[message(severity = "crate::models::resource::Health::Critical")]
396    #[message(resolution = "Ensure that the request body is valid JSON and resubmit the request.")]
397    MalformedJSON,
398
399    /// This message shall be used to indicate that a property was given a deprecated value.
400    #[message(message = "The value '%1' for the property %2 is deprecated.")]
401    #[message(id = "Base.1.16.0.PropertyValueDeprecated")]
402    #[message(severity = "crate::models::resource::Health::Warning")]
403    #[message(resolution = "Refer to the schema guide for more information.")]
404    PropertyValueDeprecated(
405        /// This argument shall contain the deprecated value provided for the property.
406        String,
407        /// This argument shall contain the name of the property.
408        String,
409    ),
410    /// This message shall be used to indicate that one of the internal operations necessary to complete the request failed.  Partial results of the client operation may be returned.
411    #[message(message = "An error occurred internal to the service as part of the overall request.  Partial results may have been returned.")]
412    #[message(id = "Base.1.16.0.OperationFailed")]
413    #[message(severity = "crate::models::resource::Health::Warning")]
414    #[message(resolution = "Resubmit the request.  If the problem persists, consider resetting the service or provider.")]
415    OperationFailed,
416
417    /// This message shall be used to indicate that the credentials associated with the established session do not have sufficient privileges for the requested operation.
418    #[message(message = "There are insufficient privileges for the account or credentials associated with the current session to perform the requested operation.")]
419    #[message(id = "Base.1.16.0.InsufficientPrivilege")]
420    #[message(severity = "crate::models::resource::Health::Critical")]
421    #[message(resolution = "Either abandon the operation or change the associated access rights and resubmit the request if the operation failed.")]
422    InsufficientPrivilege,
423
424    /// This message shall be used to indicate that the requested parameter value could not be completed, because of a mismatch with other parameters or properties in the resource.
425    #[message(message = "The parameter '%1' with the requested value of '%2' does not meet the constraints of the implementation.")]
426    #[message(id = "Base.1.16.0.ActionParameterValueConflict")]
427    #[message(severity = "crate::models::resource::Health::Warning")]
428    #[message(resolution = "No resolution is required.")]
429    ActionParameterValueConflict(
430        /// This argument shall contain the name of the parameter provided in the action request.
431        String,
432        /// This argument shall contain the value of the parameter with which there is a conflict.
433        String,
434    ),
435    /// Indicates that the ETag supplied either in the header or using that `@odata.etag` annotation in the resource did not match the one expected by the service and thus the operation on this resource failed.  The use of this message shall only be used in responses for deep operations, since HTTP status code 412 is typically used for this.
436    #[message(message = "The ETag supplied did not match the ETag required to change this resource.")]
437    #[message(id = "Base.1.16.0.PreconditionFailed")]
438    #[message(severity = "crate::models::resource::Health::Critical")]
439    #[message(resolution = "Try the operation again using the appropriate ETag.")]
440    PreconditionFailed,
441
442    /// This message shall be used to indicate that the request requires the specified chassis to be powered off as indicated by its `PowerState` property.
443    #[message(message = "The Chassis with Id '%1' requires to be powered off to perform this request.")]
444    #[message(id = "Base.1.16.0.ChassisPowerStateOffRequired")]
445    #[message(severity = "crate::models::resource::Health::Warning")]
446    #[message(resolution = "Power off the specified chassis and resubmit the request.")]
447    ChassisPowerStateOffRequired(
448        /// The value of this argument shall be a string containing the value of the `Id` property of the chassis that requires to be powered off.
449        String,
450    ),
451    /// This message shall be used to indicate that a required request header is missing in the request.
452    #[message(message = "Required header '%1' is missing in the request.")]
453    #[message(id = "Base.1.16.0.HeaderMissing")]
454    #[message(severity = "crate::models::resource::Health::Critical")]
455    #[message(resolution = "Resubmit the request with the required request header.")]
456    HeaderMissing(
457        /// This argument shall contain the missing required request header.
458        String,
459    ),
460    /// This message shall be used to indicate that a required property was not supplied as part of the request.
461    #[message(message = "The property %1 is a required property and must be included in the request.")]
462    #[message(id = "Base.1.16.0.PropertyMissing")]
463    #[message(severity = "crate::models::resource::Health::Warning")]
464    #[message(resolution = "Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.")]
465    PropertyMissing(
466        /// This argument shall contain the name of the property.
467        String,
468    ),
469    /// This message shall be used to indicate that a query parameter was given an invalid value that can not or should not be included in the message.
470    #[message(message = "The value for the parameter %1 is invalid.")]
471    #[message(id = "Base.1.16.0.QueryParameterValueError")]
472    #[message(severity = "crate::models::resource::Health::Warning")]
473    #[message(resolution = "Correct the value for the query parameter in the request and resubmit the request if the operation failed.")]
474    QueryParameterValueError(
475        /// This argument shall contain the name of the query parameter.
476        String,
477    ),
478    /// This message shall be used to indicate that the service encountered an unrecognizable request body that could not even be interpreted as malformed JSON.
479    #[message(message = "The service detected a malformed request body that it was unable to interpret.")]
480    #[message(id = "Base.1.16.0.UnrecognizedRequestBody")]
481    #[message(severity = "crate::models::resource::Health::Warning")]
482    #[message(resolution = "Correct the request body and resubmit the request if it failed.")]
483    UnrecognizedRequestBody,
484
485    /// This message shall be used to indicate that the requested creation of a resource could not be completed because the service has a resource that conflicts with the request, such as when the resource already exists or an existing resource has similar property values.
486    #[message(message = "The resource could not be created.  The service has a resource at URI '%1' that conflicts with the creation request.")]
487    #[message(id = "Base.1.16.0.ResourceCreationConflict")]
488    #[message(severity = "crate::models::resource::Health::Warning")]
489    #[message(resolution = "No resolution is required.")]
490    ResourceCreationConflict(
491        /// This argument shall contain the URI of the resource with which there is a conflict.
492        String,
493    ),
494    /// This message shall be used to indicate that a parameter was given an invalid value, and the value cannot or should not be included in the message.
495    #[message(message = "The value for the parameter %1 in the action %2 is invalid.")]
496    #[message(id = "Base.1.16.0.ActionParameterValueError")]
497    #[message(severity = "crate::models::resource::Health::Warning")]
498    #[message(resolution = "Correct the value for the parameter in the request body and resubmit the request if the operation failed.")]
499    ActionParameterValueError(
500        /// This argument shall contain the name of the action parameter.
501        String,
502        /// This argument shall contain the name of the action.
503        String,
504    ),
505    /// This message shall be used to indicate that the size of the array is under the minimum number of elements.
506    #[message(message = "The array provided for property %1 is under the minimum size limit %2.")]
507    #[message(id = "Base.1.16.0.ArraySizeTooShort")]
508    #[message(severity = "crate::models::resource::Health::Warning")]
509    #[message(resolution = "Resubmit the request with an appropriate array size.")]
510    ArraySizeTooShort(
511        /// This argument shall contain the name of the property.
512        String,
513        /// This argument shall contain the minimum number of elements supported for the array for this property.
514        f64,
515    ),
516    /// This message shall be used to indicate that the object in question is invalid according to the implementation.
517    #[message(message = "The object at '%1' is invalid.")]
518    #[message(id = "Base.1.16.0.InvalidObject")]
519    #[message(severity = "crate::models::resource::Health::Critical")]
520    #[message(resolution = "Either the object is malformed or the URI is not correct.  Correct the condition and resubmit the request if it failed.")]
521    InvalidObject(
522        /// This argument shall contain the URI provided for this operation.
523        String,
524    ),
525    /// This message shall be used to indicate that an action was submitted but an action parameter supplied did not match any of the known parameters.
526    #[message(message = "The action %1 was submitted with the invalid parameter %2.")]
527    #[message(id = "Base.1.16.0.ActionParameterUnknown")]
528    #[message(severity = "crate::models::resource::Health::Warning")]
529    #[message(resolution = "Correct the invalid action parameter and resubmit the request if the operation failed.")]
530    ActionParameterUnknown(
531        /// This argument shall contain the name of the action.
532        String,
533        /// This argument shall contain the name of the action parameter.
534        String,
535    ),
536    /// This message shall be used to indicate that the request contains multiple query parameters, and that two or more of them cannot be used together.
537    #[message(message = "Two or more query parameters in the request cannot be used together.")]
538    #[message(id = "Base.1.16.0.QueryCombinationInvalid")]
539    #[message(severity = "crate::models::resource::Health::Warning")]
540    #[message(resolution = "Remove one or more of the query parameters and resubmit the request if the operation failed.")]
541    QueryCombinationInvalid,
542
543    /// This message shall be used to indicate that the action supplied with the POST operation is not supported by the resource.
544    #[message(message = "The action %1 is not supported by the resource.")]
545    #[message(id = "Base.1.16.0.ActionNotSupported")]
546    #[message(severity = "crate::models::resource::Health::Critical")]
547    #[message(resolution = "The action supplied cannot be resubmitted to the implementation.  Perhaps the action was invalid, the wrong resource was the target or the implementation documentation may be of assistance.")]
548    ActionNotSupported(
549        /// This argument shall contain the name of the action.
550        String,
551    ),
552    /// This message shall be used to indicate that the DELETE operation on the session resource resulted in the successful termination of the session.
553    #[message(message = "The session was successfully terminated.")]
554    #[message(id = "Base.1.16.0.SessionTerminated")]
555    #[message(severity = "crate::models::resource::Health::OK")]
556    #[message(resolution = "No resolution is required.")]
557    SessionTerminated,
558
559    /// This message shall be used to indicate that the requested operation will not perform any changes on the service.
560    #[message(message = "The request body submitted contain no data to act upon and no changes to the resource took place.")]
561    #[message(id = "Base.1.16.0.NoOperation")]
562    #[message(severity = "crate::models::resource::Health::Warning")]
563    #[message(resolution = "Add properties in the JSON object and resubmit the request.")]
564    NoOperation,
565
566    /// This message shall be used to indicate that a component reset is recommended for error recovery while unaffected applications can continue running without any effects on accuracy and performance.
567    #[message(message = "In order to recover from errors, a component reset is recommended with the Reset action URI '%1' and ResetType '%2'.")]
568    #[message(id = "Base.1.16.0.ResetRecommended")]
569    #[message(severity = "crate::models::resource::Health::Warning")]
570    #[message(resolution = "Perform the recommended reset action on the specified component.")]
571    ResetRecommended(
572        /// This argument shall contain the URI for the reset action that is recommended to be invoked for error recovery.
573        String,
574        /// This argument shall contain the `ResetType` required in a reset action on the component URI for error recovery while unaffected applications can continue running without any effects on accuracy and performance.  A reset action POST shall contain this `ResetType` parameter.
575        String,
576    ),
577    /// This message shall be used to indicate that the account was successfully modified.
578    #[message(message = "The account was successfully modified.")]
579    #[message(id = "Base.1.16.0.AccountModified")]
580    #[message(severity = "crate::models::resource::Health::OK")]
581    #[message(resolution = "No resolution is required.")]
582    AccountModified,
583
584    /// This message shall be used to indicate that a resource change or creation was attempted but that the operation cannot proceed because the resource already exists.
585    #[message(message = "The requested resource of type %1 with the property %2 with the value '%3' already exists.")]
586    #[message(id = "Base.1.16.0.ResourceAlreadyExists")]
587    #[message(severity = "crate::models::resource::Health::Critical")]
588    #[message(resolution = "Do not repeat the create operation as the resource has already been created.")]
589    ResourceAlreadyExists(
590        /// This argument shall contain the schema name of the resource.
591        String,
592        /// This argument shall contain the name of the property.
593        String,
594        /// This argument shall contain the value provided for the property.  Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
595        String,
596    ),
597    /// This message shall be used to indicate that the request payload supplied as part of an HTTP multipart request is missing one or more required parts or contains malformed parts.
598    #[message(message = "The multipart request contains malformed parts or is missing required parts.")]
599    #[message(id = "Base.1.16.0.MissingOrMalformedPart")]
600    #[message(severity = "crate::models::resource::Health::Critical")]
601    #[message(resolution = "Add any missing required parts or correct the malformed parts and resubmit the request.")]
602    MissingOrMalformedPart,
603
604    /// This message shall be used to indicate that the request body contains invalid JSON.
605    #[message(message = "The request body submitted is invalid JSON starting at line %1 and could not be parsed by the receiving service.")]
606    #[message(id = "Base.1.16.0.InvalidJSON")]
607    #[message(severity = "crate::models::resource::Health::Critical")]
608    #[message(resolution = "Ensure that the request body is valid JSON and resubmit the request.")]
609    InvalidJSON(
610        /// The value of this argument shall contain the line number where the invalid JSON starts.
611        f64,
612    ),
613    /// This message shall be used to indicate that the action was supplied with a duplicated action parameter in the request body.
614    #[message(message = "The action %1 was submitted with more than one value for the parameter %2.")]
615    #[message(id = "Base.1.16.0.ActionParameterDuplicate")]
616    #[message(severity = "crate::models::resource::Health::Warning")]
617    #[message(resolution = "Resubmit the action with only one instance of the action parameter in the request body if the operation failed.")]
618    ActionParameterDuplicate(
619        /// This argument shall contain the name of the action.
620        String,
621        /// This argument shall contain the name of the action parameter.
622        String,
623    ),
624    /// This message shall be used to indicate that a query parameter is not supported by this service.
625    #[message(message = "Query parameter '%1' is not supported.")]
626    #[message(id = "Base.1.16.0.QueryParameterUnsupported")]
627    #[message(severity = "crate::models::resource::Health::Warning")]
628    #[message(resolution = "Correct or remove the query parameter and resubmit the request.")]
629    QueryParameterUnsupported(
630        /// This argument shall contain the name of the query parameter.
631        String,
632    ),
633    /// This message shall be used to indicate that the operation encountered a URI that does not correspond to a valid resource.
634    #[message(message = "The URI %1 was not found.")]
635    #[message(id = "Base.1.16.0.InvalidURI")]
636    #[message(severity = "crate::models::resource::Health::Critical")]
637    #[message(resolution = "Provide a valid URI and resubmit the request.")]
638    InvalidURI(
639        /// This argument shall contain the invalid URI that was encountered.
640        String,
641    ),
642    /// This message shall be used to indicate that the account was successfully removed.
643    #[message(message = "The account was successfully removed.")]
644    #[message(id = "Base.1.16.0.AccountRemoved")]
645    #[message(severity = "crate::models::resource::Health::OK")]
646    #[message(resolution = "No resolution is required.")]
647    AccountRemoved,
648
649    /// This message shall be used to indicate that query is not supported on the given resource.
650    #[message(message = "Querying is not supported on the requested resource.")]
651    #[message(id = "Base.1.16.0.QueryNotSupportedOnResource")]
652    #[message(severity = "crate::models::resource::Health::Warning")]
653    #[message(resolution = "Remove the query parameters and resubmit the request if the operation failed.")]
654    QueryNotSupportedOnResource,
655
656    /// This message shall be used to indicate that the operation failed as the service is shutting down.
657    #[message(message = "The operation failed because the service is shutting down and can no longer take incoming requests.")]
658    #[message(id = "Base.1.16.0.ServiceShuttingDown")]
659    #[message(severity = "crate::models::resource::Health::Critical")]
660    #[message(resolution = "When the service becomes available, resubmit the request if the operation failed.")]
661    ServiceShuttingDown,
662
663    /// This message shall be used to indicate that a resource could not satisfy the request due to some unavailability of resources.
664    #[message(message = "The resource '%1' was unable to satisfy the request due to unavailability of resources.")]
665    #[message(id = "Base.1.16.0.ResourceExhaustion")]
666    #[message(severity = "crate::models::resource::Health::Critical")]
667    #[message(resolution = "Ensure that the resources are available and resubmit the request.")]
668    ResourceExhaustion(
669        /// This argument shall contain the URI of the relevant resource.
670        String,
671    ),
672    /// This message shall be used to indicate that an event subscription has been terminated by the service.
673    #[message(message = "The event subscription has been terminated.")]
674    #[message(id = "Base.1.16.0.SubscriptionTerminated")]
675    #[message(severity = "crate::models::resource::Health::OK")]
676    #[message(resolution = "No resolution is required.")]
677    SubscriptionTerminated,
678
679    /// This message shall be used to indicate that the size of the array exceeded the maximum number of elements.
680    #[message(message = "The array provided for property %1 exceeds the size limit %2.")]
681    #[message(id = "Base.1.16.0.ArraySizeTooLong")]
682    #[message(severity = "crate::models::resource::Health::Warning")]
683    #[message(resolution = "Resubmit the request with an appropriate array size.")]
684    ArraySizeTooLong(
685        /// This argument shall contain the name of the property.
686        String,
687        /// This argument shall contain the maximum number of elements supported for the array for this property.
688        f64,
689    ),
690    /// This message shall be used to indicate that a delete operation was attempted on a resource that cannot be deleted.
691    #[message(message = "The delete request failed because the resource requested cannot be deleted.")]
692    #[message(id = "Base.1.16.0.ResourceCannotBeDeleted")]
693    #[message(severity = "crate::models::resource::Health::Critical")]
694    #[message(resolution = "Do not attempt to delete a non-deletable resource.")]
695    ResourceCannotBeDeleted,
696
697    /// This message shall be used to indicate that the index is not valid.
698    #[message(message = "The index %1 is not a valid offset into the array.")]
699    #[message(id = "Base.1.16.0.InvalidIndex")]
700    #[message(severity = "crate::models::resource::Health::Warning")]
701    #[message(resolution = "Verify the index value provided is within the bounds of the array.")]
702    InvalidIndex(
703        /// This argument shall contain the array index value provided.
704        f64,
705    ),
706    /// This message shall be used to indicate that the operation was not successful because the role is restricted.
707    #[message(message = "The operation was not successful because the role '%1' is restricted.")]
708    #[message(id = "Base.1.16.0.RestrictedRole")]
709    #[message(severity = "crate::models::resource::Health::Warning")]
710    #[message(resolution = "No resolution is required.  For standard roles, consider using the role specified in the AlternateRoleId property in the Role resource.")]
711    RestrictedRole(
712        /// This argument shall contain the name of the restricted role.
713        String,
714    ),
715    /// This message shall be used to indicate that a query parameter was provided that is out of range for the given resource.
716    #[message(message = "The value '%1' for the query parameter %2 is out of range %3.")]
717    #[message(id = "Base.1.16.0.QueryParameterOutOfRange")]
718    #[message(severity = "crate::models::resource::Health::Warning")]
719    #[message(resolution = "Reduce the value for the query parameter to a value that is within range, such as a start or count value that is within bounds of the number of resources in a collection or a page that is within the range of valid pages.")]
720    QueryParameterOutOfRange(
721        /// This argument shall contain the value provided for the query parameter.
722        String,
723        /// This argument shall contain the name of the query parameter.
724        String,
725        /// This argument shall contain a string representation of the valid range of values supported for the query parameter.
726        String,
727    ),
728    /// This message shall be used to indicate that a parameter was given the correct value type but the value of that parameter was not supported.
729    #[message(message = "The value '%1' for the parameter %2 in the action %3 is not in the list of acceptable values.")]
730    #[message(id = "Base.1.16.0.ActionParameterValueNotInList")]
731    #[message(severity = "crate::models::resource::Health::Warning")]
732    #[message(resolution = "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.")]
733    ActionParameterValueNotInList(
734        /// This argument shall contain the value provided for the action parameter.
735        String,
736        /// This argument shall contain the name of the action parameter.
737        String,
738        /// This argument shall contain the name of the action.
739        String,
740    ),
741    /// This message shall be used to indicate that the operation was not successful because a privilege is restricted.
742    #[message(message = "The operation was not successful because the privilege '%1' is restricted.")]
743    #[message(id = "Base.1.16.0.RestrictedPrivilege")]
744    #[message(severity = "crate::models::resource::Health::Warning")]
745    #[message(resolution = "Remove restricted privileges from the request body and resubmit the request.")]
746    RestrictedPrivilege(
747        /// This argument shall contain the name of the restricted privilege.
748        String,
749    ),
750    /// This message shall be used to indicate that the resource type of the operation does not match that for the operation destination.
751    #[message(message = "The @odata.type of the request body %1 is incompatible with the @odata.type of the resource, which is %2.")]
752    #[message(id = "Base.1.16.0.ResourceTypeIncompatible")]
753    #[message(severity = "crate::models::resource::Health::Critical")]
754    #[message(resolution = "Resubmit the request with a payload compatible with the resource's schema.")]
755    ResourceTypeIncompatible(
756        /// This argument shall contain the value of the `@odata.type` property provided in the request.
757        String,
758        /// This argument shall contain the value of the `@odata.type` property supported by the resource.
759        String,
760    ),
761    /// This message shall be used to indicate that a component reset is required for changes, error recovery, or operations to complete.
762    #[message(message = "In order to apply changes, recover from errors, or complete the operation, a component reset is required with the Reset action URI '%1' and ResetType '%2'.")]
763    #[message(id = "Base.1.16.0.ResetRequired")]
764    #[message(severity = "crate::models::resource::Health::Warning")]
765    #[message(resolution = "Perform the required reset action on the specified component.")]
766    ResetRequired(
767        /// This argument shall contain the URI for the reset action that is required to be invoked for changes, error recovery or operations to complete.
768        String,
769        /// This argument shall contain the `ResetType` required in a reset action on the component URI for changes, error recovery or operations to complete.  A reset action POST shall contain this `ResetType` parameter.
770        String,
771    ),
772    /// This message shall be used to indicate that the requested write of a property could not be completed, because of an incorrect value of the property such as when it does not meet the constraints of the implementation or match the regular expression requirements.
773    #[message(message = "The property '%1' with the requested value of '%2' could not be written because the value does not meet the constraints of the implementation.")]
774    #[message(id = "Base.1.16.0.PropertyValueIncorrect")]
775    #[message(severity = "crate::models::resource::Health::Warning")]
776    #[message(resolution = "No resolution is required.")]
777    PropertyValueIncorrect(
778        /// This argument shall contain the name of the property for which a write was requested.
779        String,
780        /// This argument shall contain the value of the property that is incorrect.
781        String,
782    ),
783    /// This message shall be used to indicate that the action requested was missing an action parameter that is required to process the action.
784    #[message(message = "The action %1 requires the parameter %2 to be present in the request body.")]
785    #[message(id = "Base.1.16.0.ActionParameterMissing")]
786    #[message(severity = "crate::models::resource::Health::Critical")]
787    #[message(resolution = "Supply the action with the required parameter in the request body when the request is resubmitted.")]
788    ActionParameterMissing(
789        /// This argument shall contain the name of the action.
790        String,
791        /// This argument shall contain the name of the action parameter.
792        String,
793    ),
794    /// This message shall be used to indicate that the URI was valid but the resource or image at that URI was in a format not supported by the service.
795    #[message(message = "The resource at '%1' is in a format not recognized by the service.")]
796    #[message(id = "Base.1.16.0.ResourceAtUriInUnknownFormat")]
797    #[message(severity = "crate::models::resource::Health::Critical")]
798    #[message(resolution = "Place an image or resource or file that is recognized by the service at the URI.")]
799    ResourceAtUriInUnknownFormat(
800        /// This argument shall contain the URI provided for this operation.
801        String,
802    ),
803    /// This message shall be used to indicate that the requested write of a property could not be completed, because the requested value of the property, which is a value supported by the implementation, cannot be accepted due to conflicts in the state or configuration of the resource.
804    #[message(message = "The property '%1' with the requested value of '%2' could not be written because the value is not available due to a configuration conflict.")]
805    #[message(id = "Base.1.16.0.PropertyValueExternalConflict")]
806    #[message(severity = "crate::models::resource::Health::Warning")]
807    #[message(resolution = "No resolution is required.")]
808    PropertyValueExternalConflict(
809        /// This argument shall contain the name of the property for which a write was requested.
810        String,
811        /// This argument shall contain the value of the property that is in conflict.
812        String,
813    ),
814    /// This message shall be used to indicate that an unknown property was included in the request body.
815    #[message(message = "The property %1 is not in the list of valid properties for the resource.")]
816    #[message(id = "Base.1.16.0.PropertyUnknown")]
817    #[message(severity = "crate::models::resource::Health::Warning")]
818    #[message(resolution = "Remove the unknown property from the request body and resubmit the request if the operation failed.")]
819    PropertyUnknown(
820        /// This argument shall contain the name of the unknown property.
821        String,
822    ),
823    /// This message shall be used to indicate that a parameter was given the correct value type but the value of that parameter was not supported.
824    #[message(message = "The value '%1' for the parameter %2 in the action %3 is of a different format than the parameter can accept.")]
825    #[message(id = "Base.1.16.0.ActionParameterValueFormatError")]
826    #[message(severity = "crate::models::resource::Health::Warning")]
827    #[message(resolution = "Correct the value for the parameter in the request body and resubmit the request if the operation failed.")]
828    ActionParameterValueFormatError(
829        /// This argument shall contain the value provided for the action parameter.  Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
830        String,
831        /// This argument shall contain the name of the action parameter.
832        String,
833        /// This argument shall contain the name of the action.
834        String,
835    ),
836    /// This message shall be used to indicate that the parameter supplied for the action is not supported on the resource.
837    #[message(message = "The parameter %1 for the action %2 is not supported on the target resource.")]
838    #[message(id = "Base.1.16.0.ActionParameterNotSupported")]
839    #[message(severity = "crate::models::resource::Health::Warning")]
840    #[message(resolution = "Remove the parameter supplied and resubmit the request if the operation failed.")]
841    ActionParameterNotSupported(
842        /// This argument shall contain the name of the action parameter.
843        String,
844        /// This argument shall contain the name of the action.
845        String,
846    ),
847    /// This message shall be used to indicate that a string value passed to the given resource exceeded its length limit.
848    #[message(message = "The string '%1' exceeds the length limit %2.")]
849    #[message(id = "Base.1.16.0.StringValueTooLong")]
850    #[message(severity = "crate::models::resource::Health::Warning")]
851    #[message(resolution = "Resubmit the request with an appropriate string length.")]
852    StringValueTooLong(
853        /// This argument shall contain the string value provided for this operation.
854        String,
855        /// This argument shall contain the maximum supported string length for this property.
856        f64,
857    ),
858    /// This message shall be used to indicate that the requested write of a property could not be completed, because the requested value of the property, which is a value supported by the implementation, cannot be accepted due to conflicts in the state or configuration of another resource.
859    #[message(message = "The property '%1' with the requested value of '%2' could not be written because the value conflicts with the state or configuration of the resource at '%3'.")]
860    #[message(id = "Base.1.16.0.PropertyValueResourceConflict")]
861    #[message(severity = "crate::models::resource::Health::Warning")]
862    #[message(resolution = "No resolution is required.")]
863    PropertyValueResourceConflict(
864        /// This argument shall contain the name of the property for which a write was requested.
865        String,
866        /// This argument shall contain the value of the property that is in conflict.
867        String,
868        /// This argument shall contain the URI of the resource that is in conflict with the value of the requested property.
869        String,
870    ),
871    /// This message shall be used to indicate that a property was given a value in the request body, but the property is a readonly property.
872    #[message(message = "The property %1 is a read only property and cannot be assigned a value.")]
873    #[message(id = "Base.1.16.0.PropertyNotWritable")]
874    #[message(severity = "crate::models::resource::Health::Warning")]
875    #[message(resolution = "Remove the property from the request body and resubmit the request if the operation failed.")]
876    PropertyNotWritable(
877        /// This argument shall contain the name of the property.
878        String,
879    ),
880    /// This message shall be used to indicate that the request could not be performed because the user provided in the request requires multifactor authentication and an authentication token was not provided.
881    #[message(message = "The request could not be performed because an authentication token was not provided.")]
882    #[message(id = "Base.1.16.0.AuthenticationTokenRequired")]
883    #[message(severity = "crate::models::resource::Health::Critical")]
884    #[message(resolution = "Obtain an authentication token and resubmit the request.")]
885    AuthenticationTokenRequired,
886
887    /// This message shall be used to indicate that the service is temporarily unavailable.
888    #[message(message = "The service is temporarily unavailable.  Retry in %1 seconds.")]
889    #[message(id = "Base.1.16.0.ServiceTemporarilyUnavailable")]
890    #[message(severity = "crate::models::resource::Health::Critical")]
891    #[message(resolution = "Wait for the indicated retry duration and retry the operation.")]
892    ServiceTemporarilyUnavailable(
893        /// This argument shall contain the number of seconds the client should wait before attempting the operation again.
894        String,
895    ),
896    /// This message shall be used to indicate that one or more conditions that require attention exist in a resource that affects the Health or HealthRollup of this resource.  This message can be used in place of multiple messages in a `Conditions` property to roll up conditions from a single resource.  The resource can be located using the `OriginOfCondition` property.  The value of the `MessageSeverity` property should match the highest severity of any conditions in the resource referenced by the `OriginOfCondition` property.
897    #[message(message = "One or more conditions exist in a related resource.  See the OriginOfCondition property.")]
898    #[message(id = "Base.1.16.0.ConditionInRelatedResource")]
899    #[message(severity = "crate::models::resource::Health::Warning")]
900    #[message(resolution = "Check the Conditions array in the resource shown in the OriginOfCondition property to determine the conditions that need attention.")]
901    ConditionInRelatedResource,
902
903    /// This message shall be used to indicate that the property is deprecated.
904    #[message(message = "The deprecated property %1 was included in the request body.")]
905    #[message(id = "Base.1.16.0.PropertyDeprecated")]
906    #[message(severity = "crate::models::resource::Health::Warning")]
907    #[message(resolution = "Refer to the schema guide for more information.")]
908    PropertyDeprecated(
909        /// This argument shall contain the name of the property that is deprecated.
910        String,
911    ),
912    /// This message shall be used to indicate that a duplicate property was included in the request body.
913    #[message(message = "The property %1 was duplicated in the request.")]
914    #[message(id = "Base.1.16.0.PropertyDuplicate")]
915    #[message(severity = "crate::models::resource::Health::Warning")]
916    #[message(resolution = "Remove the duplicate property from the request body and resubmit the request if the operation failed.")]
917    PropertyDuplicate(
918        /// This argument shall contain the name of the duplicate property.
919        String,
920    ),
921    /// This message shall be used to indicate that the password for the account provided must be changed before accessing the service.  The password can be changed with a PATCH to the `Password` property in the manager account resource instance.  Implementations that provide a default password for an account may require a password change prior to first access to the service.
922    #[message(message = "The password provided for this account must be changed before access is granted.  PATCH the Password property for this account located at the target URI '%1' to complete this process.")]
923    #[message(id = "Base.1.16.0.PasswordChangeRequired")]
924    #[message(severity = "crate::models::resource::Health::Critical")]
925    #[message(resolution = "Change the password for this account using a PATCH to the Password property at the URI provided.")]
926    PasswordChangeRequired(
927        /// This argument shall contain the URI of the target manager account resource instance.
928        String,
929    ),
930    /// This message shall be used to indicate that a property was given an invalid value, and the value cannot or should not be included in the message text.
931    #[message(message = "The value provided for the property %1 is not valid.")]
932    #[message(id = "Base.1.16.0.PropertyValueError")]
933    #[message(severity = "crate::models::resource::Health::Warning")]
934    #[message(resolution = "Correct the value for the property in the request body and resubmit the request if the operation failed.")]
935    PropertyValueError(
936        /// This argument shall contain the name of the property.
937        String,
938    ),
939    /// This message shall be used to indicate that a query parameter was given the correct value type but the value of that parameter was not supported.
940    #[message(message = "The value '%1' for the parameter %2 is of a different format than the parameter can accept.")]
941    #[message(id = "Base.1.16.0.QueryParameterValueFormatError")]
942    #[message(severity = "crate::models::resource::Health::Warning")]
943    #[message(resolution = "Correct the value for the query parameter in the request and resubmit the request if the operation failed.")]
944    QueryParameterValueFormatError(
945        /// This argument shall contain the value provided for the query parameter.
946        String,
947        /// This argument shall contain the name of the query parameter.
948        String,
949    ),
950    /// This message shall be used to indicate that a event subscription establishment has been requested but the operation failed due to the number of simultaneous connection exceeding the limit of the implementation.
951    #[message(message = "The event subscription failed due to the number of simultaneous subscriptions exceeding the limit of the implementation.")]
952    #[message(id = "Base.1.16.0.EventSubscriptionLimitExceeded")]
953    #[message(severity = "crate::models::resource::Health::Critical")]
954    #[message(resolution = "Reduce the number of other subscriptions before trying to establish the event subscription or increase the limit of simultaneous subscriptions, if supported.")]
955    EventSubscriptionLimitExceeded,
956
957    /// This message shall be used to indicate that the HTTP method in the request is not allowed on this resource.  This error message should be used together with status code 405 Method Not Allowed.
958    #[message(message = "The HTTP method is not allowed on this resource.")]
959    #[message(id = "Base.1.16.0.OperationNotAllowed")]
960    #[message(severity = "crate::models::resource::Health::Critical")]
961    #[message(resolution = "None.")]
962    OperationNotAllowed,
963
964    /// This message shall be used to indicate that a general error has occurred.  Implementations should not use this message in `@Message.ExtendedInfo`.  If used in `@Message.ExtendedInfo`, implementations should include a `Resolution` property with this message and provide a service-defined resolution to indicate how to resolve the error.
965    #[message(message = "A general error has occurred.  See Resolution for information on how to resolve the error, or @Message.ExtendedInfo if Resolution is not provided.")]
966    #[message(id = "Base.1.16.0.GeneralError")]
967    #[message(severity = "crate::models::resource::Health::Critical")]
968    #[message(resolution = "None.")]
969    GeneralError,
970
971    /// This message shall be used to indicate that a property was given the wrong value type.
972    #[message(message = "The value '%1' for the property %2 is of a different type than the property can accept.")]
973    #[message(id = "Base.1.16.0.PropertyValueTypeError")]
974    #[message(severity = "crate::models::resource::Health::Warning")]
975    #[message(resolution = "Correct the value for the property in the request body and resubmit the request if the operation failed.")]
976    PropertyValueTypeError(
977        /// This argument shall contain the value provided for the property.  Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
978        String,
979        /// This argument shall contain the name of the property.
980        String,
981    ),
982    /// This message shall be used to indicate that a string value passed to the given resource was under its minimum required length.
983    #[message(message = "The string '%1' was under the minimum required length %2.")]
984    #[message(id = "Base.1.16.0.StringValueTooShort")]
985    #[message(severity = "crate::models::resource::Health::Warning")]
986    #[message(resolution = "Resubmit the request with an appropriate string length.")]
987    StringValueTooShort(
988        /// This argument shall contain the string value provided for this operation.
989        String,
990        /// This argument shall contain the minimum supported string length for this property.
991        f64,
992    ),
993}