xref: /openbmc/bmcweb/features/redfish/include/registries/base_message_registry.hpp (revision e7808c93f01081ca12e1b4769691b5ae673f9017)
170304cb5SJason M. Bills /*
2e51c710eSJames Feist // Copyright (c) 2020 Intel Corporation
370304cb5SJason M. Bills //
470304cb5SJason M. Bills // Licensed under the Apache License, Version 2.0 (the "License");
570304cb5SJason M. Bills // you may not use this file except in compliance with the License.
670304cb5SJason M. Bills // You may obtain a copy of the License at
770304cb5SJason M. Bills //
870304cb5SJason M. Bills //      http://www.apache.org/licenses/LICENSE-2.0
970304cb5SJason M. Bills //
1070304cb5SJason M. Bills // Unless required by applicable law or agreed to in writing, software
1170304cb5SJason M. Bills // distributed under the License is distributed on an "AS IS" BASIS,
1270304cb5SJason M. Bills // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1370304cb5SJason M. Bills // See the License for the specific language governing permissions and
1470304cb5SJason M. Bills // limitations under the License.
1570304cb5SJason M. Bills */
1670304cb5SJason M. Bills /****************************************************************
1770304cb5SJason M. Bills  * This is an auto-generated header which contains definitions
1870304cb5SJason M. Bills  * for Redfish DMTF defined messages.
1970304cb5SJason M. Bills  ***************************************************************/
2070304cb5SJason M. Bills #pragma once
2170304cb5SJason M. Bills #include <registries.hpp>
2270304cb5SJason M. Bills 
2370304cb5SJason M. Bills namespace redfish::message_registries::base
2470304cb5SJason M. Bills {
25351d3063SJason M. Bills const Header header = {
26*e7808c93SGunnar Mills     "Copyright 2014-2020 DMTF. All rights reserved.",
27*e7808c93SGunnar Mills     "#MessageRegistry.v1_4_0.MessageRegistry",
28*e7808c93SGunnar Mills     "Base.1.8.1",
29271584abSEd Tanous     "Base Message Registry",
30271584abSEd Tanous     "en",
31271584abSEd Tanous     "This registry defines the base messages for Redfish",
32271584abSEd Tanous     "Base",
33*e7808c93SGunnar Mills     "1.8.1",
34271584abSEd Tanous     "DMTF",
35351d3063SJason M. Bills };
36e51c710eSJames Feist constexpr const char* url =
37*e7808c93SGunnar Mills     "https://redfish.dmtf.org/registries/Base.1.8.1.json";
38e51c710eSJames Feist 
39*e7808c93SGunnar Mills constexpr std::array<MessageEntry, 73> registry = {
4070304cb5SJason M. Bills     MessageEntry{
4170304cb5SJason M. Bills         "AccessDenied",
4270304cb5SJason M. Bills         {
43271584abSEd Tanous             "Indicates that while attempting to access, connect to or transfer "
44271584abSEd Tanous             "to/from another resource, the service denied access.",
45271584abSEd Tanous             "While attempting to establish a connection to %1, the service "
46271584abSEd Tanous             "denied access.",
47271584abSEd Tanous             "Critical",
48*e7808c93SGunnar Mills             "Critical",
49271584abSEd Tanous             1,
5070304cb5SJason M. Bills             {
5170304cb5SJason M. Bills                 "string",
5270304cb5SJason M. Bills             },
53271584abSEd Tanous             "Attempt to ensure that the URI is correct and that the service "
54271584abSEd Tanous             "has the appropriate credentials.",
5570304cb5SJason M. Bills         }},
56271584abSEd Tanous     MessageEntry{"AccountForSessionNoLongerExists",
5770304cb5SJason M. Bills                  {
58271584abSEd Tanous                      "Indicates that the account for the session has been "
59271584abSEd Tanous                      "removed, thus the session has been removed as well.",
60271584abSEd Tanous                      "The account for the current session has been removed, "
6170304cb5SJason M. Bills                      "thus the current session has been removed as well.",
62271584abSEd Tanous                      "OK",
63*e7808c93SGunnar Mills                      "OK",
64271584abSEd Tanous                      0,
65271584abSEd Tanous                      {},
66271584abSEd Tanous                      "Attempt to connect with a valid account.",
6770304cb5SJason M. Bills                  }},
68271584abSEd Tanous     MessageEntry{"AccountModified",
6970304cb5SJason M. Bills                  {
7070304cb5SJason M. Bills                      "Indicates that the account was successfully modified.",
71271584abSEd Tanous                      "The account was successfully modified.",
72271584abSEd Tanous                      "OK",
73*e7808c93SGunnar Mills                      "OK",
74271584abSEd Tanous                      0,
75271584abSEd Tanous                      {},
76271584abSEd Tanous                      "No resolution is required.",
7770304cb5SJason M. Bills                  }},
78271584abSEd Tanous     MessageEntry{"AccountNotModified",
7970304cb5SJason M. Bills                  {
80271584abSEd Tanous                      "Indicates that the modification requested for the "
8170304cb5SJason M. Bills                      "account was not successful.",
82271584abSEd Tanous                      "The account modification request failed.",
83271584abSEd Tanous                      "Warning",
84*e7808c93SGunnar Mills                      "Warning",
85271584abSEd Tanous                      0,
86271584abSEd Tanous                      {},
87271584abSEd Tanous                      "The modification may have failed due to permission "
8870304cb5SJason M. Bills                      "issues or issues with the request body.",
8970304cb5SJason M. Bills                  }},
9070304cb5SJason M. Bills     MessageEntry{"AccountRemoved",
9170304cb5SJason M. Bills                  {
9270304cb5SJason M. Bills                      "Indicates that the account was successfully removed.",
93271584abSEd Tanous                      "The account was successfully removed.",
94271584abSEd Tanous                      "OK",
95*e7808c93SGunnar Mills                      "OK",
96271584abSEd Tanous                      0,
97271584abSEd Tanous                      {},
98271584abSEd Tanous                      "No resolution is required.",
9970304cb5SJason M. Bills                  }},
10070304cb5SJason M. Bills     MessageEntry{
10170304cb5SJason M. Bills         "ActionNotSupported",
10270304cb5SJason M. Bills         {
103271584abSEd Tanous             "Indicates that the action supplied with the POST operation is not "
104271584abSEd Tanous             "supported by the resource.",
105271584abSEd Tanous             "The action %1 is not supported by the resource.",
106271584abSEd Tanous             "Critical",
107*e7808c93SGunnar Mills             "Critical",
108271584abSEd Tanous             1,
10970304cb5SJason M. Bills             {
11070304cb5SJason M. Bills                 "string",
11170304cb5SJason M. Bills             },
112271584abSEd Tanous             "The action supplied cannot be resubmitted to the implementation.  "
113271584abSEd Tanous             "Perhaps the action was invalid, the wrong resource was the target "
114271584abSEd Tanous             "or the implementation documentation may be of assistance.",
11570304cb5SJason M. Bills         }},
116271584abSEd Tanous     MessageEntry{"ActionParameterDuplicate",
11770304cb5SJason M. Bills                  {
118271584abSEd Tanous                      "Indicates that the action was supplied with a duplicated "
119271584abSEd Tanous                      "parameter in the request body.",
120271584abSEd Tanous                      "The action %1 was submitted with more than one value for "
121271584abSEd Tanous                      "the parameter %2.",
122271584abSEd Tanous                      "Warning",
123*e7808c93SGunnar Mills                      "Warning",
124271584abSEd Tanous                      2,
12570304cb5SJason M. Bills                      {
12670304cb5SJason M. Bills                          "string",
12770304cb5SJason M. Bills                          "string",
12870304cb5SJason M. Bills                      },
129271584abSEd Tanous                      "Resubmit the action with only one instance of the "
130271584abSEd Tanous                      "parameter in the request body if the operation failed.",
13170304cb5SJason M. Bills                  }},
132271584abSEd Tanous     MessageEntry{"ActionParameterMissing",
13370304cb5SJason M. Bills                  {
134271584abSEd Tanous                      "Indicates that the action requested was missing a "
13570304cb5SJason M. Bills                      "parameter that is required to process the action.",
136271584abSEd Tanous                      "The action %1 requires the parameter %2 to be present in "
137271584abSEd Tanous                      "the request body.",
138271584abSEd Tanous                      "Critical",
139*e7808c93SGunnar Mills                      "Critical",
140271584abSEd Tanous                      2,
14170304cb5SJason M. Bills                      {
14270304cb5SJason M. Bills                          "string",
14370304cb5SJason M. Bills                          "string",
14470304cb5SJason M. Bills                      },
145271584abSEd Tanous                      "Supply the action with the required parameter in the "
146271584abSEd Tanous                      "request body when the request is resubmitted.",
14770304cb5SJason M. Bills                  }},
148271584abSEd Tanous     MessageEntry{"ActionParameterNotSupported",
14970304cb5SJason M. Bills                  {
150271584abSEd Tanous                      "Indicates that the parameter supplied for the action is "
151271584abSEd Tanous                      "not supported on the resource.",
152271584abSEd Tanous                      "The parameter %1 for the action %2 is not supported on "
15370304cb5SJason M. Bills                      "the target resource.",
154271584abSEd Tanous                      "Warning",
155*e7808c93SGunnar Mills                      "Warning",
156271584abSEd Tanous                      2,
15770304cb5SJason M. Bills                      {
15870304cb5SJason M. Bills                          "string",
15970304cb5SJason M. Bills                          "string",
16070304cb5SJason M. Bills                      },
161271584abSEd Tanous                      "Remove the parameter supplied and resubmit the request "
162271584abSEd Tanous                      "if the operation failed.",
16370304cb5SJason M. Bills                  }},
16470304cb5SJason M. Bills     MessageEntry{
16570304cb5SJason M. Bills         "ActionParameterUnknown",
16670304cb5SJason M. Bills         {
167271584abSEd Tanous             "Indicates that an action was submitted but a parameter supplied "
168271584abSEd Tanous             "did not match any of the known parameters.",
16970304cb5SJason M. Bills             "The action %1 was submitted with the invalid parameter %2.",
170271584abSEd Tanous             "Warning",
171*e7808c93SGunnar Mills             "Warning",
172271584abSEd Tanous             2,
17370304cb5SJason M. Bills             {
17470304cb5SJason M. Bills                 "string",
17570304cb5SJason M. Bills                 "string",
17670304cb5SJason M. Bills             },
177271584abSEd Tanous             "Correct the invalid parameter and resubmit the request if the "
178271584abSEd Tanous             "operation failed.",
17970304cb5SJason M. Bills         }},
180271584abSEd Tanous     MessageEntry{"ActionParameterValueFormatError",
18170304cb5SJason M. Bills                  {
182271584abSEd Tanous                      "Indicates that a parameter was given the correct value "
183271584abSEd Tanous                      "type but the value of that parameter was not supported.  "
184271584abSEd Tanous                      "This includes value size/length exceeded.",
185271584abSEd Tanous                      "The value %1 for the parameter %2 in the action %3 is of "
186271584abSEd Tanous                      "a different format than the parameter can accept.",
187271584abSEd Tanous                      "Warning",
188*e7808c93SGunnar Mills                      "Warning",
189271584abSEd Tanous                      3,
19070304cb5SJason M. Bills                      {
19170304cb5SJason M. Bills                          "string",
19270304cb5SJason M. Bills                          "string",
19370304cb5SJason M. Bills                          "string",
19470304cb5SJason M. Bills                      },
195271584abSEd Tanous                      "Correct the value for the parameter in the request body "
196271584abSEd Tanous                      "and resubmit the request if the operation failed.",
19770304cb5SJason M. Bills                  }},
198271584abSEd Tanous     MessageEntry{"ActionParameterValueTypeError",
19970304cb5SJason M. Bills                  {
200271584abSEd Tanous                      "Indicates that a parameter was given the wrong value "
201271584abSEd Tanous                      "type, such as when a number is supplied for a parameter "
202271584abSEd Tanous                      "that requires a string.",
203271584abSEd Tanous                      "The value %1 for the parameter %2 in the action %3 is of "
204271584abSEd Tanous                      "a different type than the parameter can accept.",
205271584abSEd Tanous                      "Warning",
206*e7808c93SGunnar Mills                      "Warning",
207271584abSEd Tanous                      3,
20870304cb5SJason M. Bills                      {
20970304cb5SJason M. Bills                          "string",
21070304cb5SJason M. Bills                          "string",
21170304cb5SJason M. Bills                          "string",
21270304cb5SJason M. Bills                      },
213271584abSEd Tanous                      "Correct the value for the parameter in the request body "
214271584abSEd Tanous                      "and resubmit the request if the operation failed.",
21570304cb5SJason M. Bills                  }},
21670304cb5SJason M. Bills     MessageEntry{
217*e7808c93SGunnar Mills         "ChassisPowerStateOffRequired",
218*e7808c93SGunnar Mills         {
219*e7808c93SGunnar Mills             "Indicates that the request requires a specified Chassis to be "
220*e7808c93SGunnar Mills             "powered off.",
221*e7808c93SGunnar Mills             "The Chassis with Id '%1' requires to be powered off to perform "
222*e7808c93SGunnar Mills             "this request.",
223*e7808c93SGunnar Mills             "Warning",
224*e7808c93SGunnar Mills             "Warning",
225*e7808c93SGunnar Mills             1,
226*e7808c93SGunnar Mills             {
227*e7808c93SGunnar Mills                 "string",
228*e7808c93SGunnar Mills             },
229*e7808c93SGunnar Mills             "Power off the specified Chassis and resubmit the request.",
230*e7808c93SGunnar Mills         }},
231*e7808c93SGunnar Mills     MessageEntry{"ChassisPowerStateOnRequired",
232*e7808c93SGunnar Mills                  {
233*e7808c93SGunnar Mills                      "Indicates that the request requires a specified Chassis "
234*e7808c93SGunnar Mills                      "to be powered on.",
235*e7808c93SGunnar Mills                      "The Chassis with Id '%1' requires to be powered on to "
236*e7808c93SGunnar Mills                      "perform this request.",
237*e7808c93SGunnar Mills                      "Warning",
238*e7808c93SGunnar Mills                      "Warning",
239*e7808c93SGunnar Mills                      1,
240*e7808c93SGunnar Mills                      {
241*e7808c93SGunnar Mills                          "string",
242*e7808c93SGunnar Mills                      },
243*e7808c93SGunnar Mills                      "Power on the specified Chassis and resubmit the request.",
244*e7808c93SGunnar Mills                  }},
245*e7808c93SGunnar Mills     MessageEntry{
24670304cb5SJason M. Bills         "CouldNotEstablishConnection",
24770304cb5SJason M. Bills         {
248271584abSEd Tanous             "Indicates that the attempt to access the resource/file/image at "
249271584abSEd Tanous             "the URI was unsuccessful because a session could not be "
250271584abSEd Tanous             "established.",
25170304cb5SJason M. Bills             "The service failed to establish a connection with the URI %1.",
252271584abSEd Tanous             "Critical",
253*e7808c93SGunnar Mills             "Critical",
254271584abSEd Tanous             1,
25570304cb5SJason M. Bills             {
25670304cb5SJason M. Bills                 "string",
25770304cb5SJason M. Bills             },
25870304cb5SJason M. Bills             "Ensure that the URI contains a valid and reachable node name, "
25970304cb5SJason M. Bills             "protocol information and other URI components.",
26070304cb5SJason M. Bills         }},
26170304cb5SJason M. Bills     MessageEntry{
26270304cb5SJason M. Bills         "CreateFailedMissingReqProperties",
26370304cb5SJason M. Bills         {
26470304cb5SJason M. Bills             "Indicates that a create was attempted on a resource but that "
26570304cb5SJason M. Bills             "properties that are required for the create operation were "
26670304cb5SJason M. Bills             "missing from the request.",
267271584abSEd Tanous             "The create operation failed because the required property %1 was "
268271584abSEd Tanous             "missing from the request.",
269271584abSEd Tanous             "Critical",
270*e7808c93SGunnar Mills             "Critical",
271271584abSEd Tanous             1,
27270304cb5SJason M. Bills             {
27370304cb5SJason M. Bills                 "string",
27470304cb5SJason M. Bills             },
275271584abSEd Tanous             "Correct the body to include the required property with a valid "
276271584abSEd Tanous             "value and resubmit the request if the operation failed.",
27770304cb5SJason M. Bills         }},
278271584abSEd Tanous     MessageEntry{"CreateLimitReachedForResource",
27970304cb5SJason M. Bills                  {
280271584abSEd Tanous                      "Indicates that no more resources can be created on the "
281271584abSEd Tanous                      "resource as it has reached its create limit.",
282271584abSEd Tanous                      "The create operation failed because the resource has "
28370304cb5SJason M. Bills                      "reached the limit of possible resources.",
284271584abSEd Tanous                      "Critical",
285*e7808c93SGunnar Mills                      "Critical",
286271584abSEd Tanous                      0,
287271584abSEd Tanous                      {},
28870304cb5SJason M. Bills                      "Either delete resources and resubmit the request if the "
28970304cb5SJason M. Bills                      "operation failed or do not resubmit the request.",
29070304cb5SJason M. Bills                  }},
29170304cb5SJason M. Bills     MessageEntry{"Created",
29270304cb5SJason M. Bills                  {
293271584abSEd Tanous                      "Indicates that all conditions of a successful creation "
294271584abSEd Tanous                      "operation have been met.",
295271584abSEd Tanous                      "The resource has been created successfully",
296271584abSEd Tanous                      "OK",
297*e7808c93SGunnar Mills                      "OK",
298271584abSEd Tanous                      0,
299271584abSEd Tanous                      {},
300271584abSEd Tanous                      "None",
30170304cb5SJason M. Bills                  }},
30270304cb5SJason M. Bills     MessageEntry{
30370304cb5SJason M. Bills         "EmptyJSON",
30470304cb5SJason M. Bills         {
305271584abSEd Tanous             "Indicates that the request body contained an empty JSON object "
306271584abSEd Tanous             "when one or more properties are expected in the body.",
307271584abSEd Tanous             "The request body submitted contained an empty JSON object and the "
308271584abSEd Tanous             "service is unable to process it.",
309271584abSEd Tanous             "Warning",
310*e7808c93SGunnar Mills             "Warning",
311271584abSEd Tanous             0,
312271584abSEd Tanous             {},
31370304cb5SJason M. Bills             "Add properties in the JSON object and resubmit the request.",
31470304cb5SJason M. Bills         }},
31570304cb5SJason M. Bills     MessageEntry{
31670304cb5SJason M. Bills         "EventSubscriptionLimitExceeded",
31770304cb5SJason M. Bills         {
318271584abSEd Tanous             "Indicates that a event subscription establishment has been "
319271584abSEd Tanous             "requested but the operation failed due to the number of "
320271584abSEd Tanous             "simultaneous connection exceeding the limit of the "
32170304cb5SJason M. Bills             "implementation.",
322271584abSEd Tanous             "The event subscription failed due to the number of simultaneous "
323271584abSEd Tanous             "subscriptions exceeding the limit of the implementation.",
324271584abSEd Tanous             "Critical",
325*e7808c93SGunnar Mills             "Critical",
326271584abSEd Tanous             0,
327271584abSEd Tanous             {},
32870304cb5SJason M. Bills             "Reduce the number of other subscriptions before trying to "
32970304cb5SJason M. Bills             "establish the event subscription or increase the limit of "
33070304cb5SJason M. Bills             "simultaneous subscriptions (if supported).",
33170304cb5SJason M. Bills         }},
33270304cb5SJason M. Bills     MessageEntry{
33370304cb5SJason M. Bills         "GeneralError",
33470304cb5SJason M. Bills         {
335271584abSEd Tanous             "Indicates that a general error has occurred.  Use in ExtendedInfo "
336271584abSEd Tanous             "is discouraged.  When used in ExtendedInfo, implementations are "
337271584abSEd Tanous             "expected to include a Resolution property with this error to "
338271584abSEd Tanous             "indicate how to resolve the problem.",
339271584abSEd Tanous             "A general error has occurred. See Resolution for information on "
340271584abSEd Tanous             "how to resolve the error.",
341271584abSEd Tanous             "Critical",
342*e7808c93SGunnar Mills             "Critical",
343271584abSEd Tanous             0,
344271584abSEd Tanous             {},
345271584abSEd Tanous             "None.",
34670304cb5SJason M. Bills         }},
34770304cb5SJason M. Bills     MessageEntry{
34870304cb5SJason M. Bills         "InsufficientPrivilege",
34970304cb5SJason M. Bills         {
350271584abSEd Tanous             "Indicates that the credentials associated with the established "
351271584abSEd Tanous             "session do not have sufficient privileges for the requested "
352271584abSEd Tanous             "operation",
353271584abSEd Tanous             "There are insufficient privileges for the account or credentials "
354271584abSEd Tanous             "associated with the current session to perform the requested "
355271584abSEd Tanous             "operation.",
356271584abSEd Tanous             "Critical",
357*e7808c93SGunnar Mills             "Critical",
358271584abSEd Tanous             0,
359271584abSEd Tanous             {},
36070304cb5SJason M. Bills             "Either abandon the operation or change the associated access "
36170304cb5SJason M. Bills             "rights and resubmit the request if the operation failed.",
36270304cb5SJason M. Bills         }},
36370304cb5SJason M. Bills     MessageEntry{
36470304cb5SJason M. Bills         "InternalError",
36570304cb5SJason M. Bills         {
366271584abSEd Tanous             "Indicates that the request failed for an unknown internal error "
367271584abSEd Tanous             "but that the service is still operational.",
368271584abSEd Tanous             "The request failed due to an internal service error.  The service "
369271584abSEd Tanous             "is still operational.",
370271584abSEd Tanous             "Critical",
371*e7808c93SGunnar Mills             "Critical",
372271584abSEd Tanous             0,
373271584abSEd Tanous             {},
374271584abSEd Tanous             "Resubmit the request.  If the problem persists, consider "
375271584abSEd Tanous             "resetting the service.",
37670304cb5SJason M. Bills         }},
377271584abSEd Tanous     MessageEntry{"InvalidIndex",
37870304cb5SJason M. Bills                  {
379271584abSEd Tanous                      "The Index is not valid.",
380271584abSEd Tanous                      "The Index %1 is not a valid offset into the array.",
381271584abSEd Tanous                      "Warning",
382*e7808c93SGunnar Mills                      "Warning",
383271584abSEd Tanous                      1,
38470304cb5SJason M. Bills                      {
38570304cb5SJason M. Bills                          "number",
38670304cb5SJason M. Bills                      },
387271584abSEd Tanous                      "Verify the index value provided is within the bounds of "
388271584abSEd Tanous                      "the array.",
38970304cb5SJason M. Bills                  }},
39070304cb5SJason M. Bills     MessageEntry{
39170304cb5SJason M. Bills         "InvalidObject",
39270304cb5SJason M. Bills         {
393271584abSEd Tanous             "Indicates that the object in question is invalid according to the "
394271584abSEd Tanous             "implementation.  Examples include a firmware update malformed "
395271584abSEd Tanous             "URI.",
396271584abSEd Tanous             "The object at %1 is invalid.",
397271584abSEd Tanous             "Critical",
398*e7808c93SGunnar Mills             "Critical",
399271584abSEd Tanous             1,
40070304cb5SJason M. Bills             {
40170304cb5SJason M. Bills                 "string",
40270304cb5SJason M. Bills             },
40370304cb5SJason M. Bills             "Either the object is malformed or the URI is not correct.  "
40470304cb5SJason M. Bills             "Correct the condition and resubmit the request if it failed.",
40570304cb5SJason M. Bills         }},
406271584abSEd Tanous     MessageEntry{"MalformedJSON",
40770304cb5SJason M. Bills                  {
408271584abSEd Tanous                      "Indicates that the request body was malformed JSON.  "
409271584abSEd Tanous                      "Could be duplicate, syntax error,etc.",
410271584abSEd Tanous                      "The request body submitted was malformed JSON and could "
411271584abSEd Tanous                      "not be parsed by the receiving service.",
412271584abSEd Tanous                      "Critical",
413*e7808c93SGunnar Mills                      "Critical",
414271584abSEd Tanous                      0,
415271584abSEd Tanous                      {},
416271584abSEd Tanous                      "Ensure that the request body is valid JSON and resubmit "
417271584abSEd Tanous                      "the request.",
41870304cb5SJason M. Bills                  }},
41970304cb5SJason M. Bills     MessageEntry{
420*e7808c93SGunnar Mills         "MaximumErrorsExceeded",
421*e7808c93SGunnar Mills         {
422*e7808c93SGunnar Mills             "Indicates that sufficient errors have occurred that the reporting "
423*e7808c93SGunnar Mills             "service cannot return them all.",
424*e7808c93SGunnar Mills             "Too many errors have occurred to report them all.",
425*e7808c93SGunnar Mills             "Critical",
426*e7808c93SGunnar Mills             "Critical",
427*e7808c93SGunnar Mills             0,
428*e7808c93SGunnar Mills             {},
429*e7808c93SGunnar Mills             "Resolve other reported errors and retry the current operation.",
430*e7808c93SGunnar Mills         }},
431*e7808c93SGunnar Mills     MessageEntry{
43270304cb5SJason M. Bills         "NoOperation",
43370304cb5SJason M. Bills         {
434271584abSEd Tanous             "Indicates that the requested operation will not perform any "
435271584abSEd Tanous             "changes on the service.",
436271584abSEd Tanous             "The request body submitted contain no data to act upon and no "
437271584abSEd Tanous             "changes to the resource took place.",
438271584abSEd Tanous             "Warning",
439*e7808c93SGunnar Mills             "Warning",
440271584abSEd Tanous             0,
441271584abSEd Tanous             {},
44270304cb5SJason M. Bills             "Add properties in the JSON object and resubmit the request.",
44370304cb5SJason M. Bills         }},
44470304cb5SJason M. Bills     MessageEntry{
44570304cb5SJason M. Bills         "NoValidSession",
44670304cb5SJason M. Bills         {
447271584abSEd Tanous             "Indicates that the operation failed because a valid session is "
448271584abSEd Tanous             "required in order to access any resources.",
449271584abSEd Tanous             "There is no valid session established with the implementation.",
450271584abSEd Tanous             "Critical",
451*e7808c93SGunnar Mills             "Critical",
452271584abSEd Tanous             0,
453271584abSEd Tanous             {},
454*e7808c93SGunnar Mills             "Establish a session before attempting any operations.",
455*e7808c93SGunnar Mills         }},
456*e7808c93SGunnar Mills     MessageEntry{
457*e7808c93SGunnar Mills         "OperationFailed",
458*e7808c93SGunnar Mills         {
459*e7808c93SGunnar Mills             "Indicates that one of the internal operations necessary to "
460*e7808c93SGunnar Mills             "complete the request failed.  Examples of this are when an "
461*e7808c93SGunnar Mills             "internal service provider is unable to complete the request, such "
462*e7808c93SGunnar Mills             "as in aggregation or RDE.",
463*e7808c93SGunnar Mills             "An error occurred internal to the service as part of the overall "
464*e7808c93SGunnar Mills             "request.  Partial results may have been returned.",
465*e7808c93SGunnar Mills             "Warning",
466*e7808c93SGunnar Mills             "Warning",
467*e7808c93SGunnar Mills             0,
468*e7808c93SGunnar Mills             {},
469*e7808c93SGunnar Mills             "Resubmit the request.  If the problem persists, consider "
470*e7808c93SGunnar Mills             "resetting the service or provider.",
471*e7808c93SGunnar Mills         }},
472*e7808c93SGunnar Mills     MessageEntry{"OperationTimeout",
473*e7808c93SGunnar Mills                  {
474*e7808c93SGunnar Mills                      "Indicates that one of the internal operations necessary "
475*e7808c93SGunnar Mills                      "to complete the request timed out.  Examples of this are "
476*e7808c93SGunnar Mills                      "when an internal service provider is unable to complete "
477*e7808c93SGunnar Mills                      "the request, such as in aggregation or RDE.",
478*e7808c93SGunnar Mills                      "A timeout internal to the service occured as part of the "
479*e7808c93SGunnar Mills                      "request.  Partial results may have been returned.",
480*e7808c93SGunnar Mills                      "Warning",
481*e7808c93SGunnar Mills                      "Warning",
482*e7808c93SGunnar Mills                      0,
483*e7808c93SGunnar Mills                      {},
484*e7808c93SGunnar Mills                      "Resubmit the request.  If the problem persists, consider "
485*e7808c93SGunnar Mills                      "resetting the service or provider.",
486*e7808c93SGunnar Mills                  }},
487*e7808c93SGunnar Mills     MessageEntry{
488*e7808c93SGunnar Mills         "PasswordChangeRequired",
489*e7808c93SGunnar Mills         {
490*e7808c93SGunnar Mills             "Indicates that the password for the account provided must be "
491*e7808c93SGunnar Mills             "changed before accessing the service.  The password can be "
492*e7808c93SGunnar Mills             "changed with a PATCH to the 'Password' property in the "
493*e7808c93SGunnar Mills             "ManagerAccount resource instance.  Implementations that provide a "
494*e7808c93SGunnar Mills             "default password for an account may require a password change "
495*e7808c93SGunnar Mills             "prior to first access to the service.",
496*e7808c93SGunnar Mills             "The password provided for this account must be changed before "
497*e7808c93SGunnar Mills             "access is granted.  PATCH the 'Password' property for this "
498*e7808c93SGunnar Mills             "account located at the target URI '%1' to complete this process.",
499*e7808c93SGunnar Mills             "Critical",
500*e7808c93SGunnar Mills             "Critical",
501*e7808c93SGunnar Mills             1,
502*e7808c93SGunnar Mills             {
503*e7808c93SGunnar Mills                 "string",
504*e7808c93SGunnar Mills             },
505*e7808c93SGunnar Mills             "Change the password for this account using a PATCH to the "
506*e7808c93SGunnar Mills             "'Password' property at the URI provided.",
507*e7808c93SGunnar Mills         }},
508*e7808c93SGunnar Mills     MessageEntry{"PreconditionFailed",
509*e7808c93SGunnar Mills                  {
510*e7808c93SGunnar Mills                      "Indicates that the ETag supplied did not match the "
511*e7808c93SGunnar Mills                      "current ETag of the resource.",
512*e7808c93SGunnar Mills                      "The ETag supplied did not match the ETag required to "
513*e7808c93SGunnar Mills                      "change this resource.",
514*e7808c93SGunnar Mills                      "Critical",
515*e7808c93SGunnar Mills                      "Critical",
516*e7808c93SGunnar Mills                      0,
517*e7808c93SGunnar Mills                      {},
518*e7808c93SGunnar Mills                      "Try the operation again using the appropriate ETag.",
519*e7808c93SGunnar Mills                  }},
520*e7808c93SGunnar Mills     MessageEntry{"PreconditionRequired",
521*e7808c93SGunnar Mills                  {
522*e7808c93SGunnar Mills                      "Indicates that the request did not provide the required "
523*e7808c93SGunnar Mills                      "precondition such as an If-Match or If-None-Match "
524*e7808c93SGunnar Mills                      "header, or @odata.etag annotations.",
525*e7808c93SGunnar Mills                      "A precondition header or annotation is required to "
526*e7808c93SGunnar Mills                      "change this resource.",
527*e7808c93SGunnar Mills                      "Critical",
528*e7808c93SGunnar Mills                      "Critical",
529*e7808c93SGunnar Mills                      0,
530*e7808c93SGunnar Mills                      {},
531*e7808c93SGunnar Mills                      "Try the operation again using an If-Match or "
532*e7808c93SGunnar Mills                      "If-None-Match header and appropriate ETag.",
53370304cb5SJason M. Bills                  }},
534271584abSEd Tanous     MessageEntry{"PropertyDuplicate",
53570304cb5SJason M. Bills                  {
536271584abSEd Tanous                      "Indicates that a duplicate property was included in the "
537271584abSEd Tanous                      "request body.",
538271584abSEd Tanous                      "The property %1 was duplicated in the request.",
539271584abSEd Tanous                      "Warning",
540*e7808c93SGunnar Mills                      "Warning",
541271584abSEd Tanous                      1,
54270304cb5SJason M. Bills                      {
54370304cb5SJason M. Bills                          "string",
54470304cb5SJason M. Bills                      },
545271584abSEd Tanous                      "Remove the duplicate property from the request body and "
546271584abSEd Tanous                      "resubmit the request if the operation failed.",
54770304cb5SJason M. Bills                  }},
54870304cb5SJason M. Bills     MessageEntry{
54970304cb5SJason M. Bills         "PropertyMissing",
55070304cb5SJason M. Bills         {
551271584abSEd Tanous             "Indicates that a required property was not supplied as part of "
552271584abSEd Tanous             "the request.",
553271584abSEd Tanous             "The property %1 is a required property and must be included in "
554271584abSEd Tanous             "the request.",
555271584abSEd Tanous             "Warning",
556*e7808c93SGunnar Mills             "Warning",
557271584abSEd Tanous             1,
55870304cb5SJason M. Bills             {
55970304cb5SJason M. Bills                 "string",
56070304cb5SJason M. Bills             },
561271584abSEd Tanous             "Ensure that the property is in the request body and has a valid "
562271584abSEd Tanous             "value and resubmit the request if the operation failed.",
56370304cb5SJason M. Bills         }},
564271584abSEd Tanous     MessageEntry{"PropertyNotWritable",
56570304cb5SJason M. Bills                  {
566271584abSEd Tanous                      "Indicates that a property was given a value in the "
567271584abSEd Tanous                      "request body, but the property is a readonly property.",
568271584abSEd Tanous                      "The property %1 is a read only property and cannot be "
56970304cb5SJason M. Bills                      "assigned a value.",
570271584abSEd Tanous                      "Warning",
571*e7808c93SGunnar Mills                      "Warning",
572271584abSEd Tanous                      1,
57370304cb5SJason M. Bills                      {
57470304cb5SJason M. Bills                          "string",
57570304cb5SJason M. Bills                      },
576271584abSEd Tanous                      "Remove the property from the request body and resubmit "
577271584abSEd Tanous                      "the request if the operation failed.",
57870304cb5SJason M. Bills                  }},
579271584abSEd Tanous     MessageEntry{"PropertyUnknown",
58070304cb5SJason M. Bills                  {
581271584abSEd Tanous                      "Indicates that an unknown property was included in the "
582271584abSEd Tanous                      "request body.",
583271584abSEd Tanous                      "The property %1 is not in the list of valid properties "
58470304cb5SJason M. Bills                      "for the resource.",
585271584abSEd Tanous                      "Warning",
586*e7808c93SGunnar Mills                      "Warning",
587271584abSEd Tanous                      1,
58870304cb5SJason M. Bills                      {
58970304cb5SJason M. Bills                          "string",
59070304cb5SJason M. Bills                      },
591271584abSEd Tanous                      "Remove the unknown property from the request body and "
59270304cb5SJason M. Bills                      "resubmit the request if the operation failed.",
59370304cb5SJason M. Bills                  }},
594*e7808c93SGunnar Mills     MessageEntry{
595*e7808c93SGunnar Mills         "PropertyValueConflict",
596*e7808c93SGunnar Mills         {
597*e7808c93SGunnar Mills             "Indicates that the requested write of a property value could not "
598*e7808c93SGunnar Mills             "be completed, because of a conflict with another property value.",
599*e7808c93SGunnar Mills             "The property '%1' could not be written because its value would "
600*e7808c93SGunnar Mills             "conflict with the value of the '%2' property.",
601*e7808c93SGunnar Mills             "Warning",
602*e7808c93SGunnar Mills             "Warning",
603*e7808c93SGunnar Mills             2,
604*e7808c93SGunnar Mills             {
605*e7808c93SGunnar Mills                 "string",
606*e7808c93SGunnar Mills                 "string",
607*e7808c93SGunnar Mills             },
608*e7808c93SGunnar Mills             "No resolution is required.",
609*e7808c93SGunnar Mills         }},
610271584abSEd Tanous     MessageEntry{"PropertyValueFormatError",
611271584abSEd Tanous                  {
612271584abSEd Tanous                      "Indicates that a property was given the correct value "
613271584abSEd Tanous                      "type but the value of that property was not supported.",
614271584abSEd Tanous                      "The value %1 for the property %2 is of a different "
615271584abSEd Tanous                      "format than the property can accept.",
616271584abSEd Tanous                      "Warning",
617*e7808c93SGunnar Mills                      "Warning",
618271584abSEd Tanous                      2,
619271584abSEd Tanous                      {
620271584abSEd Tanous                          "string",
621271584abSEd Tanous                          "string",
622271584abSEd Tanous                      },
623271584abSEd Tanous                      "Correct the value for the property in the request body "
624271584abSEd Tanous                      "and resubmit the request if the operation failed.",
625271584abSEd Tanous                  }},
626*e7808c93SGunnar Mills     MessageEntry{"PropertyValueIncorrect",
627*e7808c93SGunnar Mills                  {
628*e7808c93SGunnar Mills                      "Indicates that the requested write of a property value "
629*e7808c93SGunnar Mills                      "could not be completed, because of an incorrect value of "
630*e7808c93SGunnar Mills                      "the property.  Examples include values that do not match "
631*e7808c93SGunnar Mills                      "a regular expression requirement or passwords that do "
632*e7808c93SGunnar Mills                      "not match the implementation constraints.",
633*e7808c93SGunnar Mills                      "The property '%1' with the requested value of '%2' could "
634*e7808c93SGunnar Mills                      "not be written because the value does not meet the "
635*e7808c93SGunnar Mills                      "constraints of the implementation.",
636*e7808c93SGunnar Mills                      "Warning",
637*e7808c93SGunnar Mills                      "Warning",
638*e7808c93SGunnar Mills                      2,
639*e7808c93SGunnar Mills                      {
640*e7808c93SGunnar Mills                          "string",
641*e7808c93SGunnar Mills                          "string",
642*e7808c93SGunnar Mills                      },
643*e7808c93SGunnar Mills                      "No resolution is required.",
644*e7808c93SGunnar Mills                  }},
64570304cb5SJason M. Bills     MessageEntry{"PropertyValueModified",
64670304cb5SJason M. Bills                  {
647271584abSEd Tanous                      "Indicates that a property was given the correct value "
648271584abSEd Tanous                      "type but the value of that property was modified.  "
649271584abSEd Tanous                      "Examples are truncated or rounded values.",
650271584abSEd Tanous                      "The property %1 was assigned the value %2 due to "
651271584abSEd Tanous                      "modification by the service.",
652271584abSEd Tanous                      "Warning",
653*e7808c93SGunnar Mills                      "Warning",
654271584abSEd Tanous                      2,
65570304cb5SJason M. Bills                      {
65670304cb5SJason M. Bills                          "string",
65770304cb5SJason M. Bills                          "string",
65870304cb5SJason M. Bills                      },
659271584abSEd Tanous                      "No resolution is required.",
66070304cb5SJason M. Bills                  }},
66170304cb5SJason M. Bills     MessageEntry{
66270304cb5SJason M. Bills         "PropertyValueNotInList",
66370304cb5SJason M. Bills         {
664271584abSEd Tanous             "Indicates that a property was given the correct value type but "
665271584abSEd Tanous             "the value of that property was not supported.  This values not in "
666271584abSEd Tanous             "an enumeration",
667271584abSEd Tanous             "The value %1 for the property %2 is not in the list of acceptable "
668271584abSEd Tanous             "values.",
669271584abSEd Tanous             "Warning",
670*e7808c93SGunnar Mills             "Warning",
671271584abSEd Tanous             2,
67270304cb5SJason M. Bills             {
67370304cb5SJason M. Bills                 "string",
67470304cb5SJason M. Bills                 "string",
67570304cb5SJason M. Bills             },
676271584abSEd Tanous             "Choose a value from the enumeration list that the implementation "
677271584abSEd Tanous             "can support and resubmit the request if the operation failed.",
67870304cb5SJason M. Bills         }},
67970304cb5SJason M. Bills     MessageEntry{
68070304cb5SJason M. Bills         "PropertyValueTypeError",
68170304cb5SJason M. Bills         {
682271584abSEd Tanous             "Indicates that a property was given the wrong value type, such as "
683271584abSEd Tanous             "when a number is supplied for a property that requires a string.",
684271584abSEd Tanous             "The value %1 for the property %2 is of a different type than the "
685271584abSEd Tanous             "property can accept.",
686271584abSEd Tanous             "Warning",
687*e7808c93SGunnar Mills             "Warning",
688271584abSEd Tanous             2,
68970304cb5SJason M. Bills             {
69070304cb5SJason M. Bills                 "string",
69170304cb5SJason M. Bills                 "string",
69270304cb5SJason M. Bills             },
69370304cb5SJason M. Bills             "Correct the value for the property in the request body and "
69470304cb5SJason M. Bills             "resubmit the request if the operation failed.",
69570304cb5SJason M. Bills         }},
69670304cb5SJason M. Bills     MessageEntry{
697*e7808c93SGunnar Mills         "QueryCombinationInvalid",
698*e7808c93SGunnar Mills         {
699*e7808c93SGunnar Mills             "Indicates the request contains multiple query parameters, and "
700*e7808c93SGunnar Mills             "that two or more of them cannot be used together.",
701*e7808c93SGunnar Mills             "Two or more query parameters in the request cannot be used "
702*e7808c93SGunnar Mills             "together.",
703*e7808c93SGunnar Mills             "Warning",
704*e7808c93SGunnar Mills             "Warning",
705*e7808c93SGunnar Mills             0,
706*e7808c93SGunnar Mills             {},
707*e7808c93SGunnar Mills             "Remove one or more of the query parameters and resubmit the "
708*e7808c93SGunnar Mills             "request if the operation failed.",
709*e7808c93SGunnar Mills         }},
710*e7808c93SGunnar Mills     MessageEntry{
71170304cb5SJason M. Bills         "QueryNotSupported",
71270304cb5SJason M. Bills         {
71370304cb5SJason M. Bills             "Indicates that query is not supported on the implementation.",
714271584abSEd Tanous             "Querying is not supported by the implementation.",
715271584abSEd Tanous             "Warning",
716*e7808c93SGunnar Mills             "Warning",
717*e7808c93SGunnar Mills             0,
718*e7808c93SGunnar Mills             {},
719*e7808c93SGunnar Mills             "Remove the query parameters and resubmit the request if the "
720*e7808c93SGunnar Mills             "operation failed.",
721*e7808c93SGunnar Mills         }},
722*e7808c93SGunnar Mills     MessageEntry{
723*e7808c93SGunnar Mills         "QueryNotSupportedOnOperation",
724*e7808c93SGunnar Mills         {
725*e7808c93SGunnar Mills             "Indicates that query is not supported with the given operation, "
726*e7808c93SGunnar Mills             "such as when an expand query is attemped with a PATCH operation.",
727*e7808c93SGunnar Mills             "Querying is not supported with the requested operation.",
728*e7808c93SGunnar Mills             "Warning",
729*e7808c93SGunnar Mills             "Warning",
730271584abSEd Tanous             0,
731271584abSEd Tanous             {},
732271584abSEd Tanous             "Remove the query parameters and resubmit the request if the "
733271584abSEd Tanous             "operation failed.",
73470304cb5SJason M. Bills         }},
735271584abSEd Tanous     MessageEntry{"QueryNotSupportedOnResource",
73670304cb5SJason M. Bills                  {
737271584abSEd Tanous                      "Indicates that query is not supported on the given "
738271584abSEd Tanous                      "resource, such as when a start/count query is attempted "
739271584abSEd Tanous                      "on a resource that is not a collection.",
740271584abSEd Tanous                      "Querying is not supported on the requested resource.",
741271584abSEd Tanous                      "Warning",
742*e7808c93SGunnar Mills                      "Warning",
743271584abSEd Tanous                      0,
744271584abSEd Tanous                      {},
745271584abSEd Tanous                      "Remove the query parameters and resubmit the request if "
746271584abSEd Tanous                      "the operation failed.",
74770304cb5SJason M. Bills                  }},
74870304cb5SJason M. Bills     MessageEntry{
74970304cb5SJason M. Bills         "QueryParameterOutOfRange",
75070304cb5SJason M. Bills         {
751271584abSEd Tanous             "Indicates that a query parameter was supplied that is out of "
752271584abSEd Tanous             "range for the given resource.  This can happen with values that "
753271584abSEd Tanous             "are too low or beyond that possible for the supplied resource, "
754271584abSEd Tanous             "such as when a page is requested that is beyond the last page.",
75570304cb5SJason M. Bills             "The value %1 for the query parameter %2 is out of range %3.",
756271584abSEd Tanous             "Warning",
757*e7808c93SGunnar Mills             "Warning",
758271584abSEd Tanous             3,
75970304cb5SJason M. Bills             {
76070304cb5SJason M. Bills                 "string",
76170304cb5SJason M. Bills                 "string",
76270304cb5SJason M. Bills                 "string",
76370304cb5SJason M. Bills             },
76470304cb5SJason M. Bills             "Reduce the value for the query parameter to a value that is "
76570304cb5SJason M. Bills             "within range, such as a start or count value that is within "
766271584abSEd Tanous             "bounds of the number of resources in a collection or a page that "
767271584abSEd Tanous             "is within the range of valid pages.",
76870304cb5SJason M. Bills         }},
769271584abSEd Tanous     MessageEntry{"QueryParameterValueFormatError",
77070304cb5SJason M. Bills                  {
771271584abSEd Tanous                      "Indicates that a query parameter was given the correct "
772271584abSEd Tanous                      "value type but the value of that parameter was not "
773271584abSEd Tanous                      "supported.  This includes value size/length exceeded.",
774271584abSEd Tanous                      "The value %1 for the parameter %2 is of a different "
77570304cb5SJason M. Bills                      "format than the parameter can accept.",
776271584abSEd Tanous                      "Warning",
777*e7808c93SGunnar Mills                      "Warning",
778271584abSEd Tanous                      2,
77970304cb5SJason M. Bills                      {
78070304cb5SJason M. Bills                          "string",
78170304cb5SJason M. Bills                          "string",
78270304cb5SJason M. Bills                      },
783271584abSEd Tanous                      "Correct the value for the query parameter in the request "
784271584abSEd Tanous                      "and resubmit the request if the operation failed.",
78570304cb5SJason M. Bills                  }},
786271584abSEd Tanous     MessageEntry{"QueryParameterValueTypeError",
78770304cb5SJason M. Bills                  {
788271584abSEd Tanous                      "Indicates that a query parameter was given the wrong "
789271584abSEd Tanous                      "value type, such as when a number is supplied for a "
790271584abSEd Tanous                      "query parameter that requires a string.",
791271584abSEd Tanous                      "The value %1 for the query parameter %2 is of a "
79270304cb5SJason M. Bills                      "different type than the parameter can accept.",
793271584abSEd Tanous                      "Warning",
794*e7808c93SGunnar Mills                      "Warning",
795271584abSEd Tanous                      2,
79670304cb5SJason M. Bills                      {
79770304cb5SJason M. Bills                          "string",
79870304cb5SJason M. Bills                          "string",
79970304cb5SJason M. Bills                      },
800271584abSEd Tanous                      "Correct the value for the query parameter in the request "
801271584abSEd Tanous                      "and resubmit the request if the operation failed.",
80270304cb5SJason M. Bills                  }},
803*e7808c93SGunnar Mills     MessageEntry{
804*e7808c93SGunnar Mills         "ResetRequired",
805*e7808c93SGunnar Mills         {
806*e7808c93SGunnar Mills             "Indicates that a component reset is required for changes or "
807*e7808c93SGunnar Mills             "operations to complete.",
808*e7808c93SGunnar Mills             "In order to complete the operation, a component reset is required "
809*e7808c93SGunnar Mills             "with the Reset action URI '%1' and ResetType '%2'.",
810*e7808c93SGunnar Mills             "Warning",
811*e7808c93SGunnar Mills             "Warning",
812*e7808c93SGunnar Mills             2,
813*e7808c93SGunnar Mills             {
814*e7808c93SGunnar Mills                 "string",
815*e7808c93SGunnar Mills                 "string",
816*e7808c93SGunnar Mills             },
817*e7808c93SGunnar Mills             "Perform the required Reset action on the specified component.",
818*e7808c93SGunnar Mills         }},
819271584abSEd Tanous     MessageEntry{"ResourceAlreadyExists",
82070304cb5SJason M. Bills                  {
821271584abSEd Tanous                      "Indicates that a resource change or creation was "
822271584abSEd Tanous                      "attempted but that the operation cannot proceed because "
823271584abSEd Tanous                      "the resource already exists.",
824271584abSEd Tanous                      "The requested resource of type %1 with the property %2 "
82570304cb5SJason M. Bills                      "with the value %3 already exists.",
826271584abSEd Tanous                      "Critical",
827*e7808c93SGunnar Mills                      "Critical",
828271584abSEd Tanous                      3,
82970304cb5SJason M. Bills                      {
83070304cb5SJason M. Bills                          "string",
83170304cb5SJason M. Bills                          "string",
83270304cb5SJason M. Bills                          "string",
83370304cb5SJason M. Bills                      },
834271584abSEd Tanous                      "Do not repeat the create operation as the resource has "
835271584abSEd Tanous                      "already been created.",
83670304cb5SJason M. Bills                  }},
83770304cb5SJason M. Bills     MessageEntry{
83870304cb5SJason M. Bills         "ResourceAtUriInUnknownFormat",
83970304cb5SJason M. Bills         {
84070304cb5SJason M. Bills             "Indicates that the URI was valid but the resource or image at "
84170304cb5SJason M. Bills             "that URI was in a format not supported by the service.",
842271584abSEd Tanous             "The resource at %1 is in a format not recognized by the service.",
843271584abSEd Tanous             "Critical",
844*e7808c93SGunnar Mills             "Critical",
845271584abSEd Tanous             1,
84670304cb5SJason M. Bills             {
84770304cb5SJason M. Bills                 "string",
84870304cb5SJason M. Bills             },
849271584abSEd Tanous             "Place an image or resource or file that is recognized by the "
850271584abSEd Tanous             "service at the URI.",
85170304cb5SJason M. Bills         }},
852271584abSEd Tanous     MessageEntry{"ResourceAtUriUnauthorized",
85370304cb5SJason M. Bills                  {
854271584abSEd Tanous                      "Indicates that the attempt to access the "
85570304cb5SJason M. Bills                      "resource/file/image at the URI was unauthorized.",
856271584abSEd Tanous                      "While accessing the resource at %1, the service received "
857271584abSEd Tanous                      "an authorization error %2.",
858271584abSEd Tanous                      "Critical",
859*e7808c93SGunnar Mills                      "Critical",
860271584abSEd Tanous                      2,
86170304cb5SJason M. Bills                      {
86270304cb5SJason M. Bills                          "string",
86370304cb5SJason M. Bills                          "string",
86470304cb5SJason M. Bills                      },
865271584abSEd Tanous                      "Ensure that the appropriate access is provided for the "
866271584abSEd Tanous                      "service in order for it to access the URI.",
86770304cb5SJason M. Bills                  }},
868271584abSEd Tanous     MessageEntry{"ResourceCannotBeDeleted",
86970304cb5SJason M. Bills                  {
870271584abSEd Tanous                      "Indicates that a delete operation was attempted on a "
871271584abSEd Tanous                      "resource that cannot be deleted.",
872271584abSEd Tanous                      "The delete request failed because the resource requested "
873271584abSEd Tanous                      "cannot be deleted.",
874271584abSEd Tanous                      "Critical",
875*e7808c93SGunnar Mills                      "Critical",
876271584abSEd Tanous                      0,
877271584abSEd Tanous                      {},
878271584abSEd Tanous                      "Do not attempt to delete a non-deletable resource.",
87970304cb5SJason M. Bills                  }},
88070304cb5SJason M. Bills     MessageEntry{
881*e7808c93SGunnar Mills         "ResourceCreationConflict",
882*e7808c93SGunnar Mills         {
883*e7808c93SGunnar Mills             "Indicates that the requested resource creation could not be "
884*e7808c93SGunnar Mills             "completed because the service has a resource that conflicts with "
885*e7808c93SGunnar Mills             "the request.",
886*e7808c93SGunnar Mills             "The resource could not be created.  The service has a resource at "
887*e7808c93SGunnar Mills             "URI '%1' that conflicts with the creation request.",
888*e7808c93SGunnar Mills             "Warning",
889*e7808c93SGunnar Mills             "Warning",
890*e7808c93SGunnar Mills             1,
891*e7808c93SGunnar Mills             {
892*e7808c93SGunnar Mills                 "string",
893*e7808c93SGunnar Mills             },
894*e7808c93SGunnar Mills             "No resolution is required.",
895*e7808c93SGunnar Mills         }},
896*e7808c93SGunnar Mills     MessageEntry{
89770304cb5SJason M. Bills         "ResourceExhaustion",
89870304cb5SJason M. Bills         {
899271584abSEd Tanous             "Indicates that a resource could not satisfy the request due to "
900271584abSEd Tanous             "some unavailability of resources.  An example is that available "
901271584abSEd Tanous             "capacity has been allocated.",
902271584abSEd Tanous             "The resource %1 was unable to satisfy the request due to "
903271584abSEd Tanous             "unavailability of resources.",
904271584abSEd Tanous             "Critical",
905*e7808c93SGunnar Mills             "Critical",
906271584abSEd Tanous             1,
90770304cb5SJason M. Bills             {
90870304cb5SJason M. Bills                 "string",
90970304cb5SJason M. Bills             },
910271584abSEd Tanous             "Ensure that the resources are available and resubmit the request.",
91170304cb5SJason M. Bills         }},
912271584abSEd Tanous     MessageEntry{"ResourceInStandby",
91370304cb5SJason M. Bills                  {
914271584abSEd Tanous                      "Indicates that the request could not be performed "
91570304cb5SJason M. Bills                      "because the resource is in standby.",
916271584abSEd Tanous                      "The request could not be performed because the resource "
917271584abSEd Tanous                      "is in standby.",
918271584abSEd Tanous                      "Critical",
919*e7808c93SGunnar Mills                      "Critical",
920271584abSEd Tanous                      0,
921271584abSEd Tanous                      {},
922271584abSEd Tanous                      "Ensure that the resource is in the correct power state "
923271584abSEd Tanous                      "and resubmit the request.",
92470304cb5SJason M. Bills                  }},
925271584abSEd Tanous     MessageEntry{"ResourceInUse",
92670304cb5SJason M. Bills                  {
927271584abSEd Tanous                      "Indicates that a change was requested to a resource but "
928271584abSEd Tanous                      "the change was rejected due to the resource being in use "
929271584abSEd Tanous                      "or transition.",
930271584abSEd Tanous                      "The change to the requested resource failed because the "
931271584abSEd Tanous                      "resource is in use or in transition.",
932271584abSEd Tanous                      "Warning",
933*e7808c93SGunnar Mills                      "Warning",
934271584abSEd Tanous                      0,
935271584abSEd Tanous                      {},
936271584abSEd Tanous                      "Remove the condition and resubmit the request if the "
937271584abSEd Tanous                      "operation failed.",
93870304cb5SJason M. Bills                  }},
93970304cb5SJason M. Bills     MessageEntry{
94070304cb5SJason M. Bills         "ResourceMissingAtURI",
94170304cb5SJason M. Bills         {
942271584abSEd Tanous             "Indicates that the operation expected an image or other resource "
943271584abSEd Tanous             "at the provided URI but none was found.  Examples of this are in "
944271584abSEd Tanous             "requests that require URIs like Firmware Update.",
945271584abSEd Tanous             "The resource at the URI %1 was not found.",
946271584abSEd Tanous             "Critical",
947*e7808c93SGunnar Mills             "Critical",
948271584abSEd Tanous             1,
94970304cb5SJason M. Bills             {
95070304cb5SJason M. Bills                 "string",
95170304cb5SJason M. Bills             },
952271584abSEd Tanous             "Place a valid resource at the URI or correct the URI and resubmit "
953271584abSEd Tanous             "the request.",
95470304cb5SJason M. Bills         }},
95570304cb5SJason M. Bills     MessageEntry{
95670304cb5SJason M. Bills         "ResourceNotFound",
95770304cb5SJason M. Bills         {
958271584abSEd Tanous             "Indicates that the operation expected a resource identifier that "
959271584abSEd Tanous             "corresponds to an existing resource but one was not found.",
96070304cb5SJason M. Bills             "The requested resource of type %1 named %2 was not found.",
961271584abSEd Tanous             "Critical",
962*e7808c93SGunnar Mills             "Critical",
963271584abSEd Tanous             2,
96470304cb5SJason M. Bills             {
96570304cb5SJason M. Bills                 "string",
96670304cb5SJason M. Bills                 "string",
96770304cb5SJason M. Bills             },
96870304cb5SJason M. Bills             "Provide a valid resource identifier and resubmit the request.",
96970304cb5SJason M. Bills         }},
97070304cb5SJason M. Bills     MessageEntry{
97170304cb5SJason M. Bills         "ResourceTypeIncompatible",
97270304cb5SJason M. Bills         {
973271584abSEd Tanous             "Indicates that the resource type of the operation does not match "
974271584abSEd Tanous             "that for the operation destination.  Examples of when this can "
975271584abSEd Tanous             "happen include during a POST to a collection using the wrong "
976271584abSEd Tanous             "resource type, an update where the @odata.types do not match or "
977271584abSEd Tanous             "on a major version incompatability.",
978271584abSEd Tanous             "The @odata.type of the request body %1 is incompatible with the "
979271584abSEd Tanous             "@odata.type of the resource which is %2.",
980271584abSEd Tanous             "Critical",
981*e7808c93SGunnar Mills             "Critical",
982271584abSEd Tanous             2,
98370304cb5SJason M. Bills             {
98470304cb5SJason M. Bills                 "string",
98570304cb5SJason M. Bills                 "string",
98670304cb5SJason M. Bills             },
987271584abSEd Tanous             "Resubmit the request with a payload compatible with the "
988271584abSEd Tanous             "resource's schema.",
98970304cb5SJason M. Bills         }},
99070304cb5SJason M. Bills     MessageEntry{
99170304cb5SJason M. Bills         "ServiceInUnknownState",
99270304cb5SJason M. Bills         {
993271584abSEd Tanous             "Indicates that the operation failed because the service is in an "
994271584abSEd Tanous             "unknown state and cannot accept additional requests.",
995271584abSEd Tanous             "The operation failed because the service is in an unknown state "
996271584abSEd Tanous             "and can no longer take incoming requests.",
997271584abSEd Tanous             "Critical",
998*e7808c93SGunnar Mills             "Critical",
999271584abSEd Tanous             0,
1000271584abSEd Tanous             {},
1001271584abSEd Tanous             "Restart the service and resubmit the request if the operation "
1002271584abSEd Tanous             "failed.",
100370304cb5SJason M. Bills         }},
1004271584abSEd Tanous     MessageEntry{"ServiceShuttingDown",
100570304cb5SJason M. Bills                  {
100670304cb5SJason M. Bills                      "Indicates that the operation failed as the service is "
100770304cb5SJason M. Bills                      "shutting down, such as when the service reboots.",
1008271584abSEd Tanous                      "The operation failed because the service is shutting "
100970304cb5SJason M. Bills                      "down and can no longer take incoming requests.",
1010271584abSEd Tanous                      "Critical",
1011*e7808c93SGunnar Mills                      "Critical",
1012271584abSEd Tanous                      0,
1013271584abSEd Tanous                      {},
1014271584abSEd Tanous                      "When the service becomes available, resubmit the request "
1015271584abSEd Tanous                      "if the operation failed.",
101670304cb5SJason M. Bills                  }},
101770304cb5SJason M. Bills     MessageEntry{
101870304cb5SJason M. Bills         "ServiceTemporarilyUnavailable",
101970304cb5SJason M. Bills         {
1020271584abSEd Tanous             "Indicates the service is temporarily unavailable.",
102170304cb5SJason M. Bills             "The service is temporarily unavailable.  Retry in %1 seconds.",
1022271584abSEd Tanous             "Critical",
1023*e7808c93SGunnar Mills             "Critical",
1024271584abSEd Tanous             1,
102570304cb5SJason M. Bills             {
102670304cb5SJason M. Bills                 "string",
102770304cb5SJason M. Bills             },
1028271584abSEd Tanous             "Wait for the indicated retry duration and retry the operation.",
102970304cb5SJason M. Bills         }},
103070304cb5SJason M. Bills     MessageEntry{
103170304cb5SJason M. Bills         "SessionLimitExceeded",
103270304cb5SJason M. Bills         {
1033271584abSEd Tanous             "Indicates that a session establishment has been requested but the "
1034271584abSEd Tanous             "operation failed due to the number of simultaneous sessions "
1035271584abSEd Tanous             "exceeding the limit of the implementation.",
1036271584abSEd Tanous             "The session establishment failed due to the number of "
1037271584abSEd Tanous             "simultaneous sessions exceeding the limit of the implementation.",
1038271584abSEd Tanous             "Critical",
1039*e7808c93SGunnar Mills             "Critical",
1040271584abSEd Tanous             0,
1041271584abSEd Tanous             {},
1042271584abSEd Tanous             "Reduce the number of other sessions before trying to establish "
1043271584abSEd Tanous             "the session or increase the limit of simultaneous sessions (if "
1044271584abSEd Tanous             "supported).",
104570304cb5SJason M. Bills         }},
104670304cb5SJason M. Bills     MessageEntry{
104770304cb5SJason M. Bills         "SessionTerminated",
104870304cb5SJason M. Bills         {
104970304cb5SJason M. Bills             "Indicates that the DELETE operation on the Session resource "
105070304cb5SJason M. Bills             "resulted in the successful termination of the session.",
1051271584abSEd Tanous             "The session was successfully terminated.",
1052271584abSEd Tanous             "OK",
1053*e7808c93SGunnar Mills             "OK",
1054271584abSEd Tanous             0,
1055271584abSEd Tanous             {},
1056271584abSEd Tanous             "No resolution is required.",
105770304cb5SJason M. Bills         }},
105870304cb5SJason M. Bills     MessageEntry{
105970304cb5SJason M. Bills         "SourceDoesNotSupportProtocol",
106070304cb5SJason M. Bills         {
1061271584abSEd Tanous             "Indicates that while attempting to access, connect to or transfer "
1062271584abSEd Tanous             "a resource/file/image from another location that the other end of "
1063271584abSEd Tanous             "the connection did not support the protocol",
1064271584abSEd Tanous             "The other end of the connection at %1 does not support the "
1065271584abSEd Tanous             "specified protocol %2.",
1066271584abSEd Tanous             "Critical",
1067*e7808c93SGunnar Mills             "Critical",
1068271584abSEd Tanous             2,
106970304cb5SJason M. Bills             {
107070304cb5SJason M. Bills                 "string",
107170304cb5SJason M. Bills                 "string",
107270304cb5SJason M. Bills             },
1073271584abSEd Tanous             "Change protocols or URIs. ",
107470304cb5SJason M. Bills         }},
1075271584abSEd Tanous     MessageEntry{"StringValueTooLong",
107670304cb5SJason M. Bills                  {
1077271584abSEd Tanous                      "Indicates that a string value passed to the given "
1078271584abSEd Tanous                      "resource exceeded its length limit. An example is when a "
1079271584abSEd Tanous                      "shorter limit is imposed by an implementation than that "
1080271584abSEd Tanous                      "allowed by the specification.",
1081271584abSEd Tanous                      "The string %1 exceeds the length limit %2.",
1082271584abSEd Tanous                      "Warning",
1083*e7808c93SGunnar Mills                      "Warning",
1084271584abSEd Tanous                      2,
108570304cb5SJason M. Bills                      {
108670304cb5SJason M. Bills                          "string",
108770304cb5SJason M. Bills                          "number",
108870304cb5SJason M. Bills                      },
108970304cb5SJason M. Bills                      "Resubmit the request with an appropriate string length.",
109070304cb5SJason M. Bills                  }},
1091*e7808c93SGunnar Mills     MessageEntry{"SubscriptionTerminated",
1092*e7808c93SGunnar Mills                  {
1093*e7808c93SGunnar Mills                      "An event subscription has been terminated by the "
1094*e7808c93SGunnar Mills                      "Service. No further events will be delivered.",
1095*e7808c93SGunnar Mills                      "The event subscription has been terminated.",
1096*e7808c93SGunnar Mills                      "OK",
1097*e7808c93SGunnar Mills                      "OK",
1098*e7808c93SGunnar Mills                      0,
1099*e7808c93SGunnar Mills                      {},
1100*e7808c93SGunnar Mills                      "No resolution is required.",
1101*e7808c93SGunnar Mills                  }},
110270304cb5SJason M. Bills     MessageEntry{"Success",
110370304cb5SJason M. Bills                  {
1104271584abSEd Tanous                      "Indicates that all conditions of a successful operation "
1105271584abSEd Tanous                      "have been met.",
1106271584abSEd Tanous                      "Successfully Completed Request",
1107271584abSEd Tanous                      "OK",
1108*e7808c93SGunnar Mills                      "OK",
1109271584abSEd Tanous                      0,
1110271584abSEd Tanous                      {},
1111271584abSEd Tanous                      "None",
111270304cb5SJason M. Bills                  }},
111370304cb5SJason M. Bills     MessageEntry{
111470304cb5SJason M. Bills         "UnrecognizedRequestBody",
111570304cb5SJason M. Bills         {
1116271584abSEd Tanous             "Indicates that the service encountered an unrecognizable request "
1117271584abSEd Tanous             "body that could not even be interpreted as malformed JSON.",
1118271584abSEd Tanous             "The service detected a malformed request body that it was unable "
1119271584abSEd Tanous             "to interpret.",
1120271584abSEd Tanous             "Warning",
1121*e7808c93SGunnar Mills             "Warning",
1122271584abSEd Tanous             0,
1123271584abSEd Tanous             {},
1124271584abSEd Tanous             "Correct the request body and resubmit the request if it failed.",
112570304cb5SJason M. Bills         }},
112670304cb5SJason M. Bills };
112770304cb5SJason M. Bills } // namespace redfish::message_registries::base
1128