1 #pragma once
2 /****************************************************************
3  *                 READ THIS WARNING FIRST
4  * This is an auto-generated header which contains definitions
5  * for Redfish DMTF defined messages.
6  * DO NOT modify this registry outside of running the
7  * parse_registries.py script.  The definitions contained within
8  * this file are owned by DMTF.  Any modifications to these files
9  * should be first pushed to the relevant registry in the DMTF
10  * github organization.
11  ***************************************************************/
12 #include "registries.hpp"
13 
14 #include <array>
15 
16 // clang-format off
17 
18 namespace redfish::registries::base
19 {
20 const Header header = {
21     "Copyright 2014-2024 DMTF. All rights reserved.",
22     "#MessageRegistry.v1_6_2.MessageRegistry",
23     "Base.1.19.0",
24     "Base Message Registry",
25     "en",
26     "This registry defines the base messages for Redfish.",
27     "Base",
28     "1.19.0",
29     "DMTF",
30 };
31 constexpr const char* url =
32     "https://redfish.dmtf.org/registries/Base.1.19.0.json";
33 
34 constexpr std::array registry =
35 {
36     MessageEntry{
37         "AccessDenied",
38         {
39             "Indicates that while attempting to access, connect to, or transfer to or from another resource, the service denied access.",
40             "While attempting to establish a connection to '%1', the service denied access.",
41             "Critical",
42             1,
43             {
44                 "string",
45             },
46             "Attempt to ensure that the URI is correct and that the service has the appropriate credentials.",
47         }},
48     MessageEntry{
49         "AccountForSessionNoLongerExists",
50         {
51             "Indicates that the account for the session was removed, and so the session was removed as well.",
52             "The account for the current session was removed, and so the current session was removed as well.",
53             "OK",
54             0,
55             {},
56             "Attempt to connect with a valid account.",
57         }},
58     MessageEntry{
59         "AccountModified",
60         {
61             "Indicates that the account was successfully modified.",
62             "The account was successfully modified.",
63             "OK",
64             0,
65             {},
66             "None.",
67         }},
68     MessageEntry{
69         "AccountNotModified",
70         {
71             "Indicates that the modification requested for the account was not successful.",
72             "The account modification request failed.",
73             "Warning",
74             0,
75             {},
76             "The modification may have failed due to permission issues or issues with the request body.",
77         }},
78     MessageEntry{
79         "AccountRemoved",
80         {
81             "Indicates that the account was successfully removed.",
82             "The account was successfully removed.",
83             "OK",
84             0,
85             {},
86             "None.",
87         }},
88     MessageEntry{
89         "ActionDeprecated",
90         {
91             "Indicates the action is deprecated.",
92             "The action %1 is deprecated.",
93             "Warning",
94             1,
95             {
96                 "string",
97             },
98             "Refer to the schema guide for more information.",
99         }},
100     MessageEntry{
101         "ActionNotSupported",
102         {
103             "Indicates that the action supplied with the `POST` operation is not supported by the resource.",
104             "The action %1 is not supported by the resource.",
105             "Critical",
106             1,
107             {
108                 "string",
109             },
110             "Check the Actions property in the resource for the supported actions.",
111         }},
112     MessageEntry{
113         "ActionParameterDuplicate",
114         {
115             "Indicates that the action was supplied with a duplicated action parameter in the request body.",
116             "The action %1 was submitted with more than one value for the parameter %2.",
117             "Warning",
118             2,
119             {
120                 "string",
121                 "string",
122             },
123             "Resubmit the action with only one instance of the action parameter in the request body if the operation failed.",
124         }},
125     MessageEntry{
126         "ActionParameterMissing",
127         {
128             "Indicates that the action requested was missing an action parameter that is required to process the action.",
129             "The action %1 requires the parameter %2 to be present in the request body.",
130             "Critical",
131             2,
132             {
133                 "string",
134                 "string",
135             },
136             "Supply the action with the required parameter in the request body when the request is resubmitted.",
137         }},
138     MessageEntry{
139         "ActionParameterNotSupported",
140         {
141             "Indicates that the parameter supplied for the action is not supported on the resource.",
142             "The parameter %1 for the action %2 is not supported on the target resource.",
143             "Warning",
144             2,
145             {
146                 "string",
147                 "string",
148             },
149             "Remove the parameter supplied and resubmit the request if the operation failed.",
150         }},
151     MessageEntry{
152         "ActionParameterUnknown",
153         {
154             "Indicates that an action was submitted but an action parameter supplied did not match any of the known parameters.",
155             "The action %1 was submitted with the invalid parameter %2.",
156             "Warning",
157             2,
158             {
159                 "string",
160                 "string",
161             },
162             "Correct the invalid action parameter and resubmit the request if the operation failed.",
163         }},
164     MessageEntry{
165         "ActionParameterValueConflict",
166         {
167             "Indicates that the requested parameter value could not be completed because of a mismatch with other parameters or properties in the resource.",
168             "The parameter '%1' with the requested value of '%2' does not meet the constraints of the implementation.",
169             "Warning",
170             2,
171             {
172                 "string",
173                 "string",
174             },
175             "None.",
176         }},
177     MessageEntry{
178         "ActionParameterValueError",
179         {
180             "Indicates that a parameter was given an invalid value.",
181             "The value for the parameter %1 in the action %2 is invalid.",
182             "Warning",
183             2,
184             {
185                 "string",
186                 "string",
187             },
188             "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
189         }},
190     MessageEntry{
191         "ActionParameterValueFormatError",
192         {
193             "Indicates that a parameter was given the correct value type but the format of the value is not supported.",
194             "The value '%1' for the parameter %2 in the action %3 is not a format that the parameter can accept.",
195             "Warning",
196             3,
197             {
198                 "string",
199                 "string",
200                 "string",
201             },
202             "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
203         }},
204     MessageEntry{
205         "ActionParameterValueNotInList",
206         {
207             "Indicates that a parameter was given the correct value type but the value of that parameter was not supported.  The value is not in an enumeration.",
208             "The value '%1' for the parameter %2 in the action %3 is not in the list of acceptable values.",
209             "Warning",
210             3,
211             {
212                 "string",
213                 "string",
214                 "string",
215             },
216             "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.",
217         }},
218     MessageEntry{
219         "ActionParameterValueOutOfRange",
220         {
221             "Indicates that a parameter was given the correct value type but the value of that parameter is outside the supported range.",
222             "The value '%1' for the parameter %2 in the action %3 is not in the supported range of acceptable values.",
223             "Warning",
224             3,
225             {
226                 "string",
227                 "string",
228                 "string",
229             },
230             "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
231         }},
232     MessageEntry{
233         "ActionParameterValueTypeError",
234         {
235             "Indicates that a parameter was given the wrong value type, such as when a number is supplied for a parameter that requires a string.",
236             "The value '%1' for the parameter %2 in the action %3 is not a type that the parameter can accept.",
237             "Warning",
238             3,
239             {
240                 "string",
241                 "string",
242                 "string",
243             },
244             "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
245         }},
246     MessageEntry{
247         "ArraySizeTooLong",
248         {
249             "Indicates that the size of the array exceeded the maximum number of elements.",
250             "The array provided for property %1 exceeds the size limit %2.",
251             "Warning",
252             2,
253             {
254                 "string",
255                 "number",
256             },
257             "Resubmit the request with an appropriate array size.",
258         }},
259     MessageEntry{
260         "ArraySizeTooShort",
261         {
262             "Indicates that the size of the array is less than the minimum number of elements.",
263             "The array provided for property %1 is under the minimum size limit %2.",
264             "Warning",
265             2,
266             {
267                 "string",
268                 "number",
269             },
270             "Resubmit the request with an appropriate array size.",
271         }},
272     MessageEntry{
273         "AuthenticationTokenRequired",
274         {
275             "Indicates that the request could not be performed because an authentication token was not provided.",
276             "The request could not be performed because an authentication token was not provided.",
277             "Critical",
278             0,
279             {},
280             "Obtain an authentication token and resubmit the request.",
281         }},
282     MessageEntry{
283         "ChassisPowerStateOffRequired",
284         {
285             "Indicates that the request requires a specified chassis to be powered off.",
286             "The chassis with Id '%1' is required to be powered off to perform this request.",
287             "Warning",
288             1,
289             {
290                 "string",
291             },
292             "Power off the specified chassis and resubmit the request.",
293         }},
294     MessageEntry{
295         "ChassisPowerStateOnRequired",
296         {
297             "Indicates that the request requires a specified chassis to be powered on.",
298             "The chassis with Id '%1' is required to be powered on to perform this request.",
299             "Warning",
300             1,
301             {
302                 "string",
303             },
304             "Power on the specified chassis and resubmit the request.",
305         }},
306     MessageEntry{
307         "ConditionInRelatedResource",
308         {
309             "Indicates that one or more fault or error conditions exist in a related resource.",
310             "One or more conditions exist in a related resource.  See the OriginOfCondition property.",
311             "Warning",
312             0,
313             {},
314             "Check the Conditions array in the resource shown in the OriginOfCondition property to determine the conditions that need attention.",
315         }},
316     MessageEntry{
317         "CouldNotEstablishConnection",
318         {
319             "Indicates that the attempt to access the resource, file, or image at the URI was unsuccessful because a session could not be established.",
320             "The service failed to establish a connection with the URI '%1'.",
321             "Critical",
322             1,
323             {
324                 "string",
325             },
326             "Ensure that the URI contains a valid and reachable node name, protocol information, and other URI components.",
327         }},
328     MessageEntry{
329         "CreateFailedMissingReqProperties",
330         {
331             "Indicates that a create operation was attempted on a resource but that properties that are required for the create operation were missing from the request.",
332             "The create operation failed because the required property %1 was missing from the request.",
333             "Critical",
334             1,
335             {
336                 "string",
337             },
338             "Correct the body to include the required property with a valid value and resubmit the request if the operation failed.",
339         }},
340     MessageEntry{
341         "CreateLimitReachedForResource",
342         {
343             "Indicates that no more resources can be created on the resource as it has reached its create limit.",
344             "The create operation failed because the resource has reached the limit of possible resources.",
345             "Critical",
346             0,
347             {},
348             "Either delete resources and resubmit the request if the operation failed or do not resubmit the request.",
349         }},
350     MessageEntry{
351         "Created",
352         {
353             "Indicates that all conditions of a successful create operation were met.",
354             "The resource was created successfully.",
355             "OK",
356             0,
357             {},
358             "None.",
359         }},
360     MessageEntry{
361         "EmptyJSON",
362         {
363             "Indicates that the request body contained an empty JSON object when one or more properties are expected in the body.",
364             "The request body submitted contained an empty JSON object and the service is unable to process it.",
365             "Warning",
366             0,
367             {},
368             "Add properties in the JSON object and resubmit the request.",
369         }},
370     MessageEntry{
371         "EventBufferExceeded",
372         {
373             "Indicates undelivered events may have been lost due to a lack of buffer space in the service.",
374             "Undelivered events may have been lost due to exceeding the event buffer.",
375             "Warning",
376             0,
377             {},
378             "None.",
379         }},
380     MessageEntry{
381         "EventSubscriptionLimitExceeded",
382         {
383             "Indicates that an event subscription establishment was requested but the operation failed due to the number of simultaneous connections exceeding the limit of the implementation.",
384             "The event subscription failed due to the number of simultaneous subscriptions exceeding the limit of the implementation.",
385             "Critical",
386             0,
387             {},
388             "Reduce the number of other subscriptions before trying to establish the event subscription or increase the limit of simultaneous subscriptions, if supported.",
389         }},
390     MessageEntry{
391         "GeneralError",
392         {
393             "Indicates that a general error has occurred.  Use in `@Message.ExtendedInfo` is discouraged.  When used in `@Message.ExtendedInfo`, implementations are expected to include a `Resolution` property with this message and provide a service-defined resolution to indicate how to resolve the error.",
394             "A general error has occurred.  See Resolution for information on how to resolve the error, or @Message.ExtendedInfo if Resolution is not provided.",
395             "Critical",
396             0,
397             {},
398             "None.",
399         }},
400     MessageEntry{
401         "GenerateSecretKeyRequired",
402         {
403             "Indicates that the Time-based One-Time Password (TOTP) secret key needs to be generated for the account before accessing the service.  The secret key can be generated with a `POST` to the `GenerateSecretKey` action for the `ManagerAccount` resource instance.",
404             "The Time-based One-Time Password (TOTP) secret key for this account must be generated before access is granted.  Perform the GenerateSecretKey action at URI '%1' and retain the secret key from the response.",
405             "Critical",
406             1,
407             {
408                 "string",
409             },
410             "Generate secret key for this account by performing the `GenerateSecretKey` action on the referenced URI and retaining the secret key from the action response to produce a Time-based One-Time Password (TOTP) for the `Token` property in future session creation requests.",
411         }},
412     MessageEntry{
413         "HeaderInvalid",
414         {
415             "Indicates that a request header is invalid.",
416             "Header '%1' is invalid.",
417             "Critical",
418             1,
419             {
420                 "string",
421             },
422             "Resubmit the request with a valid request header.",
423         }},
424     MessageEntry{
425         "HeaderMissing",
426         {
427             "Indicates that a required request header is missing.",
428             "Required header '%1' is missing in the request.",
429             "Critical",
430             1,
431             {
432                 "string",
433             },
434             "Resubmit the request with the required request header.",
435         }},
436     MessageEntry{
437         "InsufficientPrivilege",
438         {
439             "Indicates that the credentials associated with the established session do not have sufficient privileges for the requested operation.",
440             "There are insufficient privileges for the account or credentials associated with the current session to perform the requested operation.",
441             "Critical",
442             0,
443             {},
444             "Either abandon the operation or change the associated access rights and resubmit the request if the operation failed.",
445         }},
446     MessageEntry{
447         "InsufficientStorage",
448         {
449             "Indicates that the operation could not be completed due to a lack of storage or memory available to the service.",
450             "Insufficient storage or memory available to complete the request.",
451             "Critical",
452             0,
453             {},
454             "Increase the free storage space available to the service and resubmit the request.",
455         }},
456     MessageEntry{
457         "InternalError",
458         {
459             "Indicates that the request failed for an unknown internal error but that the service is still operational.",
460             "The request failed due to an internal service error.  The service is still operational.",
461             "Critical",
462             0,
463             {},
464             "Resubmit the request.  If the problem persists, consider resetting the service.",
465         }},
466     MessageEntry{
467         "InvalidIndex",
468         {
469             "The index is not valid.",
470             "The index %1 is not a valid offset into the array.",
471             "Warning",
472             1,
473             {
474                 "number",
475             },
476             "Verify the index value provided is within the bounds of the array.",
477         }},
478     MessageEntry{
479         "InvalidJSON",
480         {
481             "Indicates that the request body contains invalid JSON.",
482             "The request body submitted is invalid JSON starting at line %1 and could not be parsed by the receiving service.",
483             "Critical",
484             1,
485             {
486                 "number",
487             },
488             "Ensure that the request body is valid JSON and resubmit the request.",
489         }},
490     MessageEntry{
491         "InvalidObject",
492         {
493             "Indicates that the object in question is invalid according to the implementation.  An example is a firmware update malformed URI.",
494             "The object at '%1' is invalid.",
495             "Critical",
496             1,
497             {
498                 "string",
499             },
500             "Either the object is malformed or the URI is not correct.  Correct the condition and resubmit the request if it failed.",
501         }},
502     MessageEntry{
503         "InvalidURI",
504         {
505             "Indicates that the operation encountered a URI that does not correspond to a valid resource.",
506             "The URI %1 was not found.",
507             "Critical",
508             1,
509             {
510                 "string",
511             },
512             "Provide a valid URI and resubmit the request.",
513         }},
514     MessageEntry{
515         "LicenseRequired",
516         {
517             "Indicates that a license is required to perform the requested operation.",
518             "A license is required for this operation: %1.",
519             "Critical",
520             1,
521             {
522                 "string",
523             },
524             "Install the requested license and resubmit the request.",
525         }},
526     MessageEntry{
527         "MalformedJSON",
528         {
529             "Indicates that the request body was malformed JSON.",
530             "The request body submitted was malformed JSON and could not be parsed by the receiving service.",
531             "Critical",
532             0,
533             {},
534             "Ensure that the request body is valid JSON and resubmit the request.",
535         }},
536     MessageEntry{
537         "MaximumErrorsExceeded",
538         {
539             "Indicates that so many errors have occurred that the reporting service cannot return them all.",
540             "Too many errors have occurred to report them all.",
541             "Critical",
542             0,
543             {},
544             "Resolve other reported errors and retry the current operation.",
545         }},
546     MessageEntry{
547         "MissingOrMalformedPart",
548         {
549             "Indicates that a multipart request is missing a required part or contains malformed parts.",
550             "The multipart request contains malformed parts or is missing required parts.",
551             "Critical",
552             0,
553             {},
554             "Add any missing required parts or correct the malformed parts and resubmit the request.",
555         }},
556     MessageEntry{
557         "NetworkNameResolutionNotConfigured",
558         {
559             "Indicates that network-based name resolution is not configured on the service.",
560             "Network name resolution is not configured on this service.",
561             "Warning",
562             0,
563             {},
564             "Configure the network-based 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.",
565         }},
566     MessageEntry{
567         "NetworkNameResolutionNotSupported",
568         {
569             "Indicates the service does not support network-based name resolution.",
570             "Resolution of network-based names is not supported by this service.",
571             "Warning",
572             0,
573             {},
574             "Update any URI values to include an IP address instead of a network name and resubmit the request.",
575         }},
576     MessageEntry{
577         "NoOperation",
578         {
579             "Indicates that the requested operation will not perform any changes on the service.",
580             "The request body submitted contain no data to act upon and no changes to the resource took place.",
581             "Warning",
582             0,
583             {},
584             "Add properties in the JSON object and resubmit the request.",
585         }},
586     MessageEntry{
587         "NoValidSession",
588         {
589             "Indicates that the operation failed because a valid session is required in order to access any resources.",
590             "There is no valid session established with the implementation.",
591             "Critical",
592             0,
593             {},
594             "Establish a session before attempting any operations.",
595         }},
596     MessageEntry{
597         "OneTimePasscodeSent",
598         {
599             "Indicates that a required one-time passcode was sent to the user.  The code should be provided as the Token property in the request to create a session.",
600             "A one-time passcode was sent to: %1.  Supply the passcode as the `Token` property in the request to create a session.",
601             "OK",
602             1,
603             {
604                 "string",
605             },
606             "Obtain the one-time passcode sent to the delivery address and resubmit the request using the passcode as the `Token` property.",
607         }},
608     MessageEntry{
609         "OperationFailed",
610         {
611             "Indicates that one of the internal operations necessary to complete the request failed.  An example of this is when an internal service provider is unable to complete the request, such as in aggregation or RDE.",
612             "An error occurred internal to the service as part of the overall request.  Partial results may have been returned.",
613             "Warning",
614             0,
615             {},
616             "Resubmit the request.  If the problem persists, consider resetting the service or provider.",
617         }},
618     MessageEntry{
619         "OperationNotAllowed",
620         {
621             "Indicates that the HTTP method in the request is not allowed on this resource.",
622             "The HTTP method is not allowed on this resource.",
623             "Critical",
624             0,
625             {},
626             "None.",
627         }},
628     MessageEntry{
629         "OperationTimeout",
630         {
631             "Indicates that one of the internal operations necessary to complete the request timed out.  An example of this is when an internal service provider is unable to complete the request, such as in aggregation or RDE.",
632             "A timeout internal to the service occurred as part of the request.  Partial results may have been returned.",
633             "Warning",
634             0,
635             {},
636             "Resubmit the request.  If the problem persists, consider resetting the service or provider.",
637         }},
638     MessageEntry{
639         "PasswordChangeRequired",
640         {
641             "Indicates 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.",
642             "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.",
643             "Critical",
644             1,
645             {
646                 "string",
647             },
648             "Change the password for this account using a PATCH to the Password property at the URI provided.",
649         }},
650     MessageEntry{
651         "PayloadTooLarge",
652         {
653             "Indicates that the supplied payload is too large to be accepted by the service.",
654             "The supplied payload exceeds the maximum size supported by the service.",
655             "Critical",
656             0,
657             {},
658             "Check that the supplied payload is correct and supported by this service.",
659         }},
660     MessageEntry{
661         "PreconditionFailed",
662         {
663             "Indicates that the ETag supplied did not match the current ETag of the resource.",
664             "The ETag supplied did not match the ETag required to change this resource.",
665             "Critical",
666             0,
667             {},
668             "Try the operation again using the appropriate ETag.",
669         }},
670     MessageEntry{
671         "PreconditionRequired",
672         {
673             "Indicates that the request did not provide the required precondition such as an `If-Match` or `If-None-Match` header or `@odata.etag` annotations.",
674             "A precondition header or annotation is required to change this resource.",
675             "Critical",
676             0,
677             {},
678             "Try the operation again using an If-Match or If-None-Match header and appropriate ETag.",
679         }},
680     MessageEntry{
681         "PropertyDeprecated",
682         {
683             "Indicates the property is deprecated.",
684             "The deprecated property %1 was included in the request body.",
685             "Warning",
686             1,
687             {
688                 "string",
689             },
690             "Refer to the schema guide for more information.",
691         }},
692     MessageEntry{
693         "PropertyDuplicate",
694         {
695             "Indicates that a duplicate property was included in the request body.",
696             "The property %1 was duplicated in the request.",
697             "Warning",
698             1,
699             {
700                 "string",
701             },
702             "Remove the duplicate property from the request body and resubmit the request if the operation failed.",
703         }},
704     MessageEntry{
705         "PropertyMissing",
706         {
707             "Indicates that a required property was not supplied as part of the request.",
708             "The property %1 is a required property and must be included in the request.",
709             "Warning",
710             1,
711             {
712                 "string",
713             },
714             "Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.",
715         }},
716     MessageEntry{
717         "PropertyModified",
718         {
719             "Indicates that all properties listed in `RelatedProperties` in the message were successfully modified.",
720             "One or more properties were successfully modified.",
721             "OK",
722             0,
723             {},
724             "None.",
725         }},
726     MessageEntry{
727         "PropertyNotUpdated",
728         {
729             "Indicates that a property was not updated due to an internal service error, but the service is still functional.",
730             "The property %1 was not updated due to an internal service error.  The service is still operational.",
731             "Critical",
732             1,
733             {
734                 "string",
735             },
736             "Resubmit the request.  If the problem persists, check for additional messages and consider resetting the service.",
737         }},
738     MessageEntry{
739         "PropertyNotWritable",
740         {
741             "Indicates that a property was given a value in the request body, but the property is a read-only property.",
742             "The property %1 is a read-only property and cannot be assigned a value.",
743             "Warning",
744             1,
745             {
746                 "string",
747             },
748             "Remove the property from the request body and resubmit the request if the operation failed.",
749         }},
750     MessageEntry{
751         "PropertyUnknown",
752         {
753             "Indicates that an unknown property was included in the request body.",
754             "The property %1 is not in the list of valid properties for the resource.",
755             "Warning",
756             1,
757             {
758                 "string",
759             },
760             "Remove the unknown property from the request body and resubmit the request if the operation failed.",
761         }},
762     MessageEntry{
763         "PropertyValueConflict",
764         {
765             "Indicates that the requested write of a property value could not be completed because of a conflict with another property value.",
766             "The property '%1' could not be written because its value would conflict with the value of the '%2' property.",
767             "Warning",
768             2,
769             {
770                 "string",
771                 "string",
772             },
773             "None.",
774         }},
775     MessageEntry{
776         "PropertyValueDeprecated",
777         {
778             "Indicates that a property was given a deprecated value.",
779             "The value '%1' for the property %2 is deprecated.",
780             "Warning",
781             2,
782             {
783                 "string",
784                 "string",
785             },
786             "Refer to the schema guide for more information.",
787         }},
788     MessageEntry{
789         "PropertyValueError",
790         {
791             "Indicates that a property was given an invalid value.",
792             "The value provided for the property %1 is not valid.",
793             "Warning",
794             1,
795             {
796                 "string",
797             },
798             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
799         }},
800     MessageEntry{
801         "PropertyValueExternalConflict",
802         {
803             "Indicates that the requested write of a property value could not be completed due to the current state or configuration of the resource.  This can include configuration conflicts with other resources or parameters that are not exposed by this interface.",
804             "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             "Warning",
806             2,
807             {
808                 "string",
809                 "string",
810             },
811             "None.",
812         }},
813     MessageEntry{
814         "PropertyValueFormatError",
815         {
816             "Indicates that a property was given the correct value type but the format of the value is not supported.",
817             "The value '%1' for the property %2 is not a format that the property can accept.",
818             "Warning",
819             2,
820             {
821                 "string",
822                 "string",
823             },
824             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
825         }},
826     MessageEntry{
827         "PropertyValueIncorrect",
828         {
829             "Indicates that the requested write of a property value could not be completed because of an incorrect value of the property.  Examples include values that do not match a regular expression requirement or passwords that do not match the implementation constraints.",
830             "The property '%1' with the requested value of '%2' could not be written because the value does not meet the constraints of the implementation.",
831             "Warning",
832             2,
833             {
834                 "string",
835                 "string",
836             },
837             "None.",
838         }},
839     MessageEntry{
840         "PropertyValueModified",
841         {
842             "Indicates that a property was given the correct value type but the value of that property was modified.  Examples are truncated or rounded values.",
843             "The property %1 was assigned the value '%2' due to modification by the service.",
844             "Warning",
845             2,
846             {
847                 "string",
848                 "string",
849             },
850             "None.",
851         }},
852     MessageEntry{
853         "PropertyValueNotInList",
854         {
855             "Indicates that a property was given the correct value type but the value of that property was not supported.  The value is not in an enumeration.",
856             "The value '%1' for the property %2 is not in the list of acceptable values.",
857             "Warning",
858             2,
859             {
860                 "string",
861                 "string",
862             },
863             "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.",
864         }},
865     MessageEntry{
866         "PropertyValueOutOfRange",
867         {
868             "Indicates that a property was given the correct value type but the value of that property is outside the supported range.",
869             "The value '%1' for the property %2 is not in the supported range of acceptable values.",
870             "Warning",
871             2,
872             {
873                 "string",
874                 "string",
875             },
876             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
877         }},
878     MessageEntry{
879         "PropertyValueResourceConflict",
880         {
881             "Indicates that the requested write of a property value could not be completed due to the current state or configuration of another resource.",
882             "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'.",
883             "Warning",
884             3,
885             {
886                 "string",
887                 "string",
888                 "string",
889             },
890             "None.",
891         }},
892     MessageEntry{
893         "PropertyValueTypeError",
894         {
895             "Indicates that a property was given the wrong value type, such as when a number is supplied for a property that requires a string.",
896             "The value '%1' for the property %2 is not a type that the property can accept.",
897             "Warning",
898             2,
899             {
900                 "string",
901                 "string",
902             },
903             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
904         }},
905     MessageEntry{
906         "QueryCombinationInvalid",
907         {
908             "Indicates the request contains multiple query parameters and that two or more of them cannot be used together.",
909             "Two or more query parameters in the request cannot be used together.",
910             "Warning",
911             0,
912             {},
913             "Remove one or more of the query parameters and resubmit the request if the operation failed.",
914         }},
915     MessageEntry{
916         "QueryNotSupported",
917         {
918             "Indicates that query is not supported on the implementation.",
919             "Querying is not supported by the implementation.",
920             "Warning",
921             0,
922             {},
923             "Remove the query parameters and resubmit the request if the operation failed.",
924         }},
925     MessageEntry{
926         "QueryNotSupportedOnOperation",
927         {
928             "Indicates that query is not supported with the given operation, such as when the `$expand` query is attempted with a `PATCH` operation.",
929             "Querying is not supported with the requested operation.",
930             "Warning",
931             0,
932             {},
933             "Remove the query parameters and resubmit the request if the operation failed.",
934         }},
935     MessageEntry{
936         "QueryNotSupportedOnResource",
937         {
938             "Indicates that query is not supported on the given resource, such as when the `$skip` query is attempted on a resource that is not a collection.",
939             "Querying is not supported on the requested resource.",
940             "Warning",
941             0,
942             {},
943             "Remove the query parameters and resubmit the request if the operation failed.",
944         }},
945     MessageEntry{
946         "QueryParameterOutOfRange",
947         {
948             "Indicates that a query parameter was provided that is out of range for the given resource.  This can happen with values that are too low or that exceed what is possible for the supplied resource, such as when a page is requested that is beyond the last page.",
949             "The value '%1' for the query parameter %2 is out of range %3.",
950             "Warning",
951             3,
952             {
953                 "string",
954                 "string",
955                 "string",
956             },
957             "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 number that is within the range of valid pages.",
958         }},
959     MessageEntry{
960         "QueryParameterUnsupported",
961         {
962             "Indicates that a query parameter is not supported.",
963             "Query parameter '%1' is not supported.",
964             "Warning",
965             1,
966             {
967                 "string",
968             },
969             "Correct or remove the query parameter and resubmit the request.",
970         }},
971     MessageEntry{
972         "QueryParameterValueError",
973         {
974             "Indicates that a query parameter was given an invalid value.",
975             "The value for the parameter %1 is invalid.",
976             "Warning",
977             1,
978             {
979                 "string",
980             },
981             "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
982         }},
983     MessageEntry{
984         "QueryParameterValueFormatError",
985         {
986             "Indicates that a query parameter was given the correct value type but the format of the value is not supported.",
987             "The value '%1' for the parameter %2 is not a format that the parameter can accept.",
988             "Warning",
989             2,
990             {
991                 "string",
992                 "string",
993             },
994             "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
995         }},
996     MessageEntry{
997         "QueryParameterValueTypeError",
998         {
999             "Indicates 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.",
1000             "The value '%1' for the query parameter %2 is not a type that the parameter can accept.",
1001             "Warning",
1002             2,
1003             {
1004                 "string",
1005                 "string",
1006             },
1007             "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
1008         }},
1009     MessageEntry{
1010         "ResetRecommended",
1011         {
1012             "Indicates that a component reset is recommended for error recovery while unaffected applications can continue running without any effect on accuracy and performance.",
1013             "In order to recover from errors, a component reset is recommended with the Reset action URI '%1' and ResetType '%2'.",
1014             "Warning",
1015             2,
1016             {
1017                 "string",
1018                 "string",
1019             },
1020             "Perform the recommended reset action on the specified component.",
1021         }},
1022     MessageEntry{
1023         "ResetRequired",
1024         {
1025             "Indicates that a component reset is required for changes, error recovery, or operations to complete.",
1026             "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'.",
1027             "Warning",
1028             2,
1029             {
1030                 "string",
1031                 "string",
1032             },
1033             "Perform the required reset action on the specified component.",
1034         }},
1035     MessageEntry{
1036         "ResourceAlreadyExists",
1037         {
1038             "Indicates that a resource change or creation was attempted but that the operation cannot proceed because the resource already exists.",
1039             "The requested resource of type %1 with the property %2 with the value '%3' already exists.",
1040             "Critical",
1041             3,
1042             {
1043                 "string",
1044                 "string",
1045                 "string",
1046             },
1047             "Do not repeat the create operation as the resource was already created.",
1048         }},
1049     MessageEntry{
1050         "ResourceAtUriInUnknownFormat",
1051         {
1052             "Indicates that the URI was valid but the resource or image at that URI was in a format not supported by the service.",
1053             "The resource at '%1' is in a format not recognized by the service.",
1054             "Critical",
1055             1,
1056             {
1057                 "string",
1058             },
1059             "Place an image or resource or file that is recognized by the service at the URI.",
1060         }},
1061     MessageEntry{
1062         "ResourceAtUriUnauthorized",
1063         {
1064             "Indicates that the attempt to access the resource, file, or image at the URI was unauthorized.",
1065             "While accessing the resource at '%1', the service received an authorization error '%2'.",
1066             "Critical",
1067             2,
1068             {
1069                 "string",
1070                 "string",
1071             },
1072             "Ensure that the appropriate access is provided for the service in order for it to access the URI.",
1073         }},
1074     MessageEntry{
1075         "ResourceCannotBeDeleted",
1076         {
1077             "Indicates that a delete operation was attempted on a resource that cannot be deleted.",
1078             "The delete request failed because the resource requested cannot be deleted.",
1079             "Critical",
1080             0,
1081             {},
1082             "Do not attempt to delete a non-deletable resource.",
1083         }},
1084     MessageEntry{
1085         "ResourceCreationConflict",
1086         {
1087             "Indicates that the requested resource creation could not be completed because the service has a resource that conflicts with the request.",
1088             "The resource could not be created.  The service has a resource at URI '%1' that conflicts with the creation request.",
1089             "Warning",
1090             1,
1091             {
1092                 "string",
1093             },
1094             "None.",
1095         }},
1096     MessageEntry{
1097         "ResourceDeprecated",
1098         {
1099             "Indicates the resource is deprecated.",
1100             "The operation was performed on a deprecated resource '%1'.",
1101             "Warning",
1102             1,
1103             {
1104                 "string",
1105             },
1106             "Refer to the schema guide for more information.",
1107         }},
1108     MessageEntry{
1109         "ResourceExhaustion",
1110         {
1111             "Indicates that a resource could not satisfy the request due to some unavailability of resources.  An example is that available capacity was allocated.",
1112             "The resource '%1' was unable to satisfy the request due to unavailability of resources.",
1113             "Critical",
1114             1,
1115             {
1116                 "string",
1117             },
1118             "Ensure that the resources are available and resubmit the request.",
1119         }},
1120     MessageEntry{
1121         "ResourceInStandby",
1122         {
1123             "Indicates that the request could not be performed because the resource is in standby.",
1124             "The request could not be performed because the resource is in standby.",
1125             "Critical",
1126             0,
1127             {},
1128             "Ensure that the resource is in the correct power state and resubmit the request.",
1129         }},
1130     MessageEntry{
1131         "ResourceInUse",
1132         {
1133             "Indicates that a change was requested to a resource but the change was rejected due to the resource being in use or transition.",
1134             "The change to the requested resource failed because the resource is in use or in transition.",
1135             "Warning",
1136             0,
1137             {},
1138             "Remove the condition and resubmit the request if the operation failed.",
1139         }},
1140     MessageEntry{
1141         "ResourceMissingAtURI",
1142         {
1143             "Indicates that the operation expected an image or other resource at the provided URI but none was found.  Examples of this are in requests that require URIs such as firmware updates.",
1144             "The resource at the URI '%1' was not found.",
1145             "Critical",
1146             1,
1147             {
1148                 "string",
1149             },
1150             "Place a valid resource at the URI or correct the URI and resubmit the request.",
1151         }},
1152     MessageEntry{
1153         "ResourceNotFound",
1154         {
1155             "Indicates that the operation expected a resource identifier that corresponds to an existing resource but one was not found.",
1156             "The requested resource of type %1 named '%2' was not found.",
1157             "Critical",
1158             2,
1159             {
1160                 "string",
1161                 "string",
1162             },
1163             "Provide a valid resource identifier and resubmit the request.",
1164         }},
1165     MessageEntry{
1166         "ResourceTypeIncompatible",
1167         {
1168             "Indicates that the resource type of the operation does not match that of the operation destination.  Examples of this are a `POST` to a resource collection using the wrong resource type, an update where the `@odata.type` properties do not match, or a case of major version incompatibility.",
1169             "The @odata.type of the request body %1 is incompatible with the @odata.type of the resource, which is %2.",
1170             "Critical",
1171             2,
1172             {
1173                 "string",
1174                 "string",
1175             },
1176             "Resubmit the request with a payload compatible with the resource's schema.",
1177         }},
1178     MessageEntry{
1179         "RestrictedPrivilege",
1180         {
1181             "Indicates that the operation was not successful because a privilege is restricted.",
1182             "The operation was not successful because the privilege '%1' is restricted.",
1183             "Warning",
1184             1,
1185             {
1186                 "string",
1187             },
1188             "Remove restricted privileges from the request body and resubmit the request.",
1189         }},
1190     MessageEntry{
1191         "RestrictedRole",
1192         {
1193             "Indicates that the operation was not successful because the role is restricted.",
1194             "The operation was not successful because the role '%1' is restricted.",
1195             "Warning",
1196             1,
1197             {
1198                 "string",
1199             },
1200             "No resolution is required.  For standard roles, consider using the role specified in the AlternateRoleId property in the Role resource.",
1201         }},
1202     MessageEntry{
1203         "ServiceDisabled",
1204         {
1205             "Indicates that the operation failed because the service, such as the account service, is disabled and cannot accept requests.",
1206             "The operation failed because the service at %1 is disabled and cannot accept requests.",
1207             "Warning",
1208             1,
1209             {
1210                 "string",
1211             },
1212             "Enable the service and resubmit the request if the operation failed.",
1213         }},
1214     MessageEntry{
1215         "ServiceInUnknownState",
1216         {
1217             "Indicates that the operation failed because the service is in an unknown state and cannot accept additional requests.",
1218             "The operation failed because the service is in an unknown state and can no longer take incoming requests.",
1219             "Critical",
1220             0,
1221             {},
1222             "Restart the service and resubmit the request if the operation failed.",
1223         }},
1224     MessageEntry{
1225         "ServiceShuttingDown",
1226         {
1227             "Indicates that the operation failed because the service is shutting down, such as when the service reboots.",
1228             "The operation failed because the service is shutting down and can no longer take incoming requests.",
1229             "Critical",
1230             0,
1231             {},
1232             "When the service becomes available, resubmit the request if the operation failed.",
1233         }},
1234     MessageEntry{
1235         "ServiceTemporarilyUnavailable",
1236         {
1237             "Indicates the service is temporarily unavailable.",
1238             "The service is temporarily unavailable.  Retry in %1 seconds.",
1239             "Critical",
1240             1,
1241             {
1242                 "string",
1243             },
1244             "Wait for the indicated retry duration and retry the operation.",
1245         }},
1246     MessageEntry{
1247         "SessionLimitExceeded",
1248         {
1249             "Indicates that a session establishment was requested but the operation failed due to the number of simultaneous sessions exceeding the limit of the implementation.",
1250             "The session establishment failed due to the number of simultaneous sessions exceeding the limit of the implementation.",
1251             "Critical",
1252             0,
1253             {},
1254             "Reduce the number of other sessions before trying to establish the session or increase the limit of simultaneous sessions, if supported.",
1255         }},
1256     MessageEntry{
1257         "SessionTerminated",
1258         {
1259             "Indicates that the `DELETE` operation on the session resource resulted in the successful termination of the session.",
1260             "The session was successfully terminated.",
1261             "OK",
1262             0,
1263             {},
1264             "None.",
1265         }},
1266     MessageEntry{
1267         "SourceDoesNotSupportProtocol",
1268         {
1269             "Indicates 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.",
1270             "The other end of the connection at '%1' does not support the specified protocol %2.",
1271             "Critical",
1272             2,
1273             {
1274                 "string",
1275                 "string",
1276             },
1277             "Change protocols or URIs.",
1278         }},
1279     MessageEntry{
1280         "StrictAccountTypes",
1281         {
1282             "Indicates the request failed because a set of `AccountTypes` or `OEMAccountTypes` was not accepted while `StrictAccountTypes` is set to `true`.",
1283             "The request could not be fulfilled with the account types included in property '%1' because the property StrictAccountTypes is set to true.",
1284             "Warning",
1285             1,
1286             {
1287                 "string",
1288             },
1289             "Resubmit the request either with an acceptable set of AccountTypes and OEMAccountTypes or with StrictAccountTypes set to false.",
1290         }},
1291     MessageEntry{
1292         "StringValueTooLong",
1293         {
1294             "Indicates that a string value passed to the given resource was longer than the maximum allowed length.  An example is when an implementation has imposed a shorter maximum length than that allowed by the specification.",
1295             "The string '%1' exceeds the length limit %2.",
1296             "Warning",
1297             2,
1298             {
1299                 "string",
1300                 "number",
1301             },
1302             "Resubmit the request with an appropriate string length.",
1303         }},
1304     MessageEntry{
1305         "StringValueTooShort",
1306         {
1307             "Indicates that a string value passed to the given resource was shorter than the minimum required length.  An example is when an implementation has imposed a greater minimum length than that required by the specification.",
1308             "The string '%1' was under the minimum required length %2.",
1309             "Warning",
1310             2,
1311             {
1312                 "string",
1313                 "number",
1314             },
1315             "Resubmit the request with an appropriate string length.",
1316         }},
1317     MessageEntry{
1318         "SubscriptionTerminated",
1319         {
1320             "An event subscription was terminated by the service.  No further events will be delivered.",
1321             "The event subscription was terminated.",
1322             "OK",
1323             0,
1324             {},
1325             "None.",
1326         }},
1327     MessageEntry{
1328         "Success",
1329         {
1330             "Indicates that all conditions of a successful operation were met.",
1331             "The request completed successfully.",
1332             "OK",
1333             0,
1334             {},
1335             "None.",
1336         }},
1337     MessageEntry{
1338         "UndeterminedFault",
1339         {
1340             "Indicates that a fault or error condition exists but the source of the fault cannot be determined or is unknown to the service.",
1341             "An undetermined fault condition was reported by '%1'.",
1342             "Critical",
1343             1,
1344             {
1345                 "string",
1346             },
1347             "None.",
1348         }},
1349     MessageEntry{
1350         "UnrecognizedRequestBody",
1351         {
1352             "Indicates that the service encountered an unrecognizable request body that could not even be interpreted as malformed JSON.",
1353             "The service detected a malformed request body that it was unable to interpret.",
1354             "Warning",
1355             0,
1356             {},
1357             "Correct the request body and resubmit the request if it failed.",
1358         }},
1359 
1360 };
1361 
1362 enum class Index
1363 {
1364     accessDenied = 0,
1365     accountForSessionNoLongerExists = 1,
1366     accountModified = 2,
1367     accountNotModified = 3,
1368     accountRemoved = 4,
1369     actionDeprecated = 5,
1370     actionNotSupported = 6,
1371     actionParameterDuplicate = 7,
1372     actionParameterMissing = 8,
1373     actionParameterNotSupported = 9,
1374     actionParameterUnknown = 10,
1375     actionParameterValueConflict = 11,
1376     actionParameterValueError = 12,
1377     actionParameterValueFormatError = 13,
1378     actionParameterValueNotInList = 14,
1379     actionParameterValueOutOfRange = 15,
1380     actionParameterValueTypeError = 16,
1381     arraySizeTooLong = 17,
1382     arraySizeTooShort = 18,
1383     authenticationTokenRequired = 19,
1384     chassisPowerStateOffRequired = 20,
1385     chassisPowerStateOnRequired = 21,
1386     conditionInRelatedResource = 22,
1387     couldNotEstablishConnection = 23,
1388     createFailedMissingReqProperties = 24,
1389     createLimitReachedForResource = 25,
1390     created = 26,
1391     emptyJSON = 27,
1392     eventBufferExceeded = 28,
1393     eventSubscriptionLimitExceeded = 29,
1394     generalError = 30,
1395     generateSecretKeyRequired = 31,
1396     headerInvalid = 32,
1397     headerMissing = 33,
1398     insufficientPrivilege = 34,
1399     insufficientStorage = 35,
1400     internalError = 36,
1401     invalidIndex = 37,
1402     invalidJSON = 38,
1403     invalidObject = 39,
1404     invalidURI = 40,
1405     licenseRequired = 41,
1406     malformedJSON = 42,
1407     maximumErrorsExceeded = 43,
1408     missingOrMalformedPart = 44,
1409     networkNameResolutionNotConfigured = 45,
1410     networkNameResolutionNotSupported = 46,
1411     noOperation = 47,
1412     noValidSession = 48,
1413     oneTimePasscodeSent = 49,
1414     operationFailed = 50,
1415     operationNotAllowed = 51,
1416     operationTimeout = 52,
1417     passwordChangeRequired = 53,
1418     payloadTooLarge = 54,
1419     preconditionFailed = 55,
1420     preconditionRequired = 56,
1421     propertyDeprecated = 57,
1422     propertyDuplicate = 58,
1423     propertyMissing = 59,
1424     propertyModified = 60,
1425     propertyNotUpdated = 61,
1426     propertyNotWritable = 62,
1427     propertyUnknown = 63,
1428     propertyValueConflict = 64,
1429     propertyValueDeprecated = 65,
1430     propertyValueError = 66,
1431     propertyValueExternalConflict = 67,
1432     propertyValueFormatError = 68,
1433     propertyValueIncorrect = 69,
1434     propertyValueModified = 70,
1435     propertyValueNotInList = 71,
1436     propertyValueOutOfRange = 72,
1437     propertyValueResourceConflict = 73,
1438     propertyValueTypeError = 74,
1439     queryCombinationInvalid = 75,
1440     queryNotSupported = 76,
1441     queryNotSupportedOnOperation = 77,
1442     queryNotSupportedOnResource = 78,
1443     queryParameterOutOfRange = 79,
1444     queryParameterUnsupported = 80,
1445     queryParameterValueError = 81,
1446     queryParameterValueFormatError = 82,
1447     queryParameterValueTypeError = 83,
1448     resetRecommended = 84,
1449     resetRequired = 85,
1450     resourceAlreadyExists = 86,
1451     resourceAtUriInUnknownFormat = 87,
1452     resourceAtUriUnauthorized = 88,
1453     resourceCannotBeDeleted = 89,
1454     resourceCreationConflict = 90,
1455     resourceDeprecated = 91,
1456     resourceExhaustion = 92,
1457     resourceInStandby = 93,
1458     resourceInUse = 94,
1459     resourceMissingAtURI = 95,
1460     resourceNotFound = 96,
1461     resourceTypeIncompatible = 97,
1462     restrictedPrivilege = 98,
1463     restrictedRole = 99,
1464     serviceDisabled = 100,
1465     serviceInUnknownState = 101,
1466     serviceShuttingDown = 102,
1467     serviceTemporarilyUnavailable = 103,
1468     sessionLimitExceeded = 104,
1469     sessionTerminated = 105,
1470     sourceDoesNotSupportProtocol = 106,
1471     strictAccountTypes = 107,
1472     stringValueTooLong = 108,
1473     stringValueTooShort = 109,
1474     subscriptionTerminated = 110,
1475     success = 111,
1476     undeterminedFault = 112,
1477     unrecognizedRequestBody = 113,
1478 };
1479 } // namespace redfish::registries::base
1480