xref: /openbmc/bmcweb/features/redfish/include/registries/base_message_registry.hpp (revision b575caefa7f7f58c67cf61c8aa7ba7fb5a43e943)
1043bec09SNan Zhou #pragma once
270304cb5SJason M. Bills /****************************************************************
31cf53df0SEd Tanous  *                 READ THIS WARNING FIRST
470304cb5SJason M. Bills  * This is an auto-generated header which contains definitions
570304cb5SJason M. Bills  * for Redfish DMTF defined messages.
61cf53df0SEd Tanous  * DO NOT modify this registry outside of running the
70e2d0691SJason M. Bills  * parse_registries.py script.  The definitions contained within
81cf53df0SEd Tanous  * this file are owned by DMTF.  Any modifications to these files
91cf53df0SEd Tanous  * should be first pushed to the relevant registry in the DMTF
101cf53df0SEd Tanous  * github organization.
1170304cb5SJason M. Bills  ***************************************************************/
1201c78a06SNan Zhou #include "registries.hpp"
1301c78a06SNan Zhou 
1401c78a06SNan Zhou #include <array>
1570304cb5SJason M. Bills 
164d99bbb0SEd Tanous // clang-format off
174d99bbb0SEd Tanous 
18fffb8c1fSEd Tanous namespace redfish::registries::base
1970304cb5SJason M. Bills {
20351d3063SJason M. Bills const Header header = {
21d8d5fc3eSGunnar Mills     "Copyright 2014-2024 DMTF. All rights reserved.",
22d8d5fc3eSGunnar Mills     "#MessageRegistry.v1_6_2.MessageRegistry",
23*b575caefSJishnu CM     "Base.1.19.0",
24271584abSEd Tanous     "Base Message Registry",
25271584abSEd Tanous     "en",
26d8d5fc3eSGunnar Mills     "This registry defines the base messages for Redfish.",
27271584abSEd Tanous     "Base",
28*b575caefSJishnu CM     "1.19.0",
29271584abSEd Tanous     "DMTF",
30351d3063SJason M. Bills };
31e51c710eSJames Feist constexpr const char* url =
32*b575caefSJishnu CM     "https://redfish.dmtf.org/registries/Base.1.19.0.json";
33e51c710eSJames Feist 
340e2d0691SJason M. Bills constexpr std::array registry =
35ba27e59eSEd Tanous {
3670304cb5SJason M. Bills     MessageEntry{
3770304cb5SJason M. Bills         "AccessDenied",
3870304cb5SJason M. Bills         {
39ba27e59eSEd Tanous             "Indicates that while attempting to access, connect to, or transfer to or from another resource, the service denied access.",
40ba27e59eSEd Tanous             "While attempting to establish a connection to '%1', the service denied access.",
41271584abSEd Tanous             "Critical",
42271584abSEd Tanous             1,
4370304cb5SJason M. Bills             {
4470304cb5SJason M. Bills                 "string",
4570304cb5SJason M. Bills             },
46ba27e59eSEd Tanous             "Attempt to ensure that the URI is correct and that the service has the appropriate credentials.",
4770304cb5SJason M. Bills         }},
48ba27e59eSEd Tanous     MessageEntry{
49ba27e59eSEd Tanous         "AccountForSessionNoLongerExists",
5070304cb5SJason M. Bills         {
51d8d5fc3eSGunnar Mills             "Indicates that the account for the session was removed, and so the session was removed as well.",
52d8d5fc3eSGunnar Mills             "The account for the current session was removed, and so the current session was removed as well.",
53271584abSEd Tanous             "OK",
54271584abSEd Tanous             0,
55271584abSEd Tanous             {},
56271584abSEd Tanous             "Attempt to connect with a valid account.",
5770304cb5SJason M. Bills         }},
58ba27e59eSEd Tanous     MessageEntry{
59ba27e59eSEd Tanous         "AccountModified",
6070304cb5SJason M. Bills         {
6170304cb5SJason M. Bills             "Indicates that the account was successfully modified.",
62271584abSEd Tanous             "The account was successfully modified.",
63271584abSEd Tanous             "OK",
64271584abSEd Tanous             0,
65271584abSEd Tanous             {},
66d8d5fc3eSGunnar Mills             "None.",
6770304cb5SJason M. Bills         }},
68ba27e59eSEd Tanous     MessageEntry{
69ba27e59eSEd Tanous         "AccountNotModified",
7070304cb5SJason M. Bills         {
71ba27e59eSEd Tanous             "Indicates that the modification requested for the account was not successful.",
72271584abSEd Tanous             "The account modification request failed.",
73271584abSEd Tanous             "Warning",
74271584abSEd Tanous             0,
75271584abSEd Tanous             {},
76ba27e59eSEd Tanous             "The modification may have failed due to permission issues or issues with the request body.",
7770304cb5SJason M. Bills         }},
784d99bbb0SEd Tanous     MessageEntry{
794d99bbb0SEd Tanous         "AccountRemoved",
8070304cb5SJason M. Bills         {
8170304cb5SJason M. Bills             "Indicates that the account was successfully removed.",
82271584abSEd Tanous             "The account was successfully removed.",
83271584abSEd Tanous             "OK",
84271584abSEd Tanous             0,
85271584abSEd Tanous             {},
86d8d5fc3eSGunnar Mills             "None.",
8770304cb5SJason M. Bills         }},
884d99bbb0SEd Tanous     MessageEntry{
894d99bbb0SEd Tanous         "ActionDeprecated",
90fc8a2b87SEd Tanous         {
91fc8a2b87SEd Tanous             "Indicates the action is deprecated.",
92fc8a2b87SEd Tanous             "The action %1 is deprecated.",
93fc8a2b87SEd Tanous             "Warning",
94fc8a2b87SEd Tanous             1,
95fc8a2b87SEd Tanous             {
96fc8a2b87SEd Tanous                 "string",
97fc8a2b87SEd Tanous             },
98fc8a2b87SEd Tanous             "Refer to the schema guide for more information.",
99fc8a2b87SEd Tanous         }},
10070304cb5SJason M. Bills     MessageEntry{
10170304cb5SJason M. Bills         "ActionNotSupported",
10270304cb5SJason M. Bills         {
103d8d5fc3eSGunnar Mills             "Indicates that the action supplied with the `POST` operation is not supported by the resource.",
104271584abSEd Tanous             "The action %1 is not supported by the resource.",
105271584abSEd Tanous             "Critical",
106271584abSEd Tanous             1,
10770304cb5SJason M. Bills             {
10870304cb5SJason M. Bills                 "string",
10970304cb5SJason M. Bills             },
110d8d5fc3eSGunnar Mills             "Check the Actions property in the resource for the supported actions.",
11170304cb5SJason M. Bills         }},
112ba27e59eSEd Tanous     MessageEntry{
113ba27e59eSEd Tanous         "ActionParameterDuplicate",
11470304cb5SJason M. Bills         {
115f866686bSJiaqing Zhao             "Indicates that the action was supplied with a duplicated action parameter in the request body.",
116ba27e59eSEd Tanous             "The action %1 was submitted with more than one value for the parameter %2.",
117271584abSEd Tanous             "Warning",
118271584abSEd Tanous             2,
11970304cb5SJason M. Bills             {
12070304cb5SJason M. Bills                 "string",
12170304cb5SJason M. Bills                 "string",
12270304cb5SJason M. Bills             },
123f866686bSJiaqing Zhao             "Resubmit the action with only one instance of the action parameter in the request body if the operation failed.",
12470304cb5SJason M. Bills         }},
125ba27e59eSEd Tanous     MessageEntry{
126ba27e59eSEd Tanous         "ActionParameterMissing",
12770304cb5SJason M. Bills         {
128f866686bSJiaqing Zhao             "Indicates that the action requested was missing an action parameter that is required to process the action.",
129ba27e59eSEd Tanous             "The action %1 requires the parameter %2 to be present in the request body.",
130271584abSEd Tanous             "Critical",
131271584abSEd Tanous             2,
13270304cb5SJason M. Bills             {
13370304cb5SJason M. Bills                 "string",
13470304cb5SJason M. Bills                 "string",
13570304cb5SJason M. Bills             },
136ba27e59eSEd Tanous             "Supply the action with the required parameter in the request body when the request is resubmitted.",
13770304cb5SJason M. Bills         }},
138ba27e59eSEd Tanous     MessageEntry{
139ba27e59eSEd Tanous         "ActionParameterNotSupported",
14070304cb5SJason M. Bills         {
141ba27e59eSEd Tanous             "Indicates that the parameter supplied for the action is not supported on the resource.",
142ba27e59eSEd Tanous             "The parameter %1 for the action %2 is not supported on the target resource.",
143271584abSEd Tanous             "Warning",
144271584abSEd Tanous             2,
14570304cb5SJason M. Bills             {
14670304cb5SJason M. Bills                 "string",
14770304cb5SJason M. Bills                 "string",
14870304cb5SJason M. Bills             },
149ba27e59eSEd Tanous             "Remove the parameter supplied and resubmit the request if the operation failed.",
15070304cb5SJason M. Bills         }},
15170304cb5SJason M. Bills     MessageEntry{
15270304cb5SJason M. Bills         "ActionParameterUnknown",
15370304cb5SJason M. Bills         {
154f866686bSJiaqing Zhao             "Indicates that an action was submitted but an action parameter supplied did not match any of the known parameters.",
15570304cb5SJason M. Bills             "The action %1 was submitted with the invalid parameter %2.",
156271584abSEd Tanous             "Warning",
157271584abSEd Tanous             2,
15870304cb5SJason M. Bills             {
15970304cb5SJason M. Bills                 "string",
16070304cb5SJason M. Bills                 "string",
16170304cb5SJason M. Bills             },
162f866686bSJiaqing Zhao             "Correct the invalid action parameter and resubmit the request if the operation failed.",
163f866686bSJiaqing Zhao         }},
164f866686bSJiaqing Zhao     MessageEntry{
165f866686bSJiaqing Zhao         "ActionParameterValueConflict",
166f866686bSJiaqing Zhao         {
167d8d5fc3eSGunnar Mills             "Indicates that the requested parameter value could not be completed because of a mismatch with other parameters or properties in the resource.",
168f866686bSJiaqing Zhao             "The parameter '%1' with the requested value of '%2' does not meet the constraints of the implementation.",
169f866686bSJiaqing Zhao             "Warning",
170f866686bSJiaqing Zhao             2,
171f866686bSJiaqing Zhao             {
172f866686bSJiaqing Zhao                 "string",
173f866686bSJiaqing Zhao                 "string",
174f866686bSJiaqing Zhao             },
175d8d5fc3eSGunnar Mills             "None.",
17670304cb5SJason M. Bills         }},
177fc8a2b87SEd Tanous     MessageEntry{
17883f984b5SSunitha Harish         "ActionParameterValueError",
17983f984b5SSunitha Harish         {
18083f984b5SSunitha Harish             "Indicates that a parameter was given an invalid value.",
18183f984b5SSunitha Harish             "The value for the parameter %1 in the action %2 is invalid.",
18283f984b5SSunitha Harish             "Warning",
18383f984b5SSunitha Harish             2,
18483f984b5SSunitha Harish             {
18583f984b5SSunitha Harish                 "string",
18683f984b5SSunitha Harish                 "string",
18783f984b5SSunitha Harish             },
188ba27e59eSEd Tanous             "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
18983f984b5SSunitha Harish         }},
19083f984b5SSunitha Harish     MessageEntry{
191fc8a2b87SEd Tanous         "ActionParameterValueFormatError",
19270304cb5SJason M. Bills         {
193d8d5fc3eSGunnar Mills             "Indicates that a parameter was given the correct value type but the format of the value is not supported.",
194d8d5fc3eSGunnar Mills             "The value '%1' for the parameter %2 in the action %3 is not a format that the parameter can accept.",
195271584abSEd Tanous             "Warning",
196271584abSEd Tanous             3,
19770304cb5SJason M. Bills             {
19870304cb5SJason M. Bills                 "string",
19970304cb5SJason M. Bills                 "string",
20070304cb5SJason M. Bills                 "string",
20170304cb5SJason M. Bills             },
202ba27e59eSEd Tanous             "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
203fc8a2b87SEd Tanous         }},
204fc8a2b87SEd Tanous     MessageEntry{
205fc8a2b87SEd Tanous         "ActionParameterValueNotInList",
206fc8a2b87SEd Tanous         {
207ba27e59eSEd Tanous             "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.",
208ba27e59eSEd Tanous             "The value '%1' for the parameter %2 in the action %3 is not in the list of acceptable values.",
209fc8a2b87SEd Tanous             "Warning",
210fc8a2b87SEd Tanous             3,
211fc8a2b87SEd Tanous             {
212fc8a2b87SEd Tanous                 "string",
213fc8a2b87SEd Tanous                 "string",
214fc8a2b87SEd Tanous                 "string",
215fc8a2b87SEd Tanous             },
216ba27e59eSEd Tanous             "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.",
21770304cb5SJason M. Bills         }},
218ba27e59eSEd Tanous     MessageEntry{
219d8d5fc3eSGunnar Mills         "ActionParameterValueOutOfRange",
220d8d5fc3eSGunnar Mills         {
221d8d5fc3eSGunnar Mills             "Indicates that a parameter was given the correct value type but the value of that parameter is outside the supported range.",
222d8d5fc3eSGunnar Mills             "The value '%1' for the parameter %2 in the action %3 is not in the supported range of acceptable values.",
223d8d5fc3eSGunnar Mills             "Warning",
224d8d5fc3eSGunnar Mills             3,
225d8d5fc3eSGunnar Mills             {
226d8d5fc3eSGunnar Mills                 "string",
227d8d5fc3eSGunnar Mills                 "string",
228d8d5fc3eSGunnar Mills                 "string",
229d8d5fc3eSGunnar Mills             },
230d8d5fc3eSGunnar Mills             "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
231d8d5fc3eSGunnar Mills         }},
232d8d5fc3eSGunnar Mills     MessageEntry{
233ba27e59eSEd Tanous         "ActionParameterValueTypeError",
23470304cb5SJason M. Bills         {
235ba27e59eSEd Tanous             "Indicates that a parameter was given the wrong value type, such as when a number is supplied for a parameter that requires a string.",
236d8d5fc3eSGunnar Mills             "The value '%1' for the parameter %2 in the action %3 is not a type that the parameter can accept.",
237271584abSEd Tanous             "Warning",
238271584abSEd Tanous             3,
23970304cb5SJason M. Bills             {
24070304cb5SJason M. Bills                 "string",
24170304cb5SJason M. Bills                 "string",
24270304cb5SJason M. Bills                 "string",
24370304cb5SJason M. Bills             },
244ba27e59eSEd Tanous             "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
24570304cb5SJason M. Bills         }},
24670304cb5SJason M. Bills     MessageEntry{
24775ec825cSEd Tanous         "ArraySizeTooLong",
24875ec825cSEd Tanous         {
24975ec825cSEd Tanous             "Indicates that the size of the array exceeded the maximum number of elements.",
25075ec825cSEd Tanous             "The array provided for property %1 exceeds the size limit %2.",
25175ec825cSEd Tanous             "Warning",
25275ec825cSEd Tanous             2,
25375ec825cSEd Tanous             {
25475ec825cSEd Tanous                 "string",
25575ec825cSEd Tanous                 "number",
25675ec825cSEd Tanous             },
25775ec825cSEd Tanous             "Resubmit the request with an appropriate array size.",
25875ec825cSEd Tanous         }},
25975ec825cSEd Tanous     MessageEntry{
26075ec825cSEd Tanous         "ArraySizeTooShort",
26175ec825cSEd Tanous         {
262d8d5fc3eSGunnar Mills             "Indicates that the size of the array is less than the minimum number of elements.",
26375ec825cSEd Tanous             "The array provided for property %1 is under the minimum size limit %2.",
26475ec825cSEd Tanous             "Warning",
26575ec825cSEd Tanous             2,
26675ec825cSEd Tanous             {
26775ec825cSEd Tanous                 "string",
26875ec825cSEd Tanous                 "number",
26975ec825cSEd Tanous             },
27075ec825cSEd Tanous             "Resubmit the request with an appropriate array size.",
27175ec825cSEd Tanous         }},
27275ec825cSEd Tanous     MessageEntry{
27375ec825cSEd Tanous         "AuthenticationTokenRequired",
27475ec825cSEd Tanous         {
27575ec825cSEd Tanous             "Indicates that the request could not be performed because an authentication token was not provided.",
27675ec825cSEd Tanous             "The request could not be performed because an authentication token was not provided.",
27775ec825cSEd Tanous             "Critical",
27875ec825cSEd Tanous             0,
27975ec825cSEd Tanous             {},
28075ec825cSEd Tanous             "Obtain an authentication token and resubmit the request.",
28175ec825cSEd Tanous         }},
28275ec825cSEd Tanous     MessageEntry{
283e7808c93SGunnar Mills         "ChassisPowerStateOffRequired",
284e7808c93SGunnar Mills         {
285ba27e59eSEd Tanous             "Indicates that the request requires a specified chassis to be powered off.",
286d8d5fc3eSGunnar Mills             "The chassis with Id '%1' is required to be powered off to perform this request.",
287e7808c93SGunnar Mills             "Warning",
288e7808c93SGunnar Mills             1,
289e7808c93SGunnar Mills             {
290e7808c93SGunnar Mills                 "string",
291e7808c93SGunnar Mills             },
292fc8a2b87SEd Tanous             "Power off the specified chassis and resubmit the request.",
293e7808c93SGunnar Mills         }},
294ba27e59eSEd Tanous     MessageEntry{
295ba27e59eSEd Tanous         "ChassisPowerStateOnRequired",
296e7808c93SGunnar Mills         {
297ba27e59eSEd Tanous             "Indicates that the request requires a specified chassis to be powered on.",
298d8d5fc3eSGunnar Mills             "The chassis with Id '%1' is required to be powered on to perform this request.",
299e7808c93SGunnar Mills             "Warning",
300e7808c93SGunnar Mills             1,
301e7808c93SGunnar Mills             {
302e7808c93SGunnar Mills                 "string",
303e7808c93SGunnar Mills             },
304fc8a2b87SEd Tanous             "Power on the specified chassis and resubmit the request.",
305fc8a2b87SEd Tanous         }},
306ba27e59eSEd Tanous     MessageEntry{
307ba27e59eSEd Tanous         "ConditionInRelatedResource",
308fc8a2b87SEd Tanous         {
309ba27e59eSEd Tanous             "Indicates that one or more fault or error conditions exist in a related resource.",
310ba27e59eSEd Tanous             "One or more conditions exist in a related resource.  See the OriginOfCondition property.",
311fc8a2b87SEd Tanous             "Warning",
312fc8a2b87SEd Tanous             0,
313fc8a2b87SEd Tanous             {},
314ba27e59eSEd Tanous             "Check the Conditions array in the resource shown in the OriginOfCondition property to determine the conditions that need attention.",
315e7808c93SGunnar Mills         }},
316e7808c93SGunnar Mills     MessageEntry{
31770304cb5SJason M. Bills         "CouldNotEstablishConnection",
31870304cb5SJason M. Bills         {
319ba27e59eSEd Tanous             "Indicates that the attempt to access the resource, file, or image at the URI was unsuccessful because a session could not be established.",
320fc8a2b87SEd Tanous             "The service failed to establish a connection with the URI '%1'.",
321271584abSEd Tanous             "Critical",
322271584abSEd Tanous             1,
32370304cb5SJason M. Bills             {
32470304cb5SJason M. Bills                 "string",
32570304cb5SJason M. Bills             },
326d8d5fc3eSGunnar Mills             "Ensure that the URI contains a valid and reachable node name, protocol information, and other URI components.",
32770304cb5SJason M. Bills         }},
32870304cb5SJason M. Bills     MessageEntry{
32970304cb5SJason M. Bills         "CreateFailedMissingReqProperties",
33070304cb5SJason M. Bills         {
331d8d5fc3eSGunnar Mills             "Indicates that a create operation was attempted on a resource but that properties that are required for the create operation were missing from the request.",
332ba27e59eSEd Tanous             "The create operation failed because the required property %1 was missing from the request.",
333271584abSEd Tanous             "Critical",
334271584abSEd Tanous             1,
33570304cb5SJason M. Bills             {
33670304cb5SJason M. Bills                 "string",
33770304cb5SJason M. Bills             },
338ba27e59eSEd Tanous             "Correct the body to include the required property with a valid value and resubmit the request if the operation failed.",
33970304cb5SJason M. Bills         }},
340ba27e59eSEd Tanous     MessageEntry{
341ba27e59eSEd Tanous         "CreateLimitReachedForResource",
34270304cb5SJason M. Bills         {
343ba27e59eSEd Tanous             "Indicates that no more resources can be created on the resource as it has reached its create limit.",
344ba27e59eSEd Tanous             "The create operation failed because the resource has reached the limit of possible resources.",
345271584abSEd Tanous             "Critical",
346271584abSEd Tanous             0,
347271584abSEd Tanous             {},
348ba27e59eSEd Tanous             "Either delete resources and resubmit the request if the operation failed or do not resubmit the request.",
34970304cb5SJason M. Bills         }},
350ba27e59eSEd Tanous     MessageEntry{
351ba27e59eSEd Tanous         "Created",
35270304cb5SJason M. Bills         {
353d8d5fc3eSGunnar Mills             "Indicates that all conditions of a successful create operation were met.",
354d8d5fc3eSGunnar Mills             "The resource was created successfully.",
355271584abSEd Tanous             "OK",
356271584abSEd Tanous             0,
357271584abSEd Tanous             {},
358fc8a2b87SEd Tanous             "None.",
35970304cb5SJason M. Bills         }},
36070304cb5SJason M. Bills     MessageEntry{
36170304cb5SJason M. Bills         "EmptyJSON",
36270304cb5SJason M. Bills         {
363ba27e59eSEd Tanous             "Indicates that the request body contained an empty JSON object when one or more properties are expected in the body.",
364ba27e59eSEd Tanous             "The request body submitted contained an empty JSON object and the service is unable to process it.",
365271584abSEd Tanous             "Warning",
366271584abSEd Tanous             0,
367271584abSEd Tanous             {},
36870304cb5SJason M. Bills             "Add properties in the JSON object and resubmit the request.",
36970304cb5SJason M. Bills         }},
37070304cb5SJason M. Bills     MessageEntry{
371f866686bSJiaqing Zhao         "EventBufferExceeded",
372f866686bSJiaqing Zhao         {
373f866686bSJiaqing Zhao             "Indicates undelivered events may have been lost due to a lack of buffer space in the service.",
374f866686bSJiaqing Zhao             "Undelivered events may have been lost due to exceeding the event buffer.",
375f866686bSJiaqing Zhao             "Warning",
376f866686bSJiaqing Zhao             0,
377f866686bSJiaqing Zhao             {},
378f866686bSJiaqing Zhao             "None.",
379f866686bSJiaqing Zhao         }},
380f866686bSJiaqing Zhao     MessageEntry{
38170304cb5SJason M. Bills         "EventSubscriptionLimitExceeded",
38270304cb5SJason M. Bills         {
383d8d5fc3eSGunnar Mills             "Indicates that an event subscription establishment was requested but the operation failed due to the number of simultaneous connections exceeding the limit of the implementation.",
384ba27e59eSEd Tanous             "The event subscription failed due to the number of simultaneous subscriptions exceeding the limit of the implementation.",
385271584abSEd Tanous             "Critical",
386271584abSEd Tanous             0,
387271584abSEd Tanous             {},
388ba27e59eSEd Tanous             "Reduce the number of other subscriptions before trying to establish the event subscription or increase the limit of simultaneous subscriptions, if supported.",
38970304cb5SJason M. Bills         }},
39070304cb5SJason M. Bills     MessageEntry{
39170304cb5SJason M. Bills         "GeneralError",
39270304cb5SJason M. Bills         {
393ba27e59eSEd Tanous             "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.",
394ba27e59eSEd Tanous             "A general error has occurred.  See Resolution for information on how to resolve the error, or @Message.ExtendedInfo if Resolution is not provided.",
395271584abSEd Tanous             "Critical",
396271584abSEd Tanous             0,
397271584abSEd Tanous             {},
398271584abSEd Tanous             "None.",
39970304cb5SJason M. Bills         }},
40070304cb5SJason M. Bills     MessageEntry{
401*b575caefSJishnu CM         "GenerateSecretKeyRequired",
402*b575caefSJishnu CM         {
403*b575caefSJishnu CM             "Indicates that the Time-based One-Time Password (TOTP) secret key needs to be generated for the account before accessing the service.  The secret key can be generated with a `POST` to the `GenerateSecretKey` action for the `ManagerAccount` resource instance.",
404*b575caefSJishnu CM             "The Time-based One-Time Password (TOTP) secret key for this account must be generated before access is granted.  Perform the GenerateSecretKey action at URI '%1' and retain the secret key from the response.",
405*b575caefSJishnu CM             "Critical",
406*b575caefSJishnu CM             1,
407*b575caefSJishnu CM             {
408*b575caefSJishnu CM                 "string",
409*b575caefSJishnu CM             },
410*b575caefSJishnu CM             "Generate secret key for this account by performing the `GenerateSecretKey` action on the referenced URI and retaining the secret key from the action response to produce a Time-based One-Time Password (TOTP) for the `Token` property in future session creation requests.",
411*b575caefSJishnu CM         }},
412*b575caefSJishnu CM     MessageEntry{
413f866686bSJiaqing Zhao         "HeaderInvalid",
414f866686bSJiaqing Zhao         {
415f866686bSJiaqing Zhao             "Indicates that a request header is invalid.",
416f866686bSJiaqing Zhao             "Header '%1' is invalid.",
417f866686bSJiaqing Zhao             "Critical",
418f866686bSJiaqing Zhao             1,
419f866686bSJiaqing Zhao             {
420f866686bSJiaqing Zhao                 "string",
421f866686bSJiaqing Zhao             },
422f866686bSJiaqing Zhao             "Resubmit the request with a valid request header.",
423f866686bSJiaqing Zhao         }},
424f866686bSJiaqing Zhao     MessageEntry{
425f866686bSJiaqing Zhao         "HeaderMissing",
426f866686bSJiaqing Zhao         {
427f866686bSJiaqing Zhao             "Indicates that a required request header is missing.",
428f866686bSJiaqing Zhao             "Required header '%1' is missing in the request.",
429f866686bSJiaqing Zhao             "Critical",
430f866686bSJiaqing Zhao             1,
431f866686bSJiaqing Zhao             {
432f866686bSJiaqing Zhao                 "string",
433f866686bSJiaqing Zhao             },
434f866686bSJiaqing Zhao             "Resubmit the request with the required request header.",
435f866686bSJiaqing Zhao         }},
436f866686bSJiaqing Zhao     MessageEntry{
43770304cb5SJason M. Bills         "InsufficientPrivilege",
43870304cb5SJason M. Bills         {
439ba27e59eSEd Tanous             "Indicates that the credentials associated with the established session do not have sufficient privileges for the requested operation.",
440ba27e59eSEd Tanous             "There are insufficient privileges for the account or credentials associated with the current session to perform the requested operation.",
441271584abSEd Tanous             "Critical",
442271584abSEd Tanous             0,
443271584abSEd Tanous             {},
444ba27e59eSEd Tanous             "Either abandon the operation or change the associated access rights and resubmit the request if the operation failed.",
44570304cb5SJason M. Bills         }},
44670304cb5SJason M. Bills     MessageEntry{
447f866686bSJiaqing Zhao         "InsufficientStorage",
448f866686bSJiaqing Zhao         {
449d8d5fc3eSGunnar Mills             "Indicates that the operation could not be completed due to a lack of storage or memory available to the service.",
450d8d5fc3eSGunnar Mills             "Insufficient storage or memory available to complete the request.",
451f866686bSJiaqing Zhao             "Critical",
452f866686bSJiaqing Zhao             0,
453f866686bSJiaqing Zhao             {},
454f866686bSJiaqing Zhao             "Increase the free storage space available to the service and resubmit the request.",
455f866686bSJiaqing Zhao         }},
456f866686bSJiaqing Zhao     MessageEntry{
45770304cb5SJason M. Bills         "InternalError",
45870304cb5SJason M. Bills         {
459ba27e59eSEd Tanous             "Indicates that the request failed for an unknown internal error but that the service is still operational.",
460ba27e59eSEd Tanous             "The request failed due to an internal service error.  The service is still operational.",
461271584abSEd Tanous             "Critical",
462271584abSEd Tanous             0,
463271584abSEd Tanous             {},
464ba27e59eSEd Tanous             "Resubmit the request.  If the problem persists, consider resetting the service.",
46570304cb5SJason M. Bills         }},
466ba27e59eSEd Tanous     MessageEntry{
467ba27e59eSEd Tanous         "InvalidIndex",
46870304cb5SJason M. Bills         {
469fc8a2b87SEd Tanous             "The index is not valid.",
470fc8a2b87SEd Tanous             "The index %1 is not a valid offset into the array.",
471271584abSEd Tanous             "Warning",
472271584abSEd Tanous             1,
47370304cb5SJason M. Bills             {
47470304cb5SJason M. Bills                 "number",
47570304cb5SJason M. Bills             },
476ba27e59eSEd Tanous             "Verify the index value provided is within the bounds of the array.",
47770304cb5SJason M. Bills         }},
47870304cb5SJason M. Bills     MessageEntry{
479fc8a2b87SEd Tanous         "InvalidJSON",
480fc8a2b87SEd Tanous         {
481fc8a2b87SEd Tanous             "Indicates that the request body contains invalid JSON.",
482f866686bSJiaqing Zhao             "The request body submitted is invalid JSON starting at line %1 and could not be parsed by the receiving service.",
483fc8a2b87SEd Tanous             "Critical",
484fc8a2b87SEd Tanous             1,
485fc8a2b87SEd Tanous             {
486fc8a2b87SEd Tanous                 "number",
487fc8a2b87SEd Tanous             },
488ba27e59eSEd Tanous             "Ensure that the request body is valid JSON and resubmit the request.",
489fc8a2b87SEd Tanous         }},
490fc8a2b87SEd Tanous     MessageEntry{
49170304cb5SJason M. Bills         "InvalidObject",
49270304cb5SJason M. Bills         {
493d8d5fc3eSGunnar Mills             "Indicates that the object in question is invalid according to the implementation.  An example is a firmware update malformed URI.",
494fc8a2b87SEd Tanous             "The object at '%1' is invalid.",
495271584abSEd Tanous             "Critical",
496271584abSEd Tanous             1,
49770304cb5SJason M. Bills             {
49870304cb5SJason M. Bills                 "string",
49970304cb5SJason M. Bills             },
500ba27e59eSEd Tanous             "Either the object is malformed or the URI is not correct.  Correct the condition and resubmit the request if it failed.",
50170304cb5SJason M. Bills         }},
502ba27e59eSEd Tanous     MessageEntry{
503ba27e59eSEd Tanous         "InvalidURI",
504fc8a2b87SEd Tanous         {
505ba27e59eSEd Tanous             "Indicates that the operation encountered a URI that does not correspond to a valid resource.",
506fc8a2b87SEd Tanous             "The URI %1 was not found.",
507fc8a2b87SEd Tanous             "Critical",
508fc8a2b87SEd Tanous             1,
509fc8a2b87SEd Tanous             {
510fc8a2b87SEd Tanous                 "string",
511fc8a2b87SEd Tanous             },
512fc8a2b87SEd Tanous             "Provide a valid URI and resubmit the request.",
513fc8a2b87SEd Tanous         }},
514ba27e59eSEd Tanous     MessageEntry{
51575ec825cSEd Tanous         "LicenseRequired",
51675ec825cSEd Tanous         {
51775ec825cSEd Tanous             "Indicates that a license is required to perform the requested operation.",
51875ec825cSEd Tanous             "A license is required for this operation: %1.",
51975ec825cSEd Tanous             "Critical",
52075ec825cSEd Tanous             1,
52175ec825cSEd Tanous             {
52275ec825cSEd Tanous                 "string",
52375ec825cSEd Tanous             },
52475ec825cSEd Tanous             "Install the requested license and resubmit the request.",
52575ec825cSEd Tanous         }},
52675ec825cSEd Tanous     MessageEntry{
527ba27e59eSEd Tanous         "MalformedJSON",
52870304cb5SJason M. Bills         {
529fc8a2b87SEd Tanous             "Indicates that the request body was malformed JSON.",
530ba27e59eSEd Tanous             "The request body submitted was malformed JSON and could not be parsed by the receiving service.",
531271584abSEd Tanous             "Critical",
532271584abSEd Tanous             0,
533271584abSEd Tanous             {},
534ba27e59eSEd Tanous             "Ensure that the request body is valid JSON and resubmit the request.",
53570304cb5SJason M. Bills         }},
53670304cb5SJason M. Bills     MessageEntry{
537e7808c93SGunnar Mills         "MaximumErrorsExceeded",
538e7808c93SGunnar Mills         {
539d8d5fc3eSGunnar Mills             "Indicates that so many errors have occurred that the reporting service cannot return them all.",
540e7808c93SGunnar Mills             "Too many errors have occurred to report them all.",
541e7808c93SGunnar Mills             "Critical",
542e7808c93SGunnar Mills             0,
543e7808c93SGunnar Mills             {},
544e7808c93SGunnar Mills             "Resolve other reported errors and retry the current operation.",
545e7808c93SGunnar Mills         }},
546e7808c93SGunnar Mills     MessageEntry{
547f866686bSJiaqing Zhao         "MissingOrMalformedPart",
548f866686bSJiaqing Zhao         {
549f866686bSJiaqing Zhao             "Indicates that a multipart request is missing a required part or contains malformed parts.",
550f866686bSJiaqing Zhao             "The multipart request contains malformed parts or is missing required parts.",
551f866686bSJiaqing Zhao             "Critical",
552f866686bSJiaqing Zhao             0,
553f866686bSJiaqing Zhao             {},
554f866686bSJiaqing Zhao             "Add any missing required parts or correct the malformed parts and resubmit the request.",
555f866686bSJiaqing Zhao         }},
556f866686bSJiaqing Zhao     MessageEntry{
55783f984b5SSunitha Harish         "NetworkNameResolutionNotConfigured",
55883f984b5SSunitha Harish         {
559d8d5fc3eSGunnar Mills             "Indicates that network-based name resolution is not configured on the service.",
560d8d5fc3eSGunnar Mills             "Network name resolution is not configured on this service.",
56183f984b5SSunitha Harish             "Warning",
56283f984b5SSunitha Harish             0,
56383f984b5SSunitha Harish             {},
564d8d5fc3eSGunnar Mills             "Configure the network-based name resolution protocol support on this service, or update any URI values to include an IP address instead of a network name and resubmit the request.",
56583f984b5SSunitha Harish         }},
566ba27e59eSEd Tanous     MessageEntry{
567ba27e59eSEd Tanous         "NetworkNameResolutionNotSupported",
56883f984b5SSunitha Harish         {
569ba27e59eSEd Tanous             "Indicates the service does not support network-based name resolution.",
570ba27e59eSEd Tanous             "Resolution of network-based names is not supported by this service.",
57183f984b5SSunitha Harish             "Warning",
57283f984b5SSunitha Harish             0,
57383f984b5SSunitha Harish             {},
574ba27e59eSEd Tanous             "Update any URI values to include an IP address instead of a network name and resubmit the request.",
57583f984b5SSunitha Harish         }},
57683f984b5SSunitha Harish     MessageEntry{
57770304cb5SJason M. Bills         "NoOperation",
57870304cb5SJason M. Bills         {
579ba27e59eSEd Tanous             "Indicates that the requested operation will not perform any changes on the service.",
580ba27e59eSEd Tanous             "The request body submitted contain no data to act upon and no changes to the resource took place.",
581271584abSEd Tanous             "Warning",
582271584abSEd Tanous             0,
583271584abSEd Tanous             {},
58470304cb5SJason M. Bills             "Add properties in the JSON object and resubmit the request.",
58570304cb5SJason M. Bills         }},
58670304cb5SJason M. Bills     MessageEntry{
58770304cb5SJason M. Bills         "NoValidSession",
58870304cb5SJason M. Bills         {
589ba27e59eSEd Tanous             "Indicates that the operation failed because a valid session is required in order to access any resources.",
590271584abSEd Tanous             "There is no valid session established with the implementation.",
591271584abSEd Tanous             "Critical",
592271584abSEd Tanous             0,
593271584abSEd Tanous             {},
594e7808c93SGunnar Mills             "Establish a session before attempting any operations.",
595e7808c93SGunnar Mills         }},
596e7808c93SGunnar Mills     MessageEntry{
597d8d5fc3eSGunnar Mills         "OneTimePasscodeSent",
598d8d5fc3eSGunnar Mills         {
599*b575caefSJishnu CM             "Indicates that a required one-time passcode was sent to the user.  The code should be provided as the Token property in the request to create a session.",
600*b575caefSJishnu CM             "A one-time passcode was sent to: %1.  Supply the passcode as the `Token` property in the request to create a session.",
601d8d5fc3eSGunnar Mills             "OK",
602d8d5fc3eSGunnar Mills             1,
603d8d5fc3eSGunnar Mills             {
604d8d5fc3eSGunnar Mills                 "string",
605d8d5fc3eSGunnar Mills             },
606*b575caefSJishnu CM             "Obtain the one-time passcode sent to the delivery address and resubmit the request using the passcode as the `Token` property.",
607d8d5fc3eSGunnar Mills         }},
608d8d5fc3eSGunnar Mills     MessageEntry{
609e7808c93SGunnar Mills         "OperationFailed",
610e7808c93SGunnar Mills         {
611d8d5fc3eSGunnar Mills             "Indicates that one of the internal operations necessary to complete the request failed.  An example of this is when an internal service provider is unable to complete the request, such as in aggregation or RDE.",
612ba27e59eSEd Tanous             "An error occurred internal to the service as part of the overall request.  Partial results may have been returned.",
613e7808c93SGunnar Mills             "Warning",
614e7808c93SGunnar Mills             0,
615e7808c93SGunnar Mills             {},
616ba27e59eSEd Tanous             "Resubmit the request.  If the problem persists, consider resetting the service or provider.",
617e7808c93SGunnar Mills         }},
618e7808c93SGunnar Mills     MessageEntry{
619f866686bSJiaqing Zhao         "OperationNotAllowed",
620f866686bSJiaqing Zhao         {
621f866686bSJiaqing Zhao             "Indicates that the HTTP method in the request is not allowed on this resource.",
622f866686bSJiaqing Zhao             "The HTTP method is not allowed on this resource.",
623f866686bSJiaqing Zhao             "Critical",
624f866686bSJiaqing Zhao             0,
625f866686bSJiaqing Zhao             {},
626f866686bSJiaqing Zhao             "None.",
627f866686bSJiaqing Zhao         }},
628f866686bSJiaqing Zhao     MessageEntry{
629ba27e59eSEd Tanous         "OperationTimeout",
630e7808c93SGunnar Mills         {
631d8d5fc3eSGunnar Mills             "Indicates that one of the internal operations necessary to complete the request timed out.  An example of this is when an internal service provider is unable to complete the request, such as in aggregation or RDE.",
632d8d5fc3eSGunnar Mills             "A timeout internal to the service occurred as part of the request.  Partial results may have been returned.",
633ba27e59eSEd Tanous             "Warning",
634ba27e59eSEd Tanous             0,
635ba27e59eSEd Tanous             {},
636ba27e59eSEd Tanous             "Resubmit the request.  If the problem persists, consider resetting the service or provider.",
637ba27e59eSEd Tanous         }},
6384d99bbb0SEd Tanous     MessageEntry{
6394d99bbb0SEd Tanous         "PasswordChangeRequired",
640ba27e59eSEd Tanous         {
641d8d5fc3eSGunnar Mills             "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.",
642ba27e59eSEd Tanous             "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.",
643e7808c93SGunnar Mills             "Critical",
644e7808c93SGunnar Mills             1,
645e7808c93SGunnar Mills             {
646e7808c93SGunnar Mills                 "string",
647e7808c93SGunnar Mills             },
648ba27e59eSEd Tanous             "Change the password for this account using a PATCH to the Password property at the URI provided.",
649e7808c93SGunnar Mills         }},
650ba27e59eSEd Tanous     MessageEntry{
651f866686bSJiaqing Zhao         "PayloadTooLarge",
652f866686bSJiaqing Zhao         {
653f866686bSJiaqing Zhao             "Indicates that the supplied payload is too large to be accepted by the service.",
654f866686bSJiaqing Zhao             "The supplied payload exceeds the maximum size supported by the service.",
655f866686bSJiaqing Zhao             "Critical",
656f866686bSJiaqing Zhao             0,
657f866686bSJiaqing Zhao             {},
658f866686bSJiaqing Zhao             "Check that the supplied payload is correct and supported by this service.",
659f866686bSJiaqing Zhao         }},
660f866686bSJiaqing Zhao     MessageEntry{
661ba27e59eSEd Tanous         "PreconditionFailed",
662e7808c93SGunnar Mills         {
663ba27e59eSEd Tanous             "Indicates that the ETag supplied did not match the current ETag of the resource.",
664ba27e59eSEd Tanous             "The ETag supplied did not match the ETag required to change this resource.",
665e7808c93SGunnar Mills             "Critical",
666e7808c93SGunnar Mills             0,
667e7808c93SGunnar Mills             {},
668e7808c93SGunnar Mills             "Try the operation again using the appropriate ETag.",
669e7808c93SGunnar Mills         }},
670ba27e59eSEd Tanous     MessageEntry{
671ba27e59eSEd Tanous         "PreconditionRequired",
672e7808c93SGunnar Mills         {
673d8d5fc3eSGunnar Mills             "Indicates that the request did not provide the required precondition such as an `If-Match` or `If-None-Match` header or `@odata.etag` annotations.",
674ba27e59eSEd Tanous             "A precondition header or annotation is required to change this resource.",
675e7808c93SGunnar Mills             "Critical",
676e7808c93SGunnar Mills             0,
677e7808c93SGunnar Mills             {},
678ba27e59eSEd Tanous             "Try the operation again using an If-Match or If-None-Match header and appropriate ETag.",
67970304cb5SJason M. Bills         }},
680fc8a2b87SEd Tanous     MessageEntry{
681fc8a2b87SEd Tanous         "PropertyDeprecated",
682fc8a2b87SEd Tanous         {
683fc8a2b87SEd Tanous             "Indicates the property is deprecated.",
684fc8a2b87SEd Tanous             "The deprecated property %1 was included in the request body.",
685fc8a2b87SEd Tanous             "Warning",
686fc8a2b87SEd Tanous             1,
687fc8a2b87SEd Tanous             {
688fc8a2b87SEd Tanous                 "string",
689fc8a2b87SEd Tanous             },
690fc8a2b87SEd Tanous             "Refer to the schema guide for more information.",
691fc8a2b87SEd Tanous         }},
692ba27e59eSEd Tanous     MessageEntry{
693ba27e59eSEd Tanous         "PropertyDuplicate",
69470304cb5SJason M. Bills         {
695ba27e59eSEd Tanous             "Indicates that a duplicate property was included in the request body.",
696271584abSEd Tanous             "The property %1 was duplicated in the request.",
697271584abSEd Tanous             "Warning",
698271584abSEd Tanous             1,
69970304cb5SJason M. Bills             {
70070304cb5SJason M. Bills                 "string",
70170304cb5SJason M. Bills             },
702ba27e59eSEd Tanous             "Remove the duplicate property from the request body and resubmit the request if the operation failed.",
70370304cb5SJason M. Bills         }},
70470304cb5SJason M. Bills     MessageEntry{
70570304cb5SJason M. Bills         "PropertyMissing",
70670304cb5SJason M. Bills         {
707ba27e59eSEd Tanous             "Indicates that a required property was not supplied as part of the request.",
708ba27e59eSEd Tanous             "The property %1 is a required property and must be included in the request.",
709271584abSEd Tanous             "Warning",
710271584abSEd Tanous             1,
71170304cb5SJason M. Bills             {
71270304cb5SJason M. Bills                 "string",
71370304cb5SJason M. Bills             },
714ba27e59eSEd Tanous             "Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.",
71570304cb5SJason M. Bills         }},
716ba27e59eSEd Tanous     MessageEntry{
717*b575caefSJishnu CM         "PropertyModified",
718*b575caefSJishnu CM         {
719*b575caefSJishnu CM             "Indicates that all properties listed in `RelatedProperties` in the message were successfully modified.",
720*b575caefSJishnu CM             "One or more properties were successfully modified.",
721*b575caefSJishnu CM             "OK",
722*b575caefSJishnu CM             0,
723*b575caefSJishnu CM             {},
724*b575caefSJishnu CM             "None.",
725*b575caefSJishnu CM         }},
726*b575caefSJishnu CM     MessageEntry{
727f866686bSJiaqing Zhao         "PropertyNotUpdated",
728f866686bSJiaqing Zhao         {
729f866686bSJiaqing Zhao             "Indicates that a property was not updated due to an internal service error, but the service is still functional.",
730f866686bSJiaqing Zhao             "The property %1 was not updated due to an internal service error.  The service is still operational.",
731f866686bSJiaqing Zhao             "Critical",
732f866686bSJiaqing Zhao             1,
733f866686bSJiaqing Zhao             {
734f866686bSJiaqing Zhao                 "string",
735f866686bSJiaqing Zhao             },
736f866686bSJiaqing Zhao             "Resubmit the request.  If the problem persists, check for additional messages and consider resetting the service.",
737f866686bSJiaqing Zhao         }},
738f866686bSJiaqing Zhao     MessageEntry{
739ba27e59eSEd Tanous         "PropertyNotWritable",
74070304cb5SJason M. Bills         {
741d8d5fc3eSGunnar Mills             "Indicates that a property was given a value in the request body, but the property is a read-only property.",
742d8d5fc3eSGunnar Mills             "The property %1 is a read-only property and cannot be assigned a value.",
743271584abSEd Tanous             "Warning",
744271584abSEd Tanous             1,
74570304cb5SJason M. Bills             {
74670304cb5SJason M. Bills                 "string",
74770304cb5SJason M. Bills             },
748ba27e59eSEd Tanous             "Remove the property from the request body and resubmit the request if the operation failed.",
74970304cb5SJason M. Bills         }},
750ba27e59eSEd Tanous     MessageEntry{
751ba27e59eSEd Tanous         "PropertyUnknown",
75270304cb5SJason M. Bills         {
753ba27e59eSEd Tanous             "Indicates that an unknown property was included in the request body.",
754ba27e59eSEd Tanous             "The property %1 is not in the list of valid properties for the resource.",
755271584abSEd Tanous             "Warning",
756271584abSEd Tanous             1,
75770304cb5SJason M. Bills             {
75870304cb5SJason M. Bills                 "string",
75970304cb5SJason M. Bills             },
760ba27e59eSEd Tanous             "Remove the unknown property from the request body and resubmit the request if the operation failed.",
76170304cb5SJason M. Bills         }},
762e7808c93SGunnar Mills     MessageEntry{
763e7808c93SGunnar Mills         "PropertyValueConflict",
764e7808c93SGunnar Mills         {
765d8d5fc3eSGunnar Mills             "Indicates that the requested write of a property value could not be completed because of a conflict with another property value.",
766ba27e59eSEd Tanous             "The property '%1' could not be written because its value would conflict with the value of the '%2' property.",
767e7808c93SGunnar Mills             "Warning",
768e7808c93SGunnar Mills             2,
769e7808c93SGunnar Mills             {
770e7808c93SGunnar Mills                 "string",
771e7808c93SGunnar Mills                 "string",
772e7808c93SGunnar Mills             },
773d8d5fc3eSGunnar Mills             "None.",
774e7808c93SGunnar Mills         }},
775ba27e59eSEd Tanous     MessageEntry{
776ba27e59eSEd Tanous         "PropertyValueDeprecated",
777fc8a2b87SEd Tanous         {
778fc8a2b87SEd Tanous             "Indicates that a property was given a deprecated value.",
779fc8a2b87SEd Tanous             "The value '%1' for the property %2 is deprecated.",
780fc8a2b87SEd Tanous             "Warning",
781f866686bSJiaqing Zhao             2,
782fc8a2b87SEd Tanous             {
783fc8a2b87SEd Tanous                 "string",
784fc8a2b87SEd Tanous                 "string",
785fc8a2b87SEd Tanous             },
786fc8a2b87SEd Tanous             "Refer to the schema guide for more information.",
787fc8a2b87SEd Tanous         }},
788ba27e59eSEd Tanous     MessageEntry{
789ba27e59eSEd Tanous         "PropertyValueError",
79083f984b5SSunitha Harish         {
79183f984b5SSunitha Harish             "Indicates that a property was given an invalid value.",
79283f984b5SSunitha Harish             "The value provided for the property %1 is not valid.",
79383f984b5SSunitha Harish             "Warning",
79483f984b5SSunitha Harish             1,
79583f984b5SSunitha Harish             {
79683f984b5SSunitha Harish                 "string",
79783f984b5SSunitha Harish             },
798ba27e59eSEd Tanous             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
79983f984b5SSunitha Harish         }},
800fc8a2b87SEd Tanous     MessageEntry{
801fc8a2b87SEd Tanous         "PropertyValueExternalConflict",
802fc8a2b87SEd Tanous         {
803d8d5fc3eSGunnar Mills             "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.",
804ba27e59eSEd Tanous             "The property '%1' with the requested value of '%2' could not be written because the value is not available due to a configuration conflict.",
805fc8a2b87SEd Tanous             "Warning",
806fc8a2b87SEd Tanous             2,
807fc8a2b87SEd Tanous             {
808fc8a2b87SEd Tanous                 "string",
809fc8a2b87SEd Tanous                 "string",
810fc8a2b87SEd Tanous             },
811d8d5fc3eSGunnar Mills             "None.",
812fc8a2b87SEd Tanous         }},
813ba27e59eSEd Tanous     MessageEntry{
814ba27e59eSEd Tanous         "PropertyValueFormatError",
815271584abSEd Tanous         {
816d8d5fc3eSGunnar Mills             "Indicates that a property was given the correct value type but the format of the value is not supported.",
817d8d5fc3eSGunnar Mills             "The value '%1' for the property %2 is not a format that the property can accept.",
818271584abSEd Tanous             "Warning",
819271584abSEd Tanous             2,
820271584abSEd Tanous             {
821271584abSEd Tanous                 "string",
822271584abSEd Tanous                 "string",
823271584abSEd Tanous             },
824ba27e59eSEd Tanous             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
825271584abSEd Tanous         }},
826ba27e59eSEd Tanous     MessageEntry{
827ba27e59eSEd Tanous         "PropertyValueIncorrect",
828e7808c93SGunnar Mills         {
829d8d5fc3eSGunnar Mills             "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.",
830ba27e59eSEd Tanous             "The property '%1' with the requested value of '%2' could not be written because the value does not meet the constraints of the implementation.",
831e7808c93SGunnar Mills             "Warning",
832e7808c93SGunnar Mills             2,
833e7808c93SGunnar Mills             {
834e7808c93SGunnar Mills                 "string",
835e7808c93SGunnar Mills                 "string",
836e7808c93SGunnar Mills             },
837d8d5fc3eSGunnar Mills             "None.",
838e7808c93SGunnar Mills         }},
839ba27e59eSEd Tanous     MessageEntry{
840ba27e59eSEd Tanous         "PropertyValueModified",
84170304cb5SJason M. Bills         {
842ba27e59eSEd Tanous             "Indicates that a property was given the correct value type but the value of that property was modified.  Examples are truncated or rounded values.",
843ba27e59eSEd Tanous             "The property %1 was assigned the value '%2' due to modification by the service.",
844271584abSEd Tanous             "Warning",
845271584abSEd Tanous             2,
84670304cb5SJason M. Bills             {
84770304cb5SJason M. Bills                 "string",
84870304cb5SJason M. Bills                 "string",
84970304cb5SJason M. Bills             },
850d8d5fc3eSGunnar Mills             "None.",
85170304cb5SJason M. Bills         }},
85270304cb5SJason M. Bills     MessageEntry{
85370304cb5SJason M. Bills         "PropertyValueNotInList",
85470304cb5SJason M. Bills         {
855ba27e59eSEd Tanous             "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.",
856ba27e59eSEd Tanous             "The value '%1' for the property %2 is not in the list of acceptable values.",
857271584abSEd Tanous             "Warning",
858271584abSEd Tanous             2,
85970304cb5SJason M. Bills             {
86070304cb5SJason M. Bills                 "string",
86170304cb5SJason M. Bills                 "string",
86270304cb5SJason M. Bills             },
863ba27e59eSEd Tanous             "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.",
86470304cb5SJason M. Bills         }},
865ba27e59eSEd Tanous     MessageEntry{
866f866686bSJiaqing Zhao         "PropertyValueOutOfRange",
867f866686bSJiaqing Zhao         {
868f866686bSJiaqing Zhao             "Indicates that a property was given the correct value type but the value of that property is outside the supported range.",
869f866686bSJiaqing Zhao             "The value '%1' for the property %2 is not in the supported range of acceptable values.",
870f866686bSJiaqing Zhao             "Warning",
871f866686bSJiaqing Zhao             2,
872f866686bSJiaqing Zhao             {
873f866686bSJiaqing Zhao                 "string",
874f866686bSJiaqing Zhao                 "string",
875f866686bSJiaqing Zhao             },
876f866686bSJiaqing Zhao             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
877f866686bSJiaqing Zhao         }},
878f866686bSJiaqing Zhao     MessageEntry{
879ba27e59eSEd Tanous         "PropertyValueResourceConflict",
880fc8a2b87SEd Tanous         {
881d8d5fc3eSGunnar Mills             "Indicates that the requested write of a property value could not be completed due to the current state or configuration of another resource.",
882ba27e59eSEd Tanous             "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'.",
883fc8a2b87SEd Tanous             "Warning",
884fc8a2b87SEd Tanous             3,
885fc8a2b87SEd Tanous             {
886fc8a2b87SEd Tanous                 "string",
887fc8a2b87SEd Tanous                 "string",
888fc8a2b87SEd Tanous                 "string",
889fc8a2b87SEd Tanous             },
890d8d5fc3eSGunnar Mills             "None.",
891fc8a2b87SEd Tanous         }},
89270304cb5SJason M. Bills     MessageEntry{
89370304cb5SJason M. Bills         "PropertyValueTypeError",
89470304cb5SJason M. Bills         {
895ba27e59eSEd Tanous             "Indicates that a property was given the wrong value type, such as when a number is supplied for a property that requires a string.",
896d8d5fc3eSGunnar Mills             "The value '%1' for the property %2 is not a type that the property can accept.",
897271584abSEd Tanous             "Warning",
898271584abSEd Tanous             2,
89970304cb5SJason M. Bills             {
90070304cb5SJason M. Bills                 "string",
90170304cb5SJason M. Bills                 "string",
90270304cb5SJason M. Bills             },
903ba27e59eSEd Tanous             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
90470304cb5SJason M. Bills         }},
90570304cb5SJason M. Bills     MessageEntry{
906e7808c93SGunnar Mills         "QueryCombinationInvalid",
907e7808c93SGunnar Mills         {
908d8d5fc3eSGunnar Mills             "Indicates the request contains multiple query parameters and that two or more of them cannot be used together.",
909ba27e59eSEd Tanous             "Two or more query parameters in the request cannot be used together.",
910e7808c93SGunnar Mills             "Warning",
911e7808c93SGunnar Mills             0,
912e7808c93SGunnar Mills             {},
913ba27e59eSEd Tanous             "Remove one or more of the query parameters and resubmit the request if the operation failed.",
914e7808c93SGunnar Mills         }},
915e7808c93SGunnar Mills     MessageEntry{
91670304cb5SJason M. Bills         "QueryNotSupported",
91770304cb5SJason M. Bills         {
91870304cb5SJason M. Bills             "Indicates that query is not supported on the implementation.",
919271584abSEd Tanous             "Querying is not supported by the implementation.",
920271584abSEd Tanous             "Warning",
921e7808c93SGunnar Mills             0,
922e7808c93SGunnar Mills             {},
923ba27e59eSEd Tanous             "Remove the query parameters and resubmit the request if the operation failed.",
924e7808c93SGunnar Mills         }},
925ba27e59eSEd Tanous     MessageEntry{
926ba27e59eSEd Tanous         "QueryNotSupportedOnOperation",
927e7808c93SGunnar Mills         {
928d8d5fc3eSGunnar Mills             "Indicates that query is not supported with the given operation, such as when the `$expand` query is attempted with a `PATCH` operation.",
929e7808c93SGunnar Mills             "Querying is not supported with the requested operation.",
930e7808c93SGunnar Mills             "Warning",
931271584abSEd Tanous             0,
932271584abSEd Tanous             {},
933ba27e59eSEd Tanous             "Remove the query parameters and resubmit the request if the operation failed.",
93470304cb5SJason M. Bills         }},
935ba27e59eSEd Tanous     MessageEntry{
936ba27e59eSEd Tanous         "QueryNotSupportedOnResource",
93770304cb5SJason M. Bills         {
938ba27e59eSEd Tanous             "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.",
939271584abSEd Tanous             "Querying is not supported on the requested resource.",
940271584abSEd Tanous             "Warning",
941271584abSEd Tanous             0,
942271584abSEd Tanous             {},
943ba27e59eSEd Tanous             "Remove the query parameters and resubmit the request if the operation failed.",
94470304cb5SJason M. Bills         }},
9454d99bbb0SEd Tanous     MessageEntry{
9464d99bbb0SEd Tanous         "QueryParameterOutOfRange",
94770304cb5SJason M. Bills         {
948d8d5fc3eSGunnar Mills             "Indicates that a query parameter was provided that is out of range for the given resource.  This can happen with values that are too low or that exceed what is possible for the supplied resource, such as when a page is requested that is beyond the last page.",
949fc8a2b87SEd Tanous             "The value '%1' for the query parameter %2 is out of range %3.",
950271584abSEd Tanous             "Warning",
951271584abSEd Tanous             3,
95270304cb5SJason M. Bills             {
95370304cb5SJason M. Bills                 "string",
95470304cb5SJason M. Bills                 "string",
95570304cb5SJason M. Bills                 "string",
95670304cb5SJason M. Bills             },
957d8d5fc3eSGunnar Mills             "Reduce the value for the query parameter to a value that is within range, such as a start or count value that is within bounds of the number of resources in a collection or a page number that is within the range of valid pages.",
95870304cb5SJason M. Bills         }},
959fc8a2b87SEd Tanous     MessageEntry{
96075ec825cSEd Tanous         "QueryParameterUnsupported",
96175ec825cSEd Tanous         {
96275ec825cSEd Tanous             "Indicates that a query parameter is not supported.",
96375ec825cSEd Tanous             "Query parameter '%1' is not supported.",
96475ec825cSEd Tanous             "Warning",
96575ec825cSEd Tanous             1,
96675ec825cSEd Tanous             {
96775ec825cSEd Tanous                 "string",
96875ec825cSEd Tanous             },
96975ec825cSEd Tanous             "Correct or remove the query parameter and resubmit the request.",
97075ec825cSEd Tanous         }},
97175ec825cSEd Tanous     MessageEntry{
97283f984b5SSunitha Harish         "QueryParameterValueError",
97383f984b5SSunitha Harish         {
97483f984b5SSunitha Harish             "Indicates that a query parameter was given an invalid value.",
97583f984b5SSunitha Harish             "The value for the parameter %1 is invalid.",
97683f984b5SSunitha Harish             "Warning",
97783f984b5SSunitha Harish             1,
97883f984b5SSunitha Harish             {
97983f984b5SSunitha Harish                 "string",
98083f984b5SSunitha Harish             },
981ba27e59eSEd Tanous             "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
98283f984b5SSunitha Harish         }},
98383f984b5SSunitha Harish     MessageEntry{
984fc8a2b87SEd Tanous         "QueryParameterValueFormatError",
98570304cb5SJason M. Bills         {
986d8d5fc3eSGunnar Mills             "Indicates that a query parameter was given the correct value type but the format of the value is not supported.",
987d8d5fc3eSGunnar Mills             "The value '%1' for the parameter %2 is not a format that the parameter can accept.",
988271584abSEd Tanous             "Warning",
989271584abSEd Tanous             2,
99070304cb5SJason M. Bills             {
99170304cb5SJason M. Bills                 "string",
99270304cb5SJason M. Bills                 "string",
99370304cb5SJason M. Bills             },
994ba27e59eSEd Tanous             "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
99570304cb5SJason M. Bills         }},
996ba27e59eSEd Tanous     MessageEntry{
997ba27e59eSEd Tanous         "QueryParameterValueTypeError",
99870304cb5SJason M. Bills         {
999ba27e59eSEd Tanous             "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.",
1000d8d5fc3eSGunnar Mills             "The value '%1' for the query parameter %2 is not a type that the parameter can accept.",
1001271584abSEd Tanous             "Warning",
1002271584abSEd Tanous             2,
100370304cb5SJason M. Bills             {
100470304cb5SJason M. Bills                 "string",
100570304cb5SJason M. Bills                 "string",
100670304cb5SJason M. Bills             },
1007ba27e59eSEd Tanous             "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
100870304cb5SJason M. Bills         }},
1009e7808c93SGunnar Mills     MessageEntry{
1010f866686bSJiaqing Zhao         "ResetRecommended",
1011f866686bSJiaqing Zhao         {
1012d8d5fc3eSGunnar Mills             "Indicates that a component reset is recommended for error recovery while unaffected applications can continue running without any effect on accuracy and performance.",
1013f866686bSJiaqing Zhao             "In order to recover from errors, a component reset is recommended with the Reset action URI '%1' and ResetType '%2'.",
1014f866686bSJiaqing Zhao             "Warning",
1015f866686bSJiaqing Zhao             2,
1016f866686bSJiaqing Zhao             {
1017f866686bSJiaqing Zhao                 "string",
1018f866686bSJiaqing Zhao                 "string",
1019f866686bSJiaqing Zhao             },
1020f866686bSJiaqing Zhao             "Perform the recommended reset action on the specified component.",
1021f866686bSJiaqing Zhao         }},
1022f866686bSJiaqing Zhao     MessageEntry{
1023e7808c93SGunnar Mills         "ResetRequired",
1024e7808c93SGunnar Mills         {
1025f866686bSJiaqing Zhao             "Indicates that a component reset is required for changes, error recovery, or operations to complete.",
1026f866686bSJiaqing Zhao             "In order to apply changes, recover from errors, or complete the operation, a component reset is required with the Reset action URI '%1' and ResetType '%2'.",
1027e7808c93SGunnar Mills             "Warning",
1028e7808c93SGunnar Mills             2,
1029e7808c93SGunnar Mills             {
1030e7808c93SGunnar Mills                 "string",
1031e7808c93SGunnar Mills                 "string",
1032e7808c93SGunnar Mills             },
1033fc8a2b87SEd Tanous             "Perform the required reset action on the specified component.",
1034e7808c93SGunnar Mills         }},
1035ba27e59eSEd Tanous     MessageEntry{
1036ba27e59eSEd Tanous         "ResourceAlreadyExists",
103770304cb5SJason M. Bills         {
1038ba27e59eSEd Tanous             "Indicates that a resource change or creation was attempted but that the operation cannot proceed because the resource already exists.",
1039ba27e59eSEd Tanous             "The requested resource of type %1 with the property %2 with the value '%3' already exists.",
1040271584abSEd Tanous             "Critical",
1041271584abSEd Tanous             3,
104270304cb5SJason M. Bills             {
104370304cb5SJason M. Bills                 "string",
104470304cb5SJason M. Bills                 "string",
104570304cb5SJason M. Bills                 "string",
104670304cb5SJason M. Bills             },
1047d8d5fc3eSGunnar Mills             "Do not repeat the create operation as the resource was already created.",
104870304cb5SJason M. Bills         }},
104970304cb5SJason M. Bills     MessageEntry{
105070304cb5SJason M. Bills         "ResourceAtUriInUnknownFormat",
105170304cb5SJason M. Bills         {
1052ba27e59eSEd Tanous             "Indicates that the URI was valid but the resource or image at that URI was in a format not supported by the service.",
1053ba27e59eSEd Tanous             "The resource at '%1' is in a format not recognized by the service.",
1054271584abSEd Tanous             "Critical",
1055271584abSEd Tanous             1,
105670304cb5SJason M. Bills             {
105770304cb5SJason M. Bills                 "string",
105870304cb5SJason M. Bills             },
1059ba27e59eSEd Tanous             "Place an image or resource or file that is recognized by the service at the URI.",
106070304cb5SJason M. Bills         }},
1061ba27e59eSEd Tanous     MessageEntry{
1062ba27e59eSEd Tanous         "ResourceAtUriUnauthorized",
106370304cb5SJason M. Bills         {
1064ba27e59eSEd Tanous             "Indicates that the attempt to access the resource, file, or image at the URI was unauthorized.",
1065ba27e59eSEd Tanous             "While accessing the resource at '%1', the service received an authorization error '%2'.",
1066271584abSEd Tanous             "Critical",
1067271584abSEd Tanous             2,
106870304cb5SJason M. Bills             {
106970304cb5SJason M. Bills                 "string",
107070304cb5SJason M. Bills                 "string",
107170304cb5SJason M. Bills             },
1072ba27e59eSEd Tanous             "Ensure that the appropriate access is provided for the service in order for it to access the URI.",
107370304cb5SJason M. Bills         }},
1074ba27e59eSEd Tanous     MessageEntry{
1075ba27e59eSEd Tanous         "ResourceCannotBeDeleted",
107670304cb5SJason M. Bills         {
1077ba27e59eSEd Tanous             "Indicates that a delete operation was attempted on a resource that cannot be deleted.",
1078ba27e59eSEd Tanous             "The delete request failed because the resource requested cannot be deleted.",
1079271584abSEd Tanous             "Critical",
1080271584abSEd Tanous             0,
1081271584abSEd Tanous             {},
1082271584abSEd Tanous             "Do not attempt to delete a non-deletable resource.",
108370304cb5SJason M. Bills         }},
108470304cb5SJason M. Bills     MessageEntry{
1085e7808c93SGunnar Mills         "ResourceCreationConflict",
1086e7808c93SGunnar Mills         {
1087ba27e59eSEd Tanous             "Indicates that the requested resource creation could not be completed because the service has a resource that conflicts with the request.",
1088ba27e59eSEd Tanous             "The resource could not be created.  The service has a resource at URI '%1' that conflicts with the creation request.",
1089e7808c93SGunnar Mills             "Warning",
1090e7808c93SGunnar Mills             1,
1091e7808c93SGunnar Mills             {
1092e7808c93SGunnar Mills                 "string",
1093e7808c93SGunnar Mills             },
1094d8d5fc3eSGunnar Mills             "None.",
1095e7808c93SGunnar Mills         }},
1096e7808c93SGunnar Mills     MessageEntry{
1097fc8a2b87SEd Tanous         "ResourceDeprecated",
1098fc8a2b87SEd Tanous         {
1099fc8a2b87SEd Tanous             "Indicates the resource is deprecated.",
1100fc8a2b87SEd Tanous             "The operation was performed on a deprecated resource '%1'.",
1101fc8a2b87SEd Tanous             "Warning",
1102fc8a2b87SEd Tanous             1,
1103fc8a2b87SEd Tanous             {
1104fc8a2b87SEd Tanous                 "string",
1105fc8a2b87SEd Tanous             },
1106fc8a2b87SEd Tanous             "Refer to the schema guide for more information.",
1107fc8a2b87SEd Tanous         }},
1108fc8a2b87SEd Tanous     MessageEntry{
110970304cb5SJason M. Bills         "ResourceExhaustion",
111070304cb5SJason M. Bills         {
1111d8d5fc3eSGunnar Mills             "Indicates that a resource could not satisfy the request due to some unavailability of resources.  An example is that available capacity was allocated.",
1112ba27e59eSEd Tanous             "The resource '%1' was unable to satisfy the request due to unavailability of resources.",
1113271584abSEd Tanous             "Critical",
1114271584abSEd Tanous             1,
111570304cb5SJason M. Bills             {
111670304cb5SJason M. Bills                 "string",
111770304cb5SJason M. Bills             },
1118271584abSEd Tanous             "Ensure that the resources are available and resubmit the request.",
111970304cb5SJason M. Bills         }},
1120ba27e59eSEd Tanous     MessageEntry{
1121ba27e59eSEd Tanous         "ResourceInStandby",
112270304cb5SJason M. Bills         {
1123ba27e59eSEd Tanous             "Indicates that the request could not be performed because the resource is in standby.",
1124ba27e59eSEd Tanous             "The request could not be performed because the resource is in standby.",
1125271584abSEd Tanous             "Critical",
1126271584abSEd Tanous             0,
1127271584abSEd Tanous             {},
1128ba27e59eSEd Tanous             "Ensure that the resource is in the correct power state and resubmit the request.",
112970304cb5SJason M. Bills         }},
1130ba27e59eSEd Tanous     MessageEntry{
1131ba27e59eSEd Tanous         "ResourceInUse",
113270304cb5SJason M. Bills         {
1133ba27e59eSEd Tanous             "Indicates that a change was requested to a resource but the change was rejected due to the resource being in use or transition.",
1134ba27e59eSEd Tanous             "The change to the requested resource failed because the resource is in use or in transition.",
1135271584abSEd Tanous             "Warning",
1136271584abSEd Tanous             0,
1137271584abSEd Tanous             {},
1138ba27e59eSEd Tanous             "Remove the condition and resubmit the request if the operation failed.",
113970304cb5SJason M. Bills         }},
114070304cb5SJason M. Bills     MessageEntry{
114170304cb5SJason M. Bills         "ResourceMissingAtURI",
114270304cb5SJason M. Bills         {
1143d8d5fc3eSGunnar Mills             "Indicates that the operation expected an image or other resource at the provided URI but none was found.  Examples of this are in requests that require URIs such as firmware updates.",
1144fc8a2b87SEd Tanous             "The resource at the URI '%1' was not found.",
1145271584abSEd Tanous             "Critical",
1146271584abSEd Tanous             1,
114770304cb5SJason M. Bills             {
114870304cb5SJason M. Bills                 "string",
114970304cb5SJason M. Bills             },
1150ba27e59eSEd Tanous             "Place a valid resource at the URI or correct the URI and resubmit the request.",
115170304cb5SJason M. Bills         }},
115270304cb5SJason M. Bills     MessageEntry{
115370304cb5SJason M. Bills         "ResourceNotFound",
115470304cb5SJason M. Bills         {
1155ba27e59eSEd Tanous             "Indicates that the operation expected a resource identifier that corresponds to an existing resource but one was not found.",
1156fc8a2b87SEd Tanous             "The requested resource of type %1 named '%2' was not found.",
1157271584abSEd Tanous             "Critical",
1158271584abSEd Tanous             2,
115970304cb5SJason M. Bills             {
116070304cb5SJason M. Bills                 "string",
116170304cb5SJason M. Bills                 "string",
116270304cb5SJason M. Bills             },
116370304cb5SJason M. Bills             "Provide a valid resource identifier and resubmit the request.",
116470304cb5SJason M. Bills         }},
116570304cb5SJason M. Bills     MessageEntry{
116670304cb5SJason M. Bills         "ResourceTypeIncompatible",
116770304cb5SJason M. Bills         {
1168d8d5fc3eSGunnar Mills             "Indicates that the resource type of the operation does not match that of the operation destination.  Examples of this are a `POST` to a resource collection using the wrong resource type, an update where the `@odata.type` properties do not match, or a case of major version incompatibility.",
1169ba27e59eSEd Tanous             "The @odata.type of the request body %1 is incompatible with the @odata.type of the resource, which is %2.",
1170271584abSEd Tanous             "Critical",
1171271584abSEd Tanous             2,
117270304cb5SJason M. Bills             {
117370304cb5SJason M. Bills                 "string",
117470304cb5SJason M. Bills                 "string",
117570304cb5SJason M. Bills             },
1176ba27e59eSEd Tanous             "Resubmit the request with a payload compatible with the resource's schema.",
117770304cb5SJason M. Bills         }},
1178ba27e59eSEd Tanous     MessageEntry{
1179ba27e59eSEd Tanous         "RestrictedPrivilege",
1180fc8a2b87SEd Tanous         {
1181ba27e59eSEd Tanous             "Indicates that the operation was not successful because a privilege is restricted.",
1182ba27e59eSEd Tanous             "The operation was not successful because the privilege '%1' is restricted.",
1183fc8a2b87SEd Tanous             "Warning",
1184fc8a2b87SEd Tanous             1,
1185fc8a2b87SEd Tanous             {
1186fc8a2b87SEd Tanous                 "string",
1187fc8a2b87SEd Tanous             },
1188ba27e59eSEd Tanous             "Remove restricted privileges from the request body and resubmit the request.",
1189fc8a2b87SEd Tanous         }},
1190ba27e59eSEd Tanous     MessageEntry{
1191ba27e59eSEd Tanous         "RestrictedRole",
1192fc8a2b87SEd Tanous         {
1193ba27e59eSEd Tanous             "Indicates that the operation was not successful because the role is restricted.",
1194ba27e59eSEd Tanous             "The operation was not successful because the role '%1' is restricted.",
1195fc8a2b87SEd Tanous             "Warning",
1196fc8a2b87SEd Tanous             1,
1197fc8a2b87SEd Tanous             {
1198fc8a2b87SEd Tanous                 "string",
1199fc8a2b87SEd Tanous             },
1200ba27e59eSEd Tanous             "No resolution is required.  For standard roles, consider using the role specified in the AlternateRoleId property in the Role resource.",
1201fc8a2b87SEd Tanous         }},
120270304cb5SJason M. Bills     MessageEntry{
120383f984b5SSunitha Harish         "ServiceDisabled",
120483f984b5SSunitha Harish         {
1205ba27e59eSEd Tanous             "Indicates that the operation failed because the service, such as the account service, is disabled and cannot accept requests.",
1206ba27e59eSEd Tanous             "The operation failed because the service at %1 is disabled and cannot accept requests.",
120783f984b5SSunitha Harish             "Warning",
120883f984b5SSunitha Harish             1,
120983f984b5SSunitha Harish             {
121083f984b5SSunitha Harish                 "string",
121183f984b5SSunitha Harish             },
1212ba27e59eSEd Tanous             "Enable the service and resubmit the request if the operation failed.",
121383f984b5SSunitha Harish         }},
121483f984b5SSunitha Harish     MessageEntry{
121570304cb5SJason M. Bills         "ServiceInUnknownState",
121670304cb5SJason M. Bills         {
1217ba27e59eSEd Tanous             "Indicates that the operation failed because the service is in an unknown state and cannot accept additional requests.",
1218ba27e59eSEd Tanous             "The operation failed because the service is in an unknown state and can no longer take incoming requests.",
1219271584abSEd Tanous             "Critical",
1220271584abSEd Tanous             0,
1221271584abSEd Tanous             {},
1222ba27e59eSEd Tanous             "Restart the service and resubmit the request if the operation failed.",
122370304cb5SJason M. Bills         }},
1224ba27e59eSEd Tanous     MessageEntry{
1225ba27e59eSEd Tanous         "ServiceShuttingDown",
122670304cb5SJason M. Bills         {
1227d8d5fc3eSGunnar Mills             "Indicates that the operation failed because the service is shutting down, such as when the service reboots.",
1228ba27e59eSEd Tanous             "The operation failed because the service is shutting down and can no longer take incoming requests.",
1229271584abSEd Tanous             "Critical",
1230271584abSEd Tanous             0,
1231271584abSEd Tanous             {},
1232ba27e59eSEd Tanous             "When the service becomes available, resubmit the request if the operation failed.",
123370304cb5SJason M. Bills         }},
123470304cb5SJason M. Bills     MessageEntry{
123570304cb5SJason M. Bills         "ServiceTemporarilyUnavailable",
123670304cb5SJason M. Bills         {
1237271584abSEd Tanous             "Indicates the service is temporarily unavailable.",
123870304cb5SJason M. Bills             "The service is temporarily unavailable.  Retry in %1 seconds.",
1239271584abSEd Tanous             "Critical",
1240271584abSEd Tanous             1,
124170304cb5SJason M. Bills             {
124270304cb5SJason M. Bills                 "string",
124370304cb5SJason M. Bills             },
1244271584abSEd Tanous             "Wait for the indicated retry duration and retry the operation.",
124570304cb5SJason M. Bills         }},
124670304cb5SJason M. Bills     MessageEntry{
124770304cb5SJason M. Bills         "SessionLimitExceeded",
124870304cb5SJason M. Bills         {
1249d8d5fc3eSGunnar Mills             "Indicates that a session establishment was requested but the operation failed due to the number of simultaneous sessions exceeding the limit of the implementation.",
1250ba27e59eSEd Tanous             "The session establishment failed due to the number of simultaneous sessions exceeding the limit of the implementation.",
1251271584abSEd Tanous             "Critical",
1252271584abSEd Tanous             0,
1253271584abSEd Tanous             {},
1254ba27e59eSEd Tanous             "Reduce the number of other sessions before trying to establish the session or increase the limit of simultaneous sessions, if supported.",
125570304cb5SJason M. Bills         }},
125670304cb5SJason M. Bills     MessageEntry{
125770304cb5SJason M. Bills         "SessionTerminated",
125870304cb5SJason M. Bills         {
1259d8d5fc3eSGunnar Mills             "Indicates that the `DELETE` operation on the session resource resulted in the successful termination of the session.",
1260271584abSEd Tanous             "The session was successfully terminated.",
1261271584abSEd Tanous             "OK",
1262271584abSEd Tanous             0,
1263271584abSEd Tanous             {},
1264d8d5fc3eSGunnar Mills             "None.",
126570304cb5SJason M. Bills         }},
126670304cb5SJason M. Bills     MessageEntry{
126770304cb5SJason M. Bills         "SourceDoesNotSupportProtocol",
126870304cb5SJason M. Bills         {
1269d8d5fc3eSGunnar Mills             "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.",
1270ba27e59eSEd Tanous             "The other end of the connection at '%1' does not support the specified protocol %2.",
1271271584abSEd Tanous             "Critical",
1272271584abSEd Tanous             2,
127370304cb5SJason M. Bills             {
127470304cb5SJason M. Bills                 "string",
127570304cb5SJason M. Bills                 "string",
127670304cb5SJason M. Bills             },
1277271584abSEd Tanous             "Change protocols or URIs.",
127870304cb5SJason M. Bills         }},
1279ba27e59eSEd Tanous     MessageEntry{
1280ba27e59eSEd Tanous         "StrictAccountTypes",
1281fc8a2b87SEd Tanous         {
1282ba27e59eSEd Tanous             "Indicates the request failed because a set of `AccountTypes` or `OEMAccountTypes` was not accepted while `StrictAccountTypes` is set to `true`.",
1283d8d5fc3eSGunnar Mills             "The request could not be fulfilled with the account types included in property '%1' because the property StrictAccountTypes is set to true.",
1284fc8a2b87SEd Tanous             "Warning",
1285fc8a2b87SEd Tanous             1,
1286fc8a2b87SEd Tanous             {
1287fc8a2b87SEd Tanous                 "string",
1288fc8a2b87SEd Tanous             },
1289ba27e59eSEd Tanous             "Resubmit the request either with an acceptable set of AccountTypes and OEMAccountTypes or with StrictAccountTypes set to false.",
1290fc8a2b87SEd Tanous         }},
1291ba27e59eSEd Tanous     MessageEntry{
1292ba27e59eSEd Tanous         "StringValueTooLong",
129370304cb5SJason M. Bills         {
1294d8d5fc3eSGunnar Mills             "Indicates that a string value passed to the given resource was longer than the maximum allowed length.  An example is when an implementation has imposed a shorter maximum length than that allowed by the specification.",
1295fc8a2b87SEd Tanous             "The string '%1' exceeds the length limit %2.",
1296271584abSEd Tanous             "Warning",
1297271584abSEd Tanous             2,
129870304cb5SJason M. Bills             {
129970304cb5SJason M. Bills                 "string",
130070304cb5SJason M. Bills                 "number",
130170304cb5SJason M. Bills             },
130270304cb5SJason M. Bills             "Resubmit the request with an appropriate string length.",
130370304cb5SJason M. Bills         }},
1304ba27e59eSEd Tanous     MessageEntry{
130575ec825cSEd Tanous         "StringValueTooShort",
130675ec825cSEd Tanous         {
1307d8d5fc3eSGunnar Mills             "Indicates that a string value passed to the given resource was shorter than the minimum required length.  An example is when an implementation has imposed a greater minimum length than that required by the specification.",
130875ec825cSEd Tanous             "The string '%1' was under the minimum required length %2.",
130975ec825cSEd Tanous             "Warning",
131075ec825cSEd Tanous             2,
131175ec825cSEd Tanous             {
131275ec825cSEd Tanous                 "string",
131375ec825cSEd Tanous                 "number",
131475ec825cSEd Tanous             },
131575ec825cSEd Tanous             "Resubmit the request with an appropriate string length.",
131675ec825cSEd Tanous         }},
131775ec825cSEd Tanous     MessageEntry{
1318ba27e59eSEd Tanous         "SubscriptionTerminated",
1319e7808c93SGunnar Mills         {
1320d8d5fc3eSGunnar Mills             "An event subscription was terminated by the service.  No further events will be delivered.",
1321d8d5fc3eSGunnar Mills             "The event subscription was terminated.",
1322e7808c93SGunnar Mills             "OK",
1323e7808c93SGunnar Mills             0,
1324e7808c93SGunnar Mills             {},
1325d8d5fc3eSGunnar Mills             "None.",
1326e7808c93SGunnar Mills         }},
1327ba27e59eSEd Tanous     MessageEntry{
1328ba27e59eSEd Tanous         "Success",
132970304cb5SJason M. Bills         {
1330d8d5fc3eSGunnar Mills             "Indicates that all conditions of a successful operation were met.",
1331fc8a2b87SEd Tanous             "The request completed successfully.",
1332271584abSEd Tanous             "OK",
1333271584abSEd Tanous             0,
1334271584abSEd Tanous             {},
1335d8d5fc3eSGunnar Mills             "None.",
133670304cb5SJason M. Bills         }},
133770304cb5SJason M. Bills     MessageEntry{
1338fc8a2b87SEd Tanous         "UndeterminedFault",
1339fc8a2b87SEd Tanous         {
1340ba27e59eSEd Tanous             "Indicates that a fault or error condition exists but the source of the fault cannot be determined or is unknown to the service.",
1341d8d5fc3eSGunnar Mills             "An undetermined fault condition was reported by '%1'.",
1342fc8a2b87SEd Tanous             "Critical",
1343fc8a2b87SEd Tanous             1,
134483f984b5SSunitha Harish             {
134583f984b5SSunitha Harish                 "string",
134683f984b5SSunitha Harish             },
1347fc8a2b87SEd Tanous             "None.",
1348fc8a2b87SEd Tanous         }},
1349fc8a2b87SEd Tanous     MessageEntry{
135070304cb5SJason M. Bills         "UnrecognizedRequestBody",
135170304cb5SJason M. Bills         {
1352ba27e59eSEd Tanous             "Indicates that the service encountered an unrecognizable request body that could not even be interpreted as malformed JSON.",
1353ba27e59eSEd Tanous             "The service detected a malformed request body that it was unable to interpret.",
1354271584abSEd Tanous             "Warning",
1355271584abSEd Tanous             0,
1356271584abSEd Tanous             {},
1357271584abSEd Tanous             "Correct the request body and resubmit the request if it failed.",
135870304cb5SJason M. Bills         }},
13594d99bbb0SEd Tanous 
136070304cb5SJason M. Bills };
136130a3c431SEd Tanous 
136230a3c431SEd Tanous enum class Index
136330a3c431SEd Tanous {
136430a3c431SEd Tanous     accessDenied = 0,
136530a3c431SEd Tanous     accountForSessionNoLongerExists = 1,
136630a3c431SEd Tanous     accountModified = 2,
136730a3c431SEd Tanous     accountNotModified = 3,
136830a3c431SEd Tanous     accountRemoved = 4,
136930a3c431SEd Tanous     actionDeprecated = 5,
137030a3c431SEd Tanous     actionNotSupported = 6,
137130a3c431SEd Tanous     actionParameterDuplicate = 7,
137230a3c431SEd Tanous     actionParameterMissing = 8,
137330a3c431SEd Tanous     actionParameterNotSupported = 9,
137430a3c431SEd Tanous     actionParameterUnknown = 10,
1375f866686bSJiaqing Zhao     actionParameterValueConflict = 11,
1376f866686bSJiaqing Zhao     actionParameterValueError = 12,
1377f866686bSJiaqing Zhao     actionParameterValueFormatError = 13,
1378f866686bSJiaqing Zhao     actionParameterValueNotInList = 14,
1379d8d5fc3eSGunnar Mills     actionParameterValueOutOfRange = 15,
1380d8d5fc3eSGunnar Mills     actionParameterValueTypeError = 16,
1381d8d5fc3eSGunnar Mills     arraySizeTooLong = 17,
1382d8d5fc3eSGunnar Mills     arraySizeTooShort = 18,
1383d8d5fc3eSGunnar Mills     authenticationTokenRequired = 19,
1384d8d5fc3eSGunnar Mills     chassisPowerStateOffRequired = 20,
1385d8d5fc3eSGunnar Mills     chassisPowerStateOnRequired = 21,
1386d8d5fc3eSGunnar Mills     conditionInRelatedResource = 22,
1387d8d5fc3eSGunnar Mills     couldNotEstablishConnection = 23,
1388d8d5fc3eSGunnar Mills     createFailedMissingReqProperties = 24,
1389d8d5fc3eSGunnar Mills     createLimitReachedForResource = 25,
1390d8d5fc3eSGunnar Mills     created = 26,
1391d8d5fc3eSGunnar Mills     emptyJSON = 27,
1392d8d5fc3eSGunnar Mills     eventBufferExceeded = 28,
1393d8d5fc3eSGunnar Mills     eventSubscriptionLimitExceeded = 29,
1394d8d5fc3eSGunnar Mills     generalError = 30,
1395*b575caefSJishnu CM     generateSecretKeyRequired = 31,
1396*b575caefSJishnu CM     headerInvalid = 32,
1397*b575caefSJishnu CM     headerMissing = 33,
1398*b575caefSJishnu CM     insufficientPrivilege = 34,
1399*b575caefSJishnu CM     insufficientStorage = 35,
1400*b575caefSJishnu CM     internalError = 36,
1401*b575caefSJishnu CM     invalidIndex = 37,
1402*b575caefSJishnu CM     invalidJSON = 38,
1403*b575caefSJishnu CM     invalidObject = 39,
1404*b575caefSJishnu CM     invalidURI = 40,
1405*b575caefSJishnu CM     licenseRequired = 41,
1406*b575caefSJishnu CM     malformedJSON = 42,
1407*b575caefSJishnu CM     maximumErrorsExceeded = 43,
1408*b575caefSJishnu CM     missingOrMalformedPart = 44,
1409*b575caefSJishnu CM     networkNameResolutionNotConfigured = 45,
1410*b575caefSJishnu CM     networkNameResolutionNotSupported = 46,
1411*b575caefSJishnu CM     noOperation = 47,
1412*b575caefSJishnu CM     noValidSession = 48,
1413*b575caefSJishnu CM     oneTimePasscodeSent = 49,
1414*b575caefSJishnu CM     operationFailed = 50,
1415*b575caefSJishnu CM     operationNotAllowed = 51,
1416*b575caefSJishnu CM     operationTimeout = 52,
1417*b575caefSJishnu CM     passwordChangeRequired = 53,
1418*b575caefSJishnu CM     payloadTooLarge = 54,
1419*b575caefSJishnu CM     preconditionFailed = 55,
1420*b575caefSJishnu CM     preconditionRequired = 56,
1421*b575caefSJishnu CM     propertyDeprecated = 57,
1422*b575caefSJishnu CM     propertyDuplicate = 58,
1423*b575caefSJishnu CM     propertyMissing = 59,
1424*b575caefSJishnu CM     propertyModified = 60,
1425*b575caefSJishnu CM     propertyNotUpdated = 61,
1426*b575caefSJishnu CM     propertyNotWritable = 62,
1427*b575caefSJishnu CM     propertyUnknown = 63,
1428*b575caefSJishnu CM     propertyValueConflict = 64,
1429*b575caefSJishnu CM     propertyValueDeprecated = 65,
1430*b575caefSJishnu CM     propertyValueError = 66,
1431*b575caefSJishnu CM     propertyValueExternalConflict = 67,
1432*b575caefSJishnu CM     propertyValueFormatError = 68,
1433*b575caefSJishnu CM     propertyValueIncorrect = 69,
1434*b575caefSJishnu CM     propertyValueModified = 70,
1435*b575caefSJishnu CM     propertyValueNotInList = 71,
1436*b575caefSJishnu CM     propertyValueOutOfRange = 72,
1437*b575caefSJishnu CM     propertyValueResourceConflict = 73,
1438*b575caefSJishnu CM     propertyValueTypeError = 74,
1439*b575caefSJishnu CM     queryCombinationInvalid = 75,
1440*b575caefSJishnu CM     queryNotSupported = 76,
1441*b575caefSJishnu CM     queryNotSupportedOnOperation = 77,
1442*b575caefSJishnu CM     queryNotSupportedOnResource = 78,
1443*b575caefSJishnu CM     queryParameterOutOfRange = 79,
1444*b575caefSJishnu CM     queryParameterUnsupported = 80,
1445*b575caefSJishnu CM     queryParameterValueError = 81,
1446*b575caefSJishnu CM     queryParameterValueFormatError = 82,
1447*b575caefSJishnu CM     queryParameterValueTypeError = 83,
1448*b575caefSJishnu CM     resetRecommended = 84,
1449*b575caefSJishnu CM     resetRequired = 85,
1450*b575caefSJishnu CM     resourceAlreadyExists = 86,
1451*b575caefSJishnu CM     resourceAtUriInUnknownFormat = 87,
1452*b575caefSJishnu CM     resourceAtUriUnauthorized = 88,
1453*b575caefSJishnu CM     resourceCannotBeDeleted = 89,
1454*b575caefSJishnu CM     resourceCreationConflict = 90,
1455*b575caefSJishnu CM     resourceDeprecated = 91,
1456*b575caefSJishnu CM     resourceExhaustion = 92,
1457*b575caefSJishnu CM     resourceInStandby = 93,
1458*b575caefSJishnu CM     resourceInUse = 94,
1459*b575caefSJishnu CM     resourceMissingAtURI = 95,
1460*b575caefSJishnu CM     resourceNotFound = 96,
1461*b575caefSJishnu CM     resourceTypeIncompatible = 97,
1462*b575caefSJishnu CM     restrictedPrivilege = 98,
1463*b575caefSJishnu CM     restrictedRole = 99,
1464*b575caefSJishnu CM     serviceDisabled = 100,
1465*b575caefSJishnu CM     serviceInUnknownState = 101,
1466*b575caefSJishnu CM     serviceShuttingDown = 102,
1467*b575caefSJishnu CM     serviceTemporarilyUnavailable = 103,
1468*b575caefSJishnu CM     sessionLimitExceeded = 104,
1469*b575caefSJishnu CM     sessionTerminated = 105,
1470*b575caefSJishnu CM     sourceDoesNotSupportProtocol = 106,
1471*b575caefSJishnu CM     strictAccountTypes = 107,
1472*b575caefSJishnu CM     stringValueTooLong = 108,
1473*b575caefSJishnu CM     stringValueTooShort = 109,
1474*b575caefSJishnu CM     subscriptionTerminated = 110,
1475*b575caefSJishnu CM     success = 111,
1476*b575caefSJishnu CM     undeterminedFault = 112,
1477*b575caefSJishnu CM     unrecognizedRequestBody = 113,
147830a3c431SEd Tanous };
1479fffb8c1fSEd Tanous } // namespace redfish::registries::base
1480