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