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