1 
2 /****************************************************************
3  * This is an auto-generated header which contains definitions
4  * for Redfish DMTF defined messages.
5  ***************************************************************/
6 #pragma once
7 #include <registries.hpp>
8 
9 namespace redfish::message_registries::base
10 {
11 const Header header = {
12     "Copyright 2014-2021 DMTF. All rights reserved.",
13     "#MessageRegistry.v1_4_0.MessageRegistry",
14     "Base.1.11.0",
15     "Base Message Registry",
16     "en",
17     "This registry defines the base messages for Redfish",
18     "Base",
19     "1.11.0",
20     "DMTF",
21 };
22 constexpr const char* url =
23     "https://redfish.dmtf.org/registries/Base.1.11.0.json";
24 
25 constexpr std::array<MessageEntry, 93> registry =
26     {
27         MessageEntry{
28             "AccessDenied",
29             {
30                 "Indicates that while attempting to access, connect to, or transfer to or from another resource, the service denied access.",
31                 "While attempting to establish a connection to '%1', the service denied access.",
32                 "Critical",
33                 "Critical",
34                 1,
35                 {
36                     "string",
37                 },
38                 "Attempt to ensure that the URI is correct and that the service has the appropriate credentials.",
39             }},
40         MessageEntry{
41             "AccountForSessionNoLongerExists",
42             {
43                 "Indicates that the account for the session has been removed, thus the session has been removed as well.",
44                 "The account for the current session has been removed, thus the current session has been removed as well.",
45                 "OK",
46                 "OK",
47                 0,
48                 {},
49                 "Attempt to connect with a valid account.",
50             }},
51         MessageEntry{
52             "AccountModified",
53             {
54                 "Indicates that the account was successfully modified.",
55                 "The account was successfully modified.",
56                 "OK",
57                 "OK",
58                 0,
59                 {},
60                 "No resolution is required.",
61             }},
62         MessageEntry{
63             "AccountNotModified",
64             {
65                 "Indicates that the modification requested for the account was not successful.",
66                 "The account modification request failed.",
67                 "Warning",
68                 "Warning",
69                 0,
70                 {},
71                 "The modification may have failed due to permission issues or issues with the request body.",
72             }},
73         MessageEntry{"AccountRemoved",
74                      {
75                          "Indicates that the account was successfully removed.",
76                          "The account was successfully removed.",
77                          "OK",
78                          "OK",
79                          0,
80                          {},
81                          "No resolution is required.",
82                      }},
83         MessageEntry{"ActionDeprecated",
84                      {
85                          "Indicates the action is deprecated.",
86                          "The action %1 is deprecated.",
87                          "Warning",
88                          "Warning",
89                          1,
90                          {
91                              "string",
92                          },
93                          "Refer to the schema guide for more information.",
94                      }},
95         MessageEntry{
96             "ActionNotSupported",
97             {
98                 "Indicates that the action supplied with the POST operation is not supported by the resource.",
99                 "The action %1 is not supported by the resource.",
100                 "Critical",
101                 "Critical",
102                 1,
103                 {
104                     "string",
105                 },
106                 "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.",
107             }},
108         MessageEntry{
109             "ActionParameterDuplicate",
110             {
111                 "Indicates that the action was supplied with a duplicated parameter in the request body.",
112                 "The action %1 was submitted with more than one value for the parameter %2.",
113                 "Warning",
114                 "Warning",
115                 2,
116                 {
117                     "string",
118                     "string",
119                 },
120                 "Resubmit the action with only one instance of the parameter in the request body if the operation failed.",
121             }},
122         MessageEntry{
123             "ActionParameterMissing",
124             {
125                 "Indicates that the action requested was missing a parameter that is required to process the action.",
126                 "The action %1 requires the parameter %2 to be present in the request body.",
127                 "Critical",
128                 "Critical",
129                 2,
130                 {
131                     "string",
132                     "string",
133                 },
134                 "Supply the action with the required parameter in the request body when the request is resubmitted.",
135             }},
136         MessageEntry{
137             "ActionParameterNotSupported",
138             {
139                 "Indicates that the parameter supplied for the action is not supported on the resource.",
140                 "The parameter %1 for the action %2 is not supported on the target resource.",
141                 "Warning",
142                 "Warning",
143                 2,
144                 {
145                     "string",
146                     "string",
147                 },
148                 "Remove the parameter supplied and resubmit the request if the operation failed.",
149             }},
150         MessageEntry{
151             "ActionParameterUnknown",
152             {
153                 "Indicates that an action was submitted but a parameter supplied did not match any of the known parameters.",
154                 "The action %1 was submitted with the invalid parameter %2.",
155                 "Warning",
156                 "Warning",
157                 2,
158                 {
159                     "string",
160                     "string",
161                 },
162                 "Correct the invalid parameter and resubmit the request if the operation failed.",
163             }},
164         MessageEntry{
165             "ActionParameterValueError",
166             {
167                 "Indicates that a parameter was given an invalid value.",
168                 "The value for the parameter %1 in the action %2 is invalid.",
169                 "Warning",
170                 "Warning",
171                 2,
172                 {
173                     "string",
174                     "string",
175                 },
176                 "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
177             }},
178         MessageEntry{
179             "ActionParameterValueFormatError",
180             {
181                 "Indicates that a parameter was given the correct value type but the value of that parameter was not supported.  This includes the value size or length has been exceeded.",
182                 "The value '%1' for the parameter %2 in the action %3 is of a different format than the parameter can accept.",
183                 "Warning",
184                 "Warning",
185                 3,
186                 {
187                     "string",
188                     "string",
189                     "string",
190                 },
191                 "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
192             }},
193         MessageEntry{
194             "ActionParameterValueNotInList",
195             {
196                 "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.",
197                 "The value '%1' for the parameter %2 in the action %3 is not in the list of acceptable values.",
198                 "Warning",
199                 "Warning",
200                 3,
201                 {
202                     "string",
203                     "string",
204                     "string",
205                 },
206                 "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.",
207             }},
208         MessageEntry{
209             "ActionParameterValueTypeError",
210             {
211                 "Indicates that a parameter was given the wrong value type, such as when a number is supplied for a parameter that requires a string.",
212                 "The value '%1' for the parameter %2 in the action %3 is of a different type than the parameter can accept.",
213                 "Warning",
214                 "Warning",
215                 3,
216                 {
217                     "string",
218                     "string",
219                     "string",
220                 },
221                 "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
222             }},
223         MessageEntry{
224             "ChassisPowerStateOffRequired",
225             {
226                 "Indicates that the request requires a specified chassis to be powered off.",
227                 "The Chassis with Id '%1' requires to be powered off to perform this request.",
228                 "Warning",
229                 "Warning",
230                 1,
231                 {
232                     "string",
233                 },
234                 "Power off the specified chassis and resubmit the request.",
235             }},
236         MessageEntry{
237             "ChassisPowerStateOnRequired",
238             {
239                 "Indicates that the request requires a specified chassis to be powered on.",
240                 "The chassis with Id '%1' requires to be powered on to perform this request.",
241                 "Warning",
242                 "Warning",
243                 1,
244                 {
245                     "string",
246                 },
247                 "Power on the specified chassis and resubmit the request.",
248             }},
249         MessageEntry{
250             "ConditionInRelatedResource",
251             {
252                 "Indicates that one or more fault or error conditions exist in a related resource.",
253                 "One or more conditions exist in a related resource.  See the OriginOfCondition property.",
254                 "Warning",
255                 "Warning",
256                 0,
257                 {},
258                 "Check the Conditions array in the resource shown in the OriginOfCondition property to determine the conditions that need attention.",
259             }},
260         MessageEntry{
261             "CouldNotEstablishConnection",
262             {
263                 "Indicates that the attempt to access the resource, file, or image at the URI was unsuccessful because a session could not be established.",
264                 "The service failed to establish a connection with the URI '%1'.",
265                 "Critical",
266                 "Critical",
267                 1,
268                 {
269                     "string",
270                 },
271                 "Ensure that the URI contains a valid and reachable node name, protocol information and other URI components.",
272             }},
273         MessageEntry{
274             "CreateFailedMissingReqProperties",
275             {
276                 "Indicates that a create was attempted on a resource but that properties that are required for the create operation were missing from the request.",
277                 "The create operation failed because the required property %1 was missing from the request.",
278                 "Critical",
279                 "Critical",
280                 1,
281                 {
282                     "string",
283                 },
284                 "Correct the body to include the required property with a valid value and resubmit the request if the operation failed.",
285             }},
286         MessageEntry{
287             "CreateLimitReachedForResource",
288             {
289                 "Indicates that no more resources can be created on the resource as it has reached its create limit.",
290                 "The create operation failed because the resource has reached the limit of possible resources.",
291                 "Critical",
292                 "Critical",
293                 0,
294                 {},
295                 "Either delete resources and resubmit the request if the operation failed or do not resubmit the request.",
296             }},
297         MessageEntry{
298             "Created",
299             {
300                 "Indicates that all conditions of a successful create operation have been met.",
301                 "The resource has been created successfully.",
302                 "OK",
303                 "OK",
304                 0,
305                 {},
306                 "None.",
307             }},
308         MessageEntry{
309             "EmptyJSON",
310             {
311                 "Indicates that the request body contained an empty JSON object when one or more properties are expected in the body.",
312                 "The request body submitted contained an empty JSON object and the service is unable to process it.",
313                 "Warning",
314                 "Warning",
315                 0,
316                 {},
317                 "Add properties in the JSON object and resubmit the request.",
318             }},
319         MessageEntry{
320             "EventSubscriptionLimitExceeded",
321             {
322                 "Indicates that a event subscription establishment has been requested but the operation failed due to the number of simultaneous connection exceeding the limit of the implementation.",
323                 "The event subscription failed due to the number of simultaneous subscriptions exceeding the limit of the implementation.",
324                 "Critical",
325                 "Critical",
326                 0,
327                 {},
328                 "Reduce the number of other subscriptions before trying to establish the event subscription or increase the limit of simultaneous subscriptions, if supported.",
329             }},
330         MessageEntry{
331             "GeneralError",
332             {
333                 "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.",
334                 "A general error has occurred.  See Resolution for information on how to resolve the error, or @Message.ExtendedInfo if Resolution is not provided.",
335                 "Critical",
336                 "Critical",
337                 0,
338                 {},
339                 "None.",
340             }},
341         MessageEntry{
342             "InsufficientPrivilege",
343             {
344                 "Indicates that the credentials associated with the established session do not have sufficient privileges for the requested operation.",
345                 "There are insufficient privileges for the account or credentials associated with the current session to perform the requested operation.",
346                 "Critical",
347                 "Critical",
348                 0,
349                 {},
350                 "Either abandon the operation or change the associated access rights and resubmit the request if the operation failed.",
351             }},
352         MessageEntry{
353             "InternalError",
354             {
355                 "Indicates that the request failed for an unknown internal error but that the service is still operational.",
356                 "The request failed due to an internal service error.  The service is still operational.",
357                 "Critical",
358                 "Critical",
359                 0,
360                 {},
361                 "Resubmit the request.  If the problem persists, consider resetting the service.",
362             }},
363         MessageEntry{
364             "InvalidIndex",
365             {
366                 "The index is not valid.",
367                 "The index %1 is not a valid offset into the array.",
368                 "Warning",
369                 "Warning",
370                 1,
371                 {
372                     "number",
373                 },
374                 "Verify the index value provided is within the bounds of the array.",
375             }},
376         MessageEntry{
377             "InvalidJSON",
378             {
379                 "Indicates that the request body contains invalid JSON.",
380                 "The request body submitted is invalid JSON starting at line $1 and could not be parsed by the receiving service.",
381                 "Critical",
382                 "Critical",
383                 1,
384                 {
385                     "number",
386                 },
387                 "Ensure that the request body is valid JSON and resubmit the request.",
388             }},
389         MessageEntry{
390             "InvalidObject",
391             {
392                 "Indicates that the object in question is invalid according to the implementation.  Examples include a firmware update malformed URI.",
393                 "The object at '%1' is invalid.",
394                 "Critical",
395                 "Critical",
396                 1,
397                 {
398                     "string",
399                 },
400                 "Either the object is malformed or the URI is not correct.  Correct the condition and resubmit the request if it failed.",
401             }},
402         MessageEntry{
403             "InvalidURI",
404             {
405                 "Indicates that the operation encountered a URI that does not correspond to a valid resource.",
406                 "The URI %1 was not found.",
407                 "Critical",
408                 "Critical",
409                 1,
410                 {
411                     "string",
412                 },
413                 "Provide a valid URI and resubmit the request.",
414             }},
415         MessageEntry{
416             "MalformedJSON",
417             {
418                 "Indicates that the request body was malformed JSON.",
419                 "The request body submitted was malformed JSON and could not be parsed by the receiving service.",
420                 "Critical",
421                 "Critical",
422                 0,
423                 {},
424                 "Ensure that the request body is valid JSON and resubmit the request.",
425             }},
426         MessageEntry{
427             "MaximumErrorsExceeded",
428             {
429                 "Indicates that sufficient errors have occurred that the reporting service cannot return them all.",
430                 "Too many errors have occurred to report them all.",
431                 "Critical",
432                 "Critical",
433                 0,
434                 {},
435                 "Resolve other reported errors and retry the current operation.",
436             }},
437         MessageEntry{
438             "NetworkNameResolutionNotConfigured",
439             {
440                 "Indicates that network-based name resolution has not been configured on the service.",
441                 "Network name resolution has not been configured on this service.",
442                 "Warning",
443                 "Warning",
444                 0,
445                 {},
446                 "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.",
447             }},
448         MessageEntry{
449             "NetworkNameResolutionNotSupported",
450             {
451                 "Indicates the service does not support network-based name resolution.",
452                 "Resolution of network-based names is not supported by this service.",
453                 "Warning",
454                 "Warning",
455                 0,
456                 {},
457                 "Update any URI values to include an IP address instead of a network name and resubmit the request.",
458             }},
459         MessageEntry{
460             "NoOperation",
461             {
462                 "Indicates that the requested operation will not perform any changes on the service.",
463                 "The request body submitted contain no data to act upon and no changes to the resource took place.",
464                 "Warning",
465                 "Warning",
466                 0,
467                 {},
468                 "Add properties in the JSON object and resubmit the request.",
469             }},
470         MessageEntry{
471             "NoValidSession",
472             {
473                 "Indicates that the operation failed because a valid session is required in order to access any resources.",
474                 "There is no valid session established with the implementation.",
475                 "Critical",
476                 "Critical",
477                 0,
478                 {},
479                 "Establish a session before attempting any operations.",
480             }},
481         MessageEntry{
482             "OperationFailed",
483             {
484                 "Indicates that one of the internal operations necessary to complete the request failed.  Examples of this are when an internal service provider is unable to complete the request, such as in aggregation or RDE.",
485                 "An error occurred internal to the service as part of the overall request.  Partial results may have been returned.",
486                 "Warning",
487                 "Warning",
488                 0,
489                 {},
490                 "Resubmit the request.  If the problem persists, consider resetting the service or provider.",
491             }},
492         MessageEntry{
493             "OperationTimeout",
494             {
495                 "Indicates that one of the internal operations necessary to complete the request timed out.  Examples of this are when an internal service provider is unable to complete the request, such as in aggregation or RDE.",
496                 "A timeout internal to the service occured as part of the request.  Partial results may have been returned.",
497                 "Warning",
498                 "Warning",
499                 0,
500                 {},
501                 "Resubmit the request.  If the problem persists, consider resetting the service or provider.",
502             }},
503         MessageEntry{"PasswordChangeRequired",
504                      {
505                          "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.",
506                          "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.",
507                          "Critical",
508                          "Critical",
509                          1,
510                          {
511                              "string",
512                          },
513                          "Change the password for this account using a PATCH to the Password property at the URI provided.",
514                      }},
515         MessageEntry{
516             "PreconditionFailed",
517             {
518                 "Indicates that the ETag supplied did not match the current ETag of the resource.",
519                 "The ETag supplied did not match the ETag required to change this resource.",
520                 "Critical",
521                 "Critical",
522                 0,
523                 {},
524                 "Try the operation again using the appropriate ETag.",
525             }},
526         MessageEntry{
527             "PreconditionRequired",
528             {
529                 "Indicates that the request did not provide the required precondition such as an `If-Match` or `If-None-Match` header, or `@odata.etag` annotations.",
530                 "A precondition header or annotation is required to change this resource.",
531                 "Critical",
532                 "Critical",
533                 0,
534                 {},
535                 "Try the operation again using an If-Match or If-None-Match header and appropriate ETag.",
536             }},
537         MessageEntry{
538             "PropertyDeprecated",
539             {
540                 "Indicates the property is deprecated.",
541                 "The deprecated property %1 was included in the request body.",
542                 "Warning",
543                 "Warning",
544                 1,
545                 {
546                     "string",
547                 },
548                 "Refer to the schema guide for more information.",
549             }},
550         MessageEntry{
551             "PropertyDuplicate",
552             {
553                 "Indicates that a duplicate property was included in the request body.",
554                 "The property %1 was duplicated in the request.",
555                 "Warning",
556                 "Warning",
557                 1,
558                 {
559                     "string",
560                 },
561                 "Remove the duplicate property from the request body and resubmit the request if the operation failed.",
562             }},
563         MessageEntry{
564             "PropertyMissing",
565             {
566                 "Indicates that a required property was not supplied as part of the request.",
567                 "The property %1 is a required property and must be included in the request.",
568                 "Warning",
569                 "Warning",
570                 1,
571                 {
572                     "string",
573                 },
574                 "Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.",
575             }},
576         MessageEntry{
577             "PropertyNotWritable",
578             {
579                 "Indicates that a property was given a value in the request body, but the property is a readonly property.",
580                 "The property %1 is a read only property and cannot be assigned a value.",
581                 "Warning",
582                 "Warning",
583                 1,
584                 {
585                     "string",
586                 },
587                 "Remove the property from the request body and resubmit the request if the operation failed.",
588             }},
589         MessageEntry{
590             "PropertyUnknown",
591             {
592                 "Indicates that an unknown property was included in the request body.",
593                 "The property %1 is not in the list of valid properties for the resource.",
594                 "Warning",
595                 "Warning",
596                 1,
597                 {
598                     "string",
599                 },
600                 "Remove the unknown property from the request body and resubmit the request if the operation failed.",
601             }},
602         MessageEntry{
603             "PropertyValueConflict",
604             {
605                 "Indicates that the requested write of a property value could not be completed, because of a conflict with another property value.",
606                 "The property '%1' could not be written because its value would conflict with the value of the '%2' property.",
607                 "Warning",
608                 "Warning",
609                 2,
610                 {
611                     "string",
612                     "string",
613                 },
614                 "No resolution is required.",
615             }},
616         MessageEntry{
617             "PropertyValueDeprecated",
618             {
619                 "Indicates that a property was given a deprecated value.",
620                 "The value '%1' for the property %2 is deprecated.",
621                 "Warning",
622                 "Warning",
623                 1,
624                 {
625                     "string",
626                     "string",
627                 },
628                 "Refer to the schema guide for more information.",
629             }},
630         MessageEntry{
631             "PropertyValueError",
632             {
633                 "Indicates that a property was given an invalid value.",
634                 "The value provided for the property %1 is not valid.",
635                 "Warning",
636                 "Warning",
637                 1,
638                 {
639                     "string",
640                 },
641                 "Correct the value for the property in the request body and resubmit the request if the operation failed.",
642             }},
643         MessageEntry{
644             "PropertyValueExternalConflict",
645             {
646                 "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.",
647                 "The property '%1' with the requested value of '%2' could not be written because the value is not available due to a configuration conflict.",
648                 "Warning",
649                 "Warning",
650                 2,
651                 {
652                     "string",
653                     "string",
654                 },
655                 "No resolution is required.",
656             }},
657         MessageEntry{
658             "PropertyValueFormatError",
659             {
660                 "Indicates that a property was given the correct value type but the value of that property was not supported.",
661                 "The value '%1' for the property %2 is of a different format than the property can accept.",
662                 "Warning",
663                 "Warning",
664                 2,
665                 {
666                     "string",
667                     "string",
668                 },
669                 "Correct the value for the property in the request body and resubmit the request if the operation failed.",
670             }},
671         MessageEntry{
672             "PropertyValueIncorrect",
673             {
674                 "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.",
675                 "The property '%1' with the requested value of '%2' could not be written because the value does not meet the constraints of the implementation.",
676                 "Warning",
677                 "Warning",
678                 2,
679                 {
680                     "string",
681                     "string",
682                 },
683                 "No resolution is required.",
684             }},
685         MessageEntry{
686             "PropertyValueModified",
687             {
688                 "Indicates that a property was given the correct value type but the value of that property was modified.  Examples are truncated or rounded values.",
689                 "The property %1 was assigned the value '%2' due to modification by the service.",
690                 "Warning",
691                 "Warning",
692                 2,
693                 {
694                     "string",
695                     "string",
696                 },
697                 "No resolution is required.",
698             }},
699         MessageEntry{
700             "PropertyValueNotInList",
701             {
702                 "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.",
703                 "The value '%1' for the property %2 is not in the list of acceptable values.",
704                 "Warning",
705                 "Warning",
706                 2,
707                 {
708                     "string",
709                     "string",
710                 },
711                 "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.",
712             }},
713         MessageEntry{
714             "PropertyValueResourceConflict",
715             {
716                 "Indicates that the requested write of a property value could not be completed, due to the current state or configuration of another resource.",
717                 "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'.",
718                 "Warning",
719                 "Warning",
720                 3,
721                 {
722                     "string",
723                     "string",
724                     "string",
725                 },
726                 "No resolution is required.",
727             }},
728         MessageEntry{
729             "PropertyValueTypeError",
730             {
731                 "Indicates that a property was given the wrong value type, such as when a number is supplied for a property that requires a string.",
732                 "The value '%1' for the property %2 is of a different type than the property can accept.",
733                 "Warning",
734                 "Warning",
735                 2,
736                 {
737                     "string",
738                     "string",
739                 },
740                 "Correct the value for the property in the request body and resubmit the request if the operation failed.",
741             }},
742         MessageEntry{
743             "QueryCombinationInvalid",
744             {
745                 "Indicates the request contains multiple query parameters, and that two or more of them cannot be used together.",
746                 "Two or more query parameters in the request cannot be used together.",
747                 "Warning",
748                 "Warning",
749                 0,
750                 {},
751                 "Remove one or more of the query parameters and resubmit the request if the operation failed.",
752             }},
753         MessageEntry{
754             "QueryNotSupported",
755             {
756                 "Indicates that query is not supported on the implementation.",
757                 "Querying is not supported by the implementation.",
758                 "Warning",
759                 "Warning",
760                 0,
761                 {},
762                 "Remove the query parameters and resubmit the request if the operation failed.",
763             }},
764         MessageEntry{
765             "QueryNotSupportedOnOperation",
766             {
767                 "Indicates that query is not supported with the given operation, such as when the `$expand` query is attempted with a PATCH operation.",
768                 "Querying is not supported with the requested operation.",
769                 "Warning",
770                 "Warning",
771                 0,
772                 {},
773                 "Remove the query parameters and resubmit the request if the operation failed.",
774             }},
775         MessageEntry{
776             "QueryNotSupportedOnResource",
777             {
778                 "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.",
779                 "Querying is not supported on the requested resource.",
780                 "Warning",
781                 "Warning",
782                 0,
783                 {},
784                 "Remove the query parameters and resubmit the request if the operation failed.",
785             }},
786         MessageEntry{"QueryParameterOutOfRange",
787                      {
788                          "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 beyond that possible for the supplied resource, such as when a page is requested that is beyond the last page.",
789                          "The value '%1' for the query parameter %2 is out of range %3.",
790                          "Warning",
791                          "Warning",
792                          3,
793                          {
794                              "string",
795                              "string",
796                              "string",
797                          },
798                          "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.",
799                      }},
800         MessageEntry{
801             "QueryParameterValueError",
802             {
803                 "Indicates that a query parameter was given an invalid value.",
804                 "The value for the parameter %1 is invalid.",
805                 "Warning",
806                 "Warning",
807                 1,
808                 {
809                     "string",
810                 },
811                 "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
812             }},
813         MessageEntry{
814             "QueryParameterValueFormatError",
815             {
816                 "Indicates that a query parameter was given the correct value type but the value of that parameter was not supported.  This includes the value size or length has been exceeded.",
817                 "The value '%1' for the parameter %2 is of a different format than the parameter can accept.",
818                 "Warning",
819                 "Warning",
820                 2,
821                 {
822                     "string",
823                     "string",
824                 },
825                 "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
826             }},
827         MessageEntry{
828             "QueryParameterValueTypeError",
829             {
830                 "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.",
831                 "The value '%1' for the query parameter %2 is of a different type than the parameter can accept.",
832                 "Warning",
833                 "Warning",
834                 2,
835                 {
836                     "string",
837                     "string",
838                 },
839                 "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
840             }},
841         MessageEntry{
842             "ResetRequired",
843             {
844                 "Indicates that a component reset is required for changes or operations to complete.",
845                 "In order to complete the operation, a component reset is required with the Reset action URI '%1' and ResetType '%2'.",
846                 "Warning",
847                 "Warning",
848                 2,
849                 {
850                     "string",
851                     "string",
852                 },
853                 "Perform the required reset action on the specified component.",
854             }},
855         MessageEntry{
856             "ResourceAlreadyExists",
857             {
858                 "Indicates that a resource change or creation was attempted but that the operation cannot proceed because the resource already exists.",
859                 "The requested resource of type %1 with the property %2 with the value '%3' already exists.",
860                 "Critical",
861                 "Critical",
862                 3,
863                 {
864                     "string",
865                     "string",
866                     "string",
867                 },
868                 "Do not repeat the create operation as the resource has already been created.",
869             }},
870         MessageEntry{
871             "ResourceAtUriInUnknownFormat",
872             {
873                 "Indicates that the URI was valid but the resource or image at that URI was in a format not supported by the service.",
874                 "The resource at '%1' is in a format not recognized by the service.",
875                 "Critical",
876                 "Critical",
877                 1,
878                 {
879                     "string",
880                 },
881                 "Place an image or resource or file that is recognized by the service at the URI.",
882             }},
883         MessageEntry{
884             "ResourceAtUriUnauthorized",
885             {
886                 "Indicates that the attempt to access the resource, file, or image at the URI was unauthorized.",
887                 "While accessing the resource at '%1', the service received an authorization error '%2'.",
888                 "Critical",
889                 "Critical",
890                 2,
891                 {
892                     "string",
893                     "string",
894                 },
895                 "Ensure that the appropriate access is provided for the service in order for it to access the URI.",
896             }},
897         MessageEntry{
898             "ResourceCannotBeDeleted",
899             {
900                 "Indicates that a delete operation was attempted on a resource that cannot be deleted.",
901                 "The delete request failed because the resource requested cannot be deleted.",
902                 "Critical",
903                 "Critical",
904                 0,
905                 {},
906                 "Do not attempt to delete a non-deletable resource.",
907             }},
908         MessageEntry{
909             "ResourceCreationConflict",
910             {
911                 "Indicates that the requested resource creation could not be completed because the service has a resource that conflicts with the request.",
912                 "The resource could not be created.  The service has a resource at URI '%1' that conflicts with the creation request.",
913                 "Warning",
914                 "Warning",
915                 1,
916                 {
917                     "string",
918                 },
919                 "No resolution is required.",
920             }},
921         MessageEntry{
922             "ResourceDeprecated",
923             {
924                 "Indicates the resource is deprecated.",
925                 "The operation was performed on a deprecated resource '%1'.",
926                 "Warning",
927                 "Warning",
928                 1,
929                 {
930                     "string",
931                 },
932                 "Refer to the schema guide for more information.",
933             }},
934         MessageEntry{
935             "ResourceExhaustion",
936             {
937                 "Indicates that a resource could not satisfy the request due to some unavailability of resources.  An example is that available capacity has been allocated.",
938                 "The resource '%1' was unable to satisfy the request due to unavailability of resources.",
939                 "Critical",
940                 "Critical",
941                 1,
942                 {
943                     "string",
944                 },
945                 "Ensure that the resources are available and resubmit the request.",
946             }},
947         MessageEntry{
948             "ResourceInStandby",
949             {
950                 "Indicates that the request could not be performed because the resource is in standby.",
951                 "The request could not be performed because the resource is in standby.",
952                 "Critical",
953                 "Critical",
954                 0,
955                 {},
956                 "Ensure that the resource is in the correct power state and resubmit the request.",
957             }},
958         MessageEntry{
959             "ResourceInUse",
960             {
961                 "Indicates that a change was requested to a resource but the change was rejected due to the resource being in use or transition.",
962                 "The change to the requested resource failed because the resource is in use or in transition.",
963                 "Warning",
964                 "Warning",
965                 0,
966                 {},
967                 "Remove the condition and resubmit the request if the operation failed.",
968             }},
969         MessageEntry{
970             "ResourceMissingAtURI",
971             {
972                 "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 like firmware update.",
973                 "The resource at the URI '%1' was not found.",
974                 "Critical",
975                 "Critical",
976                 1,
977                 {
978                     "string",
979                 },
980                 "Place a valid resource at the URI or correct the URI and resubmit the request.",
981             }},
982         MessageEntry{
983             "ResourceNotFound",
984             {
985                 "Indicates that the operation expected a resource identifier that corresponds to an existing resource but one was not found.",
986                 "The requested resource of type %1 named '%2' was not found.",
987                 "Critical",
988                 "Critical",
989                 2,
990                 {
991                     "string",
992                     "string",
993                 },
994                 "Provide a valid resource identifier and resubmit the request.",
995             }},
996         MessageEntry{
997             "ResourceTypeIncompatible",
998             {
999                 "Indicates that the resource type of the operation does not match that for the operation destination.  Examples of when this can happen include during a POST to a resource collection using the wrong resource type, an update where the `@odata.type` properties do not match, or on a major version incompatibility.",
1000                 "The @odata.type of the request body %1 is incompatible with the @odata.type of the resource, which is %2.",
1001                 "Critical",
1002                 "Critical",
1003                 2,
1004                 {
1005                     "string",
1006                     "string",
1007                 },
1008                 "Resubmit the request with a payload compatible with the resource's schema.",
1009             }},
1010         MessageEntry{
1011             "RestrictedPrivilege",
1012             {
1013                 "Indicates that the operation was not successful because a privilege is restricted.",
1014                 "The operation was not successful because the privilege '%1' is restricted.",
1015                 "Warning",
1016                 "Warning",
1017                 1,
1018                 {
1019                     "string",
1020                 },
1021                 "Remove restricted privileges from the request body and resubmit the request.",
1022             }},
1023         MessageEntry{
1024             "RestrictedRole",
1025             {
1026                 "Indicates that the operation was not successful because the role is restricted.",
1027                 "The operation was not successful because the role '%1' is restricted.",
1028                 "Warning",
1029                 "Warning",
1030                 1,
1031                 {
1032                     "string",
1033                 },
1034                 "No resolution is required.  For standard roles, consider using the role specified in the AlternateRoleId property in the Role resource.",
1035             }},
1036         MessageEntry{
1037             "ServiceDisabled",
1038             {
1039                 "Indicates that the operation failed because the service, such as the account service, is disabled and cannot accept requests.",
1040                 "The operation failed because the service at %1 is disabled and cannot accept requests.",
1041                 "Warning",
1042                 "Warning",
1043                 1,
1044                 {
1045                     "string",
1046                 },
1047                 "Enable the service and resubmit the request if the operation failed.",
1048             }},
1049         MessageEntry{
1050             "ServiceInUnknownState",
1051             {
1052                 "Indicates that the operation failed because the service is in an unknown state and cannot accept additional requests.",
1053                 "The operation failed because the service is in an unknown state and can no longer take incoming requests.",
1054                 "Critical",
1055                 "Critical",
1056                 0,
1057                 {},
1058                 "Restart the service and resubmit the request if the operation failed.",
1059             }},
1060         MessageEntry{
1061             "ServiceShuttingDown",
1062             {
1063                 "Indicates that the operation failed as the service is shutting down, such as when the service reboots.",
1064                 "The operation failed because the service is shutting down and can no longer take incoming requests.",
1065                 "Critical",
1066                 "Critical",
1067                 0,
1068                 {},
1069                 "When the service becomes available, resubmit the request if the operation failed.",
1070             }},
1071         MessageEntry{
1072             "ServiceTemporarilyUnavailable",
1073             {
1074                 "Indicates the service is temporarily unavailable.",
1075                 "The service is temporarily unavailable.  Retry in %1 seconds.",
1076                 "Critical",
1077                 "Critical",
1078                 1,
1079                 {
1080                     "string",
1081                 },
1082                 "Wait for the indicated retry duration and retry the operation.",
1083             }},
1084         MessageEntry{
1085             "SessionLimitExceeded",
1086             {
1087                 "Indicates that a session establishment has been requested but the operation failed due to the number of simultaneous sessions exceeding the limit of the implementation.",
1088                 "The session establishment failed due to the number of simultaneous sessions exceeding the limit of the implementation.",
1089                 "Critical",
1090                 "Critical",
1091                 0,
1092                 {},
1093                 "Reduce the number of other sessions before trying to establish the session or increase the limit of simultaneous sessions, if supported.",
1094             }},
1095         MessageEntry{
1096             "SessionTerminated",
1097             {
1098                 "Indicates that the DELETE operation on the session resource resulted in the successful termination of the session.",
1099                 "The session was successfully terminated.",
1100                 "OK",
1101                 "OK",
1102                 0,
1103                 {},
1104                 "No resolution is required.",
1105             }},
1106         MessageEntry{
1107             "SourceDoesNotSupportProtocol",
1108             {
1109                 "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.",
1110                 "The other end of the connection at '%1' does not support the specified protocol %2.",
1111                 "Critical",
1112                 "Critical",
1113                 2,
1114                 {
1115                     "string",
1116                     "string",
1117                 },
1118                 "Change protocols or URIs.",
1119             }},
1120         MessageEntry{
1121             "StrictAccountTypes",
1122             {
1123                 "Indicates the request failed because a set of `AccountTypes` or `OEMAccountTypes` was not accepted while `StrictAccountTypes` is set to `true`.",
1124                 "The request was not possible to fulfill with the account types included in property '%1' and property StrictAccountTypes set to true.",
1125                 "Warning",
1126                 "Warning",
1127                 1,
1128                 {
1129                     "string",
1130                 },
1131                 "Resubmit the request either with an acceptable set of AccountTypes and OEMAccountTypes or with StrictAccountTypes set to false.",
1132             }},
1133         MessageEntry{
1134             "StringValueTooLong",
1135             {
1136                 "Indicates that a string value passed to the given resource exceeded its length limit.  An example is when a shorter limit is imposed by an implementation than that allowed by the specification.",
1137                 "The string '%1' exceeds the length limit %2.",
1138                 "Warning",
1139                 "Warning",
1140                 2,
1141                 {
1142                     "string",
1143                     "number",
1144                 },
1145                 "Resubmit the request with an appropriate string length.",
1146             }},
1147         MessageEntry{
1148             "SubscriptionTerminated",
1149             {
1150                 "An event subscription has been terminated by the service.  No further events will be delivered.",
1151                 "The event subscription has been terminated.",
1152                 "OK",
1153                 "OK",
1154                 0,
1155                 {},
1156                 "No resolution is required.",
1157             }},
1158         MessageEntry{
1159             "Success",
1160             {
1161                 "Indicates that all conditions of a successful operation have been met.",
1162                 "The request completed successfully.",
1163                 "OK",
1164                 "OK",
1165                 0,
1166                 {},
1167                 "None",
1168             }},
1169         MessageEntry{
1170             "UndeterminedFault",
1171             {
1172                 "Indicates that a fault or error condition exists but the source of the fault cannot be determined or is unknown to the service.",
1173                 "A undetermined fault condition has been reported by '%1'.",
1174                 "Critical",
1175                 "Critical",
1176                 1,
1177                 {
1178                     "string",
1179                 },
1180                 "None.",
1181             }},
1182         MessageEntry{
1183             "UnrecognizedRequestBody",
1184             {
1185                 "Indicates that the service encountered an unrecognizable request body that could not even be interpreted as malformed JSON.",
1186                 "The service detected a malformed request body that it was unable to interpret.",
1187                 "Warning",
1188                 "Warning",
1189                 0,
1190                 {},
1191                 "Correct the request body and resubmit the request if it failed.",
1192             }},
1193 };
1194 } // namespace redfish::message_registries::base
1195