1use redfish_macros::IntoRedfishMessage;
4
5#[derive(Clone, Debug, IntoRedfishMessage)]
7#[message(crate::models::message::v1_1_2::Message)]
8pub enum Base {
9 #[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 String,
17 ),
18 #[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 #[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 String,
33 String,
35 ),
36 #[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 #[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 #[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 String,
58 String,
60 ),
61 #[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 String,
69 ),
70 #[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 String,
78 String,
80 ),
81 #[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 String,
89 String,
91 ),
92 #[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 String,
100 String,
102 ),
103 #[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 String,
111 ),
112 #[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 #[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 String,
127 ),
128 #[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 String,
136 ),
137 #[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 String,
145 String,
147 ),
148 #[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 #[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 #[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 #[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 String,
177 String,
179 ),
180 #[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 String,
188 String,
190 ),
191 #[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 #[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 #[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 #[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 #[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 #[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 #[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 String,
241 String,
243 String,
245 ),
246 #[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 String,
254 ),
255 #[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 String,
263 ),
264 #[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 #[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 #[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 #[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 #[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 String,
300 ),
301 #[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 #[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 #[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 #[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 String,
330 ),
331 #[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 #[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 String,
346 ),
347 #[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 String,
355 String,
357 ),
358 #[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 String,
366 ),
367 #[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 #[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 String,
382 ),
383 #[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 String,
391 ),
392 #[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 #[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 String,
407 String,
409 ),
410 #[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 #[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 #[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 String,
432 String,
434 ),
435 #[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 #[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 String,
450 ),
451 #[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 String,
459 ),
460 #[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 String,
468 ),
469 #[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 String,
477 ),
478 #[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 #[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 String,
493 ),
494 #[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 String,
502 String,
504 ),
505 #[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 String,
513 f64,
515 ),
516 #[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 String,
524 ),
525 #[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 String,
533 String,
535 ),
536 #[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 #[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 String,
551 ),
552 #[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 #[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 #[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 String,
574 String,
576 ),
577 #[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 #[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 String,
592 String,
594 String,
596 ),
597 #[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 #[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 f64,
612 ),
613 #[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 String,
621 String,
623 ),
624 #[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 String,
632 ),
633 #[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 String,
641 ),
642 #[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 #[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 #[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 #[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 String,
671 ),
672 #[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 #[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 String,
687 f64,
689 ),
690 #[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 #[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 f64,
705 ),
706 #[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 String,
714 ),
715 #[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 String,
723 String,
725 String,
727 ),
728 #[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 String,
736 String,
738 String,
740 ),
741 #[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 String,
749 ),
750 #[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 String,
758 String,
760 ),
761 #[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 String,
769 String,
771 ),
772 #[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 String,
780 String,
782 ),
783 #[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 String,
791 String,
793 ),
794 #[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 String,
802 ),
803 #[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 String,
811 String,
813 ),
814 #[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 String,
822 ),
823 #[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 String,
831 String,
833 String,
835 ),
836 #[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 String,
844 String,
846 ),
847 #[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 String,
855 f64,
857 ),
858 #[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 String,
866 String,
868 String,
870 ),
871 #[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 String,
879 ),
880 #[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 #[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 String,
895 ),
896 #[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 #[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 String,
911 ),
912 #[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 String,
920 ),
921 #[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 String,
929 ),
930 #[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 String,
938 ),
939 #[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 String,
947 String,
949 ),
950 #[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 #[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 #[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 #[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 String,
979 String,
981 ),
982 #[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 String,
990 f64,
992 ),
993}