1 #pragma once 2 /**************************************************************** 3 * READ THIS WARNING FIRST 4 * This is an auto-generated header which contains definitions 5 * for Redfish DMTF defined messages. 6 * DO NOT modify this registry outside of running the 7 * parse_registries.py script. The definitions contained within 8 * this file are owned by DMTF. Any modifications to these files 9 * should be first pushed to the relevant registry in the DMTF 10 * github organization. 11 ***************************************************************/ 12 #include "registries.hpp" 13 14 #include <array> 15 16 // clang-format off 17 18 namespace redfish::registries::base 19 { 20 const Header header = { 21 "Copyright 2014-2024 DMTF. All rights reserved.", 22 "#MessageRegistry.v1_6_2.MessageRegistry", 23 1, 24 19, 25 0, 26 "Base Message Registry", 27 "en", 28 "This registry defines the base messages for Redfish.", 29 "Base", 30 "DMTF", 31 }; 32 constexpr const char* url = 33 "https://redfish.dmtf.org/registries/Base.1.19.0.json"; 34 35 constexpr std::array registry = 36 { 37 MessageEntry{ 38 "AccessDenied", 39 { 40 "Indicates that while attempting to access, connect to, or transfer to or from another resource, the service denied access.", 41 "While attempting to establish a connection to '%1', the service denied access.", 42 "Critical", 43 1, 44 { 45 "string", 46 }, 47 "Attempt to ensure that the URI is correct and that the service has the appropriate credentials.", 48 }}, 49 MessageEntry{ 50 "AccountForSessionNoLongerExists", 51 { 52 "Indicates that the account for the session was removed, and so the session was removed as well.", 53 "The account for the current session was removed, and so the current session was removed as well.", 54 "OK", 55 0, 56 {}, 57 "Attempt to connect with a valid account.", 58 }}, 59 MessageEntry{ 60 "AccountModified", 61 { 62 "Indicates that the account was successfully modified.", 63 "The account was successfully modified.", 64 "OK", 65 0, 66 {}, 67 "None.", 68 }}, 69 MessageEntry{ 70 "AccountNotModified", 71 { 72 "Indicates that the modification requested for the account was not successful.", 73 "The account modification request failed.", 74 "Warning", 75 0, 76 {}, 77 "The modification may have failed due to permission issues or issues with the request body.", 78 }}, 79 MessageEntry{ 80 "AccountRemoved", 81 { 82 "Indicates that the account was successfully removed.", 83 "The account was successfully removed.", 84 "OK", 85 0, 86 {}, 87 "None.", 88 }}, 89 MessageEntry{ 90 "ActionDeprecated", 91 { 92 "Indicates the action is deprecated.", 93 "The action %1 is deprecated.", 94 "Warning", 95 1, 96 { 97 "string", 98 }, 99 "Refer to the schema guide for more information.", 100 }}, 101 MessageEntry{ 102 "ActionNotSupported", 103 { 104 "Indicates that the action supplied with the `POST` operation is not supported by the resource.", 105 "The action %1 is not supported by the resource.", 106 "Critical", 107 1, 108 { 109 "string", 110 }, 111 "Check the Actions property in the resource for the supported actions.", 112 }}, 113 MessageEntry{ 114 "ActionParameterDuplicate", 115 { 116 "Indicates that the action was supplied with a duplicated action parameter in the request body.", 117 "The action %1 was submitted with more than one value for the parameter %2.", 118 "Warning", 119 2, 120 { 121 "string", 122 "string", 123 }, 124 "Resubmit the action with only one instance of the action parameter in the request body if the operation failed.", 125 }}, 126 MessageEntry{ 127 "ActionParameterMissing", 128 { 129 "Indicates that the action requested was missing an action parameter that is required to process the action.", 130 "The action %1 requires the parameter %2 to be present in the request body.", 131 "Critical", 132 2, 133 { 134 "string", 135 "string", 136 }, 137 "Supply the action with the required parameter in the request body when the request is resubmitted.", 138 }}, 139 MessageEntry{ 140 "ActionParameterNotSupported", 141 { 142 "Indicates that the parameter supplied for the action is not supported on the resource.", 143 "The parameter %1 for the action %2 is not supported on the target resource.", 144 "Warning", 145 2, 146 { 147 "string", 148 "string", 149 }, 150 "Remove the parameter supplied and resubmit the request if the operation failed.", 151 }}, 152 MessageEntry{ 153 "ActionParameterUnknown", 154 { 155 "Indicates that an action was submitted but an action parameter supplied did not match any of the known parameters.", 156 "The action %1 was submitted with the invalid parameter %2.", 157 "Warning", 158 2, 159 { 160 "string", 161 "string", 162 }, 163 "Correct the invalid action parameter and resubmit the request if the operation failed.", 164 }}, 165 MessageEntry{ 166 "ActionParameterValueConflict", 167 { 168 "Indicates that the requested parameter value could not be completed because of a mismatch with other parameters or properties in the resource.", 169 "The parameter '%1' with the requested value of '%2' does not meet the constraints of the implementation.", 170 "Warning", 171 2, 172 { 173 "string", 174 "string", 175 }, 176 "None.", 177 }}, 178 MessageEntry{ 179 "ActionParameterValueError", 180 { 181 "Indicates that a parameter was given an invalid value.", 182 "The value for the parameter %1 in the action %2 is invalid.", 183 "Warning", 184 2, 185 { 186 "string", 187 "string", 188 }, 189 "Correct the value for the parameter in the request body and resubmit the request if the operation failed.", 190 }}, 191 MessageEntry{ 192 "ActionParameterValueFormatError", 193 { 194 "Indicates that a parameter was given the correct value type but the format of the value is not supported.", 195 "The value '%1' for the parameter %2 in the action %3 is not a format that the parameter can accept.", 196 "Warning", 197 3, 198 { 199 "string", 200 "string", 201 "string", 202 }, 203 "Correct the value for the parameter in the request body and resubmit the request if the operation failed.", 204 }}, 205 MessageEntry{ 206 "ActionParameterValueNotInList", 207 { 208 "Indicates that a parameter was given the correct value type but the value of that parameter was not supported. The value is not in an enumeration.", 209 "The value '%1' for the parameter %2 in the action %3 is not in the list of acceptable values.", 210 "Warning", 211 3, 212 { 213 "string", 214 "string", 215 "string", 216 }, 217 "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.", 218 }}, 219 MessageEntry{ 220 "ActionParameterValueOutOfRange", 221 { 222 "Indicates that a parameter was given the correct value type but the value of that parameter is outside the supported range.", 223 "The value '%1' for the parameter %2 in the action %3 is not in the supported range of acceptable values.", 224 "Warning", 225 3, 226 { 227 "string", 228 "string", 229 "string", 230 }, 231 "Correct the value for the parameter in the request body and resubmit the request if the operation failed.", 232 }}, 233 MessageEntry{ 234 "ActionParameterValueTypeError", 235 { 236 "Indicates that a parameter was given the wrong value type, such as when a number is supplied for a parameter that requires a string.", 237 "The value '%1' for the parameter %2 in the action %3 is not a type that the parameter can accept.", 238 "Warning", 239 3, 240 { 241 "string", 242 "string", 243 "string", 244 }, 245 "Correct the value for the parameter in the request body and resubmit the request if the operation failed.", 246 }}, 247 MessageEntry{ 248 "ArraySizeTooLong", 249 { 250 "Indicates that the size of the array exceeded the maximum number of elements.", 251 "The array provided for property %1 exceeds the size limit %2.", 252 "Warning", 253 2, 254 { 255 "string", 256 "number", 257 }, 258 "Resubmit the request with an appropriate array size.", 259 }}, 260 MessageEntry{ 261 "ArraySizeTooShort", 262 { 263 "Indicates that the size of the array is less than the minimum number of elements.", 264 "The array provided for property %1 is under the minimum size limit %2.", 265 "Warning", 266 2, 267 { 268 "string", 269 "number", 270 }, 271 "Resubmit the request with an appropriate array size.", 272 }}, 273 MessageEntry{ 274 "AuthenticationTokenRequired", 275 { 276 "Indicates that the request could not be performed because an authentication token was not provided.", 277 "The request could not be performed because an authentication token was not provided.", 278 "Critical", 279 0, 280 {}, 281 "Obtain an authentication token and resubmit the request.", 282 }}, 283 MessageEntry{ 284 "ChassisPowerStateOffRequired", 285 { 286 "Indicates that the request requires a specified chassis to be powered off.", 287 "The chassis with Id '%1' is required to be powered off to perform this request.", 288 "Warning", 289 1, 290 { 291 "string", 292 }, 293 "Power off the specified chassis and resubmit the request.", 294 }}, 295 MessageEntry{ 296 "ChassisPowerStateOnRequired", 297 { 298 "Indicates that the request requires a specified chassis to be powered on.", 299 "The chassis with Id '%1' is required to be powered on to perform this request.", 300 "Warning", 301 1, 302 { 303 "string", 304 }, 305 "Power on the specified chassis and resubmit the request.", 306 }}, 307 MessageEntry{ 308 "ConditionInRelatedResource", 309 { 310 "Indicates that one or more fault or error conditions exist in a related resource.", 311 "One or more conditions exist in a related resource. See the OriginOfCondition property.", 312 "Warning", 313 0, 314 {}, 315 "Check the Conditions array in the resource shown in the OriginOfCondition property to determine the conditions that need attention.", 316 }}, 317 MessageEntry{ 318 "CouldNotEstablishConnection", 319 { 320 "Indicates that the attempt to access the resource, file, or image at the URI was unsuccessful because a session could not be established.", 321 "The service failed to establish a connection with the URI '%1'.", 322 "Critical", 323 1, 324 { 325 "string", 326 }, 327 "Ensure that the URI contains a valid and reachable node name, protocol information, and other URI components.", 328 }}, 329 MessageEntry{ 330 "CreateFailedMissingReqProperties", 331 { 332 "Indicates that a create operation was attempted on a resource but that properties that are required for the create operation were missing from the request.", 333 "The create operation failed because the required property %1 was missing from the request.", 334 "Critical", 335 1, 336 { 337 "string", 338 }, 339 "Correct the body to include the required property with a valid value and resubmit the request if the operation failed.", 340 }}, 341 MessageEntry{ 342 "CreateLimitReachedForResource", 343 { 344 "Indicates that no more resources can be created on the resource as it has reached its create limit.", 345 "The create operation failed because the resource has reached the limit of possible resources.", 346 "Critical", 347 0, 348 {}, 349 "Either delete resources and resubmit the request if the operation failed or do not resubmit the request.", 350 }}, 351 MessageEntry{ 352 "Created", 353 { 354 "Indicates that all conditions of a successful create operation were met.", 355 "The resource was created successfully.", 356 "OK", 357 0, 358 {}, 359 "None.", 360 }}, 361 MessageEntry{ 362 "EmptyJSON", 363 { 364 "Indicates that the request body contained an empty JSON object when one or more properties are expected in the body.", 365 "The request body submitted contained an empty JSON object and the service is unable to process it.", 366 "Warning", 367 0, 368 {}, 369 "Add properties in the JSON object and resubmit the request.", 370 }}, 371 MessageEntry{ 372 "EventBufferExceeded", 373 { 374 "Indicates undelivered events may have been lost due to a lack of buffer space in the service.", 375 "Undelivered events may have been lost due to exceeding the event buffer.", 376 "Warning", 377 0, 378 {}, 379 "None.", 380 }}, 381 MessageEntry{ 382 "EventSubscriptionLimitExceeded", 383 { 384 "Indicates that an event subscription establishment was requested but the operation failed due to the number of simultaneous connections exceeding the limit of the implementation.", 385 "The event subscription failed due to the number of simultaneous subscriptions exceeding the limit of the implementation.", 386 "Critical", 387 0, 388 {}, 389 "Reduce the number of other subscriptions before trying to establish the event subscription or increase the limit of simultaneous subscriptions, if supported.", 390 }}, 391 MessageEntry{ 392 "GeneralError", 393 { 394 "Indicates that a general error has occurred. Use in `@Message.ExtendedInfo` is discouraged. When used in `@Message.ExtendedInfo`, implementations are expected to include a `Resolution` property with this message and provide a service-defined resolution to indicate how to resolve the error.", 395 "A general error has occurred. See Resolution for information on how to resolve the error, or @Message.ExtendedInfo if Resolution is not provided.", 396 "Critical", 397 0, 398 {}, 399 "None.", 400 }}, 401 MessageEntry{ 402 "GenerateSecretKeyRequired", 403 { 404 "Indicates that the Time-based One-Time Password (TOTP) secret key needs to be generated for the account before accessing the service. The secret key can be generated with a `POST` to the `GenerateSecretKey` action for the `ManagerAccount` resource instance.", 405 "The Time-based One-Time Password (TOTP) secret key for this account must be generated before access is granted. Perform the GenerateSecretKey action at URI '%1' and retain the secret key from the response.", 406 "Critical", 407 1, 408 { 409 "string", 410 }, 411 "Generate secret key for this account by performing the `GenerateSecretKey` action on the referenced URI and retaining the secret key from the action response to produce a Time-based One-Time Password (TOTP) for the `Token` property in future session creation requests.", 412 }}, 413 MessageEntry{ 414 "HeaderInvalid", 415 { 416 "Indicates that a request header is invalid.", 417 "Header '%1' is invalid.", 418 "Critical", 419 1, 420 { 421 "string", 422 }, 423 "Resubmit the request with a valid request header.", 424 }}, 425 MessageEntry{ 426 "HeaderMissing", 427 { 428 "Indicates that a required request header is missing.", 429 "Required header '%1' is missing in the request.", 430 "Critical", 431 1, 432 { 433 "string", 434 }, 435 "Resubmit the request with the required request header.", 436 }}, 437 MessageEntry{ 438 "InsufficientPrivilege", 439 { 440 "Indicates that the credentials associated with the established session do not have sufficient privileges for the requested operation.", 441 "There are insufficient privileges for the account or credentials associated with the current session to perform the requested operation.", 442 "Critical", 443 0, 444 {}, 445 "Either abandon the operation or change the associated access rights and resubmit the request if the operation failed.", 446 }}, 447 MessageEntry{ 448 "InsufficientStorage", 449 { 450 "Indicates that the operation could not be completed due to a lack of storage or memory available to the service.", 451 "Insufficient storage or memory available to complete the request.", 452 "Critical", 453 0, 454 {}, 455 "Increase the free storage space available to the service and resubmit the request.", 456 }}, 457 MessageEntry{ 458 "InternalError", 459 { 460 "Indicates that the request failed for an unknown internal error but that the service is still operational.", 461 "The request failed due to an internal service error. The service is still operational.", 462 "Critical", 463 0, 464 {}, 465 "Resubmit the request. If the problem persists, consider resetting the service.", 466 }}, 467 MessageEntry{ 468 "InvalidIndex", 469 { 470 "The index is not valid.", 471 "The index %1 is not a valid offset into the array.", 472 "Warning", 473 1, 474 { 475 "number", 476 }, 477 "Verify the index value provided is within the bounds of the array.", 478 }}, 479 MessageEntry{ 480 "InvalidJSON", 481 { 482 "Indicates that the request body contains invalid JSON.", 483 "The request body submitted is invalid JSON starting at line %1 and could not be parsed by the receiving service.", 484 "Critical", 485 1, 486 { 487 "number", 488 }, 489 "Ensure that the request body is valid JSON and resubmit the request.", 490 }}, 491 MessageEntry{ 492 "InvalidObject", 493 { 494 "Indicates that the object in question is invalid according to the implementation. An example is a firmware update malformed URI.", 495 "The object at '%1' is invalid.", 496 "Critical", 497 1, 498 { 499 "string", 500 }, 501 "Either the object is malformed or the URI is not correct. Correct the condition and resubmit the request if it failed.", 502 }}, 503 MessageEntry{ 504 "InvalidURI", 505 { 506 "Indicates that the operation encountered a URI that does not correspond to a valid resource.", 507 "The URI %1 was not found.", 508 "Critical", 509 1, 510 { 511 "string", 512 }, 513 "Provide a valid URI and resubmit the request.", 514 }}, 515 MessageEntry{ 516 "LicenseRequired", 517 { 518 "Indicates that a license is required to perform the requested operation.", 519 "A license is required for this operation: %1.", 520 "Critical", 521 1, 522 { 523 "string", 524 }, 525 "Install the requested license and resubmit the request.", 526 }}, 527 MessageEntry{ 528 "MalformedJSON", 529 { 530 "Indicates that the request body was malformed JSON.", 531 "The request body submitted was malformed JSON and could not be parsed by the receiving service.", 532 "Critical", 533 0, 534 {}, 535 "Ensure that the request body is valid JSON and resubmit the request.", 536 }}, 537 MessageEntry{ 538 "MaximumErrorsExceeded", 539 { 540 "Indicates that so many errors have occurred that the reporting service cannot return them all.", 541 "Too many errors have occurred to report them all.", 542 "Critical", 543 0, 544 {}, 545 "Resolve other reported errors and retry the current operation.", 546 }}, 547 MessageEntry{ 548 "MissingOrMalformedPart", 549 { 550 "Indicates that a multipart request is missing a required part or contains malformed parts.", 551 "The multipart request contains malformed parts or is missing required parts.", 552 "Critical", 553 0, 554 {}, 555 "Add any missing required parts or correct the malformed parts and resubmit the request.", 556 }}, 557 MessageEntry{ 558 "NetworkNameResolutionNotConfigured", 559 { 560 "Indicates that network-based name resolution is not configured on the service.", 561 "Network name resolution is not configured on this service.", 562 "Warning", 563 0, 564 {}, 565 "Configure the network-based name resolution protocol support on this service, or update any URI values to include an IP address instead of a network name and resubmit the request.", 566 }}, 567 MessageEntry{ 568 "NetworkNameResolutionNotSupported", 569 { 570 "Indicates the service does not support network-based name resolution.", 571 "Resolution of network-based names is not supported by this service.", 572 "Warning", 573 0, 574 {}, 575 "Update any URI values to include an IP address instead of a network name and resubmit the request.", 576 }}, 577 MessageEntry{ 578 "NoOperation", 579 { 580 "Indicates that the requested operation will not perform any changes on the service.", 581 "The request body submitted contain no data to act upon and no changes to the resource took place.", 582 "Warning", 583 0, 584 {}, 585 "Add properties in the JSON object and resubmit the request.", 586 }}, 587 MessageEntry{ 588 "NoValidSession", 589 { 590 "Indicates that the operation failed because a valid session is required in order to access any resources.", 591 "There is no valid session established with the implementation.", 592 "Critical", 593 0, 594 {}, 595 "Establish a session before attempting any operations.", 596 }}, 597 MessageEntry{ 598 "OneTimePasscodeSent", 599 { 600 "Indicates that a required one-time passcode was sent to the user. The code should be provided as the Token property in the request to create a session.", 601 "A one-time passcode was sent to: %1. Supply the passcode as the `Token` property in the request to create a session.", 602 "OK", 603 1, 604 { 605 "string", 606 }, 607 "Obtain the one-time passcode sent to the delivery address and resubmit the request using the passcode as the `Token` property.", 608 }}, 609 MessageEntry{ 610 "OperationFailed", 611 { 612 "Indicates that one of the internal operations necessary to complete the request failed. An example of this is when an internal service provider is unable to complete the request, such as in aggregation or RDE.", 613 "An error occurred internal to the service as part of the overall request. Partial results may have been returned.", 614 "Warning", 615 0, 616 {}, 617 "Resubmit the request. If the problem persists, consider resetting the service or provider.", 618 }}, 619 MessageEntry{ 620 "OperationNotAllowed", 621 { 622 "Indicates that the HTTP method in the request is not allowed on this resource.", 623 "The HTTP method is not allowed on this resource.", 624 "Critical", 625 0, 626 {}, 627 "None.", 628 }}, 629 MessageEntry{ 630 "OperationTimeout", 631 { 632 "Indicates that one of the internal operations necessary to complete the request timed out. An example of this is when an internal service provider is unable to complete the request, such as in aggregation or RDE.", 633 "A timeout internal to the service occurred as part of the request. Partial results may have been returned.", 634 "Warning", 635 0, 636 {}, 637 "Resubmit the request. If the problem persists, consider resetting the service or provider.", 638 }}, 639 MessageEntry{ 640 "PasswordChangeRequired", 641 { 642 "Indicates that the password for the account provided must be changed before accessing the service. The password can be changed with a `PATCH` to the `Password` property in the manager account resource instance. Implementations that provide a default password for an account may require a password change prior to first access to the service.", 643 "The password provided for this account must be changed before access is granted. PATCH the Password property for this account located at the target URI '%1' to complete this process.", 644 "Critical", 645 1, 646 { 647 "string", 648 }, 649 "Change the password for this account using a PATCH to the Password property at the URI provided.", 650 }}, 651 MessageEntry{ 652 "PayloadTooLarge", 653 { 654 "Indicates that the supplied payload is too large to be accepted by the service.", 655 "The supplied payload exceeds the maximum size supported by the service.", 656 "Critical", 657 0, 658 {}, 659 "Check that the supplied payload is correct and supported by this service.", 660 }}, 661 MessageEntry{ 662 "PreconditionFailed", 663 { 664 "Indicates that the ETag supplied did not match the current ETag of the resource.", 665 "The ETag supplied did not match the ETag required to change this resource.", 666 "Critical", 667 0, 668 {}, 669 "Try the operation again using the appropriate ETag.", 670 }}, 671 MessageEntry{ 672 "PreconditionRequired", 673 { 674 "Indicates that the request did not provide the required precondition such as an `If-Match` or `If-None-Match` header or `@odata.etag` annotations.", 675 "A precondition header or annotation is required to change this resource.", 676 "Critical", 677 0, 678 {}, 679 "Try the operation again using an If-Match or If-None-Match header and appropriate ETag.", 680 }}, 681 MessageEntry{ 682 "PropertyDeprecated", 683 { 684 "Indicates the property is deprecated.", 685 "The deprecated property %1 was included in the request body.", 686 "Warning", 687 1, 688 { 689 "string", 690 }, 691 "Refer to the schema guide for more information.", 692 }}, 693 MessageEntry{ 694 "PropertyDuplicate", 695 { 696 "Indicates that a duplicate property was included in the request body.", 697 "The property %1 was duplicated in the request.", 698 "Warning", 699 1, 700 { 701 "string", 702 }, 703 "Remove the duplicate property from the request body and resubmit the request if the operation failed.", 704 }}, 705 MessageEntry{ 706 "PropertyMissing", 707 { 708 "Indicates that a required property was not supplied as part of the request.", 709 "The property %1 is a required property and must be included in the request.", 710 "Warning", 711 1, 712 { 713 "string", 714 }, 715 "Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.", 716 }}, 717 MessageEntry{ 718 "PropertyModified", 719 { 720 "Indicates that all properties listed in `RelatedProperties` in the message were successfully modified.", 721 "One or more properties were successfully modified.", 722 "OK", 723 0, 724 {}, 725 "None.", 726 }}, 727 MessageEntry{ 728 "PropertyNotUpdated", 729 { 730 "Indicates that a property was not updated due to an internal service error, but the service is still functional.", 731 "The property %1 was not updated due to an internal service error. The service is still operational.", 732 "Critical", 733 1, 734 { 735 "string", 736 }, 737 "Resubmit the request. If the problem persists, check for additional messages and consider resetting the service.", 738 }}, 739 MessageEntry{ 740 "PropertyNotWritable", 741 { 742 "Indicates that a property was given a value in the request body, but the property is a read-only property.", 743 "The property %1 is a read-only property and cannot be assigned a value.", 744 "Warning", 745 1, 746 { 747 "string", 748 }, 749 "Remove the property from the request body and resubmit the request if the operation failed.", 750 }}, 751 MessageEntry{ 752 "PropertyUnknown", 753 { 754 "Indicates that an unknown property was included in the request body.", 755 "The property %1 is not in the list of valid properties for the resource.", 756 "Warning", 757 1, 758 { 759 "string", 760 }, 761 "Remove the unknown property from the request body and resubmit the request if the operation failed.", 762 }}, 763 MessageEntry{ 764 "PropertyValueConflict", 765 { 766 "Indicates that the requested write of a property value could not be completed because of a conflict with another property value.", 767 "The property '%1' could not be written because its value would conflict with the value of the '%2' property.", 768 "Warning", 769 2, 770 { 771 "string", 772 "string", 773 }, 774 "None.", 775 }}, 776 MessageEntry{ 777 "PropertyValueDeprecated", 778 { 779 "Indicates that a property was given a deprecated value.", 780 "The value '%1' for the property %2 is deprecated.", 781 "Warning", 782 2, 783 { 784 "string", 785 "string", 786 }, 787 "Refer to the schema guide for more information.", 788 }}, 789 MessageEntry{ 790 "PropertyValueError", 791 { 792 "Indicates that a property was given an invalid value.", 793 "The value provided for the property %1 is not valid.", 794 "Warning", 795 1, 796 { 797 "string", 798 }, 799 "Correct the value for the property in the request body and resubmit the request if the operation failed.", 800 }}, 801 MessageEntry{ 802 "PropertyValueExternalConflict", 803 { 804 "Indicates that the requested write of a property value could not be completed due to the current state or configuration of the resource. This can include configuration conflicts with other resources or parameters that are not exposed by this interface.", 805 "The property '%1' with the requested value of '%2' could not be written because the value is not available due to a configuration conflict.", 806 "Warning", 807 2, 808 { 809 "string", 810 "string", 811 }, 812 "None.", 813 }}, 814 MessageEntry{ 815 "PropertyValueFormatError", 816 { 817 "Indicates that a property was given the correct value type but the format of the value is not supported.", 818 "The value '%1' for the property %2 is not a format that the property can accept.", 819 "Warning", 820 2, 821 { 822 "string", 823 "string", 824 }, 825 "Correct the value for the property in the request body and resubmit the request if the operation failed.", 826 }}, 827 MessageEntry{ 828 "PropertyValueIncorrect", 829 { 830 "Indicates that the requested write of a property value could not be completed because of an incorrect value of the property. Examples include values that do not match a regular expression requirement or passwords that do not match the implementation constraints.", 831 "The property '%1' with the requested value of '%2' could not be written because the value does not meet the constraints of the implementation.", 832 "Warning", 833 2, 834 { 835 "string", 836 "string", 837 }, 838 "None.", 839 }}, 840 MessageEntry{ 841 "PropertyValueModified", 842 { 843 "Indicates that a property was given the correct value type but the value of that property was modified. Examples are truncated or rounded values.", 844 "The property %1 was assigned the value '%2' due to modification by the service.", 845 "Warning", 846 2, 847 { 848 "string", 849 "string", 850 }, 851 "None.", 852 }}, 853 MessageEntry{ 854 "PropertyValueNotInList", 855 { 856 "Indicates that a property was given the correct value type but the value of that property was not supported. The value is not in an enumeration.", 857 "The value '%1' for the property %2 is not in the list of acceptable values.", 858 "Warning", 859 2, 860 { 861 "string", 862 "string", 863 }, 864 "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.", 865 }}, 866 MessageEntry{ 867 "PropertyValueOutOfRange", 868 { 869 "Indicates that a property was given the correct value type but the value of that property is outside the supported range.", 870 "The value '%1' for the property %2 is not in the supported range of acceptable values.", 871 "Warning", 872 2, 873 { 874 "string", 875 "string", 876 }, 877 "Correct the value for the property in the request body and resubmit the request if the operation failed.", 878 }}, 879 MessageEntry{ 880 "PropertyValueResourceConflict", 881 { 882 "Indicates that the requested write of a property value could not be completed due to the current state or configuration of another resource.", 883 "The property '%1' with the requested value of '%2' could not be written because the value conflicts with the state or configuration of the resource at '%3'.", 884 "Warning", 885 3, 886 { 887 "string", 888 "string", 889 "string", 890 }, 891 "None.", 892 }}, 893 MessageEntry{ 894 "PropertyValueTypeError", 895 { 896 "Indicates that a property was given the wrong value type, such as when a number is supplied for a property that requires a string.", 897 "The value '%1' for the property %2 is not a type that the property can accept.", 898 "Warning", 899 2, 900 { 901 "string", 902 "string", 903 }, 904 "Correct the value for the property in the request body and resubmit the request if the operation failed.", 905 }}, 906 MessageEntry{ 907 "QueryCombinationInvalid", 908 { 909 "Indicates the request contains multiple query parameters and that two or more of them cannot be used together.", 910 "Two or more query parameters in the request cannot be used together.", 911 "Warning", 912 0, 913 {}, 914 "Remove one or more of the query parameters and resubmit the request if the operation failed.", 915 }}, 916 MessageEntry{ 917 "QueryNotSupported", 918 { 919 "Indicates that query is not supported on the implementation.", 920 "Querying is not supported by the implementation.", 921 "Warning", 922 0, 923 {}, 924 "Remove the query parameters and resubmit the request if the operation failed.", 925 }}, 926 MessageEntry{ 927 "QueryNotSupportedOnOperation", 928 { 929 "Indicates that query is not supported with the given operation, such as when the `$expand` query is attempted with a `PATCH` operation.", 930 "Querying is not supported with the requested operation.", 931 "Warning", 932 0, 933 {}, 934 "Remove the query parameters and resubmit the request if the operation failed.", 935 }}, 936 MessageEntry{ 937 "QueryNotSupportedOnResource", 938 { 939 "Indicates that query is not supported on the given resource, such as when the `$skip` query is attempted on a resource that is not a collection.", 940 "Querying is not supported on the requested resource.", 941 "Warning", 942 0, 943 {}, 944 "Remove the query parameters and resubmit the request if the operation failed.", 945 }}, 946 MessageEntry{ 947 "QueryParameterOutOfRange", 948 { 949 "Indicates that a query parameter was provided that is out of range for the given resource. This can happen with values that are too low or that exceed what is possible for the supplied resource, such as when a page is requested that is beyond the last page.", 950 "The value '%1' for the query parameter %2 is out of range %3.", 951 "Warning", 952 3, 953 { 954 "string", 955 "string", 956 "string", 957 }, 958 "Reduce the value for the query parameter to a value that is within range, such as a start or count value that is within bounds of the number of resources in a collection or a page number that is within the range of valid pages.", 959 }}, 960 MessageEntry{ 961 "QueryParameterUnsupported", 962 { 963 "Indicates that a query parameter is not supported.", 964 "Query parameter '%1' is not supported.", 965 "Warning", 966 1, 967 { 968 "string", 969 }, 970 "Correct or remove the query parameter and resubmit the request.", 971 }}, 972 MessageEntry{ 973 "QueryParameterValueError", 974 { 975 "Indicates that a query parameter was given an invalid value.", 976 "The value for the parameter %1 is invalid.", 977 "Warning", 978 1, 979 { 980 "string", 981 }, 982 "Correct the value for the query parameter in the request and resubmit the request if the operation failed.", 983 }}, 984 MessageEntry{ 985 "QueryParameterValueFormatError", 986 { 987 "Indicates that a query parameter was given the correct value type but the format of the value is not supported.", 988 "The value '%1' for the parameter %2 is not a format that the parameter can accept.", 989 "Warning", 990 2, 991 { 992 "string", 993 "string", 994 }, 995 "Correct the value for the query parameter in the request and resubmit the request if the operation failed.", 996 }}, 997 MessageEntry{ 998 "QueryParameterValueTypeError", 999 { 1000 "Indicates that a query parameter was given the wrong value type, such as when a number is supplied for a query parameter that requires a string.", 1001 "The value '%1' for the query parameter %2 is not a type that the parameter can accept.", 1002 "Warning", 1003 2, 1004 { 1005 "string", 1006 "string", 1007 }, 1008 "Correct the value for the query parameter in the request and resubmit the request if the operation failed.", 1009 }}, 1010 MessageEntry{ 1011 "ResetRecommended", 1012 { 1013 "Indicates that a component reset is recommended for error recovery while unaffected applications can continue running without any effect on accuracy and performance.", 1014 "In order to recover from errors, a component reset is recommended with the Reset action URI '%1' and ResetType '%2'.", 1015 "Warning", 1016 2, 1017 { 1018 "string", 1019 "string", 1020 }, 1021 "Perform the recommended reset action on the specified component.", 1022 }}, 1023 MessageEntry{ 1024 "ResetRequired", 1025 { 1026 "Indicates that a component reset is required for changes, error recovery, or operations to complete.", 1027 "In order to apply changes, recover from errors, or complete the operation, a component reset is required with the Reset action URI '%1' and ResetType '%2'.", 1028 "Warning", 1029 2, 1030 { 1031 "string", 1032 "string", 1033 }, 1034 "Perform the required reset action on the specified component.", 1035 }}, 1036 MessageEntry{ 1037 "ResourceAlreadyExists", 1038 { 1039 "Indicates that a resource change or creation was attempted but that the operation cannot proceed because the resource already exists.", 1040 "The requested resource of type %1 with the property %2 with the value '%3' already exists.", 1041 "Critical", 1042 3, 1043 { 1044 "string", 1045 "string", 1046 "string", 1047 }, 1048 "Do not repeat the create operation as the resource was already created.", 1049 }}, 1050 MessageEntry{ 1051 "ResourceAtUriInUnknownFormat", 1052 { 1053 "Indicates that the URI was valid but the resource or image at that URI was in a format not supported by the service.", 1054 "The resource at '%1' is in a format not recognized by the service.", 1055 "Critical", 1056 1, 1057 { 1058 "string", 1059 }, 1060 "Place an image or resource or file that is recognized by the service at the URI.", 1061 }}, 1062 MessageEntry{ 1063 "ResourceAtUriUnauthorized", 1064 { 1065 "Indicates that the attempt to access the resource, file, or image at the URI was unauthorized.", 1066 "While accessing the resource at '%1', the service received an authorization error '%2'.", 1067 "Critical", 1068 2, 1069 { 1070 "string", 1071 "string", 1072 }, 1073 "Ensure that the appropriate access is provided for the service in order for it to access the URI.", 1074 }}, 1075 MessageEntry{ 1076 "ResourceCannotBeDeleted", 1077 { 1078 "Indicates that a delete operation was attempted on a resource that cannot be deleted.", 1079 "The delete request failed because the resource requested cannot be deleted.", 1080 "Critical", 1081 0, 1082 {}, 1083 "Do not attempt to delete a non-deletable resource.", 1084 }}, 1085 MessageEntry{ 1086 "ResourceCreationConflict", 1087 { 1088 "Indicates that the requested resource creation could not be completed because the service has a resource that conflicts with the request.", 1089 "The resource could not be created. The service has a resource at URI '%1' that conflicts with the creation request.", 1090 "Warning", 1091 1, 1092 { 1093 "string", 1094 }, 1095 "None.", 1096 }}, 1097 MessageEntry{ 1098 "ResourceDeprecated", 1099 { 1100 "Indicates the resource is deprecated.", 1101 "The operation was performed on a deprecated resource '%1'.", 1102 "Warning", 1103 1, 1104 { 1105 "string", 1106 }, 1107 "Refer to the schema guide for more information.", 1108 }}, 1109 MessageEntry{ 1110 "ResourceExhaustion", 1111 { 1112 "Indicates that a resource could not satisfy the request due to some unavailability of resources. An example is that available capacity was allocated.", 1113 "The resource '%1' was unable to satisfy the request due to unavailability of resources.", 1114 "Critical", 1115 1, 1116 { 1117 "string", 1118 }, 1119 "Ensure that the resources are available and resubmit the request.", 1120 }}, 1121 MessageEntry{ 1122 "ResourceInStandby", 1123 { 1124 "Indicates that the request could not be performed because the resource is in standby.", 1125 "The request could not be performed because the resource is in standby.", 1126 "Critical", 1127 0, 1128 {}, 1129 "Ensure that the resource is in the correct power state and resubmit the request.", 1130 }}, 1131 MessageEntry{ 1132 "ResourceInUse", 1133 { 1134 "Indicates that a change was requested to a resource but the change was rejected due to the resource being in use or transition.", 1135 "The change to the requested resource failed because the resource is in use or in transition.", 1136 "Warning", 1137 0, 1138 {}, 1139 "Remove the condition and resubmit the request if the operation failed.", 1140 }}, 1141 MessageEntry{ 1142 "ResourceMissingAtURI", 1143 { 1144 "Indicates that the operation expected an image or other resource at the provided URI but none was found. Examples of this are in requests that require URIs such as firmware updates.", 1145 "The resource at the URI '%1' was not found.", 1146 "Critical", 1147 1, 1148 { 1149 "string", 1150 }, 1151 "Place a valid resource at the URI or correct the URI and resubmit the request.", 1152 }}, 1153 MessageEntry{ 1154 "ResourceNotFound", 1155 { 1156 "Indicates that the operation expected a resource identifier that corresponds to an existing resource but one was not found.", 1157 "The requested resource of type %1 named '%2' was not found.", 1158 "Critical", 1159 2, 1160 { 1161 "string", 1162 "string", 1163 }, 1164 "Provide a valid resource identifier and resubmit the request.", 1165 }}, 1166 MessageEntry{ 1167 "ResourceTypeIncompatible", 1168 { 1169 "Indicates that the resource type of the operation does not match that of the operation destination. Examples of this are a `POST` to a resource collection using the wrong resource type, an update where the `@odata.type` properties do not match, or a case of major version incompatibility.", 1170 "The @odata.type of the request body %1 is incompatible with the @odata.type of the resource, which is %2.", 1171 "Critical", 1172 2, 1173 { 1174 "string", 1175 "string", 1176 }, 1177 "Resubmit the request with a payload compatible with the resource's schema.", 1178 }}, 1179 MessageEntry{ 1180 "RestrictedPrivilege", 1181 { 1182 "Indicates that the operation was not successful because a privilege is restricted.", 1183 "The operation was not successful because the privilege '%1' is restricted.", 1184 "Warning", 1185 1, 1186 { 1187 "string", 1188 }, 1189 "Remove restricted privileges from the request body and resubmit the request.", 1190 }}, 1191 MessageEntry{ 1192 "RestrictedRole", 1193 { 1194 "Indicates that the operation was not successful because the role is restricted.", 1195 "The operation was not successful because the role '%1' is restricted.", 1196 "Warning", 1197 1, 1198 { 1199 "string", 1200 }, 1201 "No resolution is required. For standard roles, consider using the role specified in the AlternateRoleId property in the Role resource.", 1202 }}, 1203 MessageEntry{ 1204 "ServiceDisabled", 1205 { 1206 "Indicates that the operation failed because the service, such as the account service, is disabled and cannot accept requests.", 1207 "The operation failed because the service at %1 is disabled and cannot accept requests.", 1208 "Warning", 1209 1, 1210 { 1211 "string", 1212 }, 1213 "Enable the service and resubmit the request if the operation failed.", 1214 }}, 1215 MessageEntry{ 1216 "ServiceInUnknownState", 1217 { 1218 "Indicates that the operation failed because the service is in an unknown state and cannot accept additional requests.", 1219 "The operation failed because the service is in an unknown state and can no longer take incoming requests.", 1220 "Critical", 1221 0, 1222 {}, 1223 "Restart the service and resubmit the request if the operation failed.", 1224 }}, 1225 MessageEntry{ 1226 "ServiceShuttingDown", 1227 { 1228 "Indicates that the operation failed because the service is shutting down, such as when the service reboots.", 1229 "The operation failed because the service is shutting down and can no longer take incoming requests.", 1230 "Critical", 1231 0, 1232 {}, 1233 "When the service becomes available, resubmit the request if the operation failed.", 1234 }}, 1235 MessageEntry{ 1236 "ServiceTemporarilyUnavailable", 1237 { 1238 "Indicates the service is temporarily unavailable.", 1239 "The service is temporarily unavailable. Retry in %1 seconds.", 1240 "Critical", 1241 1, 1242 { 1243 "string", 1244 }, 1245 "Wait for the indicated retry duration and retry the operation.", 1246 }}, 1247 MessageEntry{ 1248 "SessionLimitExceeded", 1249 { 1250 "Indicates that a session establishment was requested but the operation failed due to the number of simultaneous sessions exceeding the limit of the implementation.", 1251 "The session establishment failed due to the number of simultaneous sessions exceeding the limit of the implementation.", 1252 "Critical", 1253 0, 1254 {}, 1255 "Reduce the number of other sessions before trying to establish the session or increase the limit of simultaneous sessions, if supported.", 1256 }}, 1257 MessageEntry{ 1258 "SessionTerminated", 1259 { 1260 "Indicates that the `DELETE` operation on the session resource resulted in the successful termination of the session.", 1261 "The session was successfully terminated.", 1262 "OK", 1263 0, 1264 {}, 1265 "None.", 1266 }}, 1267 MessageEntry{ 1268 "SourceDoesNotSupportProtocol", 1269 { 1270 "Indicates that while attempting to access, connect to, or transfer a resource, file, or image from another location that the other end of the connection did not support the protocol.", 1271 "The other end of the connection at '%1' does not support the specified protocol %2.", 1272 "Critical", 1273 2, 1274 { 1275 "string", 1276 "string", 1277 }, 1278 "Change protocols or URIs.", 1279 }}, 1280 MessageEntry{ 1281 "StrictAccountTypes", 1282 { 1283 "Indicates the request failed because a set of `AccountTypes` or `OEMAccountTypes` was not accepted while `StrictAccountTypes` is set to `true`.", 1284 "The request could not be fulfilled with the account types included in property '%1' because the property StrictAccountTypes is set to true.", 1285 "Warning", 1286 1, 1287 { 1288 "string", 1289 }, 1290 "Resubmit the request either with an acceptable set of AccountTypes and OEMAccountTypes or with StrictAccountTypes set to false.", 1291 }}, 1292 MessageEntry{ 1293 "StringValueTooLong", 1294 { 1295 "Indicates that a string value passed to the given resource was longer than the maximum allowed length. An example is when an implementation has imposed a shorter maximum length than that allowed by the specification.", 1296 "The string '%1' exceeds the length limit %2.", 1297 "Warning", 1298 2, 1299 { 1300 "string", 1301 "number", 1302 }, 1303 "Resubmit the request with an appropriate string length.", 1304 }}, 1305 MessageEntry{ 1306 "StringValueTooShort", 1307 { 1308 "Indicates that a string value passed to the given resource was shorter than the minimum required length. An example is when an implementation has imposed a greater minimum length than that required by the specification.", 1309 "The string '%1' was under the minimum required length %2.", 1310 "Warning", 1311 2, 1312 { 1313 "string", 1314 "number", 1315 }, 1316 "Resubmit the request with an appropriate string length.", 1317 }}, 1318 MessageEntry{ 1319 "SubscriptionTerminated", 1320 { 1321 "An event subscription was terminated by the service. No further events will be delivered.", 1322 "The event subscription was terminated.", 1323 "OK", 1324 0, 1325 {}, 1326 "None.", 1327 }}, 1328 MessageEntry{ 1329 "Success", 1330 { 1331 "Indicates that all conditions of a successful operation were met.", 1332 "The request completed successfully.", 1333 "OK", 1334 0, 1335 {}, 1336 "None.", 1337 }}, 1338 MessageEntry{ 1339 "UndeterminedFault", 1340 { 1341 "Indicates that a fault or error condition exists but the source of the fault cannot be determined or is unknown to the service.", 1342 "An undetermined fault condition was reported by '%1'.", 1343 "Critical", 1344 1, 1345 { 1346 "string", 1347 }, 1348 "None.", 1349 }}, 1350 MessageEntry{ 1351 "UnrecognizedRequestBody", 1352 { 1353 "Indicates that the service encountered an unrecognizable request body that could not even be interpreted as malformed JSON.", 1354 "The service detected a malformed request body that it was unable to interpret.", 1355 "Warning", 1356 0, 1357 {}, 1358 "Correct the request body and resubmit the request if it failed.", 1359 }}, 1360 1361 }; 1362 1363 enum class Index 1364 { 1365 accessDenied = 0, 1366 accountForSessionNoLongerExists = 1, 1367 accountModified = 2, 1368 accountNotModified = 3, 1369 accountRemoved = 4, 1370 actionDeprecated = 5, 1371 actionNotSupported = 6, 1372 actionParameterDuplicate = 7, 1373 actionParameterMissing = 8, 1374 actionParameterNotSupported = 9, 1375 actionParameterUnknown = 10, 1376 actionParameterValueConflict = 11, 1377 actionParameterValueError = 12, 1378 actionParameterValueFormatError = 13, 1379 actionParameterValueNotInList = 14, 1380 actionParameterValueOutOfRange = 15, 1381 actionParameterValueTypeError = 16, 1382 arraySizeTooLong = 17, 1383 arraySizeTooShort = 18, 1384 authenticationTokenRequired = 19, 1385 chassisPowerStateOffRequired = 20, 1386 chassisPowerStateOnRequired = 21, 1387 conditionInRelatedResource = 22, 1388 couldNotEstablishConnection = 23, 1389 createFailedMissingReqProperties = 24, 1390 createLimitReachedForResource = 25, 1391 created = 26, 1392 emptyJSON = 27, 1393 eventBufferExceeded = 28, 1394 eventSubscriptionLimitExceeded = 29, 1395 generalError = 30, 1396 generateSecretKeyRequired = 31, 1397 headerInvalid = 32, 1398 headerMissing = 33, 1399 insufficientPrivilege = 34, 1400 insufficientStorage = 35, 1401 internalError = 36, 1402 invalidIndex = 37, 1403 invalidJSON = 38, 1404 invalidObject = 39, 1405 invalidURI = 40, 1406 licenseRequired = 41, 1407 malformedJSON = 42, 1408 maximumErrorsExceeded = 43, 1409 missingOrMalformedPart = 44, 1410 networkNameResolutionNotConfigured = 45, 1411 networkNameResolutionNotSupported = 46, 1412 noOperation = 47, 1413 noValidSession = 48, 1414 oneTimePasscodeSent = 49, 1415 operationFailed = 50, 1416 operationNotAllowed = 51, 1417 operationTimeout = 52, 1418 passwordChangeRequired = 53, 1419 payloadTooLarge = 54, 1420 preconditionFailed = 55, 1421 preconditionRequired = 56, 1422 propertyDeprecated = 57, 1423 propertyDuplicate = 58, 1424 propertyMissing = 59, 1425 propertyModified = 60, 1426 propertyNotUpdated = 61, 1427 propertyNotWritable = 62, 1428 propertyUnknown = 63, 1429 propertyValueConflict = 64, 1430 propertyValueDeprecated = 65, 1431 propertyValueError = 66, 1432 propertyValueExternalConflict = 67, 1433 propertyValueFormatError = 68, 1434 propertyValueIncorrect = 69, 1435 propertyValueModified = 70, 1436 propertyValueNotInList = 71, 1437 propertyValueOutOfRange = 72, 1438 propertyValueResourceConflict = 73, 1439 propertyValueTypeError = 74, 1440 queryCombinationInvalid = 75, 1441 queryNotSupported = 76, 1442 queryNotSupportedOnOperation = 77, 1443 queryNotSupportedOnResource = 78, 1444 queryParameterOutOfRange = 79, 1445 queryParameterUnsupported = 80, 1446 queryParameterValueError = 81, 1447 queryParameterValueFormatError = 82, 1448 queryParameterValueTypeError = 83, 1449 resetRecommended = 84, 1450 resetRequired = 85, 1451 resourceAlreadyExists = 86, 1452 resourceAtUriInUnknownFormat = 87, 1453 resourceAtUriUnauthorized = 88, 1454 resourceCannotBeDeleted = 89, 1455 resourceCreationConflict = 90, 1456 resourceDeprecated = 91, 1457 resourceExhaustion = 92, 1458 resourceInStandby = 93, 1459 resourceInUse = 94, 1460 resourceMissingAtURI = 95, 1461 resourceNotFound = 96, 1462 resourceTypeIncompatible = 97, 1463 restrictedPrivilege = 98, 1464 restrictedRole = 99, 1465 serviceDisabled = 100, 1466 serviceInUnknownState = 101, 1467 serviceShuttingDown = 102, 1468 serviceTemporarilyUnavailable = 103, 1469 sessionLimitExceeded = 104, 1470 sessionTerminated = 105, 1471 sourceDoesNotSupportProtocol = 106, 1472 strictAccountTypes = 107, 1473 stringValueTooLong = 108, 1474 stringValueTooShort = 109, 1475 subscriptionTerminated = 110, 1476 success = 111, 1477 undeterminedFault = 112, 1478 unrecognizedRequestBody = 113, 1479 }; 1480 } // namespace redfish::registries::base 1481