xref: /openbmc/bmcweb/features/redfish/include/registries/base_message_registry.hpp (revision fc8a2b87a8d5daf67ece24b0b259e507b3442bd7)
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*fc8a2b87SEd Tanous     "Copyright 2014-2021 DMTF. All rights reserved.",
27e7808c93SGunnar Mills     "#MessageRegistry.v1_4_0.MessageRegistry",
28*fc8a2b87SEd Tanous     "Base.1.10.0",
29271584abSEd Tanous     "Base Message Registry",
30271584abSEd Tanous     "en",
31271584abSEd Tanous     "This registry defines the base messages for Redfish",
32271584abSEd Tanous     "Base",
33*fc8a2b87SEd Tanous     "1.10.0",
34271584abSEd Tanous     "DMTF",
35351d3063SJason M. Bills };
36e51c710eSJames Feist constexpr const char* url =
37*fc8a2b87SEd Tanous     "https://redfish.dmtf.org/registries/Base.1.10.0.json";
38e51c710eSJames Feist 
39*fc8a2b87SEd Tanous constexpr std::array<MessageEntry, 87> registry = {
4070304cb5SJason M. Bills     MessageEntry{
4170304cb5SJason M. Bills         "AccessDenied",
4270304cb5SJason M. Bills         {
43*fc8a2b87SEd Tanous             "Indicates that while attempting to access, connect to, or "
44*fc8a2b87SEd Tanous             "transfer to or from another resource, the service denied access.",
45*fc8a2b87SEd Tanous             "While attempting to establish a connection to '%1', the service "
46271584abSEd Tanous             "denied access.",
47271584abSEd Tanous             "Critical",
48e7808c93SGunnar 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",
63e7808c93SGunnar 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",
73e7808c93SGunnar 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",
84e7808c93SGunnar 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",
95e7808c93SGunnar Mills                      "OK",
96271584abSEd Tanous                      0,
97271584abSEd Tanous                      {},
98271584abSEd Tanous                      "No resolution is required.",
9970304cb5SJason M. Bills                  }},
100*fc8a2b87SEd Tanous     MessageEntry{"ActionDeprecated",
101*fc8a2b87SEd Tanous                  {
102*fc8a2b87SEd Tanous                      "Indicates the action is deprecated.",
103*fc8a2b87SEd Tanous                      "The action %1 is deprecated.",
104*fc8a2b87SEd Tanous                      "Warning",
105*fc8a2b87SEd Tanous                      "Warning",
106*fc8a2b87SEd Tanous                      1,
107*fc8a2b87SEd Tanous                      {
108*fc8a2b87SEd Tanous                          "string",
109*fc8a2b87SEd Tanous                      },
110*fc8a2b87SEd Tanous                      "Refer to the schema guide for more information.",
111*fc8a2b87SEd Tanous                  }},
11270304cb5SJason M. Bills     MessageEntry{
11370304cb5SJason M. Bills         "ActionNotSupported",
11470304cb5SJason M. Bills         {
115271584abSEd Tanous             "Indicates that the action supplied with the POST operation is not "
116271584abSEd Tanous             "supported by the resource.",
117271584abSEd Tanous             "The action %1 is not supported by the resource.",
118271584abSEd Tanous             "Critical",
119e7808c93SGunnar Mills             "Critical",
120271584abSEd Tanous             1,
12170304cb5SJason M. Bills             {
12270304cb5SJason M. Bills                 "string",
12370304cb5SJason M. Bills             },
124271584abSEd Tanous             "The action supplied cannot be resubmitted to the implementation.  "
125271584abSEd Tanous             "Perhaps the action was invalid, the wrong resource was the target "
126271584abSEd Tanous             "or the implementation documentation may be of assistance.",
12770304cb5SJason M. Bills         }},
128271584abSEd Tanous     MessageEntry{"ActionParameterDuplicate",
12970304cb5SJason M. Bills                  {
130271584abSEd Tanous                      "Indicates that the action was supplied with a duplicated "
131271584abSEd Tanous                      "parameter in the request body.",
132271584abSEd Tanous                      "The action %1 was submitted with more than one value for "
133271584abSEd Tanous                      "the parameter %2.",
134271584abSEd Tanous                      "Warning",
135e7808c93SGunnar Mills                      "Warning",
136271584abSEd Tanous                      2,
13770304cb5SJason M. Bills                      {
13870304cb5SJason M. Bills                          "string",
13970304cb5SJason M. Bills                          "string",
14070304cb5SJason M. Bills                      },
141271584abSEd Tanous                      "Resubmit the action with only one instance of the "
142271584abSEd Tanous                      "parameter in the request body if the operation failed.",
14370304cb5SJason M. Bills                  }},
144271584abSEd Tanous     MessageEntry{"ActionParameterMissing",
14570304cb5SJason M. Bills                  {
146271584abSEd Tanous                      "Indicates that the action requested was missing a "
14770304cb5SJason M. Bills                      "parameter that is required to process the action.",
148271584abSEd Tanous                      "The action %1 requires the parameter %2 to be present in "
149271584abSEd Tanous                      "the request body.",
150271584abSEd Tanous                      "Critical",
151e7808c93SGunnar Mills                      "Critical",
152271584abSEd Tanous                      2,
15370304cb5SJason M. Bills                      {
15470304cb5SJason M. Bills                          "string",
15570304cb5SJason M. Bills                          "string",
15670304cb5SJason M. Bills                      },
157271584abSEd Tanous                      "Supply the action with the required parameter in the "
158271584abSEd Tanous                      "request body when the request is resubmitted.",
15970304cb5SJason M. Bills                  }},
160271584abSEd Tanous     MessageEntry{"ActionParameterNotSupported",
16170304cb5SJason M. Bills                  {
162271584abSEd Tanous                      "Indicates that the parameter supplied for the action is "
163271584abSEd Tanous                      "not supported on the resource.",
164271584abSEd Tanous                      "The parameter %1 for the action %2 is not supported on "
16570304cb5SJason M. Bills                      "the target resource.",
166271584abSEd Tanous                      "Warning",
167e7808c93SGunnar Mills                      "Warning",
168271584abSEd Tanous                      2,
16970304cb5SJason M. Bills                      {
17070304cb5SJason M. Bills                          "string",
17170304cb5SJason M. Bills                          "string",
17270304cb5SJason M. Bills                      },
173271584abSEd Tanous                      "Remove the parameter supplied and resubmit the request "
174271584abSEd Tanous                      "if the operation failed.",
17570304cb5SJason M. Bills                  }},
17670304cb5SJason M. Bills     MessageEntry{
17770304cb5SJason M. Bills         "ActionParameterUnknown",
17870304cb5SJason M. Bills         {
179271584abSEd Tanous             "Indicates that an action was submitted but a parameter supplied "
180271584abSEd Tanous             "did not match any of the known parameters.",
18170304cb5SJason M. Bills             "The action %1 was submitted with the invalid parameter %2.",
182271584abSEd Tanous             "Warning",
183e7808c93SGunnar Mills             "Warning",
184271584abSEd Tanous             2,
18570304cb5SJason M. Bills             {
18670304cb5SJason M. Bills                 "string",
18770304cb5SJason M. Bills                 "string",
18870304cb5SJason M. Bills             },
189271584abSEd Tanous             "Correct the invalid parameter and resubmit the request if the "
190271584abSEd Tanous             "operation failed.",
19170304cb5SJason M. Bills         }},
192*fc8a2b87SEd Tanous     MessageEntry{
193*fc8a2b87SEd Tanous         "ActionParameterValueFormatError",
19470304cb5SJason M. Bills         {
195*fc8a2b87SEd Tanous             "Indicates that a parameter was given the correct value type but "
196*fc8a2b87SEd Tanous             "the value of that parameter was not supported.  This includes the "
197*fc8a2b87SEd Tanous             "value size or length has been exceeded.",
198*fc8a2b87SEd Tanous             "The value '%1' for the parameter %2 in the action %3 is of a "
199*fc8a2b87SEd Tanous             "different format than the parameter can accept.",
200271584abSEd Tanous             "Warning",
201e7808c93SGunnar Mills             "Warning",
202271584abSEd Tanous             3,
20370304cb5SJason M. Bills             {
20470304cb5SJason M. Bills                 "string",
20570304cb5SJason M. Bills                 "string",
20670304cb5SJason M. Bills                 "string",
20770304cb5SJason M. Bills             },
208*fc8a2b87SEd Tanous             "Correct the value for the parameter in the request body and "
209*fc8a2b87SEd Tanous             "resubmit the request if the operation failed.",
210*fc8a2b87SEd Tanous         }},
211*fc8a2b87SEd Tanous     MessageEntry{
212*fc8a2b87SEd Tanous         "ActionParameterValueNotInList",
213*fc8a2b87SEd Tanous         {
214*fc8a2b87SEd Tanous             "Indicates that a parameter was given the correct value type but "
215*fc8a2b87SEd Tanous             "the value of that parameter was not supported.  The value is not "
216*fc8a2b87SEd Tanous             "in an enumeration.",
217*fc8a2b87SEd Tanous             "The value '%1' for the parameter %2 in the action %3 is not in "
218*fc8a2b87SEd Tanous             "the list of acceptable values.",
219*fc8a2b87SEd Tanous             "Warning",
220*fc8a2b87SEd Tanous             "Warning",
221*fc8a2b87SEd Tanous             3,
222*fc8a2b87SEd Tanous             {
223*fc8a2b87SEd Tanous                 "string",
224*fc8a2b87SEd Tanous                 "string",
225*fc8a2b87SEd Tanous                 "string",
226*fc8a2b87SEd Tanous             },
227*fc8a2b87SEd Tanous             "Choose a value from the enumeration list that the implementation "
228*fc8a2b87SEd Tanous             "can support and resubmit the request if the operation failed.",
22970304cb5SJason M. Bills         }},
230271584abSEd Tanous     MessageEntry{"ActionParameterValueTypeError",
23170304cb5SJason M. Bills                  {
232271584abSEd Tanous                      "Indicates that a parameter was given the wrong value "
233271584abSEd Tanous                      "type, such as when a number is supplied for a parameter "
234271584abSEd Tanous                      "that requires a string.",
235*fc8a2b87SEd Tanous                      "The value '%1' for the parameter %2 in the action %3 is "
236*fc8a2b87SEd Tanous                      "of a different type than the parameter can accept.",
237271584abSEd Tanous                      "Warning",
238e7808c93SGunnar Mills                      "Warning",
239271584abSEd Tanous                      3,
24070304cb5SJason M. Bills                      {
24170304cb5SJason M. Bills                          "string",
24270304cb5SJason M. Bills                          "string",
24370304cb5SJason M. Bills                          "string",
24470304cb5SJason M. Bills                      },
245271584abSEd Tanous                      "Correct the value for the parameter in the request body "
246271584abSEd Tanous                      "and resubmit the request if the operation failed.",
24770304cb5SJason M. Bills                  }},
24870304cb5SJason M. Bills     MessageEntry{
249e7808c93SGunnar Mills         "ChassisPowerStateOffRequired",
250e7808c93SGunnar Mills         {
251*fc8a2b87SEd Tanous             "Indicates that the request requires a specified chassis to be "
252e7808c93SGunnar Mills             "powered off.",
253e7808c93SGunnar Mills             "The Chassis with Id '%1' requires to be powered off to perform "
254e7808c93SGunnar Mills             "this request.",
255e7808c93SGunnar Mills             "Warning",
256e7808c93SGunnar Mills             "Warning",
257e7808c93SGunnar Mills             1,
258e7808c93SGunnar Mills             {
259e7808c93SGunnar Mills                 "string",
260e7808c93SGunnar Mills             },
261*fc8a2b87SEd Tanous             "Power off the specified chassis and resubmit the request.",
262e7808c93SGunnar Mills         }},
263e7808c93SGunnar Mills     MessageEntry{"ChassisPowerStateOnRequired",
264e7808c93SGunnar Mills                  {
265*fc8a2b87SEd Tanous                      "Indicates that the request requires a specified chassis "
266e7808c93SGunnar Mills                      "to be powered on.",
267*fc8a2b87SEd Tanous                      "The chassis with Id '%1' requires to be powered on to "
268e7808c93SGunnar Mills                      "perform this request.",
269e7808c93SGunnar Mills                      "Warning",
270e7808c93SGunnar Mills                      "Warning",
271e7808c93SGunnar Mills                      1,
272e7808c93SGunnar Mills                      {
273e7808c93SGunnar Mills                          "string",
274e7808c93SGunnar Mills                      },
275*fc8a2b87SEd Tanous                      "Power on the specified chassis and resubmit the request.",
276*fc8a2b87SEd Tanous                  }},
277*fc8a2b87SEd Tanous     MessageEntry{"ConditionInRelatedResource",
278*fc8a2b87SEd Tanous                  {
279*fc8a2b87SEd Tanous                      "Indicates that one or more fault or error conditions "
280*fc8a2b87SEd Tanous                      "exist in a related resource.",
281*fc8a2b87SEd Tanous                      "One or more conditions exist in a related resource.  See "
282*fc8a2b87SEd Tanous                      "the OriginOfCondition property.",
283*fc8a2b87SEd Tanous                      "Warning",
284*fc8a2b87SEd Tanous                      "Warning",
285*fc8a2b87SEd Tanous                      0,
286*fc8a2b87SEd Tanous                      {},
287*fc8a2b87SEd Tanous                      "Check the Conditions array in the resource shown in the "
288*fc8a2b87SEd Tanous                      "OriginOfCondition property to determine the conditions "
289*fc8a2b87SEd Tanous                      "that need attention.",
290e7808c93SGunnar Mills                  }},
291e7808c93SGunnar Mills     MessageEntry{
29270304cb5SJason M. Bills         "CouldNotEstablishConnection",
29370304cb5SJason M. Bills         {
294*fc8a2b87SEd Tanous             "Indicates that the attempt to access the resource, file, or image "
295*fc8a2b87SEd Tanous             "at the URI was unsuccessful because a session could not be "
296271584abSEd Tanous             "established.",
297*fc8a2b87SEd Tanous             "The service failed to establish a connection with the URI '%1'.",
298271584abSEd Tanous             "Critical",
299e7808c93SGunnar Mills             "Critical",
300271584abSEd Tanous             1,
30170304cb5SJason M. Bills             {
30270304cb5SJason M. Bills                 "string",
30370304cb5SJason M. Bills             },
30470304cb5SJason M. Bills             "Ensure that the URI contains a valid and reachable node name, "
30570304cb5SJason M. Bills             "protocol information and other URI components.",
30670304cb5SJason M. Bills         }},
30770304cb5SJason M. Bills     MessageEntry{
30870304cb5SJason M. Bills         "CreateFailedMissingReqProperties",
30970304cb5SJason M. Bills         {
31070304cb5SJason M. Bills             "Indicates that a create was attempted on a resource but that "
31170304cb5SJason M. Bills             "properties that are required for the create operation were "
31270304cb5SJason M. Bills             "missing from the request.",
313271584abSEd Tanous             "The create operation failed because the required property %1 was "
314271584abSEd Tanous             "missing from the request.",
315271584abSEd Tanous             "Critical",
316e7808c93SGunnar Mills             "Critical",
317271584abSEd Tanous             1,
31870304cb5SJason M. Bills             {
31970304cb5SJason M. Bills                 "string",
32070304cb5SJason M. Bills             },
321271584abSEd Tanous             "Correct the body to include the required property with a valid "
322271584abSEd Tanous             "value and resubmit the request if the operation failed.",
32370304cb5SJason M. Bills         }},
324271584abSEd Tanous     MessageEntry{"CreateLimitReachedForResource",
32570304cb5SJason M. Bills                  {
326271584abSEd Tanous                      "Indicates that no more resources can be created on the "
327271584abSEd Tanous                      "resource as it has reached its create limit.",
328271584abSEd Tanous                      "The create operation failed because the resource has "
32970304cb5SJason M. Bills                      "reached the limit of possible resources.",
330271584abSEd Tanous                      "Critical",
331e7808c93SGunnar Mills                      "Critical",
332271584abSEd Tanous                      0,
333271584abSEd Tanous                      {},
33470304cb5SJason M. Bills                      "Either delete resources and resubmit the request if the "
33570304cb5SJason M. Bills                      "operation failed or do not resubmit the request.",
33670304cb5SJason M. Bills                  }},
33770304cb5SJason M. Bills     MessageEntry{"Created",
33870304cb5SJason M. Bills                  {
339*fc8a2b87SEd Tanous                      "Indicates that all conditions of a successful create "
340271584abSEd Tanous                      "operation have been met.",
341*fc8a2b87SEd Tanous                      "The resource has been created successfully.",
342271584abSEd Tanous                      "OK",
343e7808c93SGunnar Mills                      "OK",
344271584abSEd Tanous                      0,
345271584abSEd Tanous                      {},
346*fc8a2b87SEd Tanous                      "None.",
34770304cb5SJason M. Bills                  }},
34870304cb5SJason M. Bills     MessageEntry{
34970304cb5SJason M. Bills         "EmptyJSON",
35070304cb5SJason M. Bills         {
351271584abSEd Tanous             "Indicates that the request body contained an empty JSON object "
352271584abSEd Tanous             "when one or more properties are expected in the body.",
353271584abSEd Tanous             "The request body submitted contained an empty JSON object and the "
354271584abSEd Tanous             "service is unable to process it.",
355271584abSEd Tanous             "Warning",
356e7808c93SGunnar Mills             "Warning",
357271584abSEd Tanous             0,
358271584abSEd Tanous             {},
35970304cb5SJason M. Bills             "Add properties in the JSON object and resubmit the request.",
36070304cb5SJason M. Bills         }},
36170304cb5SJason M. Bills     MessageEntry{
36270304cb5SJason M. Bills         "EventSubscriptionLimitExceeded",
36370304cb5SJason M. Bills         {
364271584abSEd Tanous             "Indicates that a event subscription establishment has been "
365271584abSEd Tanous             "requested but the operation failed due to the number of "
366271584abSEd Tanous             "simultaneous connection exceeding the limit of the "
36770304cb5SJason M. Bills             "implementation.",
368271584abSEd Tanous             "The event subscription failed due to the number of simultaneous "
369271584abSEd Tanous             "subscriptions exceeding the limit of the implementation.",
370271584abSEd Tanous             "Critical",
371e7808c93SGunnar Mills             "Critical",
372271584abSEd Tanous             0,
373271584abSEd Tanous             {},
37470304cb5SJason M. Bills             "Reduce the number of other subscriptions before trying to "
37570304cb5SJason M. Bills             "establish the event subscription or increase the limit of "
376*fc8a2b87SEd Tanous             "simultaneous subscriptions, if supported.",
37770304cb5SJason M. Bills         }},
37870304cb5SJason M. Bills     MessageEntry{
37970304cb5SJason M. Bills         "GeneralError",
38070304cb5SJason M. Bills         {
381*fc8a2b87SEd Tanous             "Indicates that a general error has occurred.  Use in "
382*fc8a2b87SEd Tanous             "`@Message.ExtendedInfo` is discouraged.  When used in "
383*fc8a2b87SEd Tanous             "`@Message.ExtendedInfo`, implementations are expected to include "
384*fc8a2b87SEd Tanous             "a `Resolution` property with this message and provide a "
385*fc8a2b87SEd Tanous             "service-defined resolution to indicate how to resolve the error.",
386271584abSEd Tanous             "A general error has occurred.  See Resolution for information on "
387*fc8a2b87SEd Tanous             "how to resolve the error, or @Message.ExtendedInfo if Resolution "
388*fc8a2b87SEd Tanous             "is not provided.",
389271584abSEd Tanous             "Critical",
390e7808c93SGunnar Mills             "Critical",
391271584abSEd Tanous             0,
392271584abSEd Tanous             {},
393271584abSEd Tanous             "None.",
39470304cb5SJason M. Bills         }},
39570304cb5SJason M. Bills     MessageEntry{
39670304cb5SJason M. Bills         "InsufficientPrivilege",
39770304cb5SJason M. Bills         {
398271584abSEd Tanous             "Indicates that the credentials associated with the established "
399271584abSEd Tanous             "session do not have sufficient privileges for the requested "
400*fc8a2b87SEd Tanous             "operation.",
401271584abSEd Tanous             "There are insufficient privileges for the account or credentials "
402271584abSEd Tanous             "associated with the current session to perform the requested "
403271584abSEd Tanous             "operation.",
404271584abSEd Tanous             "Critical",
405e7808c93SGunnar Mills             "Critical",
406271584abSEd Tanous             0,
407271584abSEd Tanous             {},
40870304cb5SJason M. Bills             "Either abandon the operation or change the associated access "
40970304cb5SJason M. Bills             "rights and resubmit the request if the operation failed.",
41070304cb5SJason M. Bills         }},
41170304cb5SJason M. Bills     MessageEntry{
41270304cb5SJason M. Bills         "InternalError",
41370304cb5SJason M. Bills         {
414271584abSEd Tanous             "Indicates that the request failed for an unknown internal error "
415271584abSEd Tanous             "but that the service is still operational.",
416271584abSEd Tanous             "The request failed due to an internal service error.  The service "
417271584abSEd Tanous             "is still operational.",
418271584abSEd Tanous             "Critical",
419e7808c93SGunnar Mills             "Critical",
420271584abSEd Tanous             0,
421271584abSEd Tanous             {},
422271584abSEd Tanous             "Resubmit the request.  If the problem persists, consider "
423271584abSEd Tanous             "resetting the service.",
42470304cb5SJason M. Bills         }},
425271584abSEd Tanous     MessageEntry{"InvalidIndex",
42670304cb5SJason M. Bills                  {
427*fc8a2b87SEd Tanous                      "The index is not valid.",
428*fc8a2b87SEd Tanous                      "The index %1 is not a valid offset into the array.",
429271584abSEd Tanous                      "Warning",
430e7808c93SGunnar Mills                      "Warning",
431271584abSEd Tanous                      1,
43270304cb5SJason M. Bills                      {
43370304cb5SJason M. Bills                          "number",
43470304cb5SJason M. Bills                      },
435271584abSEd Tanous                      "Verify the index value provided is within the bounds of "
436271584abSEd Tanous                      "the array.",
43770304cb5SJason M. Bills                  }},
43870304cb5SJason M. Bills     MessageEntry{
439*fc8a2b87SEd Tanous         "InvalidJSON",
440*fc8a2b87SEd Tanous         {
441*fc8a2b87SEd Tanous             "Indicates that the request body contains invalid JSON.",
442*fc8a2b87SEd Tanous             "The request body submitted is invalid JSON starting at line $1 "
443*fc8a2b87SEd Tanous             "and could not be parsed by the receiving service.",
444*fc8a2b87SEd Tanous             "Critical",
445*fc8a2b87SEd Tanous             "Critical",
446*fc8a2b87SEd Tanous             1,
447*fc8a2b87SEd Tanous             {
448*fc8a2b87SEd Tanous                 "number",
449*fc8a2b87SEd Tanous             },
450*fc8a2b87SEd Tanous             "Ensure that the request body is valid JSON and resubmit the "
451*fc8a2b87SEd Tanous             "request.",
452*fc8a2b87SEd Tanous         }},
453*fc8a2b87SEd Tanous     MessageEntry{
45470304cb5SJason M. Bills         "InvalidObject",
45570304cb5SJason M. Bills         {
456271584abSEd Tanous             "Indicates that the object in question is invalid according to the "
457271584abSEd Tanous             "implementation.  Examples include a firmware update malformed "
458271584abSEd Tanous             "URI.",
459*fc8a2b87SEd Tanous             "The object at '%1' is invalid.",
460271584abSEd Tanous             "Critical",
461e7808c93SGunnar Mills             "Critical",
462271584abSEd Tanous             1,
46370304cb5SJason M. Bills             {
46470304cb5SJason M. Bills                 "string",
46570304cb5SJason M. Bills             },
46670304cb5SJason M. Bills             "Either the object is malformed or the URI is not correct.  "
46770304cb5SJason M. Bills             "Correct the condition and resubmit the request if it failed.",
46870304cb5SJason M. Bills         }},
469*fc8a2b87SEd Tanous     MessageEntry{"InvalidURI",
470*fc8a2b87SEd Tanous                  {
471*fc8a2b87SEd Tanous                      "Indicates that the operation encountered a URI that does "
472*fc8a2b87SEd Tanous                      "not correspond to a valid resource.",
473*fc8a2b87SEd Tanous                      "The URI %1 was not found.",
474*fc8a2b87SEd Tanous                      "Critical",
475*fc8a2b87SEd Tanous                      "Critical",
476*fc8a2b87SEd Tanous                      1,
477*fc8a2b87SEd Tanous                      {
478*fc8a2b87SEd Tanous                          "string",
479*fc8a2b87SEd Tanous                      },
480*fc8a2b87SEd Tanous                      "Provide a valid URI and resubmit the request.",
481*fc8a2b87SEd Tanous                  }},
482271584abSEd Tanous     MessageEntry{"MalformedJSON",
48370304cb5SJason M. Bills                  {
484*fc8a2b87SEd Tanous                      "Indicates that the request body was malformed JSON.",
485271584abSEd Tanous                      "The request body submitted was malformed JSON and could "
486271584abSEd Tanous                      "not be parsed by the receiving service.",
487271584abSEd Tanous                      "Critical",
488e7808c93SGunnar Mills                      "Critical",
489271584abSEd Tanous                      0,
490271584abSEd Tanous                      {},
491271584abSEd Tanous                      "Ensure that the request body is valid JSON and resubmit "
492271584abSEd Tanous                      "the request.",
49370304cb5SJason M. Bills                  }},
49470304cb5SJason M. Bills     MessageEntry{
495e7808c93SGunnar Mills         "MaximumErrorsExceeded",
496e7808c93SGunnar Mills         {
497e7808c93SGunnar Mills             "Indicates that sufficient errors have occurred that the reporting "
498e7808c93SGunnar Mills             "service cannot return them all.",
499e7808c93SGunnar Mills             "Too many errors have occurred to report them all.",
500e7808c93SGunnar Mills             "Critical",
501e7808c93SGunnar Mills             "Critical",
502e7808c93SGunnar Mills             0,
503e7808c93SGunnar Mills             {},
504e7808c93SGunnar Mills             "Resolve other reported errors and retry the current operation.",
505e7808c93SGunnar Mills         }},
506e7808c93SGunnar Mills     MessageEntry{
50770304cb5SJason M. Bills         "NoOperation",
50870304cb5SJason M. Bills         {
509271584abSEd Tanous             "Indicates that the requested operation will not perform any "
510271584abSEd Tanous             "changes on the service.",
511271584abSEd Tanous             "The request body submitted contain no data to act upon and no "
512271584abSEd Tanous             "changes to the resource took place.",
513271584abSEd Tanous             "Warning",
514e7808c93SGunnar Mills             "Warning",
515271584abSEd Tanous             0,
516271584abSEd Tanous             {},
51770304cb5SJason M. Bills             "Add properties in the JSON object and resubmit the request.",
51870304cb5SJason M. Bills         }},
51970304cb5SJason M. Bills     MessageEntry{
52070304cb5SJason M. Bills         "NoValidSession",
52170304cb5SJason M. Bills         {
522271584abSEd Tanous             "Indicates that the operation failed because a valid session is "
523271584abSEd Tanous             "required in order to access any resources.",
524271584abSEd Tanous             "There is no valid session established with the implementation.",
525271584abSEd Tanous             "Critical",
526e7808c93SGunnar Mills             "Critical",
527271584abSEd Tanous             0,
528271584abSEd Tanous             {},
529e7808c93SGunnar Mills             "Establish a session before attempting any operations.",
530e7808c93SGunnar Mills         }},
531e7808c93SGunnar Mills     MessageEntry{
532e7808c93SGunnar Mills         "OperationFailed",
533e7808c93SGunnar Mills         {
534e7808c93SGunnar Mills             "Indicates that one of the internal operations necessary to "
535e7808c93SGunnar Mills             "complete the request failed.  Examples of this are when an "
536e7808c93SGunnar Mills             "internal service provider is unable to complete the request, such "
537e7808c93SGunnar Mills             "as in aggregation or RDE.",
538e7808c93SGunnar Mills             "An error occurred internal to the service as part of the overall "
539e7808c93SGunnar Mills             "request.  Partial results may have been returned.",
540e7808c93SGunnar Mills             "Warning",
541e7808c93SGunnar Mills             "Warning",
542e7808c93SGunnar Mills             0,
543e7808c93SGunnar Mills             {},
544e7808c93SGunnar Mills             "Resubmit the request.  If the problem persists, consider "
545e7808c93SGunnar Mills             "resetting the service or provider.",
546e7808c93SGunnar Mills         }},
547e7808c93SGunnar Mills     MessageEntry{"OperationTimeout",
548e7808c93SGunnar Mills                  {
549e7808c93SGunnar Mills                      "Indicates that one of the internal operations necessary "
550e7808c93SGunnar Mills                      "to complete the request timed out.  Examples of this are "
551e7808c93SGunnar Mills                      "when an internal service provider is unable to complete "
552e7808c93SGunnar Mills                      "the request, such as in aggregation or RDE.",
553e7808c93SGunnar Mills                      "A timeout internal to the service occured as part of the "
554e7808c93SGunnar Mills                      "request.  Partial results may have been returned.",
555e7808c93SGunnar Mills                      "Warning",
556e7808c93SGunnar Mills                      "Warning",
557e7808c93SGunnar Mills                      0,
558e7808c93SGunnar Mills                      {},
559e7808c93SGunnar Mills                      "Resubmit the request.  If the problem persists, consider "
560e7808c93SGunnar Mills                      "resetting the service or provider.",
561e7808c93SGunnar Mills                  }},
562e7808c93SGunnar Mills     MessageEntry{
563e7808c93SGunnar Mills         "PasswordChangeRequired",
564e7808c93SGunnar Mills         {
565e7808c93SGunnar Mills             "Indicates that the password for the account provided must be "
566e7808c93SGunnar Mills             "changed before accessing the service.  The password can be "
567*fc8a2b87SEd Tanous             "changed with a PATCH to the `Password` property in the manager "
568*fc8a2b87SEd Tanous             "account resource instance.  Implementations that provide a "
569e7808c93SGunnar Mills             "default password for an account may require a password change "
570e7808c93SGunnar Mills             "prior to first access to the service.",
571e7808c93SGunnar Mills             "The password provided for this account must be changed before "
572*fc8a2b87SEd Tanous             "access is granted.  PATCH the Password property for this account "
573*fc8a2b87SEd Tanous             "located at the target URI '%1' to complete this process.",
574e7808c93SGunnar Mills             "Critical",
575e7808c93SGunnar Mills             "Critical",
576e7808c93SGunnar Mills             1,
577e7808c93SGunnar Mills             {
578e7808c93SGunnar Mills                 "string",
579e7808c93SGunnar Mills             },
580e7808c93SGunnar Mills             "Change the password for this account using a PATCH to the "
581*fc8a2b87SEd Tanous             "Password property at the URI provided.",
582e7808c93SGunnar Mills         }},
583e7808c93SGunnar Mills     MessageEntry{"PreconditionFailed",
584e7808c93SGunnar Mills                  {
585e7808c93SGunnar Mills                      "Indicates that the ETag supplied did not match the "
586e7808c93SGunnar Mills                      "current ETag of the resource.",
587e7808c93SGunnar Mills                      "The ETag supplied did not match the ETag required to "
588e7808c93SGunnar Mills                      "change this resource.",
589e7808c93SGunnar Mills                      "Critical",
590e7808c93SGunnar Mills                      "Critical",
591e7808c93SGunnar Mills                      0,
592e7808c93SGunnar Mills                      {},
593e7808c93SGunnar Mills                      "Try the operation again using the appropriate ETag.",
594e7808c93SGunnar Mills                  }},
595e7808c93SGunnar Mills     MessageEntry{"PreconditionRequired",
596e7808c93SGunnar Mills                  {
597e7808c93SGunnar Mills                      "Indicates that the request did not provide the required "
598*fc8a2b87SEd Tanous                      "precondition such as an `If-Match` or `If-None-Match` "
599*fc8a2b87SEd Tanous                      "header, or `@odata.etag` annotations.",
600e7808c93SGunnar Mills                      "A precondition header or annotation is required to "
601e7808c93SGunnar Mills                      "change this resource.",
602e7808c93SGunnar Mills                      "Critical",
603e7808c93SGunnar Mills                      "Critical",
604e7808c93SGunnar Mills                      0,
605e7808c93SGunnar Mills                      {},
606e7808c93SGunnar Mills                      "Try the operation again using an If-Match or "
607e7808c93SGunnar Mills                      "If-None-Match header and appropriate ETag.",
60870304cb5SJason M. Bills                  }},
609*fc8a2b87SEd Tanous     MessageEntry{
610*fc8a2b87SEd Tanous         "PropertyDeprecated",
611*fc8a2b87SEd Tanous         {
612*fc8a2b87SEd Tanous             "Indicates the property is deprecated.",
613*fc8a2b87SEd Tanous             "The deprecated property %1 was included in the request body.",
614*fc8a2b87SEd Tanous             "Warning",
615*fc8a2b87SEd Tanous             "Warning",
616*fc8a2b87SEd Tanous             1,
617*fc8a2b87SEd Tanous             {
618*fc8a2b87SEd Tanous                 "string",
619*fc8a2b87SEd Tanous             },
620*fc8a2b87SEd Tanous             "Refer to the schema guide for more information.",
621*fc8a2b87SEd Tanous         }},
622271584abSEd Tanous     MessageEntry{"PropertyDuplicate",
62370304cb5SJason M. Bills                  {
624271584abSEd Tanous                      "Indicates that a duplicate property was included in the "
625271584abSEd Tanous                      "request body.",
626271584abSEd Tanous                      "The property %1 was duplicated in the request.",
627271584abSEd Tanous                      "Warning",
628e7808c93SGunnar Mills                      "Warning",
629271584abSEd Tanous                      1,
63070304cb5SJason M. Bills                      {
63170304cb5SJason M. Bills                          "string",
63270304cb5SJason M. Bills                      },
633271584abSEd Tanous                      "Remove the duplicate property from the request body and "
634271584abSEd Tanous                      "resubmit the request if the operation failed.",
63570304cb5SJason M. Bills                  }},
63670304cb5SJason M. Bills     MessageEntry{
63770304cb5SJason M. Bills         "PropertyMissing",
63870304cb5SJason M. Bills         {
639271584abSEd Tanous             "Indicates that a required property was not supplied as part of "
640271584abSEd Tanous             "the request.",
641271584abSEd Tanous             "The property %1 is a required property and must be included in "
642271584abSEd Tanous             "the request.",
643271584abSEd Tanous             "Warning",
644e7808c93SGunnar Mills             "Warning",
645271584abSEd Tanous             1,
64670304cb5SJason M. Bills             {
64770304cb5SJason M. Bills                 "string",
64870304cb5SJason M. Bills             },
649271584abSEd Tanous             "Ensure that the property is in the request body and has a valid "
650271584abSEd Tanous             "value and resubmit the request if the operation failed.",
65170304cb5SJason M. Bills         }},
652271584abSEd Tanous     MessageEntry{"PropertyNotWritable",
65370304cb5SJason M. Bills                  {
654271584abSEd Tanous                      "Indicates that a property was given a value in the "
655271584abSEd Tanous                      "request body, but the property is a readonly property.",
656271584abSEd Tanous                      "The property %1 is a read only property and cannot be "
65770304cb5SJason M. Bills                      "assigned a value.",
658271584abSEd Tanous                      "Warning",
659e7808c93SGunnar Mills                      "Warning",
660271584abSEd Tanous                      1,
66170304cb5SJason M. Bills                      {
66270304cb5SJason M. Bills                          "string",
66370304cb5SJason M. Bills                      },
664271584abSEd Tanous                      "Remove the property from the request body and resubmit "
665271584abSEd Tanous                      "the request if the operation failed.",
66670304cb5SJason M. Bills                  }},
667271584abSEd Tanous     MessageEntry{"PropertyUnknown",
66870304cb5SJason M. Bills                  {
669271584abSEd Tanous                      "Indicates that an unknown property was included in the "
670271584abSEd Tanous                      "request body.",
671271584abSEd Tanous                      "The property %1 is not in the list of valid properties "
67270304cb5SJason M. Bills                      "for the resource.",
673271584abSEd Tanous                      "Warning",
674e7808c93SGunnar Mills                      "Warning",
675271584abSEd Tanous                      1,
67670304cb5SJason M. Bills                      {
67770304cb5SJason M. Bills                          "string",
67870304cb5SJason M. Bills                      },
679271584abSEd Tanous                      "Remove the unknown property from the request body and "
68070304cb5SJason M. Bills                      "resubmit the request if the operation failed.",
68170304cb5SJason M. Bills                  }},
682e7808c93SGunnar Mills     MessageEntry{
683e7808c93SGunnar Mills         "PropertyValueConflict",
684e7808c93SGunnar Mills         {
685e7808c93SGunnar Mills             "Indicates that the requested write of a property value could not "
686e7808c93SGunnar Mills             "be completed, because of a conflict with another property value.",
687e7808c93SGunnar Mills             "The property '%1' could not be written because its value would "
688e7808c93SGunnar Mills             "conflict with the value of the '%2' property.",
689e7808c93SGunnar Mills             "Warning",
690e7808c93SGunnar Mills             "Warning",
691e7808c93SGunnar Mills             2,
692e7808c93SGunnar Mills             {
693e7808c93SGunnar Mills                 "string",
694e7808c93SGunnar Mills                 "string",
695e7808c93SGunnar Mills             },
696e7808c93SGunnar Mills             "No resolution is required.",
697e7808c93SGunnar Mills         }},
698*fc8a2b87SEd Tanous     MessageEntry{"PropertyValueDeprecated",
699*fc8a2b87SEd Tanous                  {
700*fc8a2b87SEd Tanous                      "Indicates that a property was given a deprecated value.",
701*fc8a2b87SEd Tanous                      "The value '%1' for the property %2 is deprecated.",
702*fc8a2b87SEd Tanous                      "Warning",
703*fc8a2b87SEd Tanous                      "Warning",
704*fc8a2b87SEd Tanous                      1,
705*fc8a2b87SEd Tanous                      {
706*fc8a2b87SEd Tanous                          "string",
707*fc8a2b87SEd Tanous                          "string",
708*fc8a2b87SEd Tanous                      },
709*fc8a2b87SEd Tanous                      "Refer to the schema guide for more information.",
710*fc8a2b87SEd Tanous                  }},
711*fc8a2b87SEd Tanous     MessageEntry{
712*fc8a2b87SEd Tanous         "PropertyValueExternalConflict",
713*fc8a2b87SEd Tanous         {
714*fc8a2b87SEd Tanous             "Indicates that the requested write of a property value could not "
715*fc8a2b87SEd Tanous             "be completed, due to the current state or configuration of the "
716*fc8a2b87SEd Tanous             "resource.  This can include configuration conflicts with other "
717*fc8a2b87SEd Tanous             "resources or parameters that are not exposed by this interface.",
718*fc8a2b87SEd Tanous             "The property '%1' with the requested value of '%2' could not be "
719*fc8a2b87SEd Tanous             "written because the value is not available due to a configuration "
720*fc8a2b87SEd Tanous             "conflict.",
721*fc8a2b87SEd Tanous             "Warning",
722*fc8a2b87SEd Tanous             "Warning",
723*fc8a2b87SEd Tanous             2,
724*fc8a2b87SEd Tanous             {
725*fc8a2b87SEd Tanous                 "string",
726*fc8a2b87SEd Tanous                 "string",
727*fc8a2b87SEd Tanous             },
728*fc8a2b87SEd Tanous             "No resolution is required.",
729*fc8a2b87SEd Tanous         }},
730271584abSEd Tanous     MessageEntry{"PropertyValueFormatError",
731271584abSEd Tanous                  {
732271584abSEd Tanous                      "Indicates that a property was given the correct value "
733271584abSEd Tanous                      "type but the value of that property was not supported.",
734*fc8a2b87SEd Tanous                      "The value '%1' for the property %2 is of a different "
735271584abSEd Tanous                      "format than the property can accept.",
736271584abSEd Tanous                      "Warning",
737e7808c93SGunnar Mills                      "Warning",
738271584abSEd Tanous                      2,
739271584abSEd Tanous                      {
740271584abSEd Tanous                          "string",
741271584abSEd Tanous                          "string",
742271584abSEd Tanous                      },
743271584abSEd Tanous                      "Correct the value for the property in the request body "
744271584abSEd Tanous                      "and resubmit the request if the operation failed.",
745271584abSEd Tanous                  }},
746e7808c93SGunnar Mills     MessageEntry{"PropertyValueIncorrect",
747e7808c93SGunnar Mills                  {
748e7808c93SGunnar Mills                      "Indicates that the requested write of a property value "
749e7808c93SGunnar Mills                      "could not be completed, because of an incorrect value of "
750e7808c93SGunnar Mills                      "the property.  Examples include values that do not match "
751e7808c93SGunnar Mills                      "a regular expression requirement or passwords that do "
752e7808c93SGunnar Mills                      "not match the implementation constraints.",
753e7808c93SGunnar Mills                      "The property '%1' with the requested value of '%2' could "
754e7808c93SGunnar Mills                      "not be written because the value does not meet the "
755e7808c93SGunnar Mills                      "constraints of the implementation.",
756e7808c93SGunnar Mills                      "Warning",
757e7808c93SGunnar Mills                      "Warning",
758e7808c93SGunnar Mills                      2,
759e7808c93SGunnar Mills                      {
760e7808c93SGunnar Mills                          "string",
761e7808c93SGunnar Mills                          "string",
762e7808c93SGunnar Mills                      },
763e7808c93SGunnar Mills                      "No resolution is required.",
764e7808c93SGunnar Mills                  }},
76570304cb5SJason M. Bills     MessageEntry{"PropertyValueModified",
76670304cb5SJason M. Bills                  {
767271584abSEd Tanous                      "Indicates that a property was given the correct value "
768271584abSEd Tanous                      "type but the value of that property was modified.  "
769271584abSEd Tanous                      "Examples are truncated or rounded values.",
770*fc8a2b87SEd Tanous                      "The property %1 was assigned the value '%2' due to "
771271584abSEd Tanous                      "modification by the service.",
772271584abSEd Tanous                      "Warning",
773e7808c93SGunnar Mills                      "Warning",
774271584abSEd Tanous                      2,
77570304cb5SJason M. Bills                      {
77670304cb5SJason M. Bills                          "string",
77770304cb5SJason M. Bills                          "string",
77870304cb5SJason M. Bills                      },
779271584abSEd Tanous                      "No resolution is required.",
78070304cb5SJason M. Bills                  }},
78170304cb5SJason M. Bills     MessageEntry{
78270304cb5SJason M. Bills         "PropertyValueNotInList",
78370304cb5SJason M. Bills         {
784271584abSEd Tanous             "Indicates that a property was given the correct value type but "
785*fc8a2b87SEd Tanous             "the value of that property was not supported.  The value is not "
786*fc8a2b87SEd Tanous             "in an enumeration.",
787*fc8a2b87SEd Tanous             "The value '%1' for the property %2 is not in the list of "
788*fc8a2b87SEd Tanous             "acceptable values.",
789271584abSEd Tanous             "Warning",
790e7808c93SGunnar Mills             "Warning",
791271584abSEd Tanous             2,
79270304cb5SJason M. Bills             {
79370304cb5SJason M. Bills                 "string",
79470304cb5SJason M. Bills                 "string",
79570304cb5SJason M. Bills             },
796271584abSEd Tanous             "Choose a value from the enumeration list that the implementation "
797271584abSEd Tanous             "can support and resubmit the request if the operation failed.",
79870304cb5SJason M. Bills         }},
799*fc8a2b87SEd Tanous     MessageEntry{"PropertyValueResourceConflict",
800*fc8a2b87SEd Tanous                  {
801*fc8a2b87SEd Tanous                      "Indicates that the requested write of a property value "
802*fc8a2b87SEd Tanous                      "could not be completed, due to the current state or "
803*fc8a2b87SEd Tanous                      "configuration of another resource.",
804*fc8a2b87SEd Tanous                      "The property '%1' with the requested value of '%2' could "
805*fc8a2b87SEd Tanous                      "not be written because the value conflicts with the "
806*fc8a2b87SEd Tanous                      "state or configuration of the resource at '%3'.",
807*fc8a2b87SEd Tanous                      "Warning",
808*fc8a2b87SEd Tanous                      "Warning",
809*fc8a2b87SEd Tanous                      3,
810*fc8a2b87SEd Tanous                      {
811*fc8a2b87SEd Tanous                          "string",
812*fc8a2b87SEd Tanous                          "string",
813*fc8a2b87SEd Tanous                          "string",
814*fc8a2b87SEd Tanous                      },
815*fc8a2b87SEd Tanous                      "No resolution is required.",
816*fc8a2b87SEd Tanous                  }},
81770304cb5SJason M. Bills     MessageEntry{
81870304cb5SJason M. Bills         "PropertyValueTypeError",
81970304cb5SJason M. Bills         {
820271584abSEd Tanous             "Indicates that a property was given the wrong value type, such as "
821271584abSEd Tanous             "when a number is supplied for a property that requires a string.",
822*fc8a2b87SEd Tanous             "The value '%1' for the property %2 is of a different type than "
823*fc8a2b87SEd Tanous             "the property can accept.",
824271584abSEd Tanous             "Warning",
825e7808c93SGunnar Mills             "Warning",
826271584abSEd Tanous             2,
82770304cb5SJason M. Bills             {
82870304cb5SJason M. Bills                 "string",
82970304cb5SJason M. Bills                 "string",
83070304cb5SJason M. Bills             },
83170304cb5SJason M. Bills             "Correct the value for the property in the request body and "
83270304cb5SJason M. Bills             "resubmit the request if the operation failed.",
83370304cb5SJason M. Bills         }},
83470304cb5SJason M. Bills     MessageEntry{
835e7808c93SGunnar Mills         "QueryCombinationInvalid",
836e7808c93SGunnar Mills         {
837e7808c93SGunnar Mills             "Indicates the request contains multiple query parameters, and "
838e7808c93SGunnar Mills             "that two or more of them cannot be used together.",
839e7808c93SGunnar Mills             "Two or more query parameters in the request cannot be used "
840e7808c93SGunnar Mills             "together.",
841e7808c93SGunnar Mills             "Warning",
842e7808c93SGunnar Mills             "Warning",
843e7808c93SGunnar Mills             0,
844e7808c93SGunnar Mills             {},
845e7808c93SGunnar Mills             "Remove one or more of the query parameters and resubmit the "
846e7808c93SGunnar Mills             "request if the operation failed.",
847e7808c93SGunnar Mills         }},
848e7808c93SGunnar Mills     MessageEntry{
84970304cb5SJason M. Bills         "QueryNotSupported",
85070304cb5SJason M. Bills         {
85170304cb5SJason M. Bills             "Indicates that query is not supported on the implementation.",
852271584abSEd Tanous             "Querying is not supported by the implementation.",
853271584abSEd Tanous             "Warning",
854e7808c93SGunnar Mills             "Warning",
855e7808c93SGunnar Mills             0,
856e7808c93SGunnar Mills             {},
857e7808c93SGunnar Mills             "Remove the query parameters and resubmit the request if the "
858e7808c93SGunnar Mills             "operation failed.",
859e7808c93SGunnar Mills         }},
860*fc8a2b87SEd Tanous     MessageEntry{"QueryNotSupportedOnOperation",
861e7808c93SGunnar Mills                  {
862*fc8a2b87SEd Tanous                      "Indicates that query is not supported with the given "
863*fc8a2b87SEd Tanous                      "operation, such as when the `$expand` query is attempted "
864*fc8a2b87SEd Tanous                      "with a PATCH operation.",
865e7808c93SGunnar Mills                      "Querying is not supported with the requested operation.",
866e7808c93SGunnar Mills                      "Warning",
867e7808c93SGunnar Mills                      "Warning",
868271584abSEd Tanous                      0,
869271584abSEd Tanous                      {},
870*fc8a2b87SEd Tanous                      "Remove the query parameters and resubmit the request if "
871*fc8a2b87SEd Tanous                      "the operation failed.",
87270304cb5SJason M. Bills                  }},
873271584abSEd Tanous     MessageEntry{"QueryNotSupportedOnResource",
87470304cb5SJason M. Bills                  {
875271584abSEd Tanous                      "Indicates that query is not supported on the given "
876*fc8a2b87SEd Tanous                      "resource, such as when the `$skip` query is attempted on "
877*fc8a2b87SEd Tanous                      "a resource that is not a collection.",
878271584abSEd Tanous                      "Querying is not supported on the requested resource.",
879271584abSEd Tanous                      "Warning",
880e7808c93SGunnar Mills                      "Warning",
881271584abSEd Tanous                      0,
882271584abSEd Tanous                      {},
883271584abSEd Tanous                      "Remove the query parameters and resubmit the request if "
884271584abSEd Tanous                      "the operation failed.",
88570304cb5SJason M. Bills                  }},
88670304cb5SJason M. Bills     MessageEntry{
88770304cb5SJason M. Bills         "QueryParameterOutOfRange",
88870304cb5SJason M. Bills         {
889*fc8a2b87SEd Tanous             "Indicates that a query parameter was provided that is out of "
890271584abSEd Tanous             "range for the given resource.  This can happen with values that "
891271584abSEd Tanous             "are too low or beyond that possible for the supplied resource, "
892271584abSEd Tanous             "such as when a page is requested that is beyond the last page.",
893*fc8a2b87SEd Tanous             "The value '%1' for the query parameter %2 is out of range %3.",
894271584abSEd Tanous             "Warning",
895e7808c93SGunnar Mills             "Warning",
896271584abSEd Tanous             3,
89770304cb5SJason M. Bills             {
89870304cb5SJason M. Bills                 "string",
89970304cb5SJason M. Bills                 "string",
90070304cb5SJason M. Bills                 "string",
90170304cb5SJason M. Bills             },
90270304cb5SJason M. Bills             "Reduce the value for the query parameter to a value that is "
90370304cb5SJason M. Bills             "within range, such as a start or count value that is within "
904271584abSEd Tanous             "bounds of the number of resources in a collection or a page that "
905271584abSEd Tanous             "is within the range of valid pages.",
90670304cb5SJason M. Bills         }},
907*fc8a2b87SEd Tanous     MessageEntry{
908*fc8a2b87SEd Tanous         "QueryParameterValueFormatError",
90970304cb5SJason M. Bills         {
910*fc8a2b87SEd Tanous             "Indicates that a query parameter was given the correct value type "
911*fc8a2b87SEd Tanous             "but the value of that parameter was not supported.  This includes "
912*fc8a2b87SEd Tanous             "the value size or length has been exceeded.",
913*fc8a2b87SEd Tanous             "The value '%1' for the parameter %2 is of a different format than "
914*fc8a2b87SEd Tanous             "the parameter can accept.",
915271584abSEd Tanous             "Warning",
916e7808c93SGunnar Mills             "Warning",
917271584abSEd Tanous             2,
91870304cb5SJason M. Bills             {
91970304cb5SJason M. Bills                 "string",
92070304cb5SJason M. Bills                 "string",
92170304cb5SJason M. Bills             },
922*fc8a2b87SEd Tanous             "Correct the value for the query parameter in the request and "
923*fc8a2b87SEd Tanous             "resubmit the request if the operation failed.",
92470304cb5SJason M. Bills         }},
925271584abSEd Tanous     MessageEntry{"QueryParameterValueTypeError",
92670304cb5SJason M. Bills                  {
927271584abSEd Tanous                      "Indicates that a query parameter was given the wrong "
928271584abSEd Tanous                      "value type, such as when a number is supplied for a "
929271584abSEd Tanous                      "query parameter that requires a string.",
930*fc8a2b87SEd Tanous                      "The value '%1' for the query parameter %2 is of a "
93170304cb5SJason M. Bills                      "different type than the parameter can accept.",
932271584abSEd Tanous                      "Warning",
933e7808c93SGunnar Mills                      "Warning",
934271584abSEd Tanous                      2,
93570304cb5SJason M. Bills                      {
93670304cb5SJason M. Bills                          "string",
93770304cb5SJason M. Bills                          "string",
93870304cb5SJason M. Bills                      },
939271584abSEd Tanous                      "Correct the value for the query parameter in the request "
940271584abSEd Tanous                      "and resubmit the request if the operation failed.",
94170304cb5SJason M. Bills                  }},
942e7808c93SGunnar Mills     MessageEntry{
943e7808c93SGunnar Mills         "ResetRequired",
944e7808c93SGunnar Mills         {
945e7808c93SGunnar Mills             "Indicates that a component reset is required for changes or "
946e7808c93SGunnar Mills             "operations to complete.",
947e7808c93SGunnar Mills             "In order to complete the operation, a component reset is required "
948e7808c93SGunnar Mills             "with the Reset action URI '%1' and ResetType '%2'.",
949e7808c93SGunnar Mills             "Warning",
950e7808c93SGunnar Mills             "Warning",
951e7808c93SGunnar Mills             2,
952e7808c93SGunnar Mills             {
953e7808c93SGunnar Mills                 "string",
954e7808c93SGunnar Mills                 "string",
955e7808c93SGunnar Mills             },
956*fc8a2b87SEd Tanous             "Perform the required reset action on the specified component.",
957e7808c93SGunnar Mills         }},
958271584abSEd Tanous     MessageEntry{"ResourceAlreadyExists",
95970304cb5SJason M. Bills                  {
960271584abSEd Tanous                      "Indicates that a resource change or creation was "
961271584abSEd Tanous                      "attempted but that the operation cannot proceed because "
962271584abSEd Tanous                      "the resource already exists.",
963271584abSEd Tanous                      "The requested resource of type %1 with the property %2 "
964*fc8a2b87SEd Tanous                      "with the value '%3' already exists.",
965271584abSEd Tanous                      "Critical",
966e7808c93SGunnar Mills                      "Critical",
967271584abSEd Tanous                      3,
96870304cb5SJason M. Bills                      {
96970304cb5SJason M. Bills                          "string",
97070304cb5SJason M. Bills                          "string",
97170304cb5SJason M. Bills                          "string",
97270304cb5SJason M. Bills                      },
973271584abSEd Tanous                      "Do not repeat the create operation as the resource has "
974271584abSEd Tanous                      "already been created.",
97570304cb5SJason M. Bills                  }},
97670304cb5SJason M. Bills     MessageEntry{
97770304cb5SJason M. Bills         "ResourceAtUriInUnknownFormat",
97870304cb5SJason M. Bills         {
97970304cb5SJason M. Bills             "Indicates that the URI was valid but the resource or image at "
98070304cb5SJason M. Bills             "that URI was in a format not supported by the service.",
981*fc8a2b87SEd Tanous             "The resource at '%1' is in a format not recognized by the "
982*fc8a2b87SEd Tanous             "service.",
983271584abSEd Tanous             "Critical",
984e7808c93SGunnar Mills             "Critical",
985271584abSEd Tanous             1,
98670304cb5SJason M. Bills             {
98770304cb5SJason M. Bills                 "string",
98870304cb5SJason M. Bills             },
989271584abSEd Tanous             "Place an image or resource or file that is recognized by the "
990271584abSEd Tanous             "service at the URI.",
99170304cb5SJason M. Bills         }},
992271584abSEd Tanous     MessageEntry{"ResourceAtUriUnauthorized",
99370304cb5SJason M. Bills                  {
994*fc8a2b87SEd Tanous                      "Indicates that the attempt to access the resource, file, "
995*fc8a2b87SEd Tanous                      "or image at the URI was unauthorized.",
996*fc8a2b87SEd Tanous                      "While accessing the resource at '%1', the service "
997*fc8a2b87SEd Tanous                      "received an authorization error '%2'.",
998271584abSEd Tanous                      "Critical",
999e7808c93SGunnar Mills                      "Critical",
1000271584abSEd Tanous                      2,
100170304cb5SJason M. Bills                      {
100270304cb5SJason M. Bills                          "string",
100370304cb5SJason M. Bills                          "string",
100470304cb5SJason M. Bills                      },
1005271584abSEd Tanous                      "Ensure that the appropriate access is provided for the "
1006271584abSEd Tanous                      "service in order for it to access the URI.",
100770304cb5SJason M. Bills                  }},
1008271584abSEd Tanous     MessageEntry{"ResourceCannotBeDeleted",
100970304cb5SJason M. Bills                  {
1010271584abSEd Tanous                      "Indicates that a delete operation was attempted on a "
1011271584abSEd Tanous                      "resource that cannot be deleted.",
1012271584abSEd Tanous                      "The delete request failed because the resource requested "
1013271584abSEd Tanous                      "cannot be deleted.",
1014271584abSEd Tanous                      "Critical",
1015e7808c93SGunnar Mills                      "Critical",
1016271584abSEd Tanous                      0,
1017271584abSEd Tanous                      {},
1018271584abSEd Tanous                      "Do not attempt to delete a non-deletable resource.",
101970304cb5SJason M. Bills                  }},
102070304cb5SJason M. Bills     MessageEntry{
1021e7808c93SGunnar Mills         "ResourceCreationConflict",
1022e7808c93SGunnar Mills         {
1023e7808c93SGunnar Mills             "Indicates that the requested resource creation could not be "
1024e7808c93SGunnar Mills             "completed because the service has a resource that conflicts with "
1025e7808c93SGunnar Mills             "the request.",
1026e7808c93SGunnar Mills             "The resource could not be created.  The service has a resource at "
1027e7808c93SGunnar Mills             "URI '%1' that conflicts with the creation request.",
1028e7808c93SGunnar Mills             "Warning",
1029e7808c93SGunnar Mills             "Warning",
1030e7808c93SGunnar Mills             1,
1031e7808c93SGunnar Mills             {
1032e7808c93SGunnar Mills                 "string",
1033e7808c93SGunnar Mills             },
1034e7808c93SGunnar Mills             "No resolution is required.",
1035e7808c93SGunnar Mills         }},
1036e7808c93SGunnar Mills     MessageEntry{
1037*fc8a2b87SEd Tanous         "ResourceDeprecated",
1038*fc8a2b87SEd Tanous         {
1039*fc8a2b87SEd Tanous             "Indicates the resource is deprecated.",
1040*fc8a2b87SEd Tanous             "The operation was performed on a deprecated resource '%1'.",
1041*fc8a2b87SEd Tanous             "Warning",
1042*fc8a2b87SEd Tanous             "Warning",
1043*fc8a2b87SEd Tanous             1,
1044*fc8a2b87SEd Tanous             {
1045*fc8a2b87SEd Tanous                 "string",
1046*fc8a2b87SEd Tanous             },
1047*fc8a2b87SEd Tanous             "Refer to the schema guide for more information.",
1048*fc8a2b87SEd Tanous         }},
1049*fc8a2b87SEd Tanous     MessageEntry{
105070304cb5SJason M. Bills         "ResourceExhaustion",
105170304cb5SJason M. Bills         {
1052271584abSEd Tanous             "Indicates that a resource could not satisfy the request due to "
1053271584abSEd Tanous             "some unavailability of resources.  An example is that available "
1054271584abSEd Tanous             "capacity has been allocated.",
1055*fc8a2b87SEd Tanous             "The resource '%1' was unable to satisfy the request due to "
1056271584abSEd Tanous             "unavailability of resources.",
1057271584abSEd Tanous             "Critical",
1058e7808c93SGunnar Mills             "Critical",
1059271584abSEd Tanous             1,
106070304cb5SJason M. Bills             {
106170304cb5SJason M. Bills                 "string",
106270304cb5SJason M. Bills             },
1063271584abSEd Tanous             "Ensure that the resources are available and resubmit the request.",
106470304cb5SJason M. Bills         }},
1065271584abSEd Tanous     MessageEntry{"ResourceInStandby",
106670304cb5SJason M. Bills                  {
1067271584abSEd Tanous                      "Indicates that the request could not be performed "
106870304cb5SJason M. Bills                      "because the resource is in standby.",
1069271584abSEd Tanous                      "The request could not be performed because the resource "
1070271584abSEd Tanous                      "is in standby.",
1071271584abSEd Tanous                      "Critical",
1072e7808c93SGunnar Mills                      "Critical",
1073271584abSEd Tanous                      0,
1074271584abSEd Tanous                      {},
1075271584abSEd Tanous                      "Ensure that the resource is in the correct power state "
1076271584abSEd Tanous                      "and resubmit the request.",
107770304cb5SJason M. Bills                  }},
1078271584abSEd Tanous     MessageEntry{"ResourceInUse",
107970304cb5SJason M. Bills                  {
1080271584abSEd Tanous                      "Indicates that a change was requested to a resource but "
1081271584abSEd Tanous                      "the change was rejected due to the resource being in use "
1082271584abSEd Tanous                      "or transition.",
1083271584abSEd Tanous                      "The change to the requested resource failed because the "
1084271584abSEd Tanous                      "resource is in use or in transition.",
1085271584abSEd Tanous                      "Warning",
1086e7808c93SGunnar Mills                      "Warning",
1087271584abSEd Tanous                      0,
1088271584abSEd Tanous                      {},
1089271584abSEd Tanous                      "Remove the condition and resubmit the request if the "
1090271584abSEd Tanous                      "operation failed.",
109170304cb5SJason M. Bills                  }},
109270304cb5SJason M. Bills     MessageEntry{
109370304cb5SJason M. Bills         "ResourceMissingAtURI",
109470304cb5SJason M. Bills         {
1095271584abSEd Tanous             "Indicates that the operation expected an image or other resource "
1096271584abSEd Tanous             "at the provided URI but none was found.  Examples of this are in "
1097*fc8a2b87SEd Tanous             "requests that require URIs like firmware update.",
1098*fc8a2b87SEd Tanous             "The resource at the URI '%1' was not found.",
1099271584abSEd Tanous             "Critical",
1100e7808c93SGunnar Mills             "Critical",
1101271584abSEd Tanous             1,
110270304cb5SJason M. Bills             {
110370304cb5SJason M. Bills                 "string",
110470304cb5SJason M. Bills             },
1105271584abSEd Tanous             "Place a valid resource at the URI or correct the URI and resubmit "
1106271584abSEd Tanous             "the request.",
110770304cb5SJason M. Bills         }},
110870304cb5SJason M. Bills     MessageEntry{
110970304cb5SJason M. Bills         "ResourceNotFound",
111070304cb5SJason M. Bills         {
1111271584abSEd Tanous             "Indicates that the operation expected a resource identifier that "
1112271584abSEd Tanous             "corresponds to an existing resource but one was not found.",
1113*fc8a2b87SEd Tanous             "The requested resource of type %1 named '%2' was not found.",
1114271584abSEd Tanous             "Critical",
1115e7808c93SGunnar Mills             "Critical",
1116271584abSEd Tanous             2,
111770304cb5SJason M. Bills             {
111870304cb5SJason M. Bills                 "string",
111970304cb5SJason M. Bills                 "string",
112070304cb5SJason M. Bills             },
112170304cb5SJason M. Bills             "Provide a valid resource identifier and resubmit the request.",
112270304cb5SJason M. Bills         }},
112370304cb5SJason M. Bills     MessageEntry{
112470304cb5SJason M. Bills         "ResourceTypeIncompatible",
112570304cb5SJason M. Bills         {
1126271584abSEd Tanous             "Indicates that the resource type of the operation does not match "
1127271584abSEd Tanous             "that for the operation destination.  Examples of when this can "
1128*fc8a2b87SEd Tanous             "happen include during a POST to a resource collection using the "
1129*fc8a2b87SEd Tanous             "wrong resource type, an update where the `@odata.type` properties "
1130*fc8a2b87SEd Tanous             "do not match, or on a major version incompatibility.",
1131271584abSEd Tanous             "The @odata.type of the request body %1 is incompatible with the "
1132*fc8a2b87SEd Tanous             "@odata.type of the resource, which is %2.",
1133271584abSEd Tanous             "Critical",
1134e7808c93SGunnar Mills             "Critical",
1135271584abSEd Tanous             2,
113670304cb5SJason M. Bills             {
113770304cb5SJason M. Bills                 "string",
113870304cb5SJason M. Bills                 "string",
113970304cb5SJason M. Bills             },
1140271584abSEd Tanous             "Resubmit the request with a payload compatible with the "
1141271584abSEd Tanous             "resource's schema.",
114270304cb5SJason M. Bills         }},
1143*fc8a2b87SEd Tanous     MessageEntry{"RestrictedPrivilege",
1144*fc8a2b87SEd Tanous                  {
1145*fc8a2b87SEd Tanous                      "Indicates that the operation was not successful because "
1146*fc8a2b87SEd Tanous                      "a privilege is restricted.",
1147*fc8a2b87SEd Tanous                      "The operation was not successful because the privilege "
1148*fc8a2b87SEd Tanous                      "'%1' is restricted.",
1149*fc8a2b87SEd Tanous                      "Warning",
1150*fc8a2b87SEd Tanous                      "Warning",
1151*fc8a2b87SEd Tanous                      1,
1152*fc8a2b87SEd Tanous                      {
1153*fc8a2b87SEd Tanous                          "string",
1154*fc8a2b87SEd Tanous                      },
1155*fc8a2b87SEd Tanous                      "Remove restricted privileges from the request body and "
1156*fc8a2b87SEd Tanous                      "resubmit the request.",
1157*fc8a2b87SEd Tanous                  }},
1158*fc8a2b87SEd Tanous     MessageEntry{"RestrictedRole",
1159*fc8a2b87SEd Tanous                  {
1160*fc8a2b87SEd Tanous                      "Indicates that the operation was not successful because "
1161*fc8a2b87SEd Tanous                      "the role is restricted.",
1162*fc8a2b87SEd Tanous                      "The operation was not successful because the role '%1' "
1163*fc8a2b87SEd Tanous                      "is restricted.",
1164*fc8a2b87SEd Tanous                      "Warning",
1165*fc8a2b87SEd Tanous                      "Warning",
1166*fc8a2b87SEd Tanous                      1,
1167*fc8a2b87SEd Tanous                      {
1168*fc8a2b87SEd Tanous                          "string",
1169*fc8a2b87SEd Tanous                      },
1170*fc8a2b87SEd Tanous                      "No resolution is required.  For standard roles, consider "
1171*fc8a2b87SEd Tanous                      "using the role specified in the AlternateRoleId property "
1172*fc8a2b87SEd Tanous                      "in the Role resource.",
1173*fc8a2b87SEd Tanous                  }},
117470304cb5SJason M. Bills     MessageEntry{
117570304cb5SJason M. Bills         "ServiceInUnknownState",
117670304cb5SJason M. Bills         {
1177271584abSEd Tanous             "Indicates that the operation failed because the service is in an "
1178271584abSEd Tanous             "unknown state and cannot accept additional requests.",
1179271584abSEd Tanous             "The operation failed because the service is in an unknown state "
1180271584abSEd Tanous             "and can no longer take incoming requests.",
1181271584abSEd Tanous             "Critical",
1182e7808c93SGunnar Mills             "Critical",
1183271584abSEd Tanous             0,
1184271584abSEd Tanous             {},
1185271584abSEd Tanous             "Restart the service and resubmit the request if the operation "
1186271584abSEd Tanous             "failed.",
118770304cb5SJason M. Bills         }},
1188271584abSEd Tanous     MessageEntry{"ServiceShuttingDown",
118970304cb5SJason M. Bills                  {
119070304cb5SJason M. Bills                      "Indicates that the operation failed as the service is "
119170304cb5SJason M. Bills                      "shutting down, such as when the service reboots.",
1192271584abSEd Tanous                      "The operation failed because the service is shutting "
119370304cb5SJason M. Bills                      "down and can no longer take incoming requests.",
1194271584abSEd Tanous                      "Critical",
1195e7808c93SGunnar Mills                      "Critical",
1196271584abSEd Tanous                      0,
1197271584abSEd Tanous                      {},
1198271584abSEd Tanous                      "When the service becomes available, resubmit the request "
1199271584abSEd Tanous                      "if the operation failed.",
120070304cb5SJason M. Bills                  }},
120170304cb5SJason M. Bills     MessageEntry{
120270304cb5SJason M. Bills         "ServiceTemporarilyUnavailable",
120370304cb5SJason M. Bills         {
1204271584abSEd Tanous             "Indicates the service is temporarily unavailable.",
120570304cb5SJason M. Bills             "The service is temporarily unavailable.  Retry in %1 seconds.",
1206271584abSEd Tanous             "Critical",
1207e7808c93SGunnar Mills             "Critical",
1208271584abSEd Tanous             1,
120970304cb5SJason M. Bills             {
121070304cb5SJason M. Bills                 "string",
121170304cb5SJason M. Bills             },
1212271584abSEd Tanous             "Wait for the indicated retry duration and retry the operation.",
121370304cb5SJason M. Bills         }},
121470304cb5SJason M. Bills     MessageEntry{
121570304cb5SJason M. Bills         "SessionLimitExceeded",
121670304cb5SJason M. Bills         {
1217271584abSEd Tanous             "Indicates that a session establishment has been requested but the "
1218271584abSEd Tanous             "operation failed due to the number of simultaneous sessions "
1219271584abSEd Tanous             "exceeding the limit of the implementation.",
1220271584abSEd Tanous             "The session establishment failed due to the number of "
1221271584abSEd Tanous             "simultaneous sessions exceeding the limit of the implementation.",
1222271584abSEd Tanous             "Critical",
1223e7808c93SGunnar Mills             "Critical",
1224271584abSEd Tanous             0,
1225271584abSEd Tanous             {},
1226271584abSEd Tanous             "Reduce the number of other sessions before trying to establish "
1227*fc8a2b87SEd Tanous             "the session or increase the limit of simultaneous sessions, if "
1228*fc8a2b87SEd Tanous             "supported.",
122970304cb5SJason M. Bills         }},
123070304cb5SJason M. Bills     MessageEntry{
123170304cb5SJason M. Bills         "SessionTerminated",
123270304cb5SJason M. Bills         {
1233*fc8a2b87SEd Tanous             "Indicates that the DELETE operation on the session resource "
123470304cb5SJason M. Bills             "resulted in the successful termination of the session.",
1235271584abSEd Tanous             "The session was successfully terminated.",
1236271584abSEd Tanous             "OK",
1237e7808c93SGunnar Mills             "OK",
1238271584abSEd Tanous             0,
1239271584abSEd Tanous             {},
1240271584abSEd Tanous             "No resolution is required.",
124170304cb5SJason M. Bills         }},
124270304cb5SJason M. Bills     MessageEntry{
124370304cb5SJason M. Bills         "SourceDoesNotSupportProtocol",
124470304cb5SJason M. Bills         {
1245271584abSEd Tanous             "Indicates that while attempting to access, connect to or transfer "
1246*fc8a2b87SEd Tanous             "a resource, file, or image from another location that the other "
1247*fc8a2b87SEd Tanous             "end of the connection did not support the protocol.",
1248*fc8a2b87SEd Tanous             "The other end of the connection at '%1' does not support the "
1249271584abSEd Tanous             "specified protocol %2.",
1250271584abSEd Tanous             "Critical",
1251e7808c93SGunnar Mills             "Critical",
1252271584abSEd Tanous             2,
125370304cb5SJason M. Bills             {
125470304cb5SJason M. Bills                 "string",
125570304cb5SJason M. Bills                 "string",
125670304cb5SJason M. Bills             },
1257271584abSEd Tanous             "Change protocols or URIs.",
125870304cb5SJason M. Bills         }},
1259*fc8a2b87SEd Tanous     MessageEntry{"StrictAccountTypes",
1260*fc8a2b87SEd Tanous                  {
1261*fc8a2b87SEd Tanous                      "Indicates the request failed because a set of "
1262*fc8a2b87SEd Tanous                      "`AccountTypes` or `OEMAccountTypes` was not accepted "
1263*fc8a2b87SEd Tanous                      "while `StrictAccountTypes` is set to `true`.",
1264*fc8a2b87SEd Tanous                      "The request was not possible to fulfill with the account "
1265*fc8a2b87SEd Tanous                      "types included in property '%1' and property "
1266*fc8a2b87SEd Tanous                      "StrictAccountTypes set to true.",
1267*fc8a2b87SEd Tanous                      "Warning",
1268*fc8a2b87SEd Tanous                      "Warning",
1269*fc8a2b87SEd Tanous                      1,
1270*fc8a2b87SEd Tanous                      {
1271*fc8a2b87SEd Tanous                          "string",
1272*fc8a2b87SEd Tanous                      },
1273*fc8a2b87SEd Tanous                      "Resubmit the request either with an acceptable set of "
1274*fc8a2b87SEd Tanous                      "AccountTypes and OEMAccountTypes or with "
1275*fc8a2b87SEd Tanous                      "StrictAccountTypes set to false.",
1276*fc8a2b87SEd Tanous                  }},
1277271584abSEd Tanous     MessageEntry{"StringValueTooLong",
127870304cb5SJason M. Bills                  {
1279271584abSEd Tanous                      "Indicates that a string value passed to the given "
1280*fc8a2b87SEd Tanous                      "resource exceeded its length limit.  An example is when "
1281*fc8a2b87SEd Tanous                      "a shorter limit is imposed by an implementation than "
1282*fc8a2b87SEd Tanous                      "that allowed by the specification.",
1283*fc8a2b87SEd Tanous                      "The string '%1' exceeds the length limit %2.",
1284271584abSEd Tanous                      "Warning",
1285e7808c93SGunnar Mills                      "Warning",
1286271584abSEd Tanous                      2,
128770304cb5SJason M. Bills                      {
128870304cb5SJason M. Bills                          "string",
128970304cb5SJason M. Bills                          "number",
129070304cb5SJason M. Bills                      },
129170304cb5SJason M. Bills                      "Resubmit the request with an appropriate string length.",
129270304cb5SJason M. Bills                  }},
1293e7808c93SGunnar Mills     MessageEntry{"SubscriptionTerminated",
1294e7808c93SGunnar Mills                  {
1295e7808c93SGunnar Mills                      "An event subscription has been terminated by the "
1296*fc8a2b87SEd Tanous                      "service.  No further events will be delivered.",
1297e7808c93SGunnar Mills                      "The event subscription has been terminated.",
1298e7808c93SGunnar Mills                      "OK",
1299e7808c93SGunnar Mills                      "OK",
1300e7808c93SGunnar Mills                      0,
1301e7808c93SGunnar Mills                      {},
1302e7808c93SGunnar Mills                      "No resolution is required.",
1303e7808c93SGunnar Mills                  }},
130470304cb5SJason M. Bills     MessageEntry{"Success",
130570304cb5SJason M. Bills                  {
1306271584abSEd Tanous                      "Indicates that all conditions of a successful operation "
1307271584abSEd Tanous                      "have been met.",
1308*fc8a2b87SEd Tanous                      "The request completed successfully.",
1309271584abSEd Tanous                      "OK",
1310e7808c93SGunnar Mills                      "OK",
1311271584abSEd Tanous                      0,
1312271584abSEd Tanous                      {},
1313271584abSEd Tanous                      "None",
131470304cb5SJason M. Bills                  }},
131570304cb5SJason M. Bills     MessageEntry{
1316*fc8a2b87SEd Tanous         "UndeterminedFault",
1317*fc8a2b87SEd Tanous         {
1318*fc8a2b87SEd Tanous             "Indicates that a fault or error condition exists but the source "
1319*fc8a2b87SEd Tanous             "of the fault cannot be determined or is unknown to the service.",
1320*fc8a2b87SEd Tanous             "A undetermined fault condition has been reported by '%1'.",
1321*fc8a2b87SEd Tanous             "Critical",
1322*fc8a2b87SEd Tanous             "Critical",
1323*fc8a2b87SEd Tanous             1,
1324*fc8a2b87SEd Tanous             {},
1325*fc8a2b87SEd Tanous             "None.",
1326*fc8a2b87SEd Tanous         }},
1327*fc8a2b87SEd Tanous     MessageEntry{
132870304cb5SJason M. Bills         "UnrecognizedRequestBody",
132970304cb5SJason M. Bills         {
1330271584abSEd Tanous             "Indicates that the service encountered an unrecognizable request "
1331271584abSEd Tanous             "body that could not even be interpreted as malformed JSON.",
1332271584abSEd Tanous             "The service detected a malformed request body that it was unable "
1333271584abSEd Tanous             "to interpret.",
1334271584abSEd Tanous             "Warning",
1335e7808c93SGunnar Mills             "Warning",
1336271584abSEd Tanous             0,
1337271584abSEd Tanous             {},
1338271584abSEd Tanous             "Correct the request body and resubmit the request if it failed.",
133970304cb5SJason M. Bills         }},
134070304cb5SJason M. Bills };
134170304cb5SJason M. Bills } // namespace redfish::message_registries::base
1342