xref: /openbmc/bmcweb/features/redfish/include/registries/base_message_registry.hpp (revision 75ec825c9aa030568fc97b47dd34fee5c9405d73)
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 = {
21*75ec825cSEd Tanous     "Copyright 2014-2023 DMTF. All rights reserved.",
22f866686bSJiaqing Zhao     "#MessageRegistry.v1_5_0.MessageRegistry",
23*75ec825cSEd Tanous     "Base.1.16.0",
24271584abSEd Tanous     "Base Message Registry",
25271584abSEd Tanous     "en",
26271584abSEd Tanous     "This registry defines the base messages for Redfish",
27271584abSEd Tanous     "Base",
28*75ec825cSEd Tanous     "1.16.0",
29271584abSEd Tanous     "DMTF",
30351d3063SJason M. Bills };
31e51c710eSJames Feist constexpr const char* url =
32*75ec825cSEd Tanous     "https://redfish.dmtf.org/registries/Base.1.16.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         {
51ba27e59eSEd Tanous             "Indicates that the account for the session has been removed, thus the session has been removed as well.",
52ba27e59eSEd Tanous             "The account for the current session has been removed, thus the current session has been 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             {},
66271584abSEd Tanous             "No resolution is required.",
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             {},
86271584abSEd Tanous             "No resolution is required.",
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         {
103ba27e59eSEd Tanous             "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             },
110ba27e59eSEd Tanous             "The action supplied cannot be resubmitted to the implementation.  Perhaps the action was invalid, the wrong resource was the target or the implementation documentation may be of assistance.",
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         {
167f866686bSJiaqing Zhao             "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             },
175f866686bSJiaqing Zhao             "No resolution is required.",
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         {
193ba27e59eSEd Tanous             "Indicates that a parameter was given the correct value type but the value of that parameter was not supported.  This includes the value size or length has been exceeded.",
194ba27e59eSEd Tanous             "The value '%1' for the parameter %2 in the action %3 is of a different format than 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{
219ba27e59eSEd Tanous         "ActionParameterValueTypeError",
22070304cb5SJason M. Bills         {
221ba27e59eSEd 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.",
222ba27e59eSEd Tanous             "The value '%1' for the parameter %2 in the action %3 is of a different type than the parameter can accept.",
223271584abSEd Tanous             "Warning",
224271584abSEd Tanous             3,
22570304cb5SJason M. Bills             {
22670304cb5SJason M. Bills                 "string",
22770304cb5SJason M. Bills                 "string",
22870304cb5SJason M. Bills                 "string",
22970304cb5SJason M. Bills             },
230ba27e59eSEd Tanous             "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
23170304cb5SJason M. Bills         }},
23270304cb5SJason M. Bills     MessageEntry{
233*75ec825cSEd Tanous         "ArraySizeTooLong",
234*75ec825cSEd Tanous         {
235*75ec825cSEd Tanous             "Indicates that the size of the array exceeded the maximum number of elements.",
236*75ec825cSEd Tanous             "The array provided for property %1 exceeds the size limit %2.",
237*75ec825cSEd Tanous             "Warning",
238*75ec825cSEd Tanous             2,
239*75ec825cSEd Tanous             {
240*75ec825cSEd Tanous                 "string",
241*75ec825cSEd Tanous                 "number",
242*75ec825cSEd Tanous             },
243*75ec825cSEd Tanous             "Resubmit the request with an appropriate array size.",
244*75ec825cSEd Tanous         }},
245*75ec825cSEd Tanous     MessageEntry{
246*75ec825cSEd Tanous         "ArraySizeTooShort",
247*75ec825cSEd Tanous         {
248*75ec825cSEd Tanous             "Indicates that the size of the array is under the minimum number of elements.",
249*75ec825cSEd Tanous             "The array provided for property %1 is under the minimum size limit %2.",
250*75ec825cSEd Tanous             "Warning",
251*75ec825cSEd Tanous             2,
252*75ec825cSEd Tanous             {
253*75ec825cSEd Tanous                 "string",
254*75ec825cSEd Tanous                 "number",
255*75ec825cSEd Tanous             },
256*75ec825cSEd Tanous             "Resubmit the request with an appropriate array size.",
257*75ec825cSEd Tanous         }},
258*75ec825cSEd Tanous     MessageEntry{
259*75ec825cSEd Tanous         "AuthenticationTokenRequired",
260*75ec825cSEd Tanous         {
261*75ec825cSEd Tanous             "Indicates that the request could not be performed because an authentication token was not provided.",
262*75ec825cSEd Tanous             "The request could not be performed because an authentication token was not provided.",
263*75ec825cSEd Tanous             "Critical",
264*75ec825cSEd Tanous             0,
265*75ec825cSEd Tanous             {},
266*75ec825cSEd Tanous             "Obtain an authentication token and resubmit the request.",
267*75ec825cSEd Tanous         }},
268*75ec825cSEd Tanous     MessageEntry{
269e7808c93SGunnar Mills         "ChassisPowerStateOffRequired",
270e7808c93SGunnar Mills         {
271ba27e59eSEd Tanous             "Indicates that the request requires a specified chassis to be powered off.",
272ba27e59eSEd Tanous             "The Chassis with Id '%1' requires to be powered off to perform this request.",
273e7808c93SGunnar Mills             "Warning",
274e7808c93SGunnar Mills             1,
275e7808c93SGunnar Mills             {
276e7808c93SGunnar Mills                 "string",
277e7808c93SGunnar Mills             },
278fc8a2b87SEd Tanous             "Power off the specified chassis and resubmit the request.",
279e7808c93SGunnar Mills         }},
280ba27e59eSEd Tanous     MessageEntry{
281ba27e59eSEd Tanous         "ChassisPowerStateOnRequired",
282e7808c93SGunnar Mills         {
283ba27e59eSEd Tanous             "Indicates that the request requires a specified chassis to be powered on.",
284ba27e59eSEd Tanous             "The chassis with Id '%1' requires to be powered on to perform this request.",
285e7808c93SGunnar Mills             "Warning",
286e7808c93SGunnar Mills             1,
287e7808c93SGunnar Mills             {
288e7808c93SGunnar Mills                 "string",
289e7808c93SGunnar Mills             },
290fc8a2b87SEd Tanous             "Power on the specified chassis and resubmit the request.",
291fc8a2b87SEd Tanous         }},
292ba27e59eSEd Tanous     MessageEntry{
293ba27e59eSEd Tanous         "ConditionInRelatedResource",
294fc8a2b87SEd Tanous         {
295ba27e59eSEd Tanous             "Indicates that one or more fault or error conditions exist in a related resource.",
296ba27e59eSEd Tanous             "One or more conditions exist in a related resource.  See the OriginOfCondition property.",
297fc8a2b87SEd Tanous             "Warning",
298fc8a2b87SEd Tanous             0,
299fc8a2b87SEd Tanous             {},
300ba27e59eSEd Tanous             "Check the Conditions array in the resource shown in the OriginOfCondition property to determine the conditions that need attention.",
301e7808c93SGunnar Mills         }},
302e7808c93SGunnar Mills     MessageEntry{
30370304cb5SJason M. Bills         "CouldNotEstablishConnection",
30470304cb5SJason M. Bills         {
305ba27e59eSEd Tanous             "Indicates that the attempt to access the resource, file, or image at the URI was unsuccessful because a session could not be established.",
306fc8a2b87SEd Tanous             "The service failed to establish a connection with the URI '%1'.",
307271584abSEd Tanous             "Critical",
308271584abSEd Tanous             1,
30970304cb5SJason M. Bills             {
31070304cb5SJason M. Bills                 "string",
31170304cb5SJason M. Bills             },
312ba27e59eSEd Tanous             "Ensure that the URI contains a valid and reachable node name, protocol information and other URI components.",
31370304cb5SJason M. Bills         }},
31470304cb5SJason M. Bills     MessageEntry{
31570304cb5SJason M. Bills         "CreateFailedMissingReqProperties",
31670304cb5SJason M. Bills         {
317ba27e59eSEd Tanous             "Indicates that a create was attempted on a resource but that properties that are required for the create operation were missing from the request.",
318ba27e59eSEd Tanous             "The create operation failed because the required property %1 was missing from the request.",
319271584abSEd Tanous             "Critical",
320271584abSEd Tanous             1,
32170304cb5SJason M. Bills             {
32270304cb5SJason M. Bills                 "string",
32370304cb5SJason M. Bills             },
324ba27e59eSEd Tanous             "Correct the body to include the required property with a valid value and resubmit the request if the operation failed.",
32570304cb5SJason M. Bills         }},
326ba27e59eSEd Tanous     MessageEntry{
327ba27e59eSEd Tanous         "CreateLimitReachedForResource",
32870304cb5SJason M. Bills         {
329ba27e59eSEd Tanous             "Indicates that no more resources can be created on the resource as it has reached its create limit.",
330ba27e59eSEd Tanous             "The create operation failed because the resource has reached the limit of possible resources.",
331271584abSEd Tanous             "Critical",
332271584abSEd Tanous             0,
333271584abSEd Tanous             {},
334ba27e59eSEd Tanous             "Either delete resources and resubmit the request if the operation failed or do not resubmit the request.",
33570304cb5SJason M. Bills         }},
336ba27e59eSEd Tanous     MessageEntry{
337ba27e59eSEd Tanous         "Created",
33870304cb5SJason M. Bills         {
339ba27e59eSEd Tanous             "Indicates that all conditions of a successful create operation have been met.",
340fc8a2b87SEd Tanous             "The resource has been created successfully.",
341271584abSEd Tanous             "OK",
342271584abSEd Tanous             0,
343271584abSEd Tanous             {},
344fc8a2b87SEd Tanous             "None.",
34570304cb5SJason M. Bills         }},
34670304cb5SJason M. Bills     MessageEntry{
34770304cb5SJason M. Bills         "EmptyJSON",
34870304cb5SJason M. Bills         {
349ba27e59eSEd Tanous             "Indicates that the request body contained an empty JSON object when one or more properties are expected in the body.",
350ba27e59eSEd Tanous             "The request body submitted contained an empty JSON object and the service is unable to process it.",
351271584abSEd Tanous             "Warning",
352271584abSEd Tanous             0,
353271584abSEd Tanous             {},
35470304cb5SJason M. Bills             "Add properties in the JSON object and resubmit the request.",
35570304cb5SJason M. Bills         }},
35670304cb5SJason M. Bills     MessageEntry{
357f866686bSJiaqing Zhao         "EventBufferExceeded",
358f866686bSJiaqing Zhao         {
359f866686bSJiaqing Zhao             "Indicates undelivered events may have been lost due to a lack of buffer space in the service.",
360f866686bSJiaqing Zhao             "Undelivered events may have been lost due to exceeding the event buffer.",
361f866686bSJiaqing Zhao             "Warning",
362f866686bSJiaqing Zhao             0,
363f866686bSJiaqing Zhao             {},
364f866686bSJiaqing Zhao             "None.",
365f866686bSJiaqing Zhao         }},
366f866686bSJiaqing Zhao     MessageEntry{
36770304cb5SJason M. Bills         "EventSubscriptionLimitExceeded",
36870304cb5SJason M. Bills         {
369ba27e59eSEd Tanous             "Indicates that a event subscription establishment has been requested but the operation failed due to the number of simultaneous connection exceeding the limit of the implementation.",
370ba27e59eSEd Tanous             "The event subscription failed due to the number of simultaneous subscriptions exceeding the limit of the implementation.",
371271584abSEd Tanous             "Critical",
372271584abSEd Tanous             0,
373271584abSEd Tanous             {},
374ba27e59eSEd Tanous             "Reduce the number of other subscriptions before trying to establish the event subscription or increase the limit of simultaneous subscriptions, if supported.",
37570304cb5SJason M. Bills         }},
37670304cb5SJason M. Bills     MessageEntry{
37770304cb5SJason M. Bills         "GeneralError",
37870304cb5SJason M. Bills         {
379ba27e59eSEd 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.",
380ba27e59eSEd Tanous             "A general error has occurred.  See Resolution for information on how to resolve the error, or @Message.ExtendedInfo if Resolution is not provided.",
381271584abSEd Tanous             "Critical",
382271584abSEd Tanous             0,
383271584abSEd Tanous             {},
384271584abSEd Tanous             "None.",
38570304cb5SJason M. Bills         }},
38670304cb5SJason M. Bills     MessageEntry{
387f866686bSJiaqing Zhao         "HeaderInvalid",
388f866686bSJiaqing Zhao         {
389f866686bSJiaqing Zhao             "Indicates that a request header is invalid.",
390f866686bSJiaqing Zhao             "Header '%1' is invalid.",
391f866686bSJiaqing Zhao             "Critical",
392f866686bSJiaqing Zhao             1,
393f866686bSJiaqing Zhao             {
394f866686bSJiaqing Zhao                 "string",
395f866686bSJiaqing Zhao             },
396f866686bSJiaqing Zhao             "Resubmit the request with a valid request header.",
397f866686bSJiaqing Zhao         }},
398f866686bSJiaqing Zhao     MessageEntry{
399f866686bSJiaqing Zhao         "HeaderMissing",
400f866686bSJiaqing Zhao         {
401f866686bSJiaqing Zhao             "Indicates that a required request header is missing.",
402f866686bSJiaqing Zhao             "Required header '%1' is missing in the request.",
403f866686bSJiaqing Zhao             "Critical",
404f866686bSJiaqing Zhao             1,
405f866686bSJiaqing Zhao             {
406f866686bSJiaqing Zhao                 "string",
407f866686bSJiaqing Zhao             },
408f866686bSJiaqing Zhao             "Resubmit the request with the required request header.",
409f866686bSJiaqing Zhao         }},
410f866686bSJiaqing Zhao     MessageEntry{
41170304cb5SJason M. Bills         "InsufficientPrivilege",
41270304cb5SJason M. Bills         {
413ba27e59eSEd Tanous             "Indicates that the credentials associated with the established session do not have sufficient privileges for the requested operation.",
414ba27e59eSEd Tanous             "There are insufficient privileges for the account or credentials associated with the current session to perform the requested operation.",
415271584abSEd Tanous             "Critical",
416271584abSEd Tanous             0,
417271584abSEd Tanous             {},
418ba27e59eSEd Tanous             "Either abandon the operation or change the associated access rights and resubmit the request if the operation failed.",
41970304cb5SJason M. Bills         }},
42070304cb5SJason M. Bills     MessageEntry{
421f866686bSJiaqing Zhao         "InsufficientStorage",
422f866686bSJiaqing Zhao         {
423f866686bSJiaqing Zhao             "Indicates that the operation could not be completed due to a lack of storage or memory avaiable to the service.",
424f866686bSJiaqing Zhao             "Insufficent storage or memory available to complete the request.",
425f866686bSJiaqing Zhao             "Critical",
426f866686bSJiaqing Zhao             0,
427f866686bSJiaqing Zhao             {},
428f866686bSJiaqing Zhao             "Increase the free storage space available to the service and resubmit the request.",
429f866686bSJiaqing Zhao         }},
430f866686bSJiaqing Zhao     MessageEntry{
43170304cb5SJason M. Bills         "InternalError",
43270304cb5SJason M. Bills         {
433ba27e59eSEd Tanous             "Indicates that the request failed for an unknown internal error but that the service is still operational.",
434ba27e59eSEd Tanous             "The request failed due to an internal service error.  The service is still operational.",
435271584abSEd Tanous             "Critical",
436271584abSEd Tanous             0,
437271584abSEd Tanous             {},
438ba27e59eSEd Tanous             "Resubmit the request.  If the problem persists, consider resetting the service.",
43970304cb5SJason M. Bills         }},
440ba27e59eSEd Tanous     MessageEntry{
441ba27e59eSEd Tanous         "InvalidIndex",
44270304cb5SJason M. Bills         {
443fc8a2b87SEd Tanous             "The index is not valid.",
444fc8a2b87SEd Tanous             "The index %1 is not a valid offset into the array.",
445271584abSEd Tanous             "Warning",
446271584abSEd Tanous             1,
44770304cb5SJason M. Bills             {
44870304cb5SJason M. Bills                 "number",
44970304cb5SJason M. Bills             },
450ba27e59eSEd Tanous             "Verify the index value provided is within the bounds of the array.",
45170304cb5SJason M. Bills         }},
45270304cb5SJason M. Bills     MessageEntry{
453fc8a2b87SEd Tanous         "InvalidJSON",
454fc8a2b87SEd Tanous         {
455fc8a2b87SEd Tanous             "Indicates that the request body contains invalid JSON.",
456f866686bSJiaqing Zhao             "The request body submitted is invalid JSON starting at line %1 and could not be parsed by the receiving service.",
457fc8a2b87SEd Tanous             "Critical",
458fc8a2b87SEd Tanous             1,
459fc8a2b87SEd Tanous             {
460fc8a2b87SEd Tanous                 "number",
461fc8a2b87SEd Tanous             },
462ba27e59eSEd Tanous             "Ensure that the request body is valid JSON and resubmit the request.",
463fc8a2b87SEd Tanous         }},
464fc8a2b87SEd Tanous     MessageEntry{
46570304cb5SJason M. Bills         "InvalidObject",
46670304cb5SJason M. Bills         {
467ba27e59eSEd Tanous             "Indicates that the object in question is invalid according to the implementation.  Examples include a firmware update malformed URI.",
468fc8a2b87SEd Tanous             "The object at '%1' is invalid.",
469271584abSEd Tanous             "Critical",
470271584abSEd Tanous             1,
47170304cb5SJason M. Bills             {
47270304cb5SJason M. Bills                 "string",
47370304cb5SJason M. Bills             },
474ba27e59eSEd Tanous             "Either the object is malformed or the URI is not correct.  Correct the condition and resubmit the request if it failed.",
47570304cb5SJason M. Bills         }},
476ba27e59eSEd Tanous     MessageEntry{
477ba27e59eSEd Tanous         "InvalidURI",
478fc8a2b87SEd Tanous         {
479ba27e59eSEd Tanous             "Indicates that the operation encountered a URI that does not correspond to a valid resource.",
480fc8a2b87SEd Tanous             "The URI %1 was not found.",
481fc8a2b87SEd Tanous             "Critical",
482fc8a2b87SEd Tanous             1,
483fc8a2b87SEd Tanous             {
484fc8a2b87SEd Tanous                 "string",
485fc8a2b87SEd Tanous             },
486fc8a2b87SEd Tanous             "Provide a valid URI and resubmit the request.",
487fc8a2b87SEd Tanous         }},
488ba27e59eSEd Tanous     MessageEntry{
489*75ec825cSEd Tanous         "LicenseRequired",
490*75ec825cSEd Tanous         {
491*75ec825cSEd Tanous             "Indicates that a license is required to perform the requested operation.",
492*75ec825cSEd Tanous             "A license is required for this operation: %1.",
493*75ec825cSEd Tanous             "Critical",
494*75ec825cSEd Tanous             1,
495*75ec825cSEd Tanous             {
496*75ec825cSEd Tanous                 "string",
497*75ec825cSEd Tanous             },
498*75ec825cSEd Tanous             "Install the requested license and resubmit the request.",
499*75ec825cSEd Tanous         }},
500*75ec825cSEd Tanous     MessageEntry{
501ba27e59eSEd Tanous         "MalformedJSON",
50270304cb5SJason M. Bills         {
503fc8a2b87SEd Tanous             "Indicates that the request body was malformed JSON.",
504ba27e59eSEd Tanous             "The request body submitted was malformed JSON and could not be parsed by the receiving service.",
505271584abSEd Tanous             "Critical",
506271584abSEd Tanous             0,
507271584abSEd Tanous             {},
508ba27e59eSEd Tanous             "Ensure that the request body is valid JSON and resubmit the request.",
50970304cb5SJason M. Bills         }},
51070304cb5SJason M. Bills     MessageEntry{
511e7808c93SGunnar Mills         "MaximumErrorsExceeded",
512e7808c93SGunnar Mills         {
513ba27e59eSEd Tanous             "Indicates that sufficient errors have occurred that the reporting service cannot return them all.",
514e7808c93SGunnar Mills             "Too many errors have occurred to report them all.",
515e7808c93SGunnar Mills             "Critical",
516e7808c93SGunnar Mills             0,
517e7808c93SGunnar Mills             {},
518e7808c93SGunnar Mills             "Resolve other reported errors and retry the current operation.",
519e7808c93SGunnar Mills         }},
520e7808c93SGunnar Mills     MessageEntry{
521f866686bSJiaqing Zhao         "MissingOrMalformedPart",
522f866686bSJiaqing Zhao         {
523f866686bSJiaqing Zhao             "Indicates that a multipart request is missing a required part or contains malformed parts.",
524f866686bSJiaqing Zhao             "The multipart request contains malformed parts or is missing required parts.",
525f866686bSJiaqing Zhao             "Critical",
526f866686bSJiaqing Zhao             0,
527f866686bSJiaqing Zhao             {},
528f866686bSJiaqing Zhao             "Add any missing required parts or correct the malformed parts and resubmit the request.",
529f866686bSJiaqing Zhao         }},
530f866686bSJiaqing Zhao     MessageEntry{
53183f984b5SSunitha Harish         "NetworkNameResolutionNotConfigured",
53283f984b5SSunitha Harish         {
533ba27e59eSEd Tanous             "Indicates that network-based name resolution has not been configured on the service.",
53483f984b5SSunitha Harish             "Network name resolution has not been configured on this service.",
53583f984b5SSunitha Harish             "Warning",
53683f984b5SSunitha Harish             0,
53783f984b5SSunitha Harish             {},
538ba27e59eSEd Tanous             "Configure the network name resolution protocol support on this service, or update any URI values to include an IP address instead of a network name and resubmit the request.",
53983f984b5SSunitha Harish         }},
540ba27e59eSEd Tanous     MessageEntry{
541ba27e59eSEd Tanous         "NetworkNameResolutionNotSupported",
54283f984b5SSunitha Harish         {
543ba27e59eSEd Tanous             "Indicates the service does not support network-based name resolution.",
544ba27e59eSEd Tanous             "Resolution of network-based names is not supported by this service.",
54583f984b5SSunitha Harish             "Warning",
54683f984b5SSunitha Harish             0,
54783f984b5SSunitha Harish             {},
548ba27e59eSEd Tanous             "Update any URI values to include an IP address instead of a network name and resubmit the request.",
54983f984b5SSunitha Harish         }},
55083f984b5SSunitha Harish     MessageEntry{
55170304cb5SJason M. Bills         "NoOperation",
55270304cb5SJason M. Bills         {
553ba27e59eSEd Tanous             "Indicates that the requested operation will not perform any changes on the service.",
554ba27e59eSEd Tanous             "The request body submitted contain no data to act upon and no changes to the resource took place.",
555271584abSEd Tanous             "Warning",
556271584abSEd Tanous             0,
557271584abSEd Tanous             {},
55870304cb5SJason M. Bills             "Add properties in the JSON object and resubmit the request.",
55970304cb5SJason M. Bills         }},
56070304cb5SJason M. Bills     MessageEntry{
56170304cb5SJason M. Bills         "NoValidSession",
56270304cb5SJason M. Bills         {
563ba27e59eSEd Tanous             "Indicates that the operation failed because a valid session is required in order to access any resources.",
564271584abSEd Tanous             "There is no valid session established with the implementation.",
565271584abSEd Tanous             "Critical",
566271584abSEd Tanous             0,
567271584abSEd Tanous             {},
568e7808c93SGunnar Mills             "Establish a session before attempting any operations.",
569e7808c93SGunnar Mills         }},
570e7808c93SGunnar Mills     MessageEntry{
571e7808c93SGunnar Mills         "OperationFailed",
572e7808c93SGunnar Mills         {
573ba27e59eSEd Tanous             "Indicates that one of the internal operations necessary to complete the request failed.  Examples of this are when an internal service provider is unable to complete the request, such as in aggregation or RDE.",
574ba27e59eSEd Tanous             "An error occurred internal to the service as part of the overall request.  Partial results may have been returned.",
575e7808c93SGunnar Mills             "Warning",
576e7808c93SGunnar Mills             0,
577e7808c93SGunnar Mills             {},
578ba27e59eSEd Tanous             "Resubmit the request.  If the problem persists, consider resetting the service or provider.",
579e7808c93SGunnar Mills         }},
580e7808c93SGunnar Mills     MessageEntry{
581f866686bSJiaqing Zhao         "OperationNotAllowed",
582f866686bSJiaqing Zhao         {
583f866686bSJiaqing Zhao             "Indicates that the HTTP method in the request is not allowed on this resource.",
584f866686bSJiaqing Zhao             "The HTTP method is not allowed on this resource.",
585f866686bSJiaqing Zhao             "Critical",
586f866686bSJiaqing Zhao             0,
587f866686bSJiaqing Zhao             {},
588f866686bSJiaqing Zhao             "None.",
589f866686bSJiaqing Zhao         }},
590f866686bSJiaqing Zhao     MessageEntry{
591ba27e59eSEd Tanous         "OperationTimeout",
592e7808c93SGunnar Mills         {
593ba27e59eSEd Tanous             "Indicates that one of the internal operations necessary to complete the request timed out.  Examples of this are when an internal service provider is unable to complete the request, such as in aggregation or RDE.",
594ba27e59eSEd Tanous             "A timeout internal to the service occured as part of the request.  Partial results may have been returned.",
595ba27e59eSEd Tanous             "Warning",
596ba27e59eSEd Tanous             0,
597ba27e59eSEd Tanous             {},
598ba27e59eSEd Tanous             "Resubmit the request.  If the problem persists, consider resetting the service or provider.",
599ba27e59eSEd Tanous         }},
6004d99bbb0SEd Tanous     MessageEntry{
6014d99bbb0SEd Tanous         "PasswordChangeRequired",
602ba27e59eSEd Tanous         {
603ba27e59eSEd Tanous             "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.",
604ba27e59eSEd 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.",
605e7808c93SGunnar Mills             "Critical",
606e7808c93SGunnar Mills             1,
607e7808c93SGunnar Mills             {
608e7808c93SGunnar Mills                 "string",
609e7808c93SGunnar Mills             },
610ba27e59eSEd Tanous             "Change the password for this account using a PATCH to the Password property at the URI provided.",
611e7808c93SGunnar Mills         }},
612ba27e59eSEd Tanous     MessageEntry{
613f866686bSJiaqing Zhao         "PayloadTooLarge",
614f866686bSJiaqing Zhao         {
615f866686bSJiaqing Zhao             "Indicates that the supplied payload is too large to be accepted by the service.",
616f866686bSJiaqing Zhao             "The supplied payload exceeds the maximum size supported by the service.",
617f866686bSJiaqing Zhao             "Critical",
618f866686bSJiaqing Zhao             0,
619f866686bSJiaqing Zhao             {},
620f866686bSJiaqing Zhao             "Check that the supplied payload is correct and supported by this service.",
621f866686bSJiaqing Zhao         }},
622f866686bSJiaqing Zhao     MessageEntry{
623ba27e59eSEd Tanous         "PreconditionFailed",
624e7808c93SGunnar Mills         {
625ba27e59eSEd Tanous             "Indicates that the ETag supplied did not match the current ETag of the resource.",
626ba27e59eSEd Tanous             "The ETag supplied did not match the ETag required to change this resource.",
627e7808c93SGunnar Mills             "Critical",
628e7808c93SGunnar Mills             0,
629e7808c93SGunnar Mills             {},
630e7808c93SGunnar Mills             "Try the operation again using the appropriate ETag.",
631e7808c93SGunnar Mills         }},
632ba27e59eSEd Tanous     MessageEntry{
633ba27e59eSEd Tanous         "PreconditionRequired",
634e7808c93SGunnar Mills         {
635ba27e59eSEd Tanous             "Indicates that the request did not provide the required precondition such as an `If-Match` or `If-None-Match` header, or `@odata.etag` annotations.",
636ba27e59eSEd Tanous             "A precondition header or annotation is required to change this resource.",
637e7808c93SGunnar Mills             "Critical",
638e7808c93SGunnar Mills             0,
639e7808c93SGunnar Mills             {},
640ba27e59eSEd Tanous             "Try the operation again using an If-Match or If-None-Match header and appropriate ETag.",
64170304cb5SJason M. Bills         }},
642fc8a2b87SEd Tanous     MessageEntry{
643fc8a2b87SEd Tanous         "PropertyDeprecated",
644fc8a2b87SEd Tanous         {
645fc8a2b87SEd Tanous             "Indicates the property is deprecated.",
646fc8a2b87SEd Tanous             "The deprecated property %1 was included in the request body.",
647fc8a2b87SEd Tanous             "Warning",
648fc8a2b87SEd Tanous             1,
649fc8a2b87SEd Tanous             {
650fc8a2b87SEd Tanous                 "string",
651fc8a2b87SEd Tanous             },
652fc8a2b87SEd Tanous             "Refer to the schema guide for more information.",
653fc8a2b87SEd Tanous         }},
654ba27e59eSEd Tanous     MessageEntry{
655ba27e59eSEd Tanous         "PropertyDuplicate",
65670304cb5SJason M. Bills         {
657ba27e59eSEd Tanous             "Indicates that a duplicate property was included in the request body.",
658271584abSEd Tanous             "The property %1 was duplicated in the request.",
659271584abSEd Tanous             "Warning",
660271584abSEd Tanous             1,
66170304cb5SJason M. Bills             {
66270304cb5SJason M. Bills                 "string",
66370304cb5SJason M. Bills             },
664ba27e59eSEd Tanous             "Remove the duplicate property from the request body and resubmit the request if the operation failed.",
66570304cb5SJason M. Bills         }},
66670304cb5SJason M. Bills     MessageEntry{
66770304cb5SJason M. Bills         "PropertyMissing",
66870304cb5SJason M. Bills         {
669ba27e59eSEd Tanous             "Indicates that a required property was not supplied as part of the request.",
670ba27e59eSEd Tanous             "The property %1 is a required property and must be included in the request.",
671271584abSEd Tanous             "Warning",
672271584abSEd Tanous             1,
67370304cb5SJason M. Bills             {
67470304cb5SJason M. Bills                 "string",
67570304cb5SJason M. Bills             },
676ba27e59eSEd Tanous             "Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.",
67770304cb5SJason M. Bills         }},
678ba27e59eSEd Tanous     MessageEntry{
679f866686bSJiaqing Zhao         "PropertyNotUpdated",
680f866686bSJiaqing Zhao         {
681f866686bSJiaqing Zhao             "Indicates that a property was not updated due to an internal service error, but the service is still functional.",
682f866686bSJiaqing Zhao             "The property %1 was not updated due to an internal service error.  The service is still operational.",
683f866686bSJiaqing Zhao             "Critical",
684f866686bSJiaqing Zhao             1,
685f866686bSJiaqing Zhao             {
686f866686bSJiaqing Zhao                 "string",
687f866686bSJiaqing Zhao             },
688f866686bSJiaqing Zhao             "Resubmit the request.  If the problem persists, check for additional messages and consider resetting the service.",
689f866686bSJiaqing Zhao         }},
690f866686bSJiaqing Zhao     MessageEntry{
691ba27e59eSEd Tanous         "PropertyNotWritable",
69270304cb5SJason M. Bills         {
693ba27e59eSEd Tanous             "Indicates that a property was given a value in the request body, but the property is a readonly property.",
694ba27e59eSEd Tanous             "The property %1 is a read only property and cannot be assigned a value.",
695271584abSEd Tanous             "Warning",
696271584abSEd Tanous             1,
69770304cb5SJason M. Bills             {
69870304cb5SJason M. Bills                 "string",
69970304cb5SJason M. Bills             },
700ba27e59eSEd Tanous             "Remove the property from the request body and resubmit the request if the operation failed.",
70170304cb5SJason M. Bills         }},
702ba27e59eSEd Tanous     MessageEntry{
703ba27e59eSEd Tanous         "PropertyUnknown",
70470304cb5SJason M. Bills         {
705ba27e59eSEd Tanous             "Indicates that an unknown property was included in the request body.",
706ba27e59eSEd Tanous             "The property %1 is not in the list of valid properties for the resource.",
707271584abSEd Tanous             "Warning",
708271584abSEd Tanous             1,
70970304cb5SJason M. Bills             {
71070304cb5SJason M. Bills                 "string",
71170304cb5SJason M. Bills             },
712ba27e59eSEd Tanous             "Remove the unknown property from the request body and resubmit the request if the operation failed.",
71370304cb5SJason M. Bills         }},
714e7808c93SGunnar Mills     MessageEntry{
715e7808c93SGunnar Mills         "PropertyValueConflict",
716e7808c93SGunnar Mills         {
717ba27e59eSEd Tanous             "Indicates that the requested write of a property value could not be completed, because of a conflict with another property value.",
718ba27e59eSEd Tanous             "The property '%1' could not be written because its value would conflict with the value of the '%2' property.",
719e7808c93SGunnar Mills             "Warning",
720e7808c93SGunnar Mills             2,
721e7808c93SGunnar Mills             {
722e7808c93SGunnar Mills                 "string",
723e7808c93SGunnar Mills                 "string",
724e7808c93SGunnar Mills             },
725e7808c93SGunnar Mills             "No resolution is required.",
726e7808c93SGunnar Mills         }},
727ba27e59eSEd Tanous     MessageEntry{
728ba27e59eSEd Tanous         "PropertyValueDeprecated",
729fc8a2b87SEd Tanous         {
730fc8a2b87SEd Tanous             "Indicates that a property was given a deprecated value.",
731fc8a2b87SEd Tanous             "The value '%1' for the property %2 is deprecated.",
732fc8a2b87SEd Tanous             "Warning",
733f866686bSJiaqing Zhao             2,
734fc8a2b87SEd Tanous             {
735fc8a2b87SEd Tanous                 "string",
736fc8a2b87SEd Tanous                 "string",
737fc8a2b87SEd Tanous             },
738fc8a2b87SEd Tanous             "Refer to the schema guide for more information.",
739fc8a2b87SEd Tanous         }},
740ba27e59eSEd Tanous     MessageEntry{
741ba27e59eSEd Tanous         "PropertyValueError",
74283f984b5SSunitha Harish         {
74383f984b5SSunitha Harish             "Indicates that a property was given an invalid value.",
74483f984b5SSunitha Harish             "The value provided for the property %1 is not valid.",
74583f984b5SSunitha Harish             "Warning",
74683f984b5SSunitha Harish             1,
74783f984b5SSunitha Harish             {
74883f984b5SSunitha Harish                 "string",
74983f984b5SSunitha Harish             },
750ba27e59eSEd Tanous             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
75183f984b5SSunitha Harish         }},
752fc8a2b87SEd Tanous     MessageEntry{
753fc8a2b87SEd Tanous         "PropertyValueExternalConflict",
754fc8a2b87SEd Tanous         {
755ba27e59eSEd Tanous             "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.",
756ba27e59eSEd 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.",
757fc8a2b87SEd Tanous             "Warning",
758fc8a2b87SEd Tanous             2,
759fc8a2b87SEd Tanous             {
760fc8a2b87SEd Tanous                 "string",
761fc8a2b87SEd Tanous                 "string",
762fc8a2b87SEd Tanous             },
763fc8a2b87SEd Tanous             "No resolution is required.",
764fc8a2b87SEd Tanous         }},
765ba27e59eSEd Tanous     MessageEntry{
766ba27e59eSEd Tanous         "PropertyValueFormatError",
767271584abSEd Tanous         {
768ba27e59eSEd Tanous             "Indicates that a property was given the correct value type but the value of that property was not supported.",
769ba27e59eSEd Tanous             "The value '%1' for the property %2 is of a different format than the property can accept.",
770271584abSEd Tanous             "Warning",
771271584abSEd Tanous             2,
772271584abSEd Tanous             {
773271584abSEd Tanous                 "string",
774271584abSEd Tanous                 "string",
775271584abSEd Tanous             },
776ba27e59eSEd Tanous             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
777271584abSEd Tanous         }},
778ba27e59eSEd Tanous     MessageEntry{
779ba27e59eSEd Tanous         "PropertyValueIncorrect",
780e7808c93SGunnar Mills         {
781ba27e59eSEd Tanous             "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.",
782ba27e59eSEd 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.",
783e7808c93SGunnar Mills             "Warning",
784e7808c93SGunnar Mills             2,
785e7808c93SGunnar Mills             {
786e7808c93SGunnar Mills                 "string",
787e7808c93SGunnar Mills                 "string",
788e7808c93SGunnar Mills             },
789e7808c93SGunnar Mills             "No resolution is required.",
790e7808c93SGunnar Mills         }},
791ba27e59eSEd Tanous     MessageEntry{
792ba27e59eSEd Tanous         "PropertyValueModified",
79370304cb5SJason M. Bills         {
794ba27e59eSEd 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.",
795ba27e59eSEd Tanous             "The property %1 was assigned the value '%2' due to modification by the service.",
796271584abSEd Tanous             "Warning",
797271584abSEd Tanous             2,
79870304cb5SJason M. Bills             {
79970304cb5SJason M. Bills                 "string",
80070304cb5SJason M. Bills                 "string",
80170304cb5SJason M. Bills             },
802271584abSEd Tanous             "No resolution is required.",
80370304cb5SJason M. Bills         }},
80470304cb5SJason M. Bills     MessageEntry{
80570304cb5SJason M. Bills         "PropertyValueNotInList",
80670304cb5SJason M. Bills         {
807ba27e59eSEd 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.",
808ba27e59eSEd Tanous             "The value '%1' for the property %2 is not in the list of acceptable values.",
809271584abSEd Tanous             "Warning",
810271584abSEd Tanous             2,
81170304cb5SJason M. Bills             {
81270304cb5SJason M. Bills                 "string",
81370304cb5SJason M. Bills                 "string",
81470304cb5SJason M. Bills             },
815ba27e59eSEd Tanous             "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.",
81670304cb5SJason M. Bills         }},
817ba27e59eSEd Tanous     MessageEntry{
818f866686bSJiaqing Zhao         "PropertyValueOutOfRange",
819f866686bSJiaqing Zhao         {
820f866686bSJiaqing Zhao             "Indicates that a property was given the correct value type but the value of that property is outside the supported range.",
821f866686bSJiaqing Zhao             "The value '%1' for the property %2 is not in the supported range of acceptable values.",
822f866686bSJiaqing Zhao             "Warning",
823f866686bSJiaqing Zhao             2,
824f866686bSJiaqing Zhao             {
825f866686bSJiaqing Zhao                 "string",
826f866686bSJiaqing Zhao                 "string",
827f866686bSJiaqing Zhao             },
828f866686bSJiaqing Zhao             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
829f866686bSJiaqing Zhao         }},
830f866686bSJiaqing Zhao     MessageEntry{
831ba27e59eSEd Tanous         "PropertyValueResourceConflict",
832fc8a2b87SEd Tanous         {
833ba27e59eSEd Tanous             "Indicates that the requested write of a property value could not be completed, due to the current state or configuration of another resource.",
834ba27e59eSEd 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'.",
835fc8a2b87SEd Tanous             "Warning",
836fc8a2b87SEd Tanous             3,
837fc8a2b87SEd Tanous             {
838fc8a2b87SEd Tanous                 "string",
839fc8a2b87SEd Tanous                 "string",
840fc8a2b87SEd Tanous                 "string",
841fc8a2b87SEd Tanous             },
842fc8a2b87SEd Tanous             "No resolution is required.",
843fc8a2b87SEd Tanous         }},
84470304cb5SJason M. Bills     MessageEntry{
84570304cb5SJason M. Bills         "PropertyValueTypeError",
84670304cb5SJason M. Bills         {
847ba27e59eSEd 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.",
848ba27e59eSEd Tanous             "The value '%1' for the property %2 is of a different type than the property can accept.",
849271584abSEd Tanous             "Warning",
850271584abSEd Tanous             2,
85170304cb5SJason M. Bills             {
85270304cb5SJason M. Bills                 "string",
85370304cb5SJason M. Bills                 "string",
85470304cb5SJason M. Bills             },
855ba27e59eSEd Tanous             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
85670304cb5SJason M. Bills         }},
85770304cb5SJason M. Bills     MessageEntry{
858e7808c93SGunnar Mills         "QueryCombinationInvalid",
859e7808c93SGunnar Mills         {
860ba27e59eSEd Tanous             "Indicates the request contains multiple query parameters, and that two or more of them cannot be used together.",
861ba27e59eSEd Tanous             "Two or more query parameters in the request cannot be used together.",
862e7808c93SGunnar Mills             "Warning",
863e7808c93SGunnar Mills             0,
864e7808c93SGunnar Mills             {},
865ba27e59eSEd Tanous             "Remove one or more of the query parameters and resubmit the request if the operation failed.",
866e7808c93SGunnar Mills         }},
867e7808c93SGunnar Mills     MessageEntry{
86870304cb5SJason M. Bills         "QueryNotSupported",
86970304cb5SJason M. Bills         {
87070304cb5SJason M. Bills             "Indicates that query is not supported on the implementation.",
871271584abSEd Tanous             "Querying is not supported by the implementation.",
872271584abSEd Tanous             "Warning",
873e7808c93SGunnar Mills             0,
874e7808c93SGunnar Mills             {},
875ba27e59eSEd Tanous             "Remove the query parameters and resubmit the request if the operation failed.",
876e7808c93SGunnar Mills         }},
877ba27e59eSEd Tanous     MessageEntry{
878ba27e59eSEd Tanous         "QueryNotSupportedOnOperation",
879e7808c93SGunnar Mills         {
880ba27e59eSEd Tanous             "Indicates that query is not supported with the given operation, such as when the `$expand` query is attempted with a PATCH operation.",
881e7808c93SGunnar Mills             "Querying is not supported with the requested operation.",
882e7808c93SGunnar Mills             "Warning",
883271584abSEd Tanous             0,
884271584abSEd Tanous             {},
885ba27e59eSEd Tanous             "Remove the query parameters and resubmit the request if the operation failed.",
88670304cb5SJason M. Bills         }},
887ba27e59eSEd Tanous     MessageEntry{
888ba27e59eSEd Tanous         "QueryNotSupportedOnResource",
88970304cb5SJason M. Bills         {
890ba27e59eSEd 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.",
891271584abSEd Tanous             "Querying is not supported on the requested resource.",
892271584abSEd Tanous             "Warning",
893271584abSEd Tanous             0,
894271584abSEd Tanous             {},
895ba27e59eSEd Tanous             "Remove the query parameters and resubmit the request if the operation failed.",
89670304cb5SJason M. Bills         }},
8974d99bbb0SEd Tanous     MessageEntry{
8984d99bbb0SEd Tanous         "QueryParameterOutOfRange",
89970304cb5SJason M. Bills         {
900ba27e59eSEd Tanous             "Indicates that a query parameter was provided that is out of range for the given resource.  This can happen with values that are too low or beyond that possible for the supplied resource, such as when a page is requested that is beyond the last page.",
901fc8a2b87SEd Tanous             "The value '%1' for the query parameter %2 is out of range %3.",
902271584abSEd Tanous             "Warning",
903271584abSEd Tanous             3,
90470304cb5SJason M. Bills             {
90570304cb5SJason M. Bills                 "string",
90670304cb5SJason M. Bills                 "string",
90770304cb5SJason M. Bills                 "string",
90870304cb5SJason M. Bills             },
909ba27e59eSEd Tanous             "Reduce the value for the query parameter to a value that is within range, such as a start or count value that is within bounds of the number of resources in a collection or a page that is within the range of valid pages.",
91070304cb5SJason M. Bills         }},
911fc8a2b87SEd Tanous     MessageEntry{
912*75ec825cSEd Tanous         "QueryParameterUnsupported",
913*75ec825cSEd Tanous         {
914*75ec825cSEd Tanous             "Indicates that a query parameter is not supported.",
915*75ec825cSEd Tanous             "Query parameter '%1' is not supported.",
916*75ec825cSEd Tanous             "Warning",
917*75ec825cSEd Tanous             1,
918*75ec825cSEd Tanous             {
919*75ec825cSEd Tanous                 "string",
920*75ec825cSEd Tanous             },
921*75ec825cSEd Tanous             "Correct or remove the query parameter and resubmit the request.",
922*75ec825cSEd Tanous         }},
923*75ec825cSEd Tanous     MessageEntry{
92483f984b5SSunitha Harish         "QueryParameterValueError",
92583f984b5SSunitha Harish         {
92683f984b5SSunitha Harish             "Indicates that a query parameter was given an invalid value.",
92783f984b5SSunitha Harish             "The value for the parameter %1 is invalid.",
92883f984b5SSunitha Harish             "Warning",
92983f984b5SSunitha Harish             1,
93083f984b5SSunitha Harish             {
93183f984b5SSunitha Harish                 "string",
93283f984b5SSunitha Harish             },
933ba27e59eSEd Tanous             "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
93483f984b5SSunitha Harish         }},
93583f984b5SSunitha Harish     MessageEntry{
936fc8a2b87SEd Tanous         "QueryParameterValueFormatError",
93770304cb5SJason M. Bills         {
938ba27e59eSEd Tanous             "Indicates that a query parameter was given the correct value type but the value of that parameter was not supported.  This includes the value size or length has been exceeded.",
939ba27e59eSEd Tanous             "The value '%1' for the parameter %2 is of a different format than the parameter can accept.",
940271584abSEd Tanous             "Warning",
941271584abSEd Tanous             2,
94270304cb5SJason M. Bills             {
94370304cb5SJason M. Bills                 "string",
94470304cb5SJason M. Bills                 "string",
94570304cb5SJason M. Bills             },
946ba27e59eSEd Tanous             "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
94770304cb5SJason M. Bills         }},
948ba27e59eSEd Tanous     MessageEntry{
949ba27e59eSEd Tanous         "QueryParameterValueTypeError",
95070304cb5SJason M. Bills         {
951ba27e59eSEd 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.",
952ba27e59eSEd Tanous             "The value '%1' for the query parameter %2 is of a different type than the parameter can accept.",
953271584abSEd Tanous             "Warning",
954271584abSEd Tanous             2,
95570304cb5SJason M. Bills             {
95670304cb5SJason M. Bills                 "string",
95770304cb5SJason M. Bills                 "string",
95870304cb5SJason M. Bills             },
959ba27e59eSEd Tanous             "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
96070304cb5SJason M. Bills         }},
961e7808c93SGunnar Mills     MessageEntry{
962f866686bSJiaqing Zhao         "ResetRecommended",
963f866686bSJiaqing Zhao         {
964f866686bSJiaqing Zhao             "Indicates that a component reset is recommended for error recovery while unaffected applications can continue running without any effects on accuracy and performance.",
965f866686bSJiaqing Zhao             "In order to recover from errors, a component reset is recommended with the Reset action URI '%1' and ResetType '%2'.",
966f866686bSJiaqing Zhao             "Warning",
967f866686bSJiaqing Zhao             2,
968f866686bSJiaqing Zhao             {
969f866686bSJiaqing Zhao                 "string",
970f866686bSJiaqing Zhao                 "string",
971f866686bSJiaqing Zhao             },
972f866686bSJiaqing Zhao             "Perform the recommended reset action on the specified component.",
973f866686bSJiaqing Zhao         }},
974f866686bSJiaqing Zhao     MessageEntry{
975e7808c93SGunnar Mills         "ResetRequired",
976e7808c93SGunnar Mills         {
977f866686bSJiaqing Zhao             "Indicates that a component reset is required for changes, error recovery, or operations to complete.",
978f866686bSJiaqing 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'.",
979e7808c93SGunnar Mills             "Warning",
980e7808c93SGunnar Mills             2,
981e7808c93SGunnar Mills             {
982e7808c93SGunnar Mills                 "string",
983e7808c93SGunnar Mills                 "string",
984e7808c93SGunnar Mills             },
985fc8a2b87SEd Tanous             "Perform the required reset action on the specified component.",
986e7808c93SGunnar Mills         }},
987ba27e59eSEd Tanous     MessageEntry{
988ba27e59eSEd Tanous         "ResourceAlreadyExists",
98970304cb5SJason M. Bills         {
990ba27e59eSEd Tanous             "Indicates that a resource change or creation was attempted but that the operation cannot proceed because the resource already exists.",
991ba27e59eSEd Tanous             "The requested resource of type %1 with the property %2 with the value '%3' already exists.",
992271584abSEd Tanous             "Critical",
993271584abSEd Tanous             3,
99470304cb5SJason M. Bills             {
99570304cb5SJason M. Bills                 "string",
99670304cb5SJason M. Bills                 "string",
99770304cb5SJason M. Bills                 "string",
99870304cb5SJason M. Bills             },
999ba27e59eSEd Tanous             "Do not repeat the create operation as the resource has already been created.",
100070304cb5SJason M. Bills         }},
100170304cb5SJason M. Bills     MessageEntry{
100270304cb5SJason M. Bills         "ResourceAtUriInUnknownFormat",
100370304cb5SJason M. Bills         {
1004ba27e59eSEd Tanous             "Indicates that the URI was valid but the resource or image at that URI was in a format not supported by the service.",
1005ba27e59eSEd Tanous             "The resource at '%1' is in a format not recognized by the service.",
1006271584abSEd Tanous             "Critical",
1007271584abSEd Tanous             1,
100870304cb5SJason M. Bills             {
100970304cb5SJason M. Bills                 "string",
101070304cb5SJason M. Bills             },
1011ba27e59eSEd Tanous             "Place an image or resource or file that is recognized by the service at the URI.",
101270304cb5SJason M. Bills         }},
1013ba27e59eSEd Tanous     MessageEntry{
1014ba27e59eSEd Tanous         "ResourceAtUriUnauthorized",
101570304cb5SJason M. Bills         {
1016ba27e59eSEd Tanous             "Indicates that the attempt to access the resource, file, or image at the URI was unauthorized.",
1017ba27e59eSEd Tanous             "While accessing the resource at '%1', the service received an authorization error '%2'.",
1018271584abSEd Tanous             "Critical",
1019271584abSEd Tanous             2,
102070304cb5SJason M. Bills             {
102170304cb5SJason M. Bills                 "string",
102270304cb5SJason M. Bills                 "string",
102370304cb5SJason M. Bills             },
1024ba27e59eSEd Tanous             "Ensure that the appropriate access is provided for the service in order for it to access the URI.",
102570304cb5SJason M. Bills         }},
1026ba27e59eSEd Tanous     MessageEntry{
1027ba27e59eSEd Tanous         "ResourceCannotBeDeleted",
102870304cb5SJason M. Bills         {
1029ba27e59eSEd Tanous             "Indicates that a delete operation was attempted on a resource that cannot be deleted.",
1030ba27e59eSEd Tanous             "The delete request failed because the resource requested cannot be deleted.",
1031271584abSEd Tanous             "Critical",
1032271584abSEd Tanous             0,
1033271584abSEd Tanous             {},
1034271584abSEd Tanous             "Do not attempt to delete a non-deletable resource.",
103570304cb5SJason M. Bills         }},
103670304cb5SJason M. Bills     MessageEntry{
1037e7808c93SGunnar Mills         "ResourceCreationConflict",
1038e7808c93SGunnar Mills         {
1039ba27e59eSEd Tanous             "Indicates that the requested resource creation could not be completed because the service has a resource that conflicts with the request.",
1040ba27e59eSEd Tanous             "The resource could not be created.  The service has a resource at URI '%1' that conflicts with the creation request.",
1041e7808c93SGunnar Mills             "Warning",
1042e7808c93SGunnar Mills             1,
1043e7808c93SGunnar Mills             {
1044e7808c93SGunnar Mills                 "string",
1045e7808c93SGunnar Mills             },
1046e7808c93SGunnar Mills             "No resolution is required.",
1047e7808c93SGunnar Mills         }},
1048e7808c93SGunnar Mills     MessageEntry{
1049fc8a2b87SEd Tanous         "ResourceDeprecated",
1050fc8a2b87SEd Tanous         {
1051fc8a2b87SEd Tanous             "Indicates the resource is deprecated.",
1052fc8a2b87SEd Tanous             "The operation was performed on a deprecated resource '%1'.",
1053fc8a2b87SEd Tanous             "Warning",
1054fc8a2b87SEd Tanous             1,
1055fc8a2b87SEd Tanous             {
1056fc8a2b87SEd Tanous                 "string",
1057fc8a2b87SEd Tanous             },
1058fc8a2b87SEd Tanous             "Refer to the schema guide for more information.",
1059fc8a2b87SEd Tanous         }},
1060fc8a2b87SEd Tanous     MessageEntry{
106170304cb5SJason M. Bills         "ResourceExhaustion",
106270304cb5SJason M. Bills         {
1063ba27e59eSEd Tanous             "Indicates that a resource could not satisfy the request due to some unavailability of resources.  An example is that available capacity has been allocated.",
1064ba27e59eSEd Tanous             "The resource '%1' was unable to satisfy the request due to unavailability of resources.",
1065271584abSEd Tanous             "Critical",
1066271584abSEd Tanous             1,
106770304cb5SJason M. Bills             {
106870304cb5SJason M. Bills                 "string",
106970304cb5SJason M. Bills             },
1070271584abSEd Tanous             "Ensure that the resources are available and resubmit the request.",
107170304cb5SJason M. Bills         }},
1072ba27e59eSEd Tanous     MessageEntry{
1073ba27e59eSEd Tanous         "ResourceInStandby",
107470304cb5SJason M. Bills         {
1075ba27e59eSEd Tanous             "Indicates that the request could not be performed because the resource is in standby.",
1076ba27e59eSEd Tanous             "The request could not be performed because the resource is in standby.",
1077271584abSEd Tanous             "Critical",
1078271584abSEd Tanous             0,
1079271584abSEd Tanous             {},
1080ba27e59eSEd Tanous             "Ensure that the resource is in the correct power state and resubmit the request.",
108170304cb5SJason M. Bills         }},
1082ba27e59eSEd Tanous     MessageEntry{
1083ba27e59eSEd Tanous         "ResourceInUse",
108470304cb5SJason M. Bills         {
1085ba27e59eSEd Tanous             "Indicates that a change was requested to a resource but the change was rejected due to the resource being in use or transition.",
1086ba27e59eSEd Tanous             "The change to the requested resource failed because the resource is in use or in transition.",
1087271584abSEd Tanous             "Warning",
1088271584abSEd Tanous             0,
1089271584abSEd Tanous             {},
1090ba27e59eSEd Tanous             "Remove the condition and resubmit the request if the operation failed.",
109170304cb5SJason M. Bills         }},
109270304cb5SJason M. Bills     MessageEntry{
109370304cb5SJason M. Bills         "ResourceMissingAtURI",
109470304cb5SJason M. Bills         {
1095ba27e59eSEd Tanous             "Indicates that the operation expected an image or other resource at the provided URI but none was found.  Examples of this are in requests that require URIs like firmware update.",
1096fc8a2b87SEd Tanous             "The resource at the URI '%1' was not found.",
1097271584abSEd Tanous             "Critical",
1098271584abSEd Tanous             1,
109970304cb5SJason M. Bills             {
110070304cb5SJason M. Bills                 "string",
110170304cb5SJason M. Bills             },
1102ba27e59eSEd Tanous             "Place a valid resource at the URI or correct the URI and resubmit the request.",
110370304cb5SJason M. Bills         }},
110470304cb5SJason M. Bills     MessageEntry{
110570304cb5SJason M. Bills         "ResourceNotFound",
110670304cb5SJason M. Bills         {
1107ba27e59eSEd Tanous             "Indicates that the operation expected a resource identifier that corresponds to an existing resource but one was not found.",
1108fc8a2b87SEd Tanous             "The requested resource of type %1 named '%2' was not found.",
1109271584abSEd Tanous             "Critical",
1110271584abSEd Tanous             2,
111170304cb5SJason M. Bills             {
111270304cb5SJason M. Bills                 "string",
111370304cb5SJason M. Bills                 "string",
111470304cb5SJason M. Bills             },
111570304cb5SJason M. Bills             "Provide a valid resource identifier and resubmit the request.",
111670304cb5SJason M. Bills         }},
111770304cb5SJason M. Bills     MessageEntry{
111870304cb5SJason M. Bills         "ResourceTypeIncompatible",
111970304cb5SJason M. Bills         {
1120ba27e59eSEd Tanous             "Indicates that the resource type of the operation does not match that for the operation destination.  Examples of when this can happen include during a POST to a resource collection using the wrong resource type, an update where the `@odata.type` properties do not match, or on a major version incompatibility.",
1121ba27e59eSEd Tanous             "The @odata.type of the request body %1 is incompatible with the @odata.type of the resource, which is %2.",
1122271584abSEd Tanous             "Critical",
1123271584abSEd Tanous             2,
112470304cb5SJason M. Bills             {
112570304cb5SJason M. Bills                 "string",
112670304cb5SJason M. Bills                 "string",
112770304cb5SJason M. Bills             },
1128ba27e59eSEd Tanous             "Resubmit the request with a payload compatible with the resource's schema.",
112970304cb5SJason M. Bills         }},
1130ba27e59eSEd Tanous     MessageEntry{
1131ba27e59eSEd Tanous         "RestrictedPrivilege",
1132fc8a2b87SEd Tanous         {
1133ba27e59eSEd Tanous             "Indicates that the operation was not successful because a privilege is restricted.",
1134ba27e59eSEd Tanous             "The operation was not successful because the privilege '%1' is restricted.",
1135fc8a2b87SEd Tanous             "Warning",
1136fc8a2b87SEd Tanous             1,
1137fc8a2b87SEd Tanous             {
1138fc8a2b87SEd Tanous                 "string",
1139fc8a2b87SEd Tanous             },
1140ba27e59eSEd Tanous             "Remove restricted privileges from the request body and resubmit the request.",
1141fc8a2b87SEd Tanous         }},
1142ba27e59eSEd Tanous     MessageEntry{
1143ba27e59eSEd Tanous         "RestrictedRole",
1144fc8a2b87SEd Tanous         {
1145ba27e59eSEd Tanous             "Indicates that the operation was not successful because the role is restricted.",
1146ba27e59eSEd Tanous             "The operation was not successful because the role '%1' is restricted.",
1147fc8a2b87SEd Tanous             "Warning",
1148fc8a2b87SEd Tanous             1,
1149fc8a2b87SEd Tanous             {
1150fc8a2b87SEd Tanous                 "string",
1151fc8a2b87SEd Tanous             },
1152ba27e59eSEd Tanous             "No resolution is required.  For standard roles, consider using the role specified in the AlternateRoleId property in the Role resource.",
1153fc8a2b87SEd Tanous         }},
115470304cb5SJason M. Bills     MessageEntry{
115583f984b5SSunitha Harish         "ServiceDisabled",
115683f984b5SSunitha Harish         {
1157ba27e59eSEd Tanous             "Indicates that the operation failed because the service, such as the account service, is disabled and cannot accept requests.",
1158ba27e59eSEd Tanous             "The operation failed because the service at %1 is disabled and cannot accept requests.",
115983f984b5SSunitha Harish             "Warning",
116083f984b5SSunitha Harish             1,
116183f984b5SSunitha Harish             {
116283f984b5SSunitha Harish                 "string",
116383f984b5SSunitha Harish             },
1164ba27e59eSEd Tanous             "Enable the service and resubmit the request if the operation failed.",
116583f984b5SSunitha Harish         }},
116683f984b5SSunitha Harish     MessageEntry{
116770304cb5SJason M. Bills         "ServiceInUnknownState",
116870304cb5SJason M. Bills         {
1169ba27e59eSEd Tanous             "Indicates that the operation failed because the service is in an unknown state and cannot accept additional requests.",
1170ba27e59eSEd Tanous             "The operation failed because the service is in an unknown state and can no longer take incoming requests.",
1171271584abSEd Tanous             "Critical",
1172271584abSEd Tanous             0,
1173271584abSEd Tanous             {},
1174ba27e59eSEd Tanous             "Restart the service and resubmit the request if the operation failed.",
117570304cb5SJason M. Bills         }},
1176ba27e59eSEd Tanous     MessageEntry{
1177ba27e59eSEd Tanous         "ServiceShuttingDown",
117870304cb5SJason M. Bills         {
1179ba27e59eSEd Tanous             "Indicates that the operation failed as the service is shutting down, such as when the service reboots.",
1180ba27e59eSEd Tanous             "The operation failed because the service is shutting down and can no longer take incoming requests.",
1181271584abSEd Tanous             "Critical",
1182271584abSEd Tanous             0,
1183271584abSEd Tanous             {},
1184ba27e59eSEd Tanous             "When the service becomes available, resubmit the request if the operation failed.",
118570304cb5SJason M. Bills         }},
118670304cb5SJason M. Bills     MessageEntry{
118770304cb5SJason M. Bills         "ServiceTemporarilyUnavailable",
118870304cb5SJason M. Bills         {
1189271584abSEd Tanous             "Indicates the service is temporarily unavailable.",
119070304cb5SJason M. Bills             "The service is temporarily unavailable.  Retry in %1 seconds.",
1191271584abSEd Tanous             "Critical",
1192271584abSEd Tanous             1,
119370304cb5SJason M. Bills             {
119470304cb5SJason M. Bills                 "string",
119570304cb5SJason M. Bills             },
1196271584abSEd Tanous             "Wait for the indicated retry duration and retry the operation.",
119770304cb5SJason M. Bills         }},
119870304cb5SJason M. Bills     MessageEntry{
119970304cb5SJason M. Bills         "SessionLimitExceeded",
120070304cb5SJason M. Bills         {
1201ba27e59eSEd Tanous             "Indicates that a session establishment has been requested but the operation failed due to the number of simultaneous sessions exceeding the limit of the implementation.",
1202ba27e59eSEd Tanous             "The session establishment failed due to the number of simultaneous sessions exceeding the limit of the implementation.",
1203271584abSEd Tanous             "Critical",
1204271584abSEd Tanous             0,
1205271584abSEd Tanous             {},
1206ba27e59eSEd Tanous             "Reduce the number of other sessions before trying to establish the session or increase the limit of simultaneous sessions, if supported.",
120770304cb5SJason M. Bills         }},
120870304cb5SJason M. Bills     MessageEntry{
120970304cb5SJason M. Bills         "SessionTerminated",
121070304cb5SJason M. Bills         {
1211ba27e59eSEd Tanous             "Indicates that the DELETE operation on the session resource resulted in the successful termination of the session.",
1212271584abSEd Tanous             "The session was successfully terminated.",
1213271584abSEd Tanous             "OK",
1214271584abSEd Tanous             0,
1215271584abSEd Tanous             {},
1216271584abSEd Tanous             "No resolution is required.",
121770304cb5SJason M. Bills         }},
121870304cb5SJason M. Bills     MessageEntry{
121970304cb5SJason M. Bills         "SourceDoesNotSupportProtocol",
122070304cb5SJason M. Bills         {
1221ba27e59eSEd Tanous             "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.",
1222ba27e59eSEd Tanous             "The other end of the connection at '%1' does not support the specified protocol %2.",
1223271584abSEd Tanous             "Critical",
1224271584abSEd Tanous             2,
122570304cb5SJason M. Bills             {
122670304cb5SJason M. Bills                 "string",
122770304cb5SJason M. Bills                 "string",
122870304cb5SJason M. Bills             },
1229271584abSEd Tanous             "Change protocols or URIs.",
123070304cb5SJason M. Bills         }},
1231ba27e59eSEd Tanous     MessageEntry{
1232ba27e59eSEd Tanous         "StrictAccountTypes",
1233fc8a2b87SEd Tanous         {
1234ba27e59eSEd Tanous             "Indicates the request failed because a set of `AccountTypes` or `OEMAccountTypes` was not accepted while `StrictAccountTypes` is set to `true`.",
1235ba27e59eSEd Tanous             "The request was not possible to fulfill with the account types included in property '%1' and property StrictAccountTypes set to true.",
1236fc8a2b87SEd Tanous             "Warning",
1237fc8a2b87SEd Tanous             1,
1238fc8a2b87SEd Tanous             {
1239fc8a2b87SEd Tanous                 "string",
1240fc8a2b87SEd Tanous             },
1241ba27e59eSEd Tanous             "Resubmit the request either with an acceptable set of AccountTypes and OEMAccountTypes or with StrictAccountTypes set to false.",
1242fc8a2b87SEd Tanous         }},
1243ba27e59eSEd Tanous     MessageEntry{
1244ba27e59eSEd Tanous         "StringValueTooLong",
124570304cb5SJason M. Bills         {
1246ba27e59eSEd Tanous             "Indicates that a string value passed to the given resource exceeded its length limit.  An example is when a shorter limit is imposed by an implementation than that allowed by the specification.",
1247fc8a2b87SEd Tanous             "The string '%1' exceeds the length limit %2.",
1248271584abSEd Tanous             "Warning",
1249271584abSEd Tanous             2,
125070304cb5SJason M. Bills             {
125170304cb5SJason M. Bills                 "string",
125270304cb5SJason M. Bills                 "number",
125370304cb5SJason M. Bills             },
125470304cb5SJason M. Bills             "Resubmit the request with an appropriate string length.",
125570304cb5SJason M. Bills         }},
1256ba27e59eSEd Tanous     MessageEntry{
1257*75ec825cSEd Tanous         "StringValueTooShort",
1258*75ec825cSEd Tanous         {
1259*75ec825cSEd Tanous             "Indicates that a string value passed to the given resource was under its minimum required length.  An example is when a higher minimum length is imposed by an implementation than that allowed by the specification.",
1260*75ec825cSEd Tanous             "The string '%1' was under the minimum required length %2.",
1261*75ec825cSEd Tanous             "Warning",
1262*75ec825cSEd Tanous             2,
1263*75ec825cSEd Tanous             {
1264*75ec825cSEd Tanous                 "string",
1265*75ec825cSEd Tanous                 "number",
1266*75ec825cSEd Tanous             },
1267*75ec825cSEd Tanous             "Resubmit the request with an appropriate string length.",
1268*75ec825cSEd Tanous         }},
1269*75ec825cSEd Tanous     MessageEntry{
1270ba27e59eSEd Tanous         "SubscriptionTerminated",
1271e7808c93SGunnar Mills         {
1272ba27e59eSEd Tanous             "An event subscription has been terminated by the service.  No further events will be delivered.",
1273e7808c93SGunnar Mills             "The event subscription has been terminated.",
1274e7808c93SGunnar Mills             "OK",
1275e7808c93SGunnar Mills             0,
1276e7808c93SGunnar Mills             {},
1277e7808c93SGunnar Mills             "No resolution is required.",
1278e7808c93SGunnar Mills         }},
1279ba27e59eSEd Tanous     MessageEntry{
1280ba27e59eSEd Tanous         "Success",
128170304cb5SJason M. Bills         {
1282ba27e59eSEd Tanous             "Indicates that all conditions of a successful operation have been met.",
1283fc8a2b87SEd Tanous             "The request completed successfully.",
1284271584abSEd Tanous             "OK",
1285271584abSEd Tanous             0,
1286271584abSEd Tanous             {},
1287271584abSEd Tanous             "None",
128870304cb5SJason M. Bills         }},
128970304cb5SJason M. Bills     MessageEntry{
1290fc8a2b87SEd Tanous         "UndeterminedFault",
1291fc8a2b87SEd Tanous         {
1292ba27e59eSEd Tanous             "Indicates that a fault or error condition exists but the source of the fault cannot be determined or is unknown to the service.",
1293fc8a2b87SEd Tanous             "A undetermined fault condition has been reported by '%1'.",
1294fc8a2b87SEd Tanous             "Critical",
1295fc8a2b87SEd Tanous             1,
129683f984b5SSunitha Harish             {
129783f984b5SSunitha Harish                 "string",
129883f984b5SSunitha Harish             },
1299fc8a2b87SEd Tanous             "None.",
1300fc8a2b87SEd Tanous         }},
1301fc8a2b87SEd Tanous     MessageEntry{
130270304cb5SJason M. Bills         "UnrecognizedRequestBody",
130370304cb5SJason M. Bills         {
1304ba27e59eSEd Tanous             "Indicates that the service encountered an unrecognizable request body that could not even be interpreted as malformed JSON.",
1305ba27e59eSEd Tanous             "The service detected a malformed request body that it was unable to interpret.",
1306271584abSEd Tanous             "Warning",
1307271584abSEd Tanous             0,
1308271584abSEd Tanous             {},
1309271584abSEd Tanous             "Correct the request body and resubmit the request if it failed.",
131070304cb5SJason M. Bills         }},
13114d99bbb0SEd Tanous 
131270304cb5SJason M. Bills };
131330a3c431SEd Tanous 
131430a3c431SEd Tanous enum class Index
131530a3c431SEd Tanous {
131630a3c431SEd Tanous     accessDenied = 0,
131730a3c431SEd Tanous     accountForSessionNoLongerExists = 1,
131830a3c431SEd Tanous     accountModified = 2,
131930a3c431SEd Tanous     accountNotModified = 3,
132030a3c431SEd Tanous     accountRemoved = 4,
132130a3c431SEd Tanous     actionDeprecated = 5,
132230a3c431SEd Tanous     actionNotSupported = 6,
132330a3c431SEd Tanous     actionParameterDuplicate = 7,
132430a3c431SEd Tanous     actionParameterMissing = 8,
132530a3c431SEd Tanous     actionParameterNotSupported = 9,
132630a3c431SEd Tanous     actionParameterUnknown = 10,
1327f866686bSJiaqing Zhao     actionParameterValueConflict = 11,
1328f866686bSJiaqing Zhao     actionParameterValueError = 12,
1329f866686bSJiaqing Zhao     actionParameterValueFormatError = 13,
1330f866686bSJiaqing Zhao     actionParameterValueNotInList = 14,
1331f866686bSJiaqing Zhao     actionParameterValueTypeError = 15,
1332*75ec825cSEd Tanous     arraySizeTooLong = 16,
1333*75ec825cSEd Tanous     arraySizeTooShort = 17,
1334*75ec825cSEd Tanous     authenticationTokenRequired = 18,
1335*75ec825cSEd Tanous     chassisPowerStateOffRequired = 19,
1336*75ec825cSEd Tanous     chassisPowerStateOnRequired = 20,
1337*75ec825cSEd Tanous     conditionInRelatedResource = 21,
1338*75ec825cSEd Tanous     couldNotEstablishConnection = 22,
1339*75ec825cSEd Tanous     createFailedMissingReqProperties = 23,
1340*75ec825cSEd Tanous     createLimitReachedForResource = 24,
1341*75ec825cSEd Tanous     created = 25,
1342*75ec825cSEd Tanous     emptyJSON = 26,
1343*75ec825cSEd Tanous     eventBufferExceeded = 27,
1344*75ec825cSEd Tanous     eventSubscriptionLimitExceeded = 28,
1345*75ec825cSEd Tanous     generalError = 29,
1346*75ec825cSEd Tanous     headerInvalid = 30,
1347*75ec825cSEd Tanous     headerMissing = 31,
1348*75ec825cSEd Tanous     insufficientPrivilege = 32,
1349*75ec825cSEd Tanous     insufficientStorage = 33,
1350*75ec825cSEd Tanous     internalError = 34,
1351*75ec825cSEd Tanous     invalidIndex = 35,
1352*75ec825cSEd Tanous     invalidJSON = 36,
1353*75ec825cSEd Tanous     invalidObject = 37,
1354*75ec825cSEd Tanous     invalidURI = 38,
1355*75ec825cSEd Tanous     licenseRequired = 39,
1356*75ec825cSEd Tanous     malformedJSON = 40,
1357*75ec825cSEd Tanous     maximumErrorsExceeded = 41,
1358*75ec825cSEd Tanous     missingOrMalformedPart = 42,
1359*75ec825cSEd Tanous     networkNameResolutionNotConfigured = 43,
1360*75ec825cSEd Tanous     networkNameResolutionNotSupported = 44,
1361*75ec825cSEd Tanous     noOperation = 45,
1362*75ec825cSEd Tanous     noValidSession = 46,
1363*75ec825cSEd Tanous     operationFailed = 47,
1364*75ec825cSEd Tanous     operationNotAllowed = 48,
1365*75ec825cSEd Tanous     operationTimeout = 49,
1366*75ec825cSEd Tanous     passwordChangeRequired = 50,
1367*75ec825cSEd Tanous     payloadTooLarge = 51,
1368*75ec825cSEd Tanous     preconditionFailed = 52,
1369*75ec825cSEd Tanous     preconditionRequired = 53,
1370*75ec825cSEd Tanous     propertyDeprecated = 54,
1371*75ec825cSEd Tanous     propertyDuplicate = 55,
1372*75ec825cSEd Tanous     propertyMissing = 56,
1373*75ec825cSEd Tanous     propertyNotUpdated = 57,
1374*75ec825cSEd Tanous     propertyNotWritable = 58,
1375*75ec825cSEd Tanous     propertyUnknown = 59,
1376*75ec825cSEd Tanous     propertyValueConflict = 60,
1377*75ec825cSEd Tanous     propertyValueDeprecated = 61,
1378*75ec825cSEd Tanous     propertyValueError = 62,
1379*75ec825cSEd Tanous     propertyValueExternalConflict = 63,
1380*75ec825cSEd Tanous     propertyValueFormatError = 64,
1381*75ec825cSEd Tanous     propertyValueIncorrect = 65,
1382*75ec825cSEd Tanous     propertyValueModified = 66,
1383*75ec825cSEd Tanous     propertyValueNotInList = 67,
1384*75ec825cSEd Tanous     propertyValueOutOfRange = 68,
1385*75ec825cSEd Tanous     propertyValueResourceConflict = 69,
1386*75ec825cSEd Tanous     propertyValueTypeError = 70,
1387*75ec825cSEd Tanous     queryCombinationInvalid = 71,
1388*75ec825cSEd Tanous     queryNotSupported = 72,
1389*75ec825cSEd Tanous     queryNotSupportedOnOperation = 73,
1390*75ec825cSEd Tanous     queryNotSupportedOnResource = 74,
1391*75ec825cSEd Tanous     queryParameterOutOfRange = 75,
1392*75ec825cSEd Tanous     queryParameterUnsupported = 76,
1393*75ec825cSEd Tanous     queryParameterValueError = 77,
1394*75ec825cSEd Tanous     queryParameterValueFormatError = 78,
1395*75ec825cSEd Tanous     queryParameterValueTypeError = 79,
1396*75ec825cSEd Tanous     resetRecommended = 80,
1397*75ec825cSEd Tanous     resetRequired = 81,
1398*75ec825cSEd Tanous     resourceAlreadyExists = 82,
1399*75ec825cSEd Tanous     resourceAtUriInUnknownFormat = 83,
1400*75ec825cSEd Tanous     resourceAtUriUnauthorized = 84,
1401*75ec825cSEd Tanous     resourceCannotBeDeleted = 85,
1402*75ec825cSEd Tanous     resourceCreationConflict = 86,
1403*75ec825cSEd Tanous     resourceDeprecated = 87,
1404*75ec825cSEd Tanous     resourceExhaustion = 88,
1405*75ec825cSEd Tanous     resourceInStandby = 89,
1406*75ec825cSEd Tanous     resourceInUse = 90,
1407*75ec825cSEd Tanous     resourceMissingAtURI = 91,
1408*75ec825cSEd Tanous     resourceNotFound = 92,
1409*75ec825cSEd Tanous     resourceTypeIncompatible = 93,
1410*75ec825cSEd Tanous     restrictedPrivilege = 94,
1411*75ec825cSEd Tanous     restrictedRole = 95,
1412*75ec825cSEd Tanous     serviceDisabled = 96,
1413*75ec825cSEd Tanous     serviceInUnknownState = 97,
1414*75ec825cSEd Tanous     serviceShuttingDown = 98,
1415*75ec825cSEd Tanous     serviceTemporarilyUnavailable = 99,
1416*75ec825cSEd Tanous     sessionLimitExceeded = 100,
1417*75ec825cSEd Tanous     sessionTerminated = 101,
1418*75ec825cSEd Tanous     sourceDoesNotSupportProtocol = 102,
1419*75ec825cSEd Tanous     strictAccountTypes = 103,
1420*75ec825cSEd Tanous     stringValueTooLong = 104,
1421*75ec825cSEd Tanous     stringValueTooShort = 105,
1422*75ec825cSEd Tanous     subscriptionTerminated = 106,
1423*75ec825cSEd Tanous     success = 107,
1424*75ec825cSEd Tanous     undeterminedFault = 108,
1425*75ec825cSEd Tanous     unrecognizedRequestBody = 109,
142630a3c431SEd Tanous };
1427fffb8c1fSEd Tanous } // namespace redfish::registries::base
1428