170304cb5SJason M. Bills /* 270304cb5SJason M. Bills // Copyright (c) 2019 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 = { 26271584abSEd Tanous "Copyright 2014-2018 DMTF. All rights reserved.", 27271584abSEd Tanous "#MessageRegistry.v1_0_0.MessageRegistry", 28271584abSEd Tanous "Base.1.4.0", 29271584abSEd Tanous "Base Message Registry", 30271584abSEd Tanous "en", 31271584abSEd Tanous "This registry defines the base messages for Redfish", 32271584abSEd Tanous "Base", 33271584abSEd Tanous "1.4.0", 34271584abSEd Tanous "DMTF", 35351d3063SJason M. Bills }; 36*be380cb1SEd Tanous constexpr std::array<MessageEntry, 58> registry = { 3770304cb5SJason M. Bills MessageEntry{ 3870304cb5SJason M. Bills "AccessDenied", 3970304cb5SJason M. Bills { 40271584abSEd Tanous "Indicates that while attempting to access, connect to or transfer " 41271584abSEd Tanous "to/from another resource, the service denied access.", 42271584abSEd Tanous "While attempting to establish a connection to %1, the service " 43271584abSEd Tanous "denied access.", 44271584abSEd Tanous "Critical", 45271584abSEd Tanous 1, 4670304cb5SJason M. Bills { 4770304cb5SJason M. Bills "string", 4870304cb5SJason M. Bills }, 49271584abSEd Tanous "Attempt to ensure that the URI is correct and that the service " 50271584abSEd Tanous "has the appropriate credentials.", 5170304cb5SJason M. Bills }}, 52271584abSEd Tanous MessageEntry{"AccountForSessionNoLongerExists", 5370304cb5SJason M. Bills { 54271584abSEd Tanous "Indicates that the account for the session has been " 55271584abSEd Tanous "removed, thus the session has been removed as well.", 56271584abSEd Tanous "The account for the current session has been removed, " 5770304cb5SJason M. Bills "thus the current session has been removed as well.", 58271584abSEd Tanous "OK", 59271584abSEd Tanous 0, 60271584abSEd Tanous {}, 61271584abSEd Tanous "Attempt to connect with a valid account.", 6270304cb5SJason M. Bills }}, 63271584abSEd Tanous MessageEntry{"AccountModified", 6470304cb5SJason M. Bills { 6570304cb5SJason M. Bills "Indicates that the account was successfully modified.", 66271584abSEd Tanous "The account was successfully modified.", 67271584abSEd Tanous "OK", 68271584abSEd Tanous 0, 69271584abSEd Tanous {}, 70271584abSEd Tanous "No resolution is required.", 7170304cb5SJason M. Bills }}, 72271584abSEd Tanous MessageEntry{"AccountNotModified", 7370304cb5SJason M. Bills { 74271584abSEd Tanous "Indicates that the modification requested for the " 7570304cb5SJason M. Bills "account was not successful.", 76271584abSEd Tanous "The account modification request failed.", 77271584abSEd Tanous "Warning", 78271584abSEd Tanous 0, 79271584abSEd Tanous {}, 80271584abSEd Tanous "The modification may have failed due to permission " 8170304cb5SJason M. Bills "issues or issues with the request body.", 8270304cb5SJason M. Bills }}, 8370304cb5SJason M. Bills MessageEntry{"AccountRemoved", 8470304cb5SJason M. Bills { 8570304cb5SJason M. Bills "Indicates that the account was successfully removed.", 86271584abSEd Tanous "The account was successfully removed.", 87271584abSEd Tanous "OK", 88271584abSEd Tanous 0, 89271584abSEd Tanous {}, 90271584abSEd Tanous "No resolution is required.", 9170304cb5SJason M. Bills }}, 9270304cb5SJason M. Bills MessageEntry{ 9370304cb5SJason M. Bills "ActionNotSupported", 9470304cb5SJason M. Bills { 95271584abSEd Tanous "Indicates that the action supplied with the POST operation is not " 96271584abSEd Tanous "supported by the resource.", 97271584abSEd Tanous "The action %1 is not supported by the resource.", 98271584abSEd Tanous "Critical", 99271584abSEd Tanous 1, 10070304cb5SJason M. Bills { 10170304cb5SJason M. Bills "string", 10270304cb5SJason M. Bills }, 103271584abSEd Tanous "The action supplied cannot be resubmitted to the implementation. " 104271584abSEd Tanous "Perhaps the action was invalid, the wrong resource was the target " 105271584abSEd Tanous "or the implementation documentation may be of assistance.", 10670304cb5SJason M. Bills }}, 107271584abSEd Tanous MessageEntry{"ActionParameterDuplicate", 10870304cb5SJason M. Bills { 109271584abSEd Tanous "Indicates that the action was supplied with a duplicated " 110271584abSEd Tanous "parameter in the request body.", 111271584abSEd Tanous "The action %1 was submitted with more than one value for " 112271584abSEd Tanous "the parameter %2.", 113271584abSEd Tanous "Warning", 114271584abSEd Tanous 2, 11570304cb5SJason M. Bills { 11670304cb5SJason M. Bills "string", 11770304cb5SJason M. Bills "string", 11870304cb5SJason M. Bills }, 119271584abSEd Tanous "Resubmit the action with only one instance of the " 120271584abSEd Tanous "parameter in the request body if the operation failed.", 12170304cb5SJason M. Bills }}, 122271584abSEd Tanous MessageEntry{"ActionParameterMissing", 12370304cb5SJason M. Bills { 124271584abSEd Tanous "Indicates that the action requested was missing a " 12570304cb5SJason M. Bills "parameter that is required to process the action.", 126271584abSEd Tanous "The action %1 requires the parameter %2 to be present in " 127271584abSEd Tanous "the request body.", 128271584abSEd Tanous "Critical", 129271584abSEd Tanous 2, 13070304cb5SJason M. Bills { 13170304cb5SJason M. Bills "string", 13270304cb5SJason M. Bills "string", 13370304cb5SJason M. Bills }, 134271584abSEd Tanous "Supply the action with the required parameter in the " 135271584abSEd Tanous "request body when the request is resubmitted.", 13670304cb5SJason M. Bills }}, 137271584abSEd Tanous MessageEntry{"ActionParameterNotSupported", 13870304cb5SJason M. Bills { 139271584abSEd Tanous "Indicates that the parameter supplied for the action is " 140271584abSEd Tanous "not supported on the resource.", 141271584abSEd Tanous "The parameter %1 for the action %2 is not supported on " 14270304cb5SJason M. Bills "the target resource.", 143271584abSEd Tanous "Warning", 144271584abSEd Tanous 2, 14570304cb5SJason M. Bills { 14670304cb5SJason M. Bills "string", 14770304cb5SJason M. Bills "string", 14870304cb5SJason M. Bills }, 149271584abSEd Tanous "Remove the parameter supplied and resubmit the request " 150271584abSEd Tanous "if the operation failed.", 15170304cb5SJason M. Bills }}, 15270304cb5SJason M. Bills MessageEntry{ 15370304cb5SJason M. Bills "ActionParameterUnknown", 15470304cb5SJason M. Bills { 155271584abSEd Tanous "Indicates that an action was submitted but a parameter supplied " 156271584abSEd Tanous "did not match any of the known parameters.", 15770304cb5SJason M. Bills "The action %1 was submitted with the invalid parameter %2.", 158271584abSEd Tanous "Warning", 159271584abSEd Tanous 2, 16070304cb5SJason M. Bills { 16170304cb5SJason M. Bills "string", 16270304cb5SJason M. Bills "string", 16370304cb5SJason M. Bills }, 164271584abSEd Tanous "Correct the invalid parameter and resubmit the request if the " 165271584abSEd Tanous "operation failed.", 16670304cb5SJason M. Bills }}, 167271584abSEd Tanous MessageEntry{"ActionParameterValueFormatError", 16870304cb5SJason M. Bills { 169271584abSEd Tanous "Indicates that a parameter was given the correct value " 170271584abSEd Tanous "type but the value of that parameter was not supported. " 171271584abSEd Tanous "This includes value size/length exceeded.", 172271584abSEd Tanous "The value %1 for the parameter %2 in the action %3 is of " 173271584abSEd Tanous "a different format than the parameter can accept.", 174271584abSEd Tanous "Warning", 175271584abSEd Tanous 3, 17670304cb5SJason M. Bills { 17770304cb5SJason M. Bills "string", 17870304cb5SJason M. Bills "string", 17970304cb5SJason M. Bills "string", 18070304cb5SJason M. Bills }, 181271584abSEd Tanous "Correct the value for the parameter in the request body " 182271584abSEd Tanous "and resubmit the request if the operation failed.", 18370304cb5SJason M. Bills }}, 184271584abSEd Tanous MessageEntry{"ActionParameterValueTypeError", 18570304cb5SJason M. Bills { 186271584abSEd Tanous "Indicates that a parameter was given the wrong value " 187271584abSEd Tanous "type, such as when a number is supplied for a parameter " 188271584abSEd Tanous "that requires a string.", 189271584abSEd Tanous "The value %1 for the parameter %2 in the action %3 is of " 190271584abSEd Tanous "a different type than the parameter can accept.", 191271584abSEd Tanous "Warning", 192271584abSEd Tanous 3, 19370304cb5SJason M. Bills { 19470304cb5SJason M. Bills "string", 19570304cb5SJason M. Bills "string", 19670304cb5SJason M. Bills "string", 19770304cb5SJason M. Bills }, 198271584abSEd Tanous "Correct the value for the parameter in the request body " 199271584abSEd Tanous "and resubmit the request if the operation failed.", 20070304cb5SJason M. Bills }}, 20170304cb5SJason M. Bills MessageEntry{ 20270304cb5SJason M. Bills "CouldNotEstablishConnection", 20370304cb5SJason M. Bills { 204271584abSEd Tanous "Indicates that the attempt to access the resource/file/image at " 205271584abSEd Tanous "the URI was unsuccessful because a session could not be " 206271584abSEd Tanous "established.", 20770304cb5SJason M. Bills "The service failed to establish a connection with the URI %1.", 208271584abSEd Tanous "Critical", 209271584abSEd Tanous 1, 21070304cb5SJason M. Bills { 21170304cb5SJason M. Bills "string", 21270304cb5SJason M. Bills }, 21370304cb5SJason M. Bills "Ensure that the URI contains a valid and reachable node name, " 21470304cb5SJason M. Bills "protocol information and other URI components.", 21570304cb5SJason M. Bills }}, 21670304cb5SJason M. Bills MessageEntry{ 21770304cb5SJason M. Bills "CreateFailedMissingReqProperties", 21870304cb5SJason M. Bills { 21970304cb5SJason M. Bills "Indicates that a create was attempted on a resource but that " 22070304cb5SJason M. Bills "properties that are required for the create operation were " 22170304cb5SJason M. Bills "missing from the request.", 222271584abSEd Tanous "The create operation failed because the required property %1 was " 223271584abSEd Tanous "missing from the request.", 224271584abSEd Tanous "Critical", 225271584abSEd Tanous 1, 22670304cb5SJason M. Bills { 22770304cb5SJason M. Bills "string", 22870304cb5SJason M. Bills }, 229271584abSEd Tanous "Correct the body to include the required property with a valid " 230271584abSEd Tanous "value and resubmit the request if the operation failed.", 23170304cb5SJason M. Bills }}, 232271584abSEd Tanous MessageEntry{"CreateLimitReachedForResource", 23370304cb5SJason M. Bills { 234271584abSEd Tanous "Indicates that no more resources can be created on the " 235271584abSEd Tanous "resource as it has reached its create limit.", 236271584abSEd Tanous "The create operation failed because the resource has " 23770304cb5SJason M. Bills "reached the limit of possible resources.", 238271584abSEd Tanous "Critical", 239271584abSEd Tanous 0, 240271584abSEd Tanous {}, 24170304cb5SJason M. Bills "Either delete resources and resubmit the request if the " 24270304cb5SJason M. Bills "operation failed or do not resubmit the request.", 24370304cb5SJason M. Bills }}, 24470304cb5SJason M. Bills MessageEntry{"Created", 24570304cb5SJason M. Bills { 246271584abSEd Tanous "Indicates that all conditions of a successful creation " 247271584abSEd Tanous "operation have been met.", 248271584abSEd Tanous "The resource has been created successfully", 249271584abSEd Tanous "OK", 250271584abSEd Tanous 0, 251271584abSEd Tanous {}, 252271584abSEd Tanous "None", 25370304cb5SJason M. Bills }}, 25470304cb5SJason M. Bills MessageEntry{ 25570304cb5SJason M. Bills "EmptyJSON", 25670304cb5SJason M. Bills { 257271584abSEd Tanous "Indicates that the request body contained an empty JSON object " 258271584abSEd Tanous "when one or more properties are expected in the body.", 259271584abSEd Tanous "The request body submitted contained an empty JSON object and the " 260271584abSEd Tanous "service is unable to process it.", 261271584abSEd Tanous "Warning", 262271584abSEd Tanous 0, 263271584abSEd Tanous {}, 26470304cb5SJason M. Bills "Add properties in the JSON object and resubmit the request.", 26570304cb5SJason M. Bills }}, 26670304cb5SJason M. Bills MessageEntry{ 26770304cb5SJason M. Bills "EventSubscriptionLimitExceeded", 26870304cb5SJason M. Bills { 269271584abSEd Tanous "Indicates that a event subscription establishment has been " 270271584abSEd Tanous "requested but the operation failed due to the number of " 271271584abSEd Tanous "simultaneous connection exceeding the limit of the " 27270304cb5SJason M. Bills "implementation.", 273271584abSEd Tanous "The event subscription failed due to the number of simultaneous " 274271584abSEd Tanous "subscriptions exceeding the limit of the implementation.", 275271584abSEd Tanous "Critical", 276271584abSEd Tanous 0, 277271584abSEd Tanous {}, 27870304cb5SJason M. Bills "Reduce the number of other subscriptions before trying to " 27970304cb5SJason M. Bills "establish the event subscription or increase the limit of " 28070304cb5SJason M. Bills "simultaneous subscriptions (if supported).", 28170304cb5SJason M. Bills }}, 28270304cb5SJason M. Bills MessageEntry{ 28370304cb5SJason M. Bills "GeneralError", 28470304cb5SJason M. Bills { 285271584abSEd Tanous "Indicates that a general error has occurred. Use in ExtendedInfo " 286271584abSEd Tanous "is discouraged. When used in ExtendedInfo, implementations are " 287271584abSEd Tanous "expected to include a Resolution property with this error to " 288271584abSEd Tanous "indicate how to resolve the problem.", 289271584abSEd Tanous "A general error has occurred. See Resolution for information on " 290271584abSEd Tanous "how to resolve the error.", 291271584abSEd Tanous "Critical", 292271584abSEd Tanous 0, 293271584abSEd Tanous {}, 294271584abSEd Tanous "None.", 29570304cb5SJason M. Bills }}, 29670304cb5SJason M. Bills MessageEntry{ 29770304cb5SJason M. Bills "InsufficientPrivilege", 29870304cb5SJason M. Bills { 299271584abSEd Tanous "Indicates that the credentials associated with the established " 300271584abSEd Tanous "session do not have sufficient privileges for the requested " 301271584abSEd Tanous "operation", 302271584abSEd Tanous "There are insufficient privileges for the account or credentials " 303271584abSEd Tanous "associated with the current session to perform the requested " 304271584abSEd Tanous "operation.", 305271584abSEd Tanous "Critical", 306271584abSEd Tanous 0, 307271584abSEd Tanous {}, 30870304cb5SJason M. Bills "Either abandon the operation or change the associated access " 30970304cb5SJason M. Bills "rights and resubmit the request if the operation failed.", 31070304cb5SJason M. Bills }}, 31170304cb5SJason M. Bills MessageEntry{ 31270304cb5SJason M. Bills "InternalError", 31370304cb5SJason M. Bills { 314271584abSEd Tanous "Indicates that the request failed for an unknown internal error " 315271584abSEd Tanous "but that the service is still operational.", 316271584abSEd Tanous "The request failed due to an internal service error. The service " 317271584abSEd Tanous "is still operational.", 318271584abSEd Tanous "Critical", 319271584abSEd Tanous 0, 320271584abSEd Tanous {}, 321271584abSEd Tanous "Resubmit the request. If the problem persists, consider " 322271584abSEd Tanous "resetting the service.", 32370304cb5SJason M. Bills }}, 324271584abSEd Tanous MessageEntry{"InvalidIndex", 32570304cb5SJason M. Bills { 326271584abSEd Tanous "The Index is not valid.", 327271584abSEd Tanous "The Index %1 is not a valid offset into the array.", 328271584abSEd Tanous "Warning", 329271584abSEd Tanous 1, 33070304cb5SJason M. Bills { 33170304cb5SJason M. Bills "number", 33270304cb5SJason M. Bills }, 333271584abSEd Tanous "Verify the index value provided is within the bounds of " 334271584abSEd Tanous "the array.", 33570304cb5SJason M. Bills }}, 33670304cb5SJason M. Bills MessageEntry{ 33770304cb5SJason M. Bills "InvalidObject", 33870304cb5SJason M. Bills { 339271584abSEd Tanous "Indicates that the object in question is invalid according to the " 340271584abSEd Tanous "implementation. Examples include a firmware update malformed " 341271584abSEd Tanous "URI.", 342271584abSEd Tanous "The object at %1 is invalid.", 343271584abSEd Tanous "Critical", 344271584abSEd Tanous 1, 34570304cb5SJason M. Bills { 34670304cb5SJason M. Bills "string", 34770304cb5SJason M. Bills }, 34870304cb5SJason M. Bills "Either the object is malformed or the URI is not correct. " 34970304cb5SJason M. Bills "Correct the condition and resubmit the request if it failed.", 35070304cb5SJason M. Bills }}, 351271584abSEd Tanous MessageEntry{"MalformedJSON", 35270304cb5SJason M. Bills { 353271584abSEd Tanous "Indicates that the request body was malformed JSON. " 354271584abSEd Tanous "Could be duplicate, syntax error,etc.", 355271584abSEd Tanous "The request body submitted was malformed JSON and could " 356271584abSEd Tanous "not be parsed by the receiving service.", 357271584abSEd Tanous "Critical", 358271584abSEd Tanous 0, 359271584abSEd Tanous {}, 360271584abSEd Tanous "Ensure that the request body is valid JSON and resubmit " 361271584abSEd Tanous "the request.", 36270304cb5SJason M. Bills }}, 36370304cb5SJason M. Bills MessageEntry{ 36470304cb5SJason M. Bills "NoOperation", 36570304cb5SJason M. Bills { 366271584abSEd Tanous "Indicates that the requested operation will not perform any " 367271584abSEd Tanous "changes on the service.", 368271584abSEd Tanous "The request body submitted contain no data to act upon and no " 369271584abSEd Tanous "changes to the resource took place.", 370271584abSEd Tanous "Warning", 371271584abSEd Tanous 0, 372271584abSEd Tanous {}, 37370304cb5SJason M. Bills "Add properties in the JSON object and resubmit the request.", 37470304cb5SJason M. Bills }}, 37570304cb5SJason M. Bills MessageEntry{ 37670304cb5SJason M. Bills "NoValidSession", 37770304cb5SJason M. Bills { 378271584abSEd Tanous "Indicates that the operation failed because a valid session is " 379271584abSEd Tanous "required in order to access any resources.", 380271584abSEd Tanous "There is no valid session established with the implementation.", 381271584abSEd Tanous "Critical", 382271584abSEd Tanous 0, 383271584abSEd Tanous {}, 38470304cb5SJason M. Bills "Establish as session before attempting any operations.", 38570304cb5SJason M. Bills }}, 386271584abSEd Tanous MessageEntry{"PropertyDuplicate", 38770304cb5SJason M. Bills { 388271584abSEd Tanous "Indicates that a duplicate property was included in the " 389271584abSEd Tanous "request body.", 390271584abSEd Tanous "The property %1 was duplicated in the request.", 391271584abSEd Tanous "Warning", 392271584abSEd Tanous 1, 39370304cb5SJason M. Bills { 39470304cb5SJason M. Bills "string", 39570304cb5SJason M. Bills }, 396271584abSEd Tanous "Remove the duplicate property from the request body and " 397271584abSEd Tanous "resubmit the request if the operation failed.", 39870304cb5SJason M. Bills }}, 39970304cb5SJason M. Bills MessageEntry{ 40070304cb5SJason M. Bills "PropertyMissing", 40170304cb5SJason M. Bills { 402271584abSEd Tanous "Indicates that a required property was not supplied as part of " 403271584abSEd Tanous "the request.", 404271584abSEd Tanous "The property %1 is a required property and must be included in " 405271584abSEd Tanous "the request.", 406271584abSEd Tanous "Warning", 407271584abSEd Tanous 1, 40870304cb5SJason M. Bills { 40970304cb5SJason M. Bills "string", 41070304cb5SJason M. Bills }, 411271584abSEd Tanous "Ensure that the property is in the request body and has a valid " 412271584abSEd Tanous "value and resubmit the request if the operation failed.", 41370304cb5SJason M. Bills }}, 414271584abSEd Tanous MessageEntry{"PropertyNotWritable", 41570304cb5SJason M. Bills { 416271584abSEd Tanous "Indicates that a property was given a value in the " 417271584abSEd Tanous "request body, but the property is a readonly property.", 418271584abSEd Tanous "The property %1 is a read only property and cannot be " 41970304cb5SJason M. Bills "assigned a value.", 420271584abSEd Tanous "Warning", 421271584abSEd Tanous 1, 42270304cb5SJason M. Bills { 42370304cb5SJason M. Bills "string", 42470304cb5SJason M. Bills }, 425271584abSEd Tanous "Remove the property from the request body and resubmit " 426271584abSEd Tanous "the request if the operation failed.", 42770304cb5SJason M. Bills }}, 428271584abSEd Tanous MessageEntry{"PropertyUnknown", 42970304cb5SJason M. Bills { 430271584abSEd Tanous "Indicates that an unknown property was included in the " 431271584abSEd Tanous "request body.", 432271584abSEd Tanous "The property %1 is not in the list of valid properties " 43370304cb5SJason M. Bills "for the resource.", 434271584abSEd Tanous "Warning", 435271584abSEd Tanous 1, 43670304cb5SJason M. Bills { 43770304cb5SJason M. Bills "string", 43870304cb5SJason M. Bills }, 439271584abSEd Tanous "Remove the unknown property from the request body and " 44070304cb5SJason M. Bills "resubmit the request if the operation failed.", 44170304cb5SJason M. Bills }}, 442271584abSEd Tanous MessageEntry{"PropertyValueFormatError", 443271584abSEd Tanous { 444271584abSEd Tanous "Indicates that a property was given the correct value " 445271584abSEd Tanous "type but the value of that property was not supported.", 446271584abSEd Tanous "The value %1 for the property %2 is of a different " 447271584abSEd Tanous "format than the property can accept.", 448271584abSEd Tanous "Warning", 449271584abSEd Tanous 2, 450271584abSEd Tanous { 451271584abSEd Tanous "string", 452271584abSEd Tanous "string", 453271584abSEd Tanous }, 454271584abSEd Tanous "Correct the value for the property in the request body " 455271584abSEd Tanous "and resubmit the request if the operation failed.", 456271584abSEd Tanous }}, 45770304cb5SJason M. Bills MessageEntry{"PropertyValueModified", 45870304cb5SJason M. Bills { 459271584abSEd Tanous "Indicates that a property was given the correct value " 460271584abSEd Tanous "type but the value of that property was modified. " 461271584abSEd Tanous "Examples are truncated or rounded values.", 462271584abSEd Tanous "The property %1 was assigned the value %2 due to " 463271584abSEd Tanous "modification by the service.", 464271584abSEd Tanous "Warning", 465271584abSEd Tanous 2, 46670304cb5SJason M. Bills { 46770304cb5SJason M. Bills "string", 46870304cb5SJason M. Bills "string", 46970304cb5SJason M. Bills }, 470271584abSEd Tanous "No resolution is required.", 47170304cb5SJason M. Bills }}, 47270304cb5SJason M. Bills MessageEntry{ 47370304cb5SJason M. Bills "PropertyValueNotInList", 47470304cb5SJason M. Bills { 475271584abSEd Tanous "Indicates that a property was given the correct value type but " 476271584abSEd Tanous "the value of that property was not supported. This values not in " 477271584abSEd Tanous "an enumeration", 478271584abSEd Tanous "The value %1 for the property %2 is not in the list of acceptable " 479271584abSEd Tanous "values.", 480271584abSEd Tanous "Warning", 481271584abSEd Tanous 2, 48270304cb5SJason M. Bills { 48370304cb5SJason M. Bills "string", 48470304cb5SJason M. Bills "string", 48570304cb5SJason M. Bills }, 486271584abSEd Tanous "Choose a value from the enumeration list that the implementation " 487271584abSEd Tanous "can support and resubmit the request if the operation failed.", 48870304cb5SJason M. Bills }}, 48970304cb5SJason M. Bills MessageEntry{ 49070304cb5SJason M. Bills "PropertyValueTypeError", 49170304cb5SJason M. Bills { 492271584abSEd Tanous "Indicates that a property was given the wrong value type, such as " 493271584abSEd Tanous "when a number is supplied for a property that requires a string.", 494271584abSEd Tanous "The value %1 for the property %2 is of a different type than the " 495271584abSEd Tanous "property can accept.", 496271584abSEd Tanous "Warning", 497271584abSEd Tanous 2, 49870304cb5SJason M. Bills { 49970304cb5SJason M. Bills "string", 50070304cb5SJason M. Bills "string", 50170304cb5SJason M. Bills }, 50270304cb5SJason M. Bills "Correct the value for the property in the request body and " 50370304cb5SJason M. Bills "resubmit the request if the operation failed.", 50470304cb5SJason M. Bills }}, 50570304cb5SJason M. Bills MessageEntry{ 50670304cb5SJason M. Bills "QueryNotSupported", 50770304cb5SJason M. Bills { 50870304cb5SJason M. Bills "Indicates that query is not supported on the implementation.", 509271584abSEd Tanous "Querying is not supported by the implementation.", 510271584abSEd Tanous "Warning", 511271584abSEd Tanous 0, 512271584abSEd Tanous {}, 513271584abSEd Tanous "Remove the query parameters and resubmit the request if the " 514271584abSEd Tanous "operation failed.", 51570304cb5SJason M. Bills }}, 516271584abSEd Tanous MessageEntry{"QueryNotSupportedOnResource", 51770304cb5SJason M. Bills { 518271584abSEd Tanous "Indicates that query is not supported on the given " 519271584abSEd Tanous "resource, such as when a start/count query is attempted " 520271584abSEd Tanous "on a resource that is not a collection.", 521271584abSEd Tanous "Querying is not supported on the requested resource.", 522271584abSEd Tanous "Warning", 523271584abSEd Tanous 0, 524271584abSEd Tanous {}, 525271584abSEd Tanous "Remove the query parameters and resubmit the request if " 526271584abSEd Tanous "the operation failed.", 52770304cb5SJason M. Bills }}, 52870304cb5SJason M. Bills MessageEntry{ 52970304cb5SJason M. Bills "QueryParameterOutOfRange", 53070304cb5SJason M. Bills { 531271584abSEd Tanous "Indicates that a query parameter was supplied that is out of " 532271584abSEd Tanous "range for the given resource. This can happen with values that " 533271584abSEd Tanous "are too low or beyond that possible for the supplied resource, " 534271584abSEd Tanous "such as when a page is requested that is beyond the last page.", 53570304cb5SJason M. Bills "The value %1 for the query parameter %2 is out of range %3.", 536271584abSEd Tanous "Warning", 537271584abSEd Tanous 3, 53870304cb5SJason M. Bills { 53970304cb5SJason M. Bills "string", 54070304cb5SJason M. Bills "string", 54170304cb5SJason M. Bills "string", 54270304cb5SJason M. Bills }, 54370304cb5SJason M. Bills "Reduce the value for the query parameter to a value that is " 54470304cb5SJason M. Bills "within range, such as a start or count value that is within " 545271584abSEd Tanous "bounds of the number of resources in a collection or a page that " 546271584abSEd Tanous "is within the range of valid pages.", 54770304cb5SJason M. Bills }}, 548271584abSEd Tanous MessageEntry{"QueryParameterValueFormatError", 54970304cb5SJason M. Bills { 550271584abSEd Tanous "Indicates that a query parameter was given the correct " 551271584abSEd Tanous "value type but the value of that parameter was not " 552271584abSEd Tanous "supported. This includes value size/length exceeded.", 553271584abSEd Tanous "The value %1 for the parameter %2 is of a different " 55470304cb5SJason M. Bills "format than the parameter can accept.", 555271584abSEd Tanous "Warning", 556271584abSEd Tanous 2, 55770304cb5SJason M. Bills { 55870304cb5SJason M. Bills "string", 55970304cb5SJason M. Bills "string", 56070304cb5SJason M. Bills }, 561271584abSEd Tanous "Correct the value for the query parameter in the request " 562271584abSEd Tanous "and resubmit the request if the operation failed.", 56370304cb5SJason M. Bills }}, 564271584abSEd Tanous MessageEntry{"QueryParameterValueTypeError", 56570304cb5SJason M. Bills { 566271584abSEd Tanous "Indicates that a query parameter was given the wrong " 567271584abSEd Tanous "value type, such as when a number is supplied for a " 568271584abSEd Tanous "query parameter that requires a string.", 569271584abSEd Tanous "The value %1 for the query parameter %2 is of a " 57070304cb5SJason M. Bills "different type than the parameter can accept.", 571271584abSEd Tanous "Warning", 572271584abSEd Tanous 2, 57370304cb5SJason M. Bills { 57470304cb5SJason M. Bills "string", 57570304cb5SJason M. Bills "string", 57670304cb5SJason M. Bills }, 577271584abSEd Tanous "Correct the value for the query parameter in the request " 578271584abSEd Tanous "and resubmit the request if the operation failed.", 57970304cb5SJason M. Bills }}, 580271584abSEd Tanous MessageEntry{"ResourceAlreadyExists", 58170304cb5SJason M. Bills { 582271584abSEd Tanous "Indicates that a resource change or creation was " 583271584abSEd Tanous "attempted but that the operation cannot proceed because " 584271584abSEd Tanous "the resource already exists.", 585271584abSEd Tanous "The requested resource of type %1 with the property %2 " 58670304cb5SJason M. Bills "with the value %3 already exists.", 587271584abSEd Tanous "Critical", 588271584abSEd Tanous 3, 58970304cb5SJason M. Bills { 59070304cb5SJason M. Bills "string", 59170304cb5SJason M. Bills "string", 59270304cb5SJason M. Bills "string", 59370304cb5SJason M. Bills }, 594271584abSEd Tanous "Do not repeat the create operation as the resource has " 595271584abSEd Tanous "already been created.", 59670304cb5SJason M. Bills }}, 59770304cb5SJason M. Bills MessageEntry{ 59870304cb5SJason M. Bills "ResourceAtUriInUnknownFormat", 59970304cb5SJason M. Bills { 60070304cb5SJason M. Bills "Indicates that the URI was valid but the resource or image at " 60170304cb5SJason M. Bills "that URI was in a format not supported by the service.", 602271584abSEd Tanous "The resource at %1 is in a format not recognized by the service.", 603271584abSEd Tanous "Critical", 604271584abSEd Tanous 1, 60570304cb5SJason M. Bills { 60670304cb5SJason M. Bills "string", 60770304cb5SJason M. Bills }, 608271584abSEd Tanous "Place an image or resource or file that is recognized by the " 609271584abSEd Tanous "service at the URI.", 61070304cb5SJason M. Bills }}, 611271584abSEd Tanous MessageEntry{"ResourceAtUriUnauthorized", 61270304cb5SJason M. Bills { 613271584abSEd Tanous "Indicates that the attempt to access the " 61470304cb5SJason M. Bills "resource/file/image at the URI was unauthorized.", 615271584abSEd Tanous "While accessing the resource at %1, the service received " 616271584abSEd Tanous "an authorization error %2.", 617271584abSEd Tanous "Critical", 618271584abSEd Tanous 2, 61970304cb5SJason M. Bills { 62070304cb5SJason M. Bills "string", 62170304cb5SJason M. Bills "string", 62270304cb5SJason M. Bills }, 623271584abSEd Tanous "Ensure that the appropriate access is provided for the " 624271584abSEd Tanous "service in order for it to access the URI.", 62570304cb5SJason M. Bills }}, 626271584abSEd Tanous MessageEntry{"ResourceCannotBeDeleted", 62770304cb5SJason M. Bills { 628271584abSEd Tanous "Indicates that a delete operation was attempted on a " 629271584abSEd Tanous "resource that cannot be deleted.", 630271584abSEd Tanous "The delete request failed because the resource requested " 631271584abSEd Tanous "cannot be deleted.", 632271584abSEd Tanous "Critical", 633271584abSEd Tanous 0, 634271584abSEd Tanous {}, 635271584abSEd Tanous "Do not attempt to delete a non-deletable resource.", 63670304cb5SJason M. Bills }}, 63770304cb5SJason M. Bills MessageEntry{ 63870304cb5SJason M. Bills "ResourceExhaustion", 63970304cb5SJason M. Bills { 640271584abSEd Tanous "Indicates that a resource could not satisfy the request due to " 641271584abSEd Tanous "some unavailability of resources. An example is that available " 642271584abSEd Tanous "capacity has been allocated.", 643271584abSEd Tanous "The resource %1 was unable to satisfy the request due to " 644271584abSEd Tanous "unavailability of resources.", 645271584abSEd Tanous "Critical", 646271584abSEd Tanous 1, 64770304cb5SJason M. Bills { 64870304cb5SJason M. Bills "string", 64970304cb5SJason M. Bills }, 650271584abSEd Tanous "Ensure that the resources are available and resubmit the request.", 65170304cb5SJason M. Bills }}, 652271584abSEd Tanous MessageEntry{"ResourceInStandby", 65370304cb5SJason M. Bills { 654271584abSEd Tanous "Indicates that the request could not be performed " 65570304cb5SJason M. Bills "because the resource is in standby.", 656271584abSEd Tanous "The request could not be performed because the resource " 657271584abSEd Tanous "is in standby.", 658271584abSEd Tanous "Critical", 659271584abSEd Tanous 0, 660271584abSEd Tanous {}, 661271584abSEd Tanous "Ensure that the resource is in the correct power state " 662271584abSEd Tanous "and resubmit the request.", 66370304cb5SJason M. Bills }}, 664271584abSEd Tanous MessageEntry{"ResourceInUse", 66570304cb5SJason M. Bills { 666271584abSEd Tanous "Indicates that a change was requested to a resource but " 667271584abSEd Tanous "the change was rejected due to the resource being in use " 668271584abSEd Tanous "or transition.", 669271584abSEd Tanous "The change to the requested resource failed because the " 670271584abSEd Tanous "resource is in use or in transition.", 671271584abSEd Tanous "Warning", 672271584abSEd Tanous 0, 673271584abSEd Tanous {}, 674271584abSEd Tanous "Remove the condition and resubmit the request if the " 675271584abSEd Tanous "operation failed.", 67670304cb5SJason M. Bills }}, 67770304cb5SJason M. Bills MessageEntry{ 67870304cb5SJason M. Bills "ResourceMissingAtURI", 67970304cb5SJason M. Bills { 680271584abSEd Tanous "Indicates that the operation expected an image or other resource " 681271584abSEd Tanous "at the provided URI but none was found. Examples of this are in " 682271584abSEd Tanous "requests that require URIs like Firmware Update.", 683271584abSEd Tanous "The resource at the URI %1 was not found.", 684271584abSEd Tanous "Critical", 685271584abSEd Tanous 1, 68670304cb5SJason M. Bills { 68770304cb5SJason M. Bills "string", 68870304cb5SJason M. Bills }, 689271584abSEd Tanous "Place a valid resource at the URI or correct the URI and resubmit " 690271584abSEd Tanous "the request.", 69170304cb5SJason M. Bills }}, 69270304cb5SJason M. Bills MessageEntry{ 69370304cb5SJason M. Bills "ResourceNotFound", 69470304cb5SJason M. Bills { 695271584abSEd Tanous "Indicates that the operation expected a resource identifier that " 696271584abSEd Tanous "corresponds to an existing resource but one was not found.", 69770304cb5SJason M. Bills "The requested resource of type %1 named %2 was not found.", 698271584abSEd Tanous "Critical", 699271584abSEd Tanous 2, 70070304cb5SJason M. Bills { 70170304cb5SJason M. Bills "string", 70270304cb5SJason M. Bills "string", 70370304cb5SJason M. Bills }, 70470304cb5SJason M. Bills "Provide a valid resource identifier and resubmit the request.", 70570304cb5SJason M. Bills }}, 70670304cb5SJason M. Bills MessageEntry{ 70770304cb5SJason M. Bills "ResourceTypeIncompatible", 70870304cb5SJason M. Bills { 709271584abSEd Tanous "Indicates that the resource type of the operation does not match " 710271584abSEd Tanous "that for the operation destination. Examples of when this can " 711271584abSEd Tanous "happen include during a POST to a collection using the wrong " 712271584abSEd Tanous "resource type, an update where the @odata.types do not match or " 713271584abSEd Tanous "on a major version incompatability.", 714271584abSEd Tanous "The @odata.type of the request body %1 is incompatible with the " 715271584abSEd Tanous "@odata.type of the resource which is %2.", 716271584abSEd Tanous "Critical", 717271584abSEd Tanous 2, 71870304cb5SJason M. Bills { 71970304cb5SJason M. Bills "string", 72070304cb5SJason M. Bills "string", 72170304cb5SJason M. Bills }, 722271584abSEd Tanous "Resubmit the request with a payload compatible with the " 723271584abSEd Tanous "resource's schema.", 72470304cb5SJason M. Bills }}, 72570304cb5SJason M. Bills MessageEntry{ 72670304cb5SJason M. Bills "ServiceInUnknownState", 72770304cb5SJason M. Bills { 728271584abSEd Tanous "Indicates that the operation failed because the service is in an " 729271584abSEd Tanous "unknown state and cannot accept additional requests.", 730271584abSEd Tanous "The operation failed because the service is in an unknown state " 731271584abSEd Tanous "and can no longer take incoming requests.", 732271584abSEd Tanous "Critical", 733271584abSEd Tanous 0, 734271584abSEd Tanous {}, 735271584abSEd Tanous "Restart the service and resubmit the request if the operation " 736271584abSEd Tanous "failed.", 73770304cb5SJason M. Bills }}, 738271584abSEd Tanous MessageEntry{"ServiceShuttingDown", 73970304cb5SJason M. Bills { 74070304cb5SJason M. Bills "Indicates that the operation failed as the service is " 74170304cb5SJason M. Bills "shutting down, such as when the service reboots.", 742271584abSEd Tanous "The operation failed because the service is shutting " 74370304cb5SJason M. Bills "down and can no longer take incoming requests.", 744271584abSEd Tanous "Critical", 745271584abSEd Tanous 0, 746271584abSEd Tanous {}, 747271584abSEd Tanous "When the service becomes available, resubmit the request " 748271584abSEd Tanous "if the operation failed.", 74970304cb5SJason M. Bills }}, 75070304cb5SJason M. Bills MessageEntry{ 75170304cb5SJason M. Bills "ServiceTemporarilyUnavailable", 75270304cb5SJason M. Bills { 753271584abSEd Tanous "Indicates the service is temporarily unavailable.", 75470304cb5SJason M. Bills "The service is temporarily unavailable. Retry in %1 seconds.", 755271584abSEd Tanous "Critical", 756271584abSEd Tanous 1, 75770304cb5SJason M. Bills { 75870304cb5SJason M. Bills "string", 75970304cb5SJason M. Bills }, 760271584abSEd Tanous "Wait for the indicated retry duration and retry the operation.", 76170304cb5SJason M. Bills }}, 76270304cb5SJason M. Bills MessageEntry{ 76370304cb5SJason M. Bills "SessionLimitExceeded", 76470304cb5SJason M. Bills { 765271584abSEd Tanous "Indicates that a session establishment has been requested but the " 766271584abSEd Tanous "operation failed due to the number of simultaneous sessions " 767271584abSEd Tanous "exceeding the limit of the implementation.", 768271584abSEd Tanous "The session establishment failed due to the number of " 769271584abSEd Tanous "simultaneous sessions exceeding the limit of the implementation.", 770271584abSEd Tanous "Critical", 771271584abSEd Tanous 0, 772271584abSEd Tanous {}, 773271584abSEd Tanous "Reduce the number of other sessions before trying to establish " 774271584abSEd Tanous "the session or increase the limit of simultaneous sessions (if " 775271584abSEd Tanous "supported).", 77670304cb5SJason M. Bills }}, 77770304cb5SJason M. Bills MessageEntry{ 77870304cb5SJason M. Bills "SessionTerminated", 77970304cb5SJason M. Bills { 78070304cb5SJason M. Bills "Indicates that the DELETE operation on the Session resource " 78170304cb5SJason M. Bills "resulted in the successful termination of the session.", 782271584abSEd Tanous "The session was successfully terminated.", 783271584abSEd Tanous "OK", 784271584abSEd Tanous 0, 785271584abSEd Tanous {}, 786271584abSEd Tanous "No resolution is required.", 78770304cb5SJason M. Bills }}, 78870304cb5SJason M. Bills MessageEntry{ 78970304cb5SJason M. Bills "SourceDoesNotSupportProtocol", 79070304cb5SJason M. Bills { 791271584abSEd Tanous "Indicates that while attempting to access, connect to or transfer " 792271584abSEd Tanous "a resource/file/image from another location that the other end of " 793271584abSEd Tanous "the connection did not support the protocol", 794271584abSEd Tanous "The other end of the connection at %1 does not support the " 795271584abSEd Tanous "specified protocol %2.", 796271584abSEd Tanous "Critical", 797271584abSEd Tanous 2, 79870304cb5SJason M. Bills { 79970304cb5SJason M. Bills "string", 80070304cb5SJason M. Bills "string", 80170304cb5SJason M. Bills }, 802271584abSEd Tanous "Change protocols or URIs. ", 80370304cb5SJason M. Bills }}, 804271584abSEd Tanous MessageEntry{"StringValueTooLong", 80570304cb5SJason M. Bills { 806271584abSEd Tanous "Indicates that a string value passed to the given " 807271584abSEd Tanous "resource exceeded its length limit. An example is when a " 808271584abSEd Tanous "shorter limit is imposed by an implementation than that " 809271584abSEd Tanous "allowed by the specification.", 810271584abSEd Tanous "The string %1 exceeds the length limit %2.", 811271584abSEd Tanous "Warning", 812271584abSEd Tanous 2, 81370304cb5SJason M. Bills { 81470304cb5SJason M. Bills "string", 81570304cb5SJason M. Bills "number", 81670304cb5SJason M. Bills }, 81770304cb5SJason M. Bills "Resubmit the request with an appropriate string length.", 81870304cb5SJason M. Bills }}, 81970304cb5SJason M. Bills MessageEntry{"Success", 82070304cb5SJason M. Bills { 821271584abSEd Tanous "Indicates that all conditions of a successful operation " 822271584abSEd Tanous "have been met.", 823271584abSEd Tanous "Successfully Completed Request", 824271584abSEd Tanous "OK", 825271584abSEd Tanous 0, 826271584abSEd Tanous {}, 827271584abSEd Tanous "None", 82870304cb5SJason M. Bills }}, 82970304cb5SJason M. Bills MessageEntry{ 83070304cb5SJason M. Bills "UnrecognizedRequestBody", 83170304cb5SJason M. Bills { 832271584abSEd Tanous "Indicates that the service encountered an unrecognizable request " 833271584abSEd Tanous "body that could not even be interpreted as malformed JSON.", 834271584abSEd Tanous "The service detected a malformed request body that it was unable " 835271584abSEd Tanous "to interpret.", 836271584abSEd Tanous "Warning", 837271584abSEd Tanous 0, 838271584abSEd Tanous {}, 839271584abSEd Tanous "Correct the request body and resubmit the request if it failed.", 84070304cb5SJason M. Bills }}, 84170304cb5SJason M. Bills }; 84270304cb5SJason M. Bills } // namespace redfish::message_registries::base 843