xref: /openbmc/bmcweb/features/redfish/include/registries/base_message_registry.hpp (revision 40e9b92ec19acffb46f83a6e55b18974da5d708e)
1*40e9b92eSEd Tanous // SPDX-License-Identifier: Apache-2.0
2*40e9b92eSEd Tanous // SPDX-FileCopyrightText: Copyright OpenBMC Authors
3043bec09SNan Zhou #pragma once
470304cb5SJason M. Bills /****************************************************************
51cf53df0SEd Tanous  *                 READ THIS WARNING FIRST
670304cb5SJason M. Bills  * This is an auto-generated header which contains definitions
770304cb5SJason M. Bills  * for Redfish DMTF defined messages.
81cf53df0SEd Tanous  * DO NOT modify this registry outside of running the
90e2d0691SJason M. Bills  * parse_registries.py script.  The definitions contained within
101cf53df0SEd Tanous  * this file are owned by DMTF.  Any modifications to these files
111cf53df0SEd Tanous  * should be first pushed to the relevant registry in the DMTF
121cf53df0SEd Tanous  * github organization.
1370304cb5SJason M. Bills  ***************************************************************/
1401c78a06SNan Zhou #include "registries.hpp"
1501c78a06SNan Zhou 
1601c78a06SNan Zhou #include <array>
1770304cb5SJason M. Bills 
184d99bbb0SEd Tanous // clang-format off
194d99bbb0SEd Tanous 
20fffb8c1fSEd Tanous namespace redfish::registries::base
2170304cb5SJason M. Bills {
22351d3063SJason M. Bills const Header header = {
23d8d5fc3eSGunnar Mills     "Copyright 2014-2024 DMTF. All rights reserved.",
24d8d5fc3eSGunnar Mills     "#MessageRegistry.v1_6_2.MessageRegistry",
2556b81992SEd Tanous     1,
2656b81992SEd Tanous     19,
2756b81992SEd Tanous     0,
28271584abSEd Tanous     "Base Message Registry",
29271584abSEd Tanous     "en",
30d8d5fc3eSGunnar Mills     "This registry defines the base messages for Redfish.",
31271584abSEd Tanous     "Base",
32271584abSEd Tanous     "DMTF",
33351d3063SJason M. Bills };
34e51c710eSJames Feist constexpr const char* url =
35b575caefSJishnu CM     "https://redfish.dmtf.org/registries/Base.1.19.0.json";
36e51c710eSJames Feist 
370e2d0691SJason M. Bills constexpr std::array registry =
38ba27e59eSEd Tanous {
3970304cb5SJason M. Bills     MessageEntry{
4070304cb5SJason M. Bills         "AccessDenied",
4170304cb5SJason M. Bills         {
42ba27e59eSEd Tanous             "Indicates that while attempting to access, connect to, or transfer to or from another resource, the service denied access.",
43ba27e59eSEd Tanous             "While attempting to establish a connection to '%1', the service denied access.",
44271584abSEd Tanous             "Critical",
45271584abSEd Tanous             1,
4670304cb5SJason M. Bills             {
4770304cb5SJason M. Bills                 "string",
4870304cb5SJason M. Bills             },
49ba27e59eSEd Tanous             "Attempt to ensure that the URI is correct and that the service has the appropriate credentials.",
5070304cb5SJason M. Bills         }},
51ba27e59eSEd Tanous     MessageEntry{
52ba27e59eSEd Tanous         "AccountForSessionNoLongerExists",
5370304cb5SJason M. Bills         {
54d8d5fc3eSGunnar Mills             "Indicates that the account for the session was removed, and so the session was removed as well.",
55d8d5fc3eSGunnar Mills             "The account for the current session was removed, and so the current session was removed as well.",
56271584abSEd Tanous             "OK",
57271584abSEd Tanous             0,
58271584abSEd Tanous             {},
59271584abSEd Tanous             "Attempt to connect with a valid account.",
6070304cb5SJason M. Bills         }},
61ba27e59eSEd Tanous     MessageEntry{
62ba27e59eSEd Tanous         "AccountModified",
6370304cb5SJason M. Bills         {
6470304cb5SJason M. Bills             "Indicates that the account was successfully modified.",
65271584abSEd Tanous             "The account was successfully modified.",
66271584abSEd Tanous             "OK",
67271584abSEd Tanous             0,
68271584abSEd Tanous             {},
69d8d5fc3eSGunnar Mills             "None.",
7070304cb5SJason M. Bills         }},
71ba27e59eSEd Tanous     MessageEntry{
72ba27e59eSEd Tanous         "AccountNotModified",
7370304cb5SJason M. Bills         {
74ba27e59eSEd Tanous             "Indicates that the modification requested for the account was not successful.",
75271584abSEd Tanous             "The account modification request failed.",
76271584abSEd Tanous             "Warning",
77271584abSEd Tanous             0,
78271584abSEd Tanous             {},
79ba27e59eSEd Tanous             "The modification may have failed due to permission issues or issues with the request body.",
8070304cb5SJason M. Bills         }},
814d99bbb0SEd Tanous     MessageEntry{
824d99bbb0SEd Tanous         "AccountRemoved",
8370304cb5SJason M. Bills         {
8470304cb5SJason M. Bills             "Indicates that the account was successfully removed.",
85271584abSEd Tanous             "The account was successfully removed.",
86271584abSEd Tanous             "OK",
87271584abSEd Tanous             0,
88271584abSEd Tanous             {},
89d8d5fc3eSGunnar Mills             "None.",
9070304cb5SJason M. Bills         }},
914d99bbb0SEd Tanous     MessageEntry{
924d99bbb0SEd Tanous         "ActionDeprecated",
93fc8a2b87SEd Tanous         {
94fc8a2b87SEd Tanous             "Indicates the action is deprecated.",
95fc8a2b87SEd Tanous             "The action %1 is deprecated.",
96fc8a2b87SEd Tanous             "Warning",
97fc8a2b87SEd Tanous             1,
98fc8a2b87SEd Tanous             {
99fc8a2b87SEd Tanous                 "string",
100fc8a2b87SEd Tanous             },
101fc8a2b87SEd Tanous             "Refer to the schema guide for more information.",
102fc8a2b87SEd Tanous         }},
10370304cb5SJason M. Bills     MessageEntry{
10470304cb5SJason M. Bills         "ActionNotSupported",
10570304cb5SJason M. Bills         {
106d8d5fc3eSGunnar Mills             "Indicates that the action supplied with the `POST` operation is not supported by the resource.",
107271584abSEd Tanous             "The action %1 is not supported by the resource.",
108271584abSEd Tanous             "Critical",
109271584abSEd Tanous             1,
11070304cb5SJason M. Bills             {
11170304cb5SJason M. Bills                 "string",
11270304cb5SJason M. Bills             },
113d8d5fc3eSGunnar Mills             "Check the Actions property in the resource for the supported actions.",
11470304cb5SJason M. Bills         }},
115ba27e59eSEd Tanous     MessageEntry{
116ba27e59eSEd Tanous         "ActionParameterDuplicate",
11770304cb5SJason M. Bills         {
118f866686bSJiaqing Zhao             "Indicates that the action was supplied with a duplicated action parameter in the request body.",
119ba27e59eSEd Tanous             "The action %1 was submitted with more than one value for the parameter %2.",
120271584abSEd Tanous             "Warning",
121271584abSEd Tanous             2,
12270304cb5SJason M. Bills             {
12370304cb5SJason M. Bills                 "string",
12470304cb5SJason M. Bills                 "string",
12570304cb5SJason M. Bills             },
126f866686bSJiaqing Zhao             "Resubmit the action with only one instance of the action parameter in the request body if the operation failed.",
12770304cb5SJason M. Bills         }},
128ba27e59eSEd Tanous     MessageEntry{
129ba27e59eSEd Tanous         "ActionParameterMissing",
13070304cb5SJason M. Bills         {
131f866686bSJiaqing Zhao             "Indicates that the action requested was missing an action parameter that is required to process the action.",
132ba27e59eSEd Tanous             "The action %1 requires the parameter %2 to be present in the request body.",
133271584abSEd Tanous             "Critical",
134271584abSEd Tanous             2,
13570304cb5SJason M. Bills             {
13670304cb5SJason M. Bills                 "string",
13770304cb5SJason M. Bills                 "string",
13870304cb5SJason M. Bills             },
139ba27e59eSEd Tanous             "Supply the action with the required parameter in the request body when the request is resubmitted.",
14070304cb5SJason M. Bills         }},
141ba27e59eSEd Tanous     MessageEntry{
142ba27e59eSEd Tanous         "ActionParameterNotSupported",
14370304cb5SJason M. Bills         {
144ba27e59eSEd Tanous             "Indicates that the parameter supplied for the action is not supported on the resource.",
145ba27e59eSEd Tanous             "The parameter %1 for the action %2 is not supported on the target resource.",
146271584abSEd Tanous             "Warning",
147271584abSEd Tanous             2,
14870304cb5SJason M. Bills             {
14970304cb5SJason M. Bills                 "string",
15070304cb5SJason M. Bills                 "string",
15170304cb5SJason M. Bills             },
152ba27e59eSEd Tanous             "Remove the parameter supplied and resubmit the request if the operation failed.",
15370304cb5SJason M. Bills         }},
15470304cb5SJason M. Bills     MessageEntry{
15570304cb5SJason M. Bills         "ActionParameterUnknown",
15670304cb5SJason M. Bills         {
157f866686bSJiaqing Zhao             "Indicates that an action was submitted but an action parameter supplied did not match any of the known parameters.",
15870304cb5SJason M. Bills             "The action %1 was submitted with the invalid parameter %2.",
159271584abSEd Tanous             "Warning",
160271584abSEd Tanous             2,
16170304cb5SJason M. Bills             {
16270304cb5SJason M. Bills                 "string",
16370304cb5SJason M. Bills                 "string",
16470304cb5SJason M. Bills             },
165f866686bSJiaqing Zhao             "Correct the invalid action parameter and resubmit the request if the operation failed.",
166f866686bSJiaqing Zhao         }},
167f866686bSJiaqing Zhao     MessageEntry{
168f866686bSJiaqing Zhao         "ActionParameterValueConflict",
169f866686bSJiaqing Zhao         {
170d8d5fc3eSGunnar Mills             "Indicates that the requested parameter value could not be completed because of a mismatch with other parameters or properties in the resource.",
171f866686bSJiaqing Zhao             "The parameter '%1' with the requested value of '%2' does not meet the constraints of the implementation.",
172f866686bSJiaqing Zhao             "Warning",
173f866686bSJiaqing Zhao             2,
174f866686bSJiaqing Zhao             {
175f866686bSJiaqing Zhao                 "string",
176f866686bSJiaqing Zhao                 "string",
177f866686bSJiaqing Zhao             },
178d8d5fc3eSGunnar Mills             "None.",
17970304cb5SJason M. Bills         }},
180fc8a2b87SEd Tanous     MessageEntry{
18183f984b5SSunitha Harish         "ActionParameterValueError",
18283f984b5SSunitha Harish         {
18383f984b5SSunitha Harish             "Indicates that a parameter was given an invalid value.",
18483f984b5SSunitha Harish             "The value for the parameter %1 in the action %2 is invalid.",
18583f984b5SSunitha Harish             "Warning",
18683f984b5SSunitha Harish             2,
18783f984b5SSunitha Harish             {
18883f984b5SSunitha Harish                 "string",
18983f984b5SSunitha Harish                 "string",
19083f984b5SSunitha Harish             },
191ba27e59eSEd Tanous             "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
19283f984b5SSunitha Harish         }},
19383f984b5SSunitha Harish     MessageEntry{
194fc8a2b87SEd Tanous         "ActionParameterValueFormatError",
19570304cb5SJason M. Bills         {
196d8d5fc3eSGunnar Mills             "Indicates that a parameter was given the correct value type but the format of the value is not supported.",
197d8d5fc3eSGunnar Mills             "The value '%1' for the parameter %2 in the action %3 is not a format that the parameter can accept.",
198271584abSEd Tanous             "Warning",
199271584abSEd Tanous             3,
20070304cb5SJason M. Bills             {
20170304cb5SJason M. Bills                 "string",
20270304cb5SJason M. Bills                 "string",
20370304cb5SJason M. Bills                 "string",
20470304cb5SJason M. Bills             },
205ba27e59eSEd Tanous             "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
206fc8a2b87SEd Tanous         }},
207fc8a2b87SEd Tanous     MessageEntry{
208fc8a2b87SEd Tanous         "ActionParameterValueNotInList",
209fc8a2b87SEd Tanous         {
210ba27e59eSEd 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.",
211ba27e59eSEd Tanous             "The value '%1' for the parameter %2 in the action %3 is not in the list of acceptable values.",
212fc8a2b87SEd Tanous             "Warning",
213fc8a2b87SEd Tanous             3,
214fc8a2b87SEd Tanous             {
215fc8a2b87SEd Tanous                 "string",
216fc8a2b87SEd Tanous                 "string",
217fc8a2b87SEd Tanous                 "string",
218fc8a2b87SEd Tanous             },
219ba27e59eSEd Tanous             "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.",
22070304cb5SJason M. Bills         }},
221ba27e59eSEd Tanous     MessageEntry{
222d8d5fc3eSGunnar Mills         "ActionParameterValueOutOfRange",
223d8d5fc3eSGunnar Mills         {
224d8d5fc3eSGunnar Mills             "Indicates that a parameter was given the correct value type but the value of that parameter is outside the supported range.",
225d8d5fc3eSGunnar Mills             "The value '%1' for the parameter %2 in the action %3 is not in the supported range of acceptable values.",
226d8d5fc3eSGunnar Mills             "Warning",
227d8d5fc3eSGunnar Mills             3,
228d8d5fc3eSGunnar Mills             {
229d8d5fc3eSGunnar Mills                 "string",
230d8d5fc3eSGunnar Mills                 "string",
231d8d5fc3eSGunnar Mills                 "string",
232d8d5fc3eSGunnar Mills             },
233d8d5fc3eSGunnar Mills             "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
234d8d5fc3eSGunnar Mills         }},
235d8d5fc3eSGunnar Mills     MessageEntry{
236ba27e59eSEd Tanous         "ActionParameterValueTypeError",
23770304cb5SJason M. Bills         {
238ba27e59eSEd 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.",
239d8d5fc3eSGunnar Mills             "The value '%1' for the parameter %2 in the action %3 is not a type that the parameter can accept.",
240271584abSEd Tanous             "Warning",
241271584abSEd Tanous             3,
24270304cb5SJason M. Bills             {
24370304cb5SJason M. Bills                 "string",
24470304cb5SJason M. Bills                 "string",
24570304cb5SJason M. Bills                 "string",
24670304cb5SJason M. Bills             },
247ba27e59eSEd Tanous             "Correct the value for the parameter in the request body and resubmit the request if the operation failed.",
24870304cb5SJason M. Bills         }},
24970304cb5SJason M. Bills     MessageEntry{
25075ec825cSEd Tanous         "ArraySizeTooLong",
25175ec825cSEd Tanous         {
25275ec825cSEd Tanous             "Indicates that the size of the array exceeded the maximum number of elements.",
25375ec825cSEd Tanous             "The array provided for property %1 exceeds the size limit %2.",
25475ec825cSEd Tanous             "Warning",
25575ec825cSEd Tanous             2,
25675ec825cSEd Tanous             {
25775ec825cSEd Tanous                 "string",
25875ec825cSEd Tanous                 "number",
25975ec825cSEd Tanous             },
26075ec825cSEd Tanous             "Resubmit the request with an appropriate array size.",
26175ec825cSEd Tanous         }},
26275ec825cSEd Tanous     MessageEntry{
26375ec825cSEd Tanous         "ArraySizeTooShort",
26475ec825cSEd Tanous         {
265d8d5fc3eSGunnar Mills             "Indicates that the size of the array is less than the minimum number of elements.",
26675ec825cSEd Tanous             "The array provided for property %1 is under the minimum size limit %2.",
26775ec825cSEd Tanous             "Warning",
26875ec825cSEd Tanous             2,
26975ec825cSEd Tanous             {
27075ec825cSEd Tanous                 "string",
27175ec825cSEd Tanous                 "number",
27275ec825cSEd Tanous             },
27375ec825cSEd Tanous             "Resubmit the request with an appropriate array size.",
27475ec825cSEd Tanous         }},
27575ec825cSEd Tanous     MessageEntry{
27675ec825cSEd Tanous         "AuthenticationTokenRequired",
27775ec825cSEd Tanous         {
27875ec825cSEd Tanous             "Indicates that the request could not be performed because an authentication token was not provided.",
27975ec825cSEd Tanous             "The request could not be performed because an authentication token was not provided.",
28075ec825cSEd Tanous             "Critical",
28175ec825cSEd Tanous             0,
28275ec825cSEd Tanous             {},
28375ec825cSEd Tanous             "Obtain an authentication token and resubmit the request.",
28475ec825cSEd Tanous         }},
28575ec825cSEd Tanous     MessageEntry{
286e7808c93SGunnar Mills         "ChassisPowerStateOffRequired",
287e7808c93SGunnar Mills         {
288ba27e59eSEd Tanous             "Indicates that the request requires a specified chassis to be powered off.",
289d8d5fc3eSGunnar Mills             "The chassis with Id '%1' is required to be powered off to perform this request.",
290e7808c93SGunnar Mills             "Warning",
291e7808c93SGunnar Mills             1,
292e7808c93SGunnar Mills             {
293e7808c93SGunnar Mills                 "string",
294e7808c93SGunnar Mills             },
295fc8a2b87SEd Tanous             "Power off the specified chassis and resubmit the request.",
296e7808c93SGunnar Mills         }},
297ba27e59eSEd Tanous     MessageEntry{
298ba27e59eSEd Tanous         "ChassisPowerStateOnRequired",
299e7808c93SGunnar Mills         {
300ba27e59eSEd Tanous             "Indicates that the request requires a specified chassis to be powered on.",
301d8d5fc3eSGunnar Mills             "The chassis with Id '%1' is required to be powered on to perform this request.",
302e7808c93SGunnar Mills             "Warning",
303e7808c93SGunnar Mills             1,
304e7808c93SGunnar Mills             {
305e7808c93SGunnar Mills                 "string",
306e7808c93SGunnar Mills             },
307fc8a2b87SEd Tanous             "Power on the specified chassis and resubmit the request.",
308fc8a2b87SEd Tanous         }},
309ba27e59eSEd Tanous     MessageEntry{
310ba27e59eSEd Tanous         "ConditionInRelatedResource",
311fc8a2b87SEd Tanous         {
312ba27e59eSEd Tanous             "Indicates that one or more fault or error conditions exist in a related resource.",
313ba27e59eSEd Tanous             "One or more conditions exist in a related resource.  See the OriginOfCondition property.",
314fc8a2b87SEd Tanous             "Warning",
315fc8a2b87SEd Tanous             0,
316fc8a2b87SEd Tanous             {},
317ba27e59eSEd Tanous             "Check the Conditions array in the resource shown in the OriginOfCondition property to determine the conditions that need attention.",
318e7808c93SGunnar Mills         }},
319e7808c93SGunnar Mills     MessageEntry{
32070304cb5SJason M. Bills         "CouldNotEstablishConnection",
32170304cb5SJason M. Bills         {
322ba27e59eSEd Tanous             "Indicates that the attempt to access the resource, file, or image at the URI was unsuccessful because a session could not be established.",
323fc8a2b87SEd Tanous             "The service failed to establish a connection with the URI '%1'.",
324271584abSEd Tanous             "Critical",
325271584abSEd Tanous             1,
32670304cb5SJason M. Bills             {
32770304cb5SJason M. Bills                 "string",
32870304cb5SJason M. Bills             },
329d8d5fc3eSGunnar Mills             "Ensure that the URI contains a valid and reachable node name, protocol information, and other URI components.",
33070304cb5SJason M. Bills         }},
33170304cb5SJason M. Bills     MessageEntry{
33270304cb5SJason M. Bills         "CreateFailedMissingReqProperties",
33370304cb5SJason M. Bills         {
334d8d5fc3eSGunnar 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.",
335ba27e59eSEd Tanous             "The create operation failed because the required property %1 was missing from the request.",
336271584abSEd Tanous             "Critical",
337271584abSEd Tanous             1,
33870304cb5SJason M. Bills             {
33970304cb5SJason M. Bills                 "string",
34070304cb5SJason M. Bills             },
341ba27e59eSEd Tanous             "Correct the body to include the required property with a valid value and resubmit the request if the operation failed.",
34270304cb5SJason M. Bills         }},
343ba27e59eSEd Tanous     MessageEntry{
344ba27e59eSEd Tanous         "CreateLimitReachedForResource",
34570304cb5SJason M. Bills         {
346ba27e59eSEd Tanous             "Indicates that no more resources can be created on the resource as it has reached its create limit.",
347ba27e59eSEd Tanous             "The create operation failed because the resource has reached the limit of possible resources.",
348271584abSEd Tanous             "Critical",
349271584abSEd Tanous             0,
350271584abSEd Tanous             {},
351ba27e59eSEd Tanous             "Either delete resources and resubmit the request if the operation failed or do not resubmit the request.",
35270304cb5SJason M. Bills         }},
353ba27e59eSEd Tanous     MessageEntry{
354ba27e59eSEd Tanous         "Created",
35570304cb5SJason M. Bills         {
356d8d5fc3eSGunnar Mills             "Indicates that all conditions of a successful create operation were met.",
357d8d5fc3eSGunnar Mills             "The resource was created successfully.",
358271584abSEd Tanous             "OK",
359271584abSEd Tanous             0,
360271584abSEd Tanous             {},
361fc8a2b87SEd Tanous             "None.",
36270304cb5SJason M. Bills         }},
36370304cb5SJason M. Bills     MessageEntry{
36470304cb5SJason M. Bills         "EmptyJSON",
36570304cb5SJason M. Bills         {
366ba27e59eSEd Tanous             "Indicates that the request body contained an empty JSON object when one or more properties are expected in the body.",
367ba27e59eSEd Tanous             "The request body submitted contained an empty JSON object and the service is unable to process it.",
368271584abSEd Tanous             "Warning",
369271584abSEd Tanous             0,
370271584abSEd Tanous             {},
37170304cb5SJason M. Bills             "Add properties in the JSON object and resubmit the request.",
37270304cb5SJason M. Bills         }},
37370304cb5SJason M. Bills     MessageEntry{
374f866686bSJiaqing Zhao         "EventBufferExceeded",
375f866686bSJiaqing Zhao         {
376f866686bSJiaqing Zhao             "Indicates undelivered events may have been lost due to a lack of buffer space in the service.",
377f866686bSJiaqing Zhao             "Undelivered events may have been lost due to exceeding the event buffer.",
378f866686bSJiaqing Zhao             "Warning",
379f866686bSJiaqing Zhao             0,
380f866686bSJiaqing Zhao             {},
381f866686bSJiaqing Zhao             "None.",
382f866686bSJiaqing Zhao         }},
383f866686bSJiaqing Zhao     MessageEntry{
38470304cb5SJason M. Bills         "EventSubscriptionLimitExceeded",
38570304cb5SJason M. Bills         {
386d8d5fc3eSGunnar 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.",
387ba27e59eSEd Tanous             "The event subscription failed due to the number of simultaneous subscriptions exceeding the limit of the implementation.",
388271584abSEd Tanous             "Critical",
389271584abSEd Tanous             0,
390271584abSEd Tanous             {},
391ba27e59eSEd Tanous             "Reduce the number of other subscriptions before trying to establish the event subscription or increase the limit of simultaneous subscriptions, if supported.",
39270304cb5SJason M. Bills         }},
39370304cb5SJason M. Bills     MessageEntry{
39470304cb5SJason M. Bills         "GeneralError",
39570304cb5SJason M. Bills         {
396ba27e59eSEd 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.",
397ba27e59eSEd Tanous             "A general error has occurred.  See Resolution for information on how to resolve the error, or @Message.ExtendedInfo if Resolution is not provided.",
398271584abSEd Tanous             "Critical",
399271584abSEd Tanous             0,
400271584abSEd Tanous             {},
401271584abSEd Tanous             "None.",
40270304cb5SJason M. Bills         }},
40370304cb5SJason M. Bills     MessageEntry{
404b575caefSJishnu CM         "GenerateSecretKeyRequired",
405b575caefSJishnu CM         {
406b575caefSJishnu 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.",
407b575caefSJishnu 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.",
408b575caefSJishnu CM             "Critical",
409b575caefSJishnu CM             1,
410b575caefSJishnu CM             {
411b575caefSJishnu CM                 "string",
412b575caefSJishnu CM             },
413b575caefSJishnu 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.",
414b575caefSJishnu CM         }},
415b575caefSJishnu CM     MessageEntry{
416f866686bSJiaqing Zhao         "HeaderInvalid",
417f866686bSJiaqing Zhao         {
418f866686bSJiaqing Zhao             "Indicates that a request header is invalid.",
419f866686bSJiaqing Zhao             "Header '%1' is invalid.",
420f866686bSJiaqing Zhao             "Critical",
421f866686bSJiaqing Zhao             1,
422f866686bSJiaqing Zhao             {
423f866686bSJiaqing Zhao                 "string",
424f866686bSJiaqing Zhao             },
425f866686bSJiaqing Zhao             "Resubmit the request with a valid request header.",
426f866686bSJiaqing Zhao         }},
427f866686bSJiaqing Zhao     MessageEntry{
428f866686bSJiaqing Zhao         "HeaderMissing",
429f866686bSJiaqing Zhao         {
430f866686bSJiaqing Zhao             "Indicates that a required request header is missing.",
431f866686bSJiaqing Zhao             "Required header '%1' is missing in the request.",
432f866686bSJiaqing Zhao             "Critical",
433f866686bSJiaqing Zhao             1,
434f866686bSJiaqing Zhao             {
435f866686bSJiaqing Zhao                 "string",
436f866686bSJiaqing Zhao             },
437f866686bSJiaqing Zhao             "Resubmit the request with the required request header.",
438f866686bSJiaqing Zhao         }},
439f866686bSJiaqing Zhao     MessageEntry{
44070304cb5SJason M. Bills         "InsufficientPrivilege",
44170304cb5SJason M. Bills         {
442ba27e59eSEd Tanous             "Indicates that the credentials associated with the established session do not have sufficient privileges for the requested operation.",
443ba27e59eSEd Tanous             "There are insufficient privileges for the account or credentials associated with the current session to perform the requested operation.",
444271584abSEd Tanous             "Critical",
445271584abSEd Tanous             0,
446271584abSEd Tanous             {},
447ba27e59eSEd Tanous             "Either abandon the operation or change the associated access rights and resubmit the request if the operation failed.",
44870304cb5SJason M. Bills         }},
44970304cb5SJason M. Bills     MessageEntry{
450f866686bSJiaqing Zhao         "InsufficientStorage",
451f866686bSJiaqing Zhao         {
452d8d5fc3eSGunnar Mills             "Indicates that the operation could not be completed due to a lack of storage or memory available to the service.",
453d8d5fc3eSGunnar Mills             "Insufficient storage or memory available to complete the request.",
454f866686bSJiaqing Zhao             "Critical",
455f866686bSJiaqing Zhao             0,
456f866686bSJiaqing Zhao             {},
457f866686bSJiaqing Zhao             "Increase the free storage space available to the service and resubmit the request.",
458f866686bSJiaqing Zhao         }},
459f866686bSJiaqing Zhao     MessageEntry{
46070304cb5SJason M. Bills         "InternalError",
46170304cb5SJason M. Bills         {
462ba27e59eSEd Tanous             "Indicates that the request failed for an unknown internal error but that the service is still operational.",
463ba27e59eSEd Tanous             "The request failed due to an internal service error.  The service is still operational.",
464271584abSEd Tanous             "Critical",
465271584abSEd Tanous             0,
466271584abSEd Tanous             {},
467ba27e59eSEd Tanous             "Resubmit the request.  If the problem persists, consider resetting the service.",
46870304cb5SJason M. Bills         }},
469ba27e59eSEd Tanous     MessageEntry{
470ba27e59eSEd Tanous         "InvalidIndex",
47170304cb5SJason M. Bills         {
472fc8a2b87SEd Tanous             "The index is not valid.",
473fc8a2b87SEd Tanous             "The index %1 is not a valid offset into the array.",
474271584abSEd Tanous             "Warning",
475271584abSEd Tanous             1,
47670304cb5SJason M. Bills             {
47770304cb5SJason M. Bills                 "number",
47870304cb5SJason M. Bills             },
479ba27e59eSEd Tanous             "Verify the index value provided is within the bounds of the array.",
48070304cb5SJason M. Bills         }},
48170304cb5SJason M. Bills     MessageEntry{
482fc8a2b87SEd Tanous         "InvalidJSON",
483fc8a2b87SEd Tanous         {
484fc8a2b87SEd Tanous             "Indicates that the request body contains invalid JSON.",
485f866686bSJiaqing Zhao             "The request body submitted is invalid JSON starting at line %1 and could not be parsed by the receiving service.",
486fc8a2b87SEd Tanous             "Critical",
487fc8a2b87SEd Tanous             1,
488fc8a2b87SEd Tanous             {
489fc8a2b87SEd Tanous                 "number",
490fc8a2b87SEd Tanous             },
491ba27e59eSEd Tanous             "Ensure that the request body is valid JSON and resubmit the request.",
492fc8a2b87SEd Tanous         }},
493fc8a2b87SEd Tanous     MessageEntry{
49470304cb5SJason M. Bills         "InvalidObject",
49570304cb5SJason M. Bills         {
496d8d5fc3eSGunnar Mills             "Indicates that the object in question is invalid according to the implementation.  An example is a firmware update malformed URI.",
497fc8a2b87SEd Tanous             "The object at '%1' is invalid.",
498271584abSEd Tanous             "Critical",
499271584abSEd Tanous             1,
50070304cb5SJason M. Bills             {
50170304cb5SJason M. Bills                 "string",
50270304cb5SJason M. Bills             },
503ba27e59eSEd Tanous             "Either the object is malformed or the URI is not correct.  Correct the condition and resubmit the request if it failed.",
50470304cb5SJason M. Bills         }},
505ba27e59eSEd Tanous     MessageEntry{
506ba27e59eSEd Tanous         "InvalidURI",
507fc8a2b87SEd Tanous         {
508ba27e59eSEd Tanous             "Indicates that the operation encountered a URI that does not correspond to a valid resource.",
509fc8a2b87SEd Tanous             "The URI %1 was not found.",
510fc8a2b87SEd Tanous             "Critical",
511fc8a2b87SEd Tanous             1,
512fc8a2b87SEd Tanous             {
513fc8a2b87SEd Tanous                 "string",
514fc8a2b87SEd Tanous             },
515fc8a2b87SEd Tanous             "Provide a valid URI and resubmit the request.",
516fc8a2b87SEd Tanous         }},
517ba27e59eSEd Tanous     MessageEntry{
51875ec825cSEd Tanous         "LicenseRequired",
51975ec825cSEd Tanous         {
52075ec825cSEd Tanous             "Indicates that a license is required to perform the requested operation.",
52175ec825cSEd Tanous             "A license is required for this operation: %1.",
52275ec825cSEd Tanous             "Critical",
52375ec825cSEd Tanous             1,
52475ec825cSEd Tanous             {
52575ec825cSEd Tanous                 "string",
52675ec825cSEd Tanous             },
52775ec825cSEd Tanous             "Install the requested license and resubmit the request.",
52875ec825cSEd Tanous         }},
52975ec825cSEd Tanous     MessageEntry{
530ba27e59eSEd Tanous         "MalformedJSON",
53170304cb5SJason M. Bills         {
532fc8a2b87SEd Tanous             "Indicates that the request body was malformed JSON.",
533ba27e59eSEd Tanous             "The request body submitted was malformed JSON and could not be parsed by the receiving service.",
534271584abSEd Tanous             "Critical",
535271584abSEd Tanous             0,
536271584abSEd Tanous             {},
537ba27e59eSEd Tanous             "Ensure that the request body is valid JSON and resubmit the request.",
53870304cb5SJason M. Bills         }},
53970304cb5SJason M. Bills     MessageEntry{
540e7808c93SGunnar Mills         "MaximumErrorsExceeded",
541e7808c93SGunnar Mills         {
542d8d5fc3eSGunnar Mills             "Indicates that so many errors have occurred that the reporting service cannot return them all.",
543e7808c93SGunnar Mills             "Too many errors have occurred to report them all.",
544e7808c93SGunnar Mills             "Critical",
545e7808c93SGunnar Mills             0,
546e7808c93SGunnar Mills             {},
547e7808c93SGunnar Mills             "Resolve other reported errors and retry the current operation.",
548e7808c93SGunnar Mills         }},
549e7808c93SGunnar Mills     MessageEntry{
550f866686bSJiaqing Zhao         "MissingOrMalformedPart",
551f866686bSJiaqing Zhao         {
552f866686bSJiaqing Zhao             "Indicates that a multipart request is missing a required part or contains malformed parts.",
553f866686bSJiaqing Zhao             "The multipart request contains malformed parts or is missing required parts.",
554f866686bSJiaqing Zhao             "Critical",
555f866686bSJiaqing Zhao             0,
556f866686bSJiaqing Zhao             {},
557f866686bSJiaqing Zhao             "Add any missing required parts or correct the malformed parts and resubmit the request.",
558f866686bSJiaqing Zhao         }},
559f866686bSJiaqing Zhao     MessageEntry{
56083f984b5SSunitha Harish         "NetworkNameResolutionNotConfigured",
56183f984b5SSunitha Harish         {
562d8d5fc3eSGunnar Mills             "Indicates that network-based name resolution is not configured on the service.",
563d8d5fc3eSGunnar Mills             "Network name resolution is not configured on this service.",
56483f984b5SSunitha Harish             "Warning",
56583f984b5SSunitha Harish             0,
56683f984b5SSunitha Harish             {},
567d8d5fc3eSGunnar 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.",
56883f984b5SSunitha Harish         }},
569ba27e59eSEd Tanous     MessageEntry{
570ba27e59eSEd Tanous         "NetworkNameResolutionNotSupported",
57183f984b5SSunitha Harish         {
572ba27e59eSEd Tanous             "Indicates the service does not support network-based name resolution.",
573ba27e59eSEd Tanous             "Resolution of network-based names is not supported by this service.",
57483f984b5SSunitha Harish             "Warning",
57583f984b5SSunitha Harish             0,
57683f984b5SSunitha Harish             {},
577ba27e59eSEd Tanous             "Update any URI values to include an IP address instead of a network name and resubmit the request.",
57883f984b5SSunitha Harish         }},
57983f984b5SSunitha Harish     MessageEntry{
58070304cb5SJason M. Bills         "NoOperation",
58170304cb5SJason M. Bills         {
582ba27e59eSEd Tanous             "Indicates that the requested operation will not perform any changes on the service.",
583ba27e59eSEd Tanous             "The request body submitted contain no data to act upon and no changes to the resource took place.",
584271584abSEd Tanous             "Warning",
585271584abSEd Tanous             0,
586271584abSEd Tanous             {},
58770304cb5SJason M. Bills             "Add properties in the JSON object and resubmit the request.",
58870304cb5SJason M. Bills         }},
58970304cb5SJason M. Bills     MessageEntry{
59070304cb5SJason M. Bills         "NoValidSession",
59170304cb5SJason M. Bills         {
592ba27e59eSEd Tanous             "Indicates that the operation failed because a valid session is required in order to access any resources.",
593271584abSEd Tanous             "There is no valid session established with the implementation.",
594271584abSEd Tanous             "Critical",
595271584abSEd Tanous             0,
596271584abSEd Tanous             {},
597e7808c93SGunnar Mills             "Establish a session before attempting any operations.",
598e7808c93SGunnar Mills         }},
599e7808c93SGunnar Mills     MessageEntry{
600d8d5fc3eSGunnar Mills         "OneTimePasscodeSent",
601d8d5fc3eSGunnar Mills         {
602b575caefSJishnu 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.",
603b575caefSJishnu CM             "A one-time passcode was sent to: %1.  Supply the passcode as the `Token` property in the request to create a session.",
604d8d5fc3eSGunnar Mills             "OK",
605d8d5fc3eSGunnar Mills             1,
606d8d5fc3eSGunnar Mills             {
607d8d5fc3eSGunnar Mills                 "string",
608d8d5fc3eSGunnar Mills             },
609b575caefSJishnu CM             "Obtain the one-time passcode sent to the delivery address and resubmit the request using the passcode as the `Token` property.",
610d8d5fc3eSGunnar Mills         }},
611d8d5fc3eSGunnar Mills     MessageEntry{
612e7808c93SGunnar Mills         "OperationFailed",
613e7808c93SGunnar Mills         {
614d8d5fc3eSGunnar 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.",
615ba27e59eSEd Tanous             "An error occurred internal to the service as part of the overall request.  Partial results may have been returned.",
616e7808c93SGunnar Mills             "Warning",
617e7808c93SGunnar Mills             0,
618e7808c93SGunnar Mills             {},
619ba27e59eSEd Tanous             "Resubmit the request.  If the problem persists, consider resetting the service or provider.",
620e7808c93SGunnar Mills         }},
621e7808c93SGunnar Mills     MessageEntry{
622f866686bSJiaqing Zhao         "OperationNotAllowed",
623f866686bSJiaqing Zhao         {
624f866686bSJiaqing Zhao             "Indicates that the HTTP method in the request is not allowed on this resource.",
625f866686bSJiaqing Zhao             "The HTTP method is not allowed on this resource.",
626f866686bSJiaqing Zhao             "Critical",
627f866686bSJiaqing Zhao             0,
628f866686bSJiaqing Zhao             {},
629f866686bSJiaqing Zhao             "None.",
630f866686bSJiaqing Zhao         }},
631f866686bSJiaqing Zhao     MessageEntry{
632ba27e59eSEd Tanous         "OperationTimeout",
633e7808c93SGunnar Mills         {
634d8d5fc3eSGunnar 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.",
635d8d5fc3eSGunnar Mills             "A timeout internal to the service occurred as part of the request.  Partial results may have been returned.",
636ba27e59eSEd Tanous             "Warning",
637ba27e59eSEd Tanous             0,
638ba27e59eSEd Tanous             {},
639ba27e59eSEd Tanous             "Resubmit the request.  If the problem persists, consider resetting the service or provider.",
640ba27e59eSEd Tanous         }},
6414d99bbb0SEd Tanous     MessageEntry{
6424d99bbb0SEd Tanous         "PasswordChangeRequired",
643ba27e59eSEd Tanous         {
644d8d5fc3eSGunnar 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.",
645ba27e59eSEd 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.",
646e7808c93SGunnar Mills             "Critical",
647e7808c93SGunnar Mills             1,
648e7808c93SGunnar Mills             {
649e7808c93SGunnar Mills                 "string",
650e7808c93SGunnar Mills             },
651ba27e59eSEd Tanous             "Change the password for this account using a PATCH to the Password property at the URI provided.",
652e7808c93SGunnar Mills         }},
653ba27e59eSEd Tanous     MessageEntry{
654f866686bSJiaqing Zhao         "PayloadTooLarge",
655f866686bSJiaqing Zhao         {
656f866686bSJiaqing Zhao             "Indicates that the supplied payload is too large to be accepted by the service.",
657f866686bSJiaqing Zhao             "The supplied payload exceeds the maximum size supported by the service.",
658f866686bSJiaqing Zhao             "Critical",
659f866686bSJiaqing Zhao             0,
660f866686bSJiaqing Zhao             {},
661f866686bSJiaqing Zhao             "Check that the supplied payload is correct and supported by this service.",
662f866686bSJiaqing Zhao         }},
663f866686bSJiaqing Zhao     MessageEntry{
664ba27e59eSEd Tanous         "PreconditionFailed",
665e7808c93SGunnar Mills         {
666ba27e59eSEd Tanous             "Indicates that the ETag supplied did not match the current ETag of the resource.",
667ba27e59eSEd Tanous             "The ETag supplied did not match the ETag required to change this resource.",
668e7808c93SGunnar Mills             "Critical",
669e7808c93SGunnar Mills             0,
670e7808c93SGunnar Mills             {},
671e7808c93SGunnar Mills             "Try the operation again using the appropriate ETag.",
672e7808c93SGunnar Mills         }},
673ba27e59eSEd Tanous     MessageEntry{
674ba27e59eSEd Tanous         "PreconditionRequired",
675e7808c93SGunnar Mills         {
676d8d5fc3eSGunnar 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.",
677ba27e59eSEd Tanous             "A precondition header or annotation is required to change this resource.",
678e7808c93SGunnar Mills             "Critical",
679e7808c93SGunnar Mills             0,
680e7808c93SGunnar Mills             {},
681ba27e59eSEd Tanous             "Try the operation again using an If-Match or If-None-Match header and appropriate ETag.",
68270304cb5SJason M. Bills         }},
683fc8a2b87SEd Tanous     MessageEntry{
684fc8a2b87SEd Tanous         "PropertyDeprecated",
685fc8a2b87SEd Tanous         {
686fc8a2b87SEd Tanous             "Indicates the property is deprecated.",
687fc8a2b87SEd Tanous             "The deprecated property %1 was included in the request body.",
688fc8a2b87SEd Tanous             "Warning",
689fc8a2b87SEd Tanous             1,
690fc8a2b87SEd Tanous             {
691fc8a2b87SEd Tanous                 "string",
692fc8a2b87SEd Tanous             },
693fc8a2b87SEd Tanous             "Refer to the schema guide for more information.",
694fc8a2b87SEd Tanous         }},
695ba27e59eSEd Tanous     MessageEntry{
696ba27e59eSEd Tanous         "PropertyDuplicate",
69770304cb5SJason M. Bills         {
698ba27e59eSEd Tanous             "Indicates that a duplicate property was included in the request body.",
699271584abSEd Tanous             "The property %1 was duplicated in the request.",
700271584abSEd Tanous             "Warning",
701271584abSEd Tanous             1,
70270304cb5SJason M. Bills             {
70370304cb5SJason M. Bills                 "string",
70470304cb5SJason M. Bills             },
705ba27e59eSEd Tanous             "Remove the duplicate property from the request body and resubmit the request if the operation failed.",
70670304cb5SJason M. Bills         }},
70770304cb5SJason M. Bills     MessageEntry{
70870304cb5SJason M. Bills         "PropertyMissing",
70970304cb5SJason M. Bills         {
710ba27e59eSEd Tanous             "Indicates that a required property was not supplied as part of the request.",
711ba27e59eSEd Tanous             "The property %1 is a required property and must be included in the request.",
712271584abSEd Tanous             "Warning",
713271584abSEd Tanous             1,
71470304cb5SJason M. Bills             {
71570304cb5SJason M. Bills                 "string",
71670304cb5SJason M. Bills             },
717ba27e59eSEd Tanous             "Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.",
71870304cb5SJason M. Bills         }},
719ba27e59eSEd Tanous     MessageEntry{
720b575caefSJishnu CM         "PropertyModified",
721b575caefSJishnu CM         {
722b575caefSJishnu CM             "Indicates that all properties listed in `RelatedProperties` in the message were successfully modified.",
723b575caefSJishnu CM             "One or more properties were successfully modified.",
724b575caefSJishnu CM             "OK",
725b575caefSJishnu CM             0,
726b575caefSJishnu CM             {},
727b575caefSJishnu CM             "None.",
728b575caefSJishnu CM         }},
729b575caefSJishnu CM     MessageEntry{
730f866686bSJiaqing Zhao         "PropertyNotUpdated",
731f866686bSJiaqing Zhao         {
732f866686bSJiaqing Zhao             "Indicates that a property was not updated due to an internal service error, but the service is still functional.",
733f866686bSJiaqing Zhao             "The property %1 was not updated due to an internal service error.  The service is still operational.",
734f866686bSJiaqing Zhao             "Critical",
735f866686bSJiaqing Zhao             1,
736f866686bSJiaqing Zhao             {
737f866686bSJiaqing Zhao                 "string",
738f866686bSJiaqing Zhao             },
739f866686bSJiaqing Zhao             "Resubmit the request.  If the problem persists, check for additional messages and consider resetting the service.",
740f866686bSJiaqing Zhao         }},
741f866686bSJiaqing Zhao     MessageEntry{
742ba27e59eSEd Tanous         "PropertyNotWritable",
74370304cb5SJason M. Bills         {
744d8d5fc3eSGunnar Mills             "Indicates that a property was given a value in the request body, but the property is a read-only property.",
745d8d5fc3eSGunnar Mills             "The property %1 is a read-only property and cannot be assigned a value.",
746271584abSEd Tanous             "Warning",
747271584abSEd Tanous             1,
74870304cb5SJason M. Bills             {
74970304cb5SJason M. Bills                 "string",
75070304cb5SJason M. Bills             },
751ba27e59eSEd Tanous             "Remove the property from the request body and resubmit the request if the operation failed.",
75270304cb5SJason M. Bills         }},
753ba27e59eSEd Tanous     MessageEntry{
754ba27e59eSEd Tanous         "PropertyUnknown",
75570304cb5SJason M. Bills         {
756ba27e59eSEd Tanous             "Indicates that an unknown property was included in the request body.",
757ba27e59eSEd Tanous             "The property %1 is not in the list of valid properties for the resource.",
758271584abSEd Tanous             "Warning",
759271584abSEd Tanous             1,
76070304cb5SJason M. Bills             {
76170304cb5SJason M. Bills                 "string",
76270304cb5SJason M. Bills             },
763ba27e59eSEd Tanous             "Remove the unknown property from the request body and resubmit the request if the operation failed.",
76470304cb5SJason M. Bills         }},
765e7808c93SGunnar Mills     MessageEntry{
766e7808c93SGunnar Mills         "PropertyValueConflict",
767e7808c93SGunnar Mills         {
768d8d5fc3eSGunnar Mills             "Indicates that the requested write of a property value could not be completed because of a conflict with another property value.",
769ba27e59eSEd Tanous             "The property '%1' could not be written because its value would conflict with the value of the '%2' property.",
770e7808c93SGunnar Mills             "Warning",
771e7808c93SGunnar Mills             2,
772e7808c93SGunnar Mills             {
773e7808c93SGunnar Mills                 "string",
774e7808c93SGunnar Mills                 "string",
775e7808c93SGunnar Mills             },
776d8d5fc3eSGunnar Mills             "None.",
777e7808c93SGunnar Mills         }},
778ba27e59eSEd Tanous     MessageEntry{
779ba27e59eSEd Tanous         "PropertyValueDeprecated",
780fc8a2b87SEd Tanous         {
781fc8a2b87SEd Tanous             "Indicates that a property was given a deprecated value.",
782fc8a2b87SEd Tanous             "The value '%1' for the property %2 is deprecated.",
783fc8a2b87SEd Tanous             "Warning",
784f866686bSJiaqing Zhao             2,
785fc8a2b87SEd Tanous             {
786fc8a2b87SEd Tanous                 "string",
787fc8a2b87SEd Tanous                 "string",
788fc8a2b87SEd Tanous             },
789fc8a2b87SEd Tanous             "Refer to the schema guide for more information.",
790fc8a2b87SEd Tanous         }},
791ba27e59eSEd Tanous     MessageEntry{
792ba27e59eSEd Tanous         "PropertyValueError",
79383f984b5SSunitha Harish         {
79483f984b5SSunitha Harish             "Indicates that a property was given an invalid value.",
79583f984b5SSunitha Harish             "The value provided for the property %1 is not valid.",
79683f984b5SSunitha Harish             "Warning",
79783f984b5SSunitha Harish             1,
79883f984b5SSunitha Harish             {
79983f984b5SSunitha Harish                 "string",
80083f984b5SSunitha Harish             },
801ba27e59eSEd Tanous             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
80283f984b5SSunitha Harish         }},
803fc8a2b87SEd Tanous     MessageEntry{
804fc8a2b87SEd Tanous         "PropertyValueExternalConflict",
805fc8a2b87SEd Tanous         {
806d8d5fc3eSGunnar 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.",
807ba27e59eSEd 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.",
808fc8a2b87SEd Tanous             "Warning",
809fc8a2b87SEd Tanous             2,
810fc8a2b87SEd Tanous             {
811fc8a2b87SEd Tanous                 "string",
812fc8a2b87SEd Tanous                 "string",
813fc8a2b87SEd Tanous             },
814d8d5fc3eSGunnar Mills             "None.",
815fc8a2b87SEd Tanous         }},
816ba27e59eSEd Tanous     MessageEntry{
817ba27e59eSEd Tanous         "PropertyValueFormatError",
818271584abSEd Tanous         {
819d8d5fc3eSGunnar Mills             "Indicates that a property was given the correct value type but the format of the value is not supported.",
820d8d5fc3eSGunnar Mills             "The value '%1' for the property %2 is not a format that the property can accept.",
821271584abSEd Tanous             "Warning",
822271584abSEd Tanous             2,
823271584abSEd Tanous             {
824271584abSEd Tanous                 "string",
825271584abSEd Tanous                 "string",
826271584abSEd Tanous             },
827ba27e59eSEd Tanous             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
828271584abSEd Tanous         }},
829ba27e59eSEd Tanous     MessageEntry{
830ba27e59eSEd Tanous         "PropertyValueIncorrect",
831e7808c93SGunnar Mills         {
832d8d5fc3eSGunnar 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.",
833ba27e59eSEd 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.",
834e7808c93SGunnar Mills             "Warning",
835e7808c93SGunnar Mills             2,
836e7808c93SGunnar Mills             {
837e7808c93SGunnar Mills                 "string",
838e7808c93SGunnar Mills                 "string",
839e7808c93SGunnar Mills             },
840d8d5fc3eSGunnar Mills             "None.",
841e7808c93SGunnar Mills         }},
842ba27e59eSEd Tanous     MessageEntry{
843ba27e59eSEd Tanous         "PropertyValueModified",
84470304cb5SJason M. Bills         {
845ba27e59eSEd 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.",
846ba27e59eSEd Tanous             "The property %1 was assigned the value '%2' due to modification by the service.",
847271584abSEd Tanous             "Warning",
848271584abSEd Tanous             2,
84970304cb5SJason M. Bills             {
85070304cb5SJason M. Bills                 "string",
85170304cb5SJason M. Bills                 "string",
85270304cb5SJason M. Bills             },
853d8d5fc3eSGunnar Mills             "None.",
85470304cb5SJason M. Bills         }},
85570304cb5SJason M. Bills     MessageEntry{
85670304cb5SJason M. Bills         "PropertyValueNotInList",
85770304cb5SJason M. Bills         {
858ba27e59eSEd 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.",
859ba27e59eSEd Tanous             "The value '%1' for the property %2 is not in the list of acceptable values.",
860271584abSEd Tanous             "Warning",
861271584abSEd Tanous             2,
86270304cb5SJason M. Bills             {
86370304cb5SJason M. Bills                 "string",
86470304cb5SJason M. Bills                 "string",
86570304cb5SJason M. Bills             },
866ba27e59eSEd Tanous             "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.",
86770304cb5SJason M. Bills         }},
868ba27e59eSEd Tanous     MessageEntry{
869f866686bSJiaqing Zhao         "PropertyValueOutOfRange",
870f866686bSJiaqing Zhao         {
871f866686bSJiaqing Zhao             "Indicates that a property was given the correct value type but the value of that property is outside the supported range.",
872f866686bSJiaqing Zhao             "The value '%1' for the property %2 is not in the supported range of acceptable values.",
873f866686bSJiaqing Zhao             "Warning",
874f866686bSJiaqing Zhao             2,
875f866686bSJiaqing Zhao             {
876f866686bSJiaqing Zhao                 "string",
877f866686bSJiaqing Zhao                 "string",
878f866686bSJiaqing Zhao             },
879f866686bSJiaqing Zhao             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
880f866686bSJiaqing Zhao         }},
881f866686bSJiaqing Zhao     MessageEntry{
882ba27e59eSEd Tanous         "PropertyValueResourceConflict",
883fc8a2b87SEd Tanous         {
884d8d5fc3eSGunnar Mills             "Indicates that the requested write of a property value could not be completed due to the current state or configuration of another resource.",
885ba27e59eSEd 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'.",
886fc8a2b87SEd Tanous             "Warning",
887fc8a2b87SEd Tanous             3,
888fc8a2b87SEd Tanous             {
889fc8a2b87SEd Tanous                 "string",
890fc8a2b87SEd Tanous                 "string",
891fc8a2b87SEd Tanous                 "string",
892fc8a2b87SEd Tanous             },
893d8d5fc3eSGunnar Mills             "None.",
894fc8a2b87SEd Tanous         }},
89570304cb5SJason M. Bills     MessageEntry{
89670304cb5SJason M. Bills         "PropertyValueTypeError",
89770304cb5SJason M. Bills         {
898ba27e59eSEd 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.",
899d8d5fc3eSGunnar Mills             "The value '%1' for the property %2 is not a type that the property can accept.",
900271584abSEd Tanous             "Warning",
901271584abSEd Tanous             2,
90270304cb5SJason M. Bills             {
90370304cb5SJason M. Bills                 "string",
90470304cb5SJason M. Bills                 "string",
90570304cb5SJason M. Bills             },
906ba27e59eSEd Tanous             "Correct the value for the property in the request body and resubmit the request if the operation failed.",
90770304cb5SJason M. Bills         }},
90870304cb5SJason M. Bills     MessageEntry{
909e7808c93SGunnar Mills         "QueryCombinationInvalid",
910e7808c93SGunnar Mills         {
911d8d5fc3eSGunnar Mills             "Indicates the request contains multiple query parameters and that two or more of them cannot be used together.",
912ba27e59eSEd Tanous             "Two or more query parameters in the request cannot be used together.",
913e7808c93SGunnar Mills             "Warning",
914e7808c93SGunnar Mills             0,
915e7808c93SGunnar Mills             {},
916ba27e59eSEd Tanous             "Remove one or more of the query parameters and resubmit the request if the operation failed.",
917e7808c93SGunnar Mills         }},
918e7808c93SGunnar Mills     MessageEntry{
91970304cb5SJason M. Bills         "QueryNotSupported",
92070304cb5SJason M. Bills         {
92170304cb5SJason M. Bills             "Indicates that query is not supported on the implementation.",
922271584abSEd Tanous             "Querying is not supported by the implementation.",
923271584abSEd Tanous             "Warning",
924e7808c93SGunnar Mills             0,
925e7808c93SGunnar Mills             {},
926ba27e59eSEd Tanous             "Remove the query parameters and resubmit the request if the operation failed.",
927e7808c93SGunnar Mills         }},
928ba27e59eSEd Tanous     MessageEntry{
929ba27e59eSEd Tanous         "QueryNotSupportedOnOperation",
930e7808c93SGunnar Mills         {
931d8d5fc3eSGunnar Mills             "Indicates that query is not supported with the given operation, such as when the `$expand` query is attempted with a `PATCH` operation.",
932e7808c93SGunnar Mills             "Querying is not supported with the requested operation.",
933e7808c93SGunnar Mills             "Warning",
934271584abSEd Tanous             0,
935271584abSEd Tanous             {},
936ba27e59eSEd Tanous             "Remove the query parameters and resubmit the request if the operation failed.",
93770304cb5SJason M. Bills         }},
938ba27e59eSEd Tanous     MessageEntry{
939ba27e59eSEd Tanous         "QueryNotSupportedOnResource",
94070304cb5SJason M. Bills         {
941ba27e59eSEd 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.",
942271584abSEd Tanous             "Querying is not supported on the requested resource.",
943271584abSEd Tanous             "Warning",
944271584abSEd Tanous             0,
945271584abSEd Tanous             {},
946ba27e59eSEd Tanous             "Remove the query parameters and resubmit the request if the operation failed.",
94770304cb5SJason M. Bills         }},
9484d99bbb0SEd Tanous     MessageEntry{
9494d99bbb0SEd Tanous         "QueryParameterOutOfRange",
95070304cb5SJason M. Bills         {
951d8d5fc3eSGunnar 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.",
952fc8a2b87SEd Tanous             "The value '%1' for the query parameter %2 is out of range %3.",
953271584abSEd Tanous             "Warning",
954271584abSEd Tanous             3,
95570304cb5SJason M. Bills             {
95670304cb5SJason M. Bills                 "string",
95770304cb5SJason M. Bills                 "string",
95870304cb5SJason M. Bills                 "string",
95970304cb5SJason M. Bills             },
960d8d5fc3eSGunnar 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.",
96170304cb5SJason M. Bills         }},
962fc8a2b87SEd Tanous     MessageEntry{
96375ec825cSEd Tanous         "QueryParameterUnsupported",
96475ec825cSEd Tanous         {
96575ec825cSEd Tanous             "Indicates that a query parameter is not supported.",
96675ec825cSEd Tanous             "Query parameter '%1' is not supported.",
96775ec825cSEd Tanous             "Warning",
96875ec825cSEd Tanous             1,
96975ec825cSEd Tanous             {
97075ec825cSEd Tanous                 "string",
97175ec825cSEd Tanous             },
97275ec825cSEd Tanous             "Correct or remove the query parameter and resubmit the request.",
97375ec825cSEd Tanous         }},
97475ec825cSEd Tanous     MessageEntry{
97583f984b5SSunitha Harish         "QueryParameterValueError",
97683f984b5SSunitha Harish         {
97783f984b5SSunitha Harish             "Indicates that a query parameter was given an invalid value.",
97883f984b5SSunitha Harish             "The value for the parameter %1 is invalid.",
97983f984b5SSunitha Harish             "Warning",
98083f984b5SSunitha Harish             1,
98183f984b5SSunitha Harish             {
98283f984b5SSunitha Harish                 "string",
98383f984b5SSunitha Harish             },
984ba27e59eSEd Tanous             "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
98583f984b5SSunitha Harish         }},
98683f984b5SSunitha Harish     MessageEntry{
987fc8a2b87SEd Tanous         "QueryParameterValueFormatError",
98870304cb5SJason M. Bills         {
989d8d5fc3eSGunnar Mills             "Indicates that a query parameter was given the correct value type but the format of the value is not supported.",
990d8d5fc3eSGunnar Mills             "The value '%1' for the parameter %2 is not a format that the parameter can accept.",
991271584abSEd Tanous             "Warning",
992271584abSEd Tanous             2,
99370304cb5SJason M. Bills             {
99470304cb5SJason M. Bills                 "string",
99570304cb5SJason M. Bills                 "string",
99670304cb5SJason M. Bills             },
997ba27e59eSEd Tanous             "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
99870304cb5SJason M. Bills         }},
999ba27e59eSEd Tanous     MessageEntry{
1000ba27e59eSEd Tanous         "QueryParameterValueTypeError",
100170304cb5SJason M. Bills         {
1002ba27e59eSEd 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.",
1003d8d5fc3eSGunnar Mills             "The value '%1' for the query parameter %2 is not a type that the parameter can accept.",
1004271584abSEd Tanous             "Warning",
1005271584abSEd Tanous             2,
100670304cb5SJason M. Bills             {
100770304cb5SJason M. Bills                 "string",
100870304cb5SJason M. Bills                 "string",
100970304cb5SJason M. Bills             },
1010ba27e59eSEd Tanous             "Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
101170304cb5SJason M. Bills         }},
1012e7808c93SGunnar Mills     MessageEntry{
1013f866686bSJiaqing Zhao         "ResetRecommended",
1014f866686bSJiaqing Zhao         {
1015d8d5fc3eSGunnar Mills             "Indicates that a component reset is recommended for error recovery while unaffected applications can continue running without any effect on accuracy and performance.",
1016f866686bSJiaqing Zhao             "In order to recover from errors, a component reset is recommended with the Reset action URI '%1' and ResetType '%2'.",
1017f866686bSJiaqing Zhao             "Warning",
1018f866686bSJiaqing Zhao             2,
1019f866686bSJiaqing Zhao             {
1020f866686bSJiaqing Zhao                 "string",
1021f866686bSJiaqing Zhao                 "string",
1022f866686bSJiaqing Zhao             },
1023f866686bSJiaqing Zhao             "Perform the recommended reset action on the specified component.",
1024f866686bSJiaqing Zhao         }},
1025f866686bSJiaqing Zhao     MessageEntry{
1026e7808c93SGunnar Mills         "ResetRequired",
1027e7808c93SGunnar Mills         {
1028f866686bSJiaqing Zhao             "Indicates that a component reset is required for changes, error recovery, or operations to complete.",
1029f866686bSJiaqing 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'.",
1030e7808c93SGunnar Mills             "Warning",
1031e7808c93SGunnar Mills             2,
1032e7808c93SGunnar Mills             {
1033e7808c93SGunnar Mills                 "string",
1034e7808c93SGunnar Mills                 "string",
1035e7808c93SGunnar Mills             },
1036fc8a2b87SEd Tanous             "Perform the required reset action on the specified component.",
1037e7808c93SGunnar Mills         }},
1038ba27e59eSEd Tanous     MessageEntry{
1039ba27e59eSEd Tanous         "ResourceAlreadyExists",
104070304cb5SJason M. Bills         {
1041ba27e59eSEd Tanous             "Indicates that a resource change or creation was attempted but that the operation cannot proceed because the resource already exists.",
1042ba27e59eSEd Tanous             "The requested resource of type %1 with the property %2 with the value '%3' already exists.",
1043271584abSEd Tanous             "Critical",
1044271584abSEd Tanous             3,
104570304cb5SJason M. Bills             {
104670304cb5SJason M. Bills                 "string",
104770304cb5SJason M. Bills                 "string",
104870304cb5SJason M. Bills                 "string",
104970304cb5SJason M. Bills             },
1050d8d5fc3eSGunnar Mills             "Do not repeat the create operation as the resource was already created.",
105170304cb5SJason M. Bills         }},
105270304cb5SJason M. Bills     MessageEntry{
105370304cb5SJason M. Bills         "ResourceAtUriInUnknownFormat",
105470304cb5SJason M. Bills         {
1055ba27e59eSEd Tanous             "Indicates that the URI was valid but the resource or image at that URI was in a format not supported by the service.",
1056ba27e59eSEd Tanous             "The resource at '%1' is in a format not recognized by the service.",
1057271584abSEd Tanous             "Critical",
1058271584abSEd Tanous             1,
105970304cb5SJason M. Bills             {
106070304cb5SJason M. Bills                 "string",
106170304cb5SJason M. Bills             },
1062ba27e59eSEd Tanous             "Place an image or resource or file that is recognized by the service at the URI.",
106370304cb5SJason M. Bills         }},
1064ba27e59eSEd Tanous     MessageEntry{
1065ba27e59eSEd Tanous         "ResourceAtUriUnauthorized",
106670304cb5SJason M. Bills         {
1067ba27e59eSEd Tanous             "Indicates that the attempt to access the resource, file, or image at the URI was unauthorized.",
1068ba27e59eSEd Tanous             "While accessing the resource at '%1', the service received an authorization error '%2'.",
1069271584abSEd Tanous             "Critical",
1070271584abSEd Tanous             2,
107170304cb5SJason M. Bills             {
107270304cb5SJason M. Bills                 "string",
107370304cb5SJason M. Bills                 "string",
107470304cb5SJason M. Bills             },
1075ba27e59eSEd Tanous             "Ensure that the appropriate access is provided for the service in order for it to access the URI.",
107670304cb5SJason M. Bills         }},
1077ba27e59eSEd Tanous     MessageEntry{
1078ba27e59eSEd Tanous         "ResourceCannotBeDeleted",
107970304cb5SJason M. Bills         {
1080ba27e59eSEd Tanous             "Indicates that a delete operation was attempted on a resource that cannot be deleted.",
1081ba27e59eSEd Tanous             "The delete request failed because the resource requested cannot be deleted.",
1082271584abSEd Tanous             "Critical",
1083271584abSEd Tanous             0,
1084271584abSEd Tanous             {},
1085271584abSEd Tanous             "Do not attempt to delete a non-deletable resource.",
108670304cb5SJason M. Bills         }},
108770304cb5SJason M. Bills     MessageEntry{
1088e7808c93SGunnar Mills         "ResourceCreationConflict",
1089e7808c93SGunnar Mills         {
1090ba27e59eSEd Tanous             "Indicates that the requested resource creation could not be completed because the service has a resource that conflicts with the request.",
1091ba27e59eSEd Tanous             "The resource could not be created.  The service has a resource at URI '%1' that conflicts with the creation request.",
1092e7808c93SGunnar Mills             "Warning",
1093e7808c93SGunnar Mills             1,
1094e7808c93SGunnar Mills             {
1095e7808c93SGunnar Mills                 "string",
1096e7808c93SGunnar Mills             },
1097d8d5fc3eSGunnar Mills             "None.",
1098e7808c93SGunnar Mills         }},
1099e7808c93SGunnar Mills     MessageEntry{
1100fc8a2b87SEd Tanous         "ResourceDeprecated",
1101fc8a2b87SEd Tanous         {
1102fc8a2b87SEd Tanous             "Indicates the resource is deprecated.",
1103fc8a2b87SEd Tanous             "The operation was performed on a deprecated resource '%1'.",
1104fc8a2b87SEd Tanous             "Warning",
1105fc8a2b87SEd Tanous             1,
1106fc8a2b87SEd Tanous             {
1107fc8a2b87SEd Tanous                 "string",
1108fc8a2b87SEd Tanous             },
1109fc8a2b87SEd Tanous             "Refer to the schema guide for more information.",
1110fc8a2b87SEd Tanous         }},
1111fc8a2b87SEd Tanous     MessageEntry{
111270304cb5SJason M. Bills         "ResourceExhaustion",
111370304cb5SJason M. Bills         {
1114d8d5fc3eSGunnar Mills             "Indicates that a resource could not satisfy the request due to some unavailability of resources.  An example is that available capacity was allocated.",
1115ba27e59eSEd Tanous             "The resource '%1' was unable to satisfy the request due to unavailability of resources.",
1116271584abSEd Tanous             "Critical",
1117271584abSEd Tanous             1,
111870304cb5SJason M. Bills             {
111970304cb5SJason M. Bills                 "string",
112070304cb5SJason M. Bills             },
1121271584abSEd Tanous             "Ensure that the resources are available and resubmit the request.",
112270304cb5SJason M. Bills         }},
1123ba27e59eSEd Tanous     MessageEntry{
1124ba27e59eSEd Tanous         "ResourceInStandby",
112570304cb5SJason M. Bills         {
1126ba27e59eSEd Tanous             "Indicates that the request could not be performed because the resource is in standby.",
1127ba27e59eSEd Tanous             "The request could not be performed because the resource is in standby.",
1128271584abSEd Tanous             "Critical",
1129271584abSEd Tanous             0,
1130271584abSEd Tanous             {},
1131ba27e59eSEd Tanous             "Ensure that the resource is in the correct power state and resubmit the request.",
113270304cb5SJason M. Bills         }},
1133ba27e59eSEd Tanous     MessageEntry{
1134ba27e59eSEd Tanous         "ResourceInUse",
113570304cb5SJason M. Bills         {
1136ba27e59eSEd Tanous             "Indicates that a change was requested to a resource but the change was rejected due to the resource being in use or transition.",
1137ba27e59eSEd Tanous             "The change to the requested resource failed because the resource is in use or in transition.",
1138271584abSEd Tanous             "Warning",
1139271584abSEd Tanous             0,
1140271584abSEd Tanous             {},
1141ba27e59eSEd Tanous             "Remove the condition and resubmit the request if the operation failed.",
114270304cb5SJason M. Bills         }},
114370304cb5SJason M. Bills     MessageEntry{
114470304cb5SJason M. Bills         "ResourceMissingAtURI",
114570304cb5SJason M. Bills         {
1146d8d5fc3eSGunnar 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.",
1147fc8a2b87SEd Tanous             "The resource at the URI '%1' was not found.",
1148271584abSEd Tanous             "Critical",
1149271584abSEd Tanous             1,
115070304cb5SJason M. Bills             {
115170304cb5SJason M. Bills                 "string",
115270304cb5SJason M. Bills             },
1153ba27e59eSEd Tanous             "Place a valid resource at the URI or correct the URI and resubmit the request.",
115470304cb5SJason M. Bills         }},
115570304cb5SJason M. Bills     MessageEntry{
115670304cb5SJason M. Bills         "ResourceNotFound",
115770304cb5SJason M. Bills         {
1158ba27e59eSEd Tanous             "Indicates that the operation expected a resource identifier that corresponds to an existing resource but one was not found.",
1159fc8a2b87SEd Tanous             "The requested resource of type %1 named '%2' was not found.",
1160271584abSEd Tanous             "Critical",
1161271584abSEd Tanous             2,
116270304cb5SJason M. Bills             {
116370304cb5SJason M. Bills                 "string",
116470304cb5SJason M. Bills                 "string",
116570304cb5SJason M. Bills             },
116670304cb5SJason M. Bills             "Provide a valid resource identifier and resubmit the request.",
116770304cb5SJason M. Bills         }},
116870304cb5SJason M. Bills     MessageEntry{
116970304cb5SJason M. Bills         "ResourceTypeIncompatible",
117070304cb5SJason M. Bills         {
1171d8d5fc3eSGunnar 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.",
1172ba27e59eSEd Tanous             "The @odata.type of the request body %1 is incompatible with the @odata.type of the resource, which is %2.",
1173271584abSEd Tanous             "Critical",
1174271584abSEd Tanous             2,
117570304cb5SJason M. Bills             {
117670304cb5SJason M. Bills                 "string",
117770304cb5SJason M. Bills                 "string",
117870304cb5SJason M. Bills             },
1179ba27e59eSEd Tanous             "Resubmit the request with a payload compatible with the resource's schema.",
118070304cb5SJason M. Bills         }},
1181ba27e59eSEd Tanous     MessageEntry{
1182ba27e59eSEd Tanous         "RestrictedPrivilege",
1183fc8a2b87SEd Tanous         {
1184ba27e59eSEd Tanous             "Indicates that the operation was not successful because a privilege is restricted.",
1185ba27e59eSEd Tanous             "The operation was not successful because the privilege '%1' is restricted.",
1186fc8a2b87SEd Tanous             "Warning",
1187fc8a2b87SEd Tanous             1,
1188fc8a2b87SEd Tanous             {
1189fc8a2b87SEd Tanous                 "string",
1190fc8a2b87SEd Tanous             },
1191ba27e59eSEd Tanous             "Remove restricted privileges from the request body and resubmit the request.",
1192fc8a2b87SEd Tanous         }},
1193ba27e59eSEd Tanous     MessageEntry{
1194ba27e59eSEd Tanous         "RestrictedRole",
1195fc8a2b87SEd Tanous         {
1196ba27e59eSEd Tanous             "Indicates that the operation was not successful because the role is restricted.",
1197ba27e59eSEd Tanous             "The operation was not successful because the role '%1' is restricted.",
1198fc8a2b87SEd Tanous             "Warning",
1199fc8a2b87SEd Tanous             1,
1200fc8a2b87SEd Tanous             {
1201fc8a2b87SEd Tanous                 "string",
1202fc8a2b87SEd Tanous             },
1203ba27e59eSEd Tanous             "No resolution is required.  For standard roles, consider using the role specified in the AlternateRoleId property in the Role resource.",
1204fc8a2b87SEd Tanous         }},
120570304cb5SJason M. Bills     MessageEntry{
120683f984b5SSunitha Harish         "ServiceDisabled",
120783f984b5SSunitha Harish         {
1208ba27e59eSEd Tanous             "Indicates that the operation failed because the service, such as the account service, is disabled and cannot accept requests.",
1209ba27e59eSEd Tanous             "The operation failed because the service at %1 is disabled and cannot accept requests.",
121083f984b5SSunitha Harish             "Warning",
121183f984b5SSunitha Harish             1,
121283f984b5SSunitha Harish             {
121383f984b5SSunitha Harish                 "string",
121483f984b5SSunitha Harish             },
1215ba27e59eSEd Tanous             "Enable the service and resubmit the request if the operation failed.",
121683f984b5SSunitha Harish         }},
121783f984b5SSunitha Harish     MessageEntry{
121870304cb5SJason M. Bills         "ServiceInUnknownState",
121970304cb5SJason M. Bills         {
1220ba27e59eSEd Tanous             "Indicates that the operation failed because the service is in an unknown state and cannot accept additional requests.",
1221ba27e59eSEd Tanous             "The operation failed because the service is in an unknown state and can no longer take incoming requests.",
1222271584abSEd Tanous             "Critical",
1223271584abSEd Tanous             0,
1224271584abSEd Tanous             {},
1225ba27e59eSEd Tanous             "Restart the service and resubmit the request if the operation failed.",
122670304cb5SJason M. Bills         }},
1227ba27e59eSEd Tanous     MessageEntry{
1228ba27e59eSEd Tanous         "ServiceShuttingDown",
122970304cb5SJason M. Bills         {
1230d8d5fc3eSGunnar Mills             "Indicates that the operation failed because the service is shutting down, such as when the service reboots.",
1231ba27e59eSEd Tanous             "The operation failed because the service is shutting down and can no longer take incoming requests.",
1232271584abSEd Tanous             "Critical",
1233271584abSEd Tanous             0,
1234271584abSEd Tanous             {},
1235ba27e59eSEd Tanous             "When the service becomes available, resubmit the request if the operation failed.",
123670304cb5SJason M. Bills         }},
123770304cb5SJason M. Bills     MessageEntry{
123870304cb5SJason M. Bills         "ServiceTemporarilyUnavailable",
123970304cb5SJason M. Bills         {
1240271584abSEd Tanous             "Indicates the service is temporarily unavailable.",
124170304cb5SJason M. Bills             "The service is temporarily unavailable.  Retry in %1 seconds.",
1242271584abSEd Tanous             "Critical",
1243271584abSEd Tanous             1,
124470304cb5SJason M. Bills             {
124570304cb5SJason M. Bills                 "string",
124670304cb5SJason M. Bills             },
1247271584abSEd Tanous             "Wait for the indicated retry duration and retry the operation.",
124870304cb5SJason M. Bills         }},
124970304cb5SJason M. Bills     MessageEntry{
125070304cb5SJason M. Bills         "SessionLimitExceeded",
125170304cb5SJason M. Bills         {
1252d8d5fc3eSGunnar 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.",
1253ba27e59eSEd Tanous             "The session establishment failed due to the number of simultaneous sessions exceeding the limit of the implementation.",
1254271584abSEd Tanous             "Critical",
1255271584abSEd Tanous             0,
1256271584abSEd Tanous             {},
1257ba27e59eSEd Tanous             "Reduce the number of other sessions before trying to establish the session or increase the limit of simultaneous sessions, if supported.",
125870304cb5SJason M. Bills         }},
125970304cb5SJason M. Bills     MessageEntry{
126070304cb5SJason M. Bills         "SessionTerminated",
126170304cb5SJason M. Bills         {
1262d8d5fc3eSGunnar Mills             "Indicates that the `DELETE` operation on the session resource resulted in the successful termination of the session.",
1263271584abSEd Tanous             "The session was successfully terminated.",
1264271584abSEd Tanous             "OK",
1265271584abSEd Tanous             0,
1266271584abSEd Tanous             {},
1267d8d5fc3eSGunnar Mills             "None.",
126870304cb5SJason M. Bills         }},
126970304cb5SJason M. Bills     MessageEntry{
127070304cb5SJason M. Bills         "SourceDoesNotSupportProtocol",
127170304cb5SJason M. Bills         {
1272d8d5fc3eSGunnar 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.",
1273ba27e59eSEd Tanous             "The other end of the connection at '%1' does not support the specified protocol %2.",
1274271584abSEd Tanous             "Critical",
1275271584abSEd Tanous             2,
127670304cb5SJason M. Bills             {
127770304cb5SJason M. Bills                 "string",
127870304cb5SJason M. Bills                 "string",
127970304cb5SJason M. Bills             },
1280271584abSEd Tanous             "Change protocols or URIs.",
128170304cb5SJason M. Bills         }},
1282ba27e59eSEd Tanous     MessageEntry{
1283ba27e59eSEd Tanous         "StrictAccountTypes",
1284fc8a2b87SEd Tanous         {
1285ba27e59eSEd Tanous             "Indicates the request failed because a set of `AccountTypes` or `OEMAccountTypes` was not accepted while `StrictAccountTypes` is set to `true`.",
1286d8d5fc3eSGunnar Mills             "The request could not be fulfilled with the account types included in property '%1' because the property StrictAccountTypes is set to true.",
1287fc8a2b87SEd Tanous             "Warning",
1288fc8a2b87SEd Tanous             1,
1289fc8a2b87SEd Tanous             {
1290fc8a2b87SEd Tanous                 "string",
1291fc8a2b87SEd Tanous             },
1292ba27e59eSEd Tanous             "Resubmit the request either with an acceptable set of AccountTypes and OEMAccountTypes or with StrictAccountTypes set to false.",
1293fc8a2b87SEd Tanous         }},
1294ba27e59eSEd Tanous     MessageEntry{
1295ba27e59eSEd Tanous         "StringValueTooLong",
129670304cb5SJason M. Bills         {
1297d8d5fc3eSGunnar 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.",
1298fc8a2b87SEd Tanous             "The string '%1' exceeds the length limit %2.",
1299271584abSEd Tanous             "Warning",
1300271584abSEd Tanous             2,
130170304cb5SJason M. Bills             {
130270304cb5SJason M. Bills                 "string",
130370304cb5SJason M. Bills                 "number",
130470304cb5SJason M. Bills             },
130570304cb5SJason M. Bills             "Resubmit the request with an appropriate string length.",
130670304cb5SJason M. Bills         }},
1307ba27e59eSEd Tanous     MessageEntry{
130875ec825cSEd Tanous         "StringValueTooShort",
130975ec825cSEd Tanous         {
1310d8d5fc3eSGunnar 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.",
131175ec825cSEd Tanous             "The string '%1' was under the minimum required length %2.",
131275ec825cSEd Tanous             "Warning",
131375ec825cSEd Tanous             2,
131475ec825cSEd Tanous             {
131575ec825cSEd Tanous                 "string",
131675ec825cSEd Tanous                 "number",
131775ec825cSEd Tanous             },
131875ec825cSEd Tanous             "Resubmit the request with an appropriate string length.",
131975ec825cSEd Tanous         }},
132075ec825cSEd Tanous     MessageEntry{
1321ba27e59eSEd Tanous         "SubscriptionTerminated",
1322e7808c93SGunnar Mills         {
1323d8d5fc3eSGunnar Mills             "An event subscription was terminated by the service.  No further events will be delivered.",
1324d8d5fc3eSGunnar Mills             "The event subscription was terminated.",
1325e7808c93SGunnar Mills             "OK",
1326e7808c93SGunnar Mills             0,
1327e7808c93SGunnar Mills             {},
1328d8d5fc3eSGunnar Mills             "None.",
1329e7808c93SGunnar Mills         }},
1330ba27e59eSEd Tanous     MessageEntry{
1331ba27e59eSEd Tanous         "Success",
133270304cb5SJason M. Bills         {
1333d8d5fc3eSGunnar Mills             "Indicates that all conditions of a successful operation were met.",
1334fc8a2b87SEd Tanous             "The request completed successfully.",
1335271584abSEd Tanous             "OK",
1336271584abSEd Tanous             0,
1337271584abSEd Tanous             {},
1338d8d5fc3eSGunnar Mills             "None.",
133970304cb5SJason M. Bills         }},
134070304cb5SJason M. Bills     MessageEntry{
1341fc8a2b87SEd Tanous         "UndeterminedFault",
1342fc8a2b87SEd Tanous         {
1343ba27e59eSEd Tanous             "Indicates that a fault or error condition exists but the source of the fault cannot be determined or is unknown to the service.",
1344d8d5fc3eSGunnar Mills             "An undetermined fault condition was reported by '%1'.",
1345fc8a2b87SEd Tanous             "Critical",
1346fc8a2b87SEd Tanous             1,
134783f984b5SSunitha Harish             {
134883f984b5SSunitha Harish                 "string",
134983f984b5SSunitha Harish             },
1350fc8a2b87SEd Tanous             "None.",
1351fc8a2b87SEd Tanous         }},
1352fc8a2b87SEd Tanous     MessageEntry{
135370304cb5SJason M. Bills         "UnrecognizedRequestBody",
135470304cb5SJason M. Bills         {
1355ba27e59eSEd Tanous             "Indicates that the service encountered an unrecognizable request body that could not even be interpreted as malformed JSON.",
1356ba27e59eSEd Tanous             "The service detected a malformed request body that it was unable to interpret.",
1357271584abSEd Tanous             "Warning",
1358271584abSEd Tanous             0,
1359271584abSEd Tanous             {},
1360271584abSEd Tanous             "Correct the request body and resubmit the request if it failed.",
136170304cb5SJason M. Bills         }},
13624d99bbb0SEd Tanous 
136370304cb5SJason M. Bills };
136430a3c431SEd Tanous 
136530a3c431SEd Tanous enum class Index
136630a3c431SEd Tanous {
136730a3c431SEd Tanous     accessDenied = 0,
136830a3c431SEd Tanous     accountForSessionNoLongerExists = 1,
136930a3c431SEd Tanous     accountModified = 2,
137030a3c431SEd Tanous     accountNotModified = 3,
137130a3c431SEd Tanous     accountRemoved = 4,
137230a3c431SEd Tanous     actionDeprecated = 5,
137330a3c431SEd Tanous     actionNotSupported = 6,
137430a3c431SEd Tanous     actionParameterDuplicate = 7,
137530a3c431SEd Tanous     actionParameterMissing = 8,
137630a3c431SEd Tanous     actionParameterNotSupported = 9,
137730a3c431SEd Tanous     actionParameterUnknown = 10,
1378f866686bSJiaqing Zhao     actionParameterValueConflict = 11,
1379f866686bSJiaqing Zhao     actionParameterValueError = 12,
1380f866686bSJiaqing Zhao     actionParameterValueFormatError = 13,
1381f866686bSJiaqing Zhao     actionParameterValueNotInList = 14,
1382d8d5fc3eSGunnar Mills     actionParameterValueOutOfRange = 15,
1383d8d5fc3eSGunnar Mills     actionParameterValueTypeError = 16,
1384d8d5fc3eSGunnar Mills     arraySizeTooLong = 17,
1385d8d5fc3eSGunnar Mills     arraySizeTooShort = 18,
1386d8d5fc3eSGunnar Mills     authenticationTokenRequired = 19,
1387d8d5fc3eSGunnar Mills     chassisPowerStateOffRequired = 20,
1388d8d5fc3eSGunnar Mills     chassisPowerStateOnRequired = 21,
1389d8d5fc3eSGunnar Mills     conditionInRelatedResource = 22,
1390d8d5fc3eSGunnar Mills     couldNotEstablishConnection = 23,
1391d8d5fc3eSGunnar Mills     createFailedMissingReqProperties = 24,
1392d8d5fc3eSGunnar Mills     createLimitReachedForResource = 25,
1393d8d5fc3eSGunnar Mills     created = 26,
1394d8d5fc3eSGunnar Mills     emptyJSON = 27,
1395d8d5fc3eSGunnar Mills     eventBufferExceeded = 28,
1396d8d5fc3eSGunnar Mills     eventSubscriptionLimitExceeded = 29,
1397d8d5fc3eSGunnar Mills     generalError = 30,
1398b575caefSJishnu CM     generateSecretKeyRequired = 31,
1399b575caefSJishnu CM     headerInvalid = 32,
1400b575caefSJishnu CM     headerMissing = 33,
1401b575caefSJishnu CM     insufficientPrivilege = 34,
1402b575caefSJishnu CM     insufficientStorage = 35,
1403b575caefSJishnu CM     internalError = 36,
1404b575caefSJishnu CM     invalidIndex = 37,
1405b575caefSJishnu CM     invalidJSON = 38,
1406b575caefSJishnu CM     invalidObject = 39,
1407b575caefSJishnu CM     invalidURI = 40,
1408b575caefSJishnu CM     licenseRequired = 41,
1409b575caefSJishnu CM     malformedJSON = 42,
1410b575caefSJishnu CM     maximumErrorsExceeded = 43,
1411b575caefSJishnu CM     missingOrMalformedPart = 44,
1412b575caefSJishnu CM     networkNameResolutionNotConfigured = 45,
1413b575caefSJishnu CM     networkNameResolutionNotSupported = 46,
1414b575caefSJishnu CM     noOperation = 47,
1415b575caefSJishnu CM     noValidSession = 48,
1416b575caefSJishnu CM     oneTimePasscodeSent = 49,
1417b575caefSJishnu CM     operationFailed = 50,
1418b575caefSJishnu CM     operationNotAllowed = 51,
1419b575caefSJishnu CM     operationTimeout = 52,
1420b575caefSJishnu CM     passwordChangeRequired = 53,
1421b575caefSJishnu CM     payloadTooLarge = 54,
1422b575caefSJishnu CM     preconditionFailed = 55,
1423b575caefSJishnu CM     preconditionRequired = 56,
1424b575caefSJishnu CM     propertyDeprecated = 57,
1425b575caefSJishnu CM     propertyDuplicate = 58,
1426b575caefSJishnu CM     propertyMissing = 59,
1427b575caefSJishnu CM     propertyModified = 60,
1428b575caefSJishnu CM     propertyNotUpdated = 61,
1429b575caefSJishnu CM     propertyNotWritable = 62,
1430b575caefSJishnu CM     propertyUnknown = 63,
1431b575caefSJishnu CM     propertyValueConflict = 64,
1432b575caefSJishnu CM     propertyValueDeprecated = 65,
1433b575caefSJishnu CM     propertyValueError = 66,
1434b575caefSJishnu CM     propertyValueExternalConflict = 67,
1435b575caefSJishnu CM     propertyValueFormatError = 68,
1436b575caefSJishnu CM     propertyValueIncorrect = 69,
1437b575caefSJishnu CM     propertyValueModified = 70,
1438b575caefSJishnu CM     propertyValueNotInList = 71,
1439b575caefSJishnu CM     propertyValueOutOfRange = 72,
1440b575caefSJishnu CM     propertyValueResourceConflict = 73,
1441b575caefSJishnu CM     propertyValueTypeError = 74,
1442b575caefSJishnu CM     queryCombinationInvalid = 75,
1443b575caefSJishnu CM     queryNotSupported = 76,
1444b575caefSJishnu CM     queryNotSupportedOnOperation = 77,
1445b575caefSJishnu CM     queryNotSupportedOnResource = 78,
1446b575caefSJishnu CM     queryParameterOutOfRange = 79,
1447b575caefSJishnu CM     queryParameterUnsupported = 80,
1448b575caefSJishnu CM     queryParameterValueError = 81,
1449b575caefSJishnu CM     queryParameterValueFormatError = 82,
1450b575caefSJishnu CM     queryParameterValueTypeError = 83,
1451b575caefSJishnu CM     resetRecommended = 84,
1452b575caefSJishnu CM     resetRequired = 85,
1453b575caefSJishnu CM     resourceAlreadyExists = 86,
1454b575caefSJishnu CM     resourceAtUriInUnknownFormat = 87,
1455b575caefSJishnu CM     resourceAtUriUnauthorized = 88,
1456b575caefSJishnu CM     resourceCannotBeDeleted = 89,
1457b575caefSJishnu CM     resourceCreationConflict = 90,
1458b575caefSJishnu CM     resourceDeprecated = 91,
1459b575caefSJishnu CM     resourceExhaustion = 92,
1460b575caefSJishnu CM     resourceInStandby = 93,
1461b575caefSJishnu CM     resourceInUse = 94,
1462b575caefSJishnu CM     resourceMissingAtURI = 95,
1463b575caefSJishnu CM     resourceNotFound = 96,
1464b575caefSJishnu CM     resourceTypeIncompatible = 97,
1465b575caefSJishnu CM     restrictedPrivilege = 98,
1466b575caefSJishnu CM     restrictedRole = 99,
1467b575caefSJishnu CM     serviceDisabled = 100,
1468b575caefSJishnu CM     serviceInUnknownState = 101,
1469b575caefSJishnu CM     serviceShuttingDown = 102,
1470b575caefSJishnu CM     serviceTemporarilyUnavailable = 103,
1471b575caefSJishnu CM     sessionLimitExceeded = 104,
1472b575caefSJishnu CM     sessionTerminated = 105,
1473b575caefSJishnu CM     sourceDoesNotSupportProtocol = 106,
1474b575caefSJishnu CM     strictAccountTypes = 107,
1475b575caefSJishnu CM     stringValueTooLong = 108,
1476b575caefSJishnu CM     stringValueTooShort = 109,
1477b575caefSJishnu CM     subscriptionTerminated = 110,
1478b575caefSJishnu CM     success = 111,
1479b575caefSJishnu CM     undeterminedFault = 112,
1480b575caefSJishnu CM     unrecognizedRequestBody = 113,
148130a3c431SEd Tanous };
1482fffb8c1fSEd Tanous } // namespace redfish::registries::base
1483