// Generated by redfish-codegen. Do not modify.
use redfish_macros::IntoRedfishMessage;
/// This registry defines the base messages for Redfish
#[derive(Clone, Debug, IntoRedfishMessage)]
#[message(crate::models::message::v1_1_2::Message)]
pub enum Base {
/// This message shall be used to indicate that a property was not updated due to an internal service error, but the service is still functional.
#[message(message = "The property %1 was not updated due to an internal service error. The service is still operational.")]
#[message(id = "Base.1.16.0.PropertyNotUpdated")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Resubmit the request. If the problem persists, check for additional messages and consider resetting the service.")]
PropertyNotUpdated(
/// This argument shall contain the name of the property.
String,
),
/// This message shall be used to indicate that a session establishment has been requested but the operation failed due to the number of simultaneous sessions exceeding the limit of the implementation.
#[message(message = "The session establishment failed due to the number of simultaneous sessions exceeding the limit of the implementation.")]
#[message(id = "Base.1.16.0.SessionLimitExceeded")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Reduce the number of other sessions before trying to establish the session or increase the limit of simultaneous sessions, if supported.")]
SessionLimitExceeded,
/// This message shall be used to indicate 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.
#[message(message = "The other end of the connection at '%1' does not support the specified protocol %2.")]
#[message(id = "Base.1.16.0.SourceDoesNotSupportProtocol")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Change protocols or URIs.")]
SourceDoesNotSupportProtocol(
/// This argument shall contain the URI provided for this operation.
String,
/// This argument shall contain the name of the protocol requested for this operation.
String,
),
/// This message shall be used to indicate that all conditions of a successful operation have been met.
#[message(message = "The request completed successfully.")]
#[message(id = "Base.1.16.0.Success")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None")]
Success,
/// This message shall be used to indicate that network-based name resolution, such as DNS or WINS protocols, has not been configured on the service.
#[message(message = "Network name resolution has not been configured on this service.")]
#[message(id = "Base.1.16.0.NetworkNameResolutionNotConfigured")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Configure the network 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.")]
NetworkNameResolutionNotConfigured,
/// This message shall be used to indicate 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.
#[message(message = "The value '%1' for the query parameter %2 is of a different type than the parameter can accept.")]
#[message(id = "Base.1.16.0.QueryParameterValueTypeError")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Correct the value for the query parameter in the request and resubmit the request if the operation failed.")]
QueryParameterValueTypeError(
/// This argument shall contain the value provided for the query parameter.
String,
/// This argument shall contain the name of the query parameter.
String,
),
/// This message shall be used to indicate that the resource is deprecated.
#[message(message = "The operation was performed on a deprecated resource '%1'.")]
#[message(id = "Base.1.16.0.ResourceDeprecated")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Refer to the schema guide for more information.")]
ResourceDeprecated(
/// This argument shall contain the URI of the resource that is deprecated.
String,
),
/// This message shall be used to indicate that the attempt to access the resource, file, or image at the URI was unauthorized.
#[message(message = "While accessing the resource at '%1', the service received an authorization error '%2'.")]
#[message(id = "Base.1.16.0.ResourceAtUriUnauthorized")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Ensure that the appropriate access is provided for the service in order for it to access the URI.")]
ResourceAtUriUnauthorized(
/// This argument shall contain the URI provided for this operation.
String,
/// This argument shall contain the error message received from the authorization service or software.
String,
),
/// This message shall be used to indicate that a property was given the correct value type but the value of that property was not supported.
#[message(message = "The value '%1' for the property %2 is of a different format than the property can accept.")]
#[message(id = "Base.1.16.0.PropertyValueFormatError")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Correct the value for the property in the request body and resubmit the request if the operation failed.")]
PropertyValueFormatError(
/// This argument shall contain the value provided for the property. Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
String,
/// This argument shall contain the name of the property.
String,
),
/// This message shall be used to indicate that the requested write of a property could not be completed, because of a conflict with the value of another property.
#[message(message = "The property '%1' could not be written because its value would conflict with the value of the '%2' property.")]
#[message(id = "Base.1.16.0.PropertyValueConflict")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "No resolution is required.")]
PropertyValueConflict(
/// This argument shall contain the name of the property for which a write was requested.
String,
/// This argument shall contain the name of the property with which there is a conflict.
String,
),
/// This message shall be used to indicate that a request header is known, but is invalid.
#[message(message = "Header '%1' is invalid.")]
#[message(id = "Base.1.16.0.HeaderInvalid")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Resubmit the request with a valid request header.")]
HeaderInvalid(
/// This argument shall contain the full request header, including the field name and field value.
String,
),
/// This message shall be used to indicate that the operation failed because the service is in an unknown state and cannot accept additional requests.
#[message(message = "The operation failed because the service is in an unknown state and can no longer take incoming requests.")]
#[message(id = "Base.1.16.0.ServiceInUnknownState")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Restart the service and resubmit the request if the operation failed.")]
ServiceInUnknownState,
/// This message shall be used to indicate that the operation expected an image or other resource at the provided URI but none was found.
#[message(message = "The resource at the URI '%1' was not found.")]
#[message(id = "Base.1.16.0.ResourceMissingAtURI")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Place a valid resource at the URI or correct the URI and resubmit the request.")]
ResourceMissingAtURI(
/// This argument shall contain the URI provided for this operation.
String,
),
/// This message shall be used to indicate that the operation failed because the service, such as the account service, is disabled and cannot accept requests.
#[message(message = "The operation failed because the service at %1 is disabled and cannot accept requests.")]
#[message(id = "Base.1.16.0.ServiceDisabled")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Enable the service and resubmit the request if the operation failed.")]
ServiceDisabled(
/// This argument shall contain the URI of the disabled service.
String,
),
/// This message shall be used to indicate that the operation expected a resource identifier that corresponds to an existing resource but one was not found.
#[message(message = "The requested resource of type %1 named '%2' was not found.")]
#[message(id = "Base.1.16.0.ResourceNotFound")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Provide a valid resource identifier and resubmit the request.")]
ResourceNotFound(
/// This argument shall contain the schema name of the resource.
String,
/// This argument shall contain the value of the `Id` property of the requested resource.
String,
),
/// Indicates that the request did not provide the required precondition such as an `If-Match` or `If-None-Match` header, or `@odata.etag` annotations. The use of this message shall only be used in responses for deep operations, since HTTP status code 428 is typically used for this.
#[message(message = "A precondition header or annotation is required to change this resource.")]
#[message(id = "Base.1.16.0.PreconditionRequired")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Try the operation again using an If-Match or If-None-Match header and appropriate ETag.")]
PreconditionRequired,
/// This message shall be used to indicate that query is not supported with the given operation.
#[message(message = "Querying is not supported with the requested operation.")]
#[message(id = "Base.1.16.0.QueryNotSupportedOnOperation")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Remove the query parameters and resubmit the request if the operation failed.")]
QueryNotSupportedOnOperation,
/// This message shall be used to indicate that no more resources can be created on the resource as it has reached its create limit.
#[message(message = "The create operation failed because the resource has reached the limit of possible resources.")]
#[message(id = "Base.1.16.0.CreateLimitReachedForResource")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Either delete resources and resubmit the request if the operation failed or do not resubmit the request.")]
CreateLimitReachedForResource,
/// This message shall be used to indicate that a property was given the correct value type but the value of that property was not supported.
#[message(message = "The value '%1' for the property %2 is not in the list of acceptable values.")]
#[message(id = "Base.1.16.0.PropertyValueNotInList")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.")]
PropertyValueNotInList(
/// This argument shall contain the value provided for the property.
String,
/// This argument shall contain the name of the property.
String,
),
/// This message shall be used to indicate that a property was given the correct value type but the value of that property was modified.
#[message(message = "The property %1 was assigned the value '%2' due to modification by the service.")]
#[message(id = "Base.1.16.0.PropertyValueModified")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "No resolution is required.")]
PropertyValueModified(
/// This argument shall contain the name of the property.
String,
/// This argument shall contain the value assigned for property.
String,
),
/// This message shall be used to indicate that the service does not support network-based name resolution, such as DNS or WINS protocols. URIs provided as property values must contain an IP address as the service cannot resolve a network name.
#[message(message = "Resolution of network-based names is not supported by this service.")]
#[message(id = "Base.1.16.0.NetworkNameResolutionNotSupported")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Update any URI values to include an IP address instead of a network name and resubmit the request.")]
NetworkNameResolutionNotSupported,
/// This message shall be used to indicate that event buffer space used by the service has been exceeded, and as a result, one or more undelivered events may have been lost.
#[message(message = "Undelivered events may have been lost due to exceeding the event buffer.")]
#[message(id = "Base.1.16.0.EventBufferExceeded")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "None.")]
EventBufferExceeded,
/// This message shall be used to indicate that the request failed for an unknown internal error but that the service is still operational.
#[message(message = "The request failed due to an internal service error. The service is still operational.")]
#[message(id = "Base.1.16.0.InternalError")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Resubmit the request. If the problem persists, consider resetting the service.")]
InternalError,
/// This message shall be used to indicate that the operation failed because a valid session is required in order to access any resources.
#[message(message = "There is no valid session established with the implementation.")]
#[message(id = "Base.1.16.0.NoValidSession")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Establish a session before attempting any operations.")]
NoValidSession,
/// This message shall be used to indicate that the request exceeds the storage or memory available to the serivce. For cases where the payload is larger than the maximum size supported, regardless of available storage, the message `PayloadTooLarge` shall be used.
#[message(message = "Insufficent storage or memory available to complete the request.")]
#[message(id = "Base.1.16.0.InsufficientStorage")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Increase the free storage space available to the service and resubmit the request.")]
InsufficientStorage,
/// This message shall be used to indicate that the request could not be performed because the resource is in standby.
#[message(message = "The request could not be performed because the resource is in standby.")]
#[message(id = "Base.1.16.0.ResourceInStandby")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Ensure that the resource is in the correct power state and resubmit the request.")]
ResourceInStandby,
/// This message shall be used to indicate that a parameter was given the wrong value type, such as when a number is supplied for a parameter that requires a string.
#[message(message = "The value '%1' for the parameter %2 in the action %3 is of a different type than the parameter can accept.")]
#[message(id = "Base.1.16.0.ActionParameterValueTypeError")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Correct the value for the parameter in the request body and resubmit the request if the operation failed.")]
ActionParameterValueTypeError(
/// This argument shall contain the value provided for the action parameter. Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
String,
/// This argument shall contain the name of the action parameter.
String,
/// This argument shall contain the name of the action.
String,
),
/// This message shall be used to indicate that the request failed because a set of `AccountTypes` or `OEMAccountTypes` was not accepted while `StrictAccountTypes` is set to `true`.
#[message(message = "The request was not possible to fulfill with the account types included in property '%1' and property StrictAccountTypes set to true.")]
#[message(id = "Base.1.16.0.StrictAccountTypes")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Resubmit the request either with an acceptable set of AccountTypes and OEMAccountTypes or with StrictAccountTypes set to false.")]
StrictAccountTypes(
/// This argument shall contain the name of the property `AccountTypes` or `OEMAccountTypes`.
String,
),
/// This message shall be used to indicate that a create was attempted on a resource but that properties that are required for the create operation were missing from the request.
#[message(message = "The create operation failed because the required property %1 was missing from the request.")]
#[message(id = "Base.1.16.0.CreateFailedMissingReqProperties")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Correct the body to include the required property with a valid value and resubmit the request if the operation failed.")]
CreateFailedMissingReqProperties(
/// This argument shall contain the name of the required property.
String,
),
/// This message shall be used to indicate that the modification requested for the account was not successful.
#[message(message = "The account modification request failed.")]
#[message(id = "Base.1.16.0.AccountNotModified")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "The modification may have failed due to permission issues or issues with the request body.")]
AccountNotModified,
/// This message shall be used to indicate that all conditions of a successful create operation have been met.
#[message(message = "The resource has been created successfully.")]
#[message(id = "Base.1.16.0.Created")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
Created,
/// This message shall be used to indicate that the account for the session has been removed, thus the session has been removed as well.
#[message(message = "The account for the current session has been removed, thus the current session has been removed as well.")]
#[message(id = "Base.1.16.0.AccountForSessionNoLongerExists")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "Attempt to connect with a valid account.")]
AccountForSessionNoLongerExists,
/// This message shall be used to indicate that one of the internal operations necessary to complete the request timed out. Partial results of the client operation may be returned.
#[message(message = "A timeout internal to the service occured as part of the request. Partial results may have been returned.")]
#[message(id = "Base.1.16.0.OperationTimeout")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Resubmit the request. If the problem persists, consider resetting the service or provider.")]
OperationTimeout,
/// This message shall be used to indicate that the action is deprecated.
#[message(message = "The action %1 is deprecated.")]
#[message(id = "Base.1.16.0.ActionDeprecated")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Refer to the schema guide for more information.")]
ActionDeprecated(
/// This argument shall contain the name of the action that is deprecated.
String,
),
/// This message shall be used to indicate that a change was requested to a resource but the change was rejected due to the resource being in use or transition.
#[message(message = "The change to the requested resource failed because the resource is in use or in transition.")]
#[message(id = "Base.1.16.0.ResourceInUse")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Remove the condition and resubmit the request if the operation failed.")]
ResourceInUse,
/// This message shall be used to indicate that the request body contained an empty JSON object when one or more properties are expected in the body.
#[message(message = "The request body submitted contained an empty JSON object and the service is unable to process it.")]
#[message(id = "Base.1.16.0.EmptyJSON")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Add properties in the JSON object and resubmit the request.")]
EmptyJSON,
/// This message shall be used to indicate that query is not supported on the implementation.
#[message(message = "Querying is not supported by the implementation.")]
#[message(id = "Base.1.16.0.QueryNotSupported")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Remove the query parameters and resubmit the request if the operation failed.")]
QueryNotSupported,
/// This message shall be used to indicate that the request requires the specified chassis to be powered on as indicated by its `PowerState` property.
#[message(message = "The chassis with Id '%1' requires to be powered on to perform this request.")]
#[message(id = "Base.1.16.0.ChassisPowerStateOnRequired")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Power on the specified chassis and resubmit the request.")]
ChassisPowerStateOnRequired(
/// The value of this argument shall be a string containing the value of the `Id` property of the chassis that requires to be powered on.
String,
),
/// This message shall be used to indicate that the payload supplied exceeds the size supported by the service. For cases where the payload size is supported, but there is insufficent available storage space, the message `InsufficientStorage` shall be used.
#[message(message = "The supplied payload exceeds the maximum size supported by the service.")]
#[message(id = "Base.1.16.0.PayloadTooLarge")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Check that the supplied payload is correct and supported by this service.")]
PayloadTooLarge,
/// This message shall be used to indicate that the attempt to access the resource, file, or image at the URI was unsuccessful because a session could not be established.
#[message(message = "The service failed to establish a connection with the URI '%1'.")]
#[message(id = "Base.1.16.0.CouldNotEstablishConnection")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Ensure that the URI contains a valid and reachable node name, protocol information and other URI components.")]
CouldNotEstablishConnection(
/// This argument shall contain the URI provided for this operation.
String,
),
/// This value shall be used to indicate that a property was given the correct value type but the value of that property is outside the supported range.
#[message(message = "The value '%1' for the property %2 is not in the supported range of acceptable values.")]
#[message(id = "Base.1.16.0.PropertyValueOutOfRange")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Correct the value for the property in the request body and resubmit the request if the operation failed.")]
PropertyValueOutOfRange(
/// This argument shall contain the value provided for the property.
String,
/// This argument shall contain the name of the property.
String,
),
/// This message shall be used to indicate that a fault or error condition has been reported to the service, but the source of the fault cannot be determined or is unknown to the service.
#[message(message = "A undetermined fault condition has been reported by '%1'.")]
#[message(id = "Base.1.16.0.UndeterminedFault")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "None.")]
UndeterminedFault(
/// This argument shall contain the name of the entity that reported the fault condition.
String,
),
/// The maximum number of errors that the implementation can report has been exceeded. This shall not be the only message reported by the service. The use of this message should be limited to RDE implementations.
#[message(message = "Too many errors have occurred to report them all.")]
#[message(id = "Base.1.16.0.MaximumErrorsExceeded")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Resolve other reported errors and retry the current operation.")]
MaximumErrorsExceeded,
/// This message shall be used to indicate that that a license is required to perform the requested operation.
#[message(message = "A license is required for this operation: %1.")]
#[message(id = "Base.1.16.0.LicenseRequired")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Install the requested license and resubmit the request.")]
LicenseRequired(
/// This argument shall contain the vendor description of the license required to perform the operation.
String,
),
/// This message shall be used to indicate that while attempting to access, connect to, or transfer to or from another resource, the service denied access.
#[message(message = "While attempting to establish a connection to '%1', the service denied access.")]
#[message(id = "Base.1.16.0.AccessDenied")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Attempt to ensure that the URI is correct and that the service has the appropriate credentials.")]
AccessDenied(
/// This argument shall contain the URI provided for this operation.
String,
),
/// This message shall be used to indicate that the request body was malformed JSON.
#[message(message = "The request body submitted was malformed JSON and could not be parsed by the receiving service.")]
#[message(id = "Base.1.16.0.MalformedJSON")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Ensure that the request body is valid JSON and resubmit the request.")]
MalformedJSON,
/// This message shall be used to indicate that a property was given a deprecated value.
#[message(message = "The value '%1' for the property %2 is deprecated.")]
#[message(id = "Base.1.16.0.PropertyValueDeprecated")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Refer to the schema guide for more information.")]
PropertyValueDeprecated(
/// This argument shall contain the deprecated value provided for the property.
String,
/// This argument shall contain the name of the property.
String,
),
/// This message shall be used to indicate that one of the internal operations necessary to complete the request failed. Partial results of the client operation may be returned.
#[message(message = "An error occurred internal to the service as part of the overall request. Partial results may have been returned.")]
#[message(id = "Base.1.16.0.OperationFailed")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Resubmit the request. If the problem persists, consider resetting the service or provider.")]
OperationFailed,
/// This message shall be used to indicate that the credentials associated with the established session do not have sufficient privileges for the requested operation.
#[message(message = "There are insufficient privileges for the account or credentials associated with the current session to perform the requested operation.")]
#[message(id = "Base.1.16.0.InsufficientPrivilege")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Either abandon the operation or change the associated access rights and resubmit the request if the operation failed.")]
InsufficientPrivilege,
/// This message shall be used to indicate that the requested parameter value could not be completed, because of a mismatch with other parameters or properties in the resource.
#[message(message = "The parameter '%1' with the requested value of '%2' does not meet the constraints of the implementation.")]
#[message(id = "Base.1.16.0.ActionParameterValueConflict")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "No resolution is required.")]
ActionParameterValueConflict(
/// This argument shall contain the name of the parameter provided in the action request.
String,
/// This argument shall contain the value of the parameter with which there is a conflict.
String,
),
/// Indicates that the ETag supplied either in the header or using that `@odata.etag` annotation in the resource did not match the one expected by the service and thus the operation on this resource failed. The use of this message shall only be used in responses for deep operations, since HTTP status code 412 is typically used for this.
#[message(message = "The ETag supplied did not match the ETag required to change this resource.")]
#[message(id = "Base.1.16.0.PreconditionFailed")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Try the operation again using the appropriate ETag.")]
PreconditionFailed,
/// This message shall be used to indicate that the request requires the specified chassis to be powered off as indicated by its `PowerState` property.
#[message(message = "The Chassis with Id '%1' requires to be powered off to perform this request.")]
#[message(id = "Base.1.16.0.ChassisPowerStateOffRequired")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Power off the specified chassis and resubmit the request.")]
ChassisPowerStateOffRequired(
/// The value of this argument shall be a string containing the value of the `Id` property of the chassis that requires to be powered off.
String,
),
/// This message shall be used to indicate that a required request header is missing in the request.
#[message(message = "Required header '%1' is missing in the request.")]
#[message(id = "Base.1.16.0.HeaderMissing")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Resubmit the request with the required request header.")]
HeaderMissing(
/// This argument shall contain the missing required request header.
String,
),
/// This message shall be used to indicate that a required property was not supplied as part of the request.
#[message(message = "The property %1 is a required property and must be included in the request.")]
#[message(id = "Base.1.16.0.PropertyMissing")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.")]
PropertyMissing(
/// This argument shall contain the name of the property.
String,
),
/// This message shall be used to indicate that a query parameter was given an invalid value that can not or should not be included in the message.
#[message(message = "The value for the parameter %1 is invalid.")]
#[message(id = "Base.1.16.0.QueryParameterValueError")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Correct the value for the query parameter in the request and resubmit the request if the operation failed.")]
QueryParameterValueError(
/// This argument shall contain the name of the query parameter.
String,
),
/// This message shall be used to indicate that the service encountered an unrecognizable request body that could not even be interpreted as malformed JSON.
#[message(message = "The service detected a malformed request body that it was unable to interpret.")]
#[message(id = "Base.1.16.0.UnrecognizedRequestBody")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Correct the request body and resubmit the request if it failed.")]
UnrecognizedRequestBody,
/// This message shall be used to indicate that the requested creation of a resource could not be completed because the service has a resource that conflicts with the request, such as when the resource already exists or an existing resource has similar property values.
#[message(message = "The resource could not be created. The service has a resource at URI '%1' that conflicts with the creation request.")]
#[message(id = "Base.1.16.0.ResourceCreationConflict")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "No resolution is required.")]
ResourceCreationConflict(
/// This argument shall contain the URI of the resource with which there is a conflict.
String,
),
/// This message shall be used to indicate that a parameter was given an invalid value, and the value cannot or should not be included in the message.
#[message(message = "The value for the parameter %1 in the action %2 is invalid.")]
#[message(id = "Base.1.16.0.ActionParameterValueError")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Correct the value for the parameter in the request body and resubmit the request if the operation failed.")]
ActionParameterValueError(
/// This argument shall contain the name of the action parameter.
String,
/// This argument shall contain the name of the action.
String,
),
/// This message shall be used to indicate that the size of the array is under the minimum number of elements.
#[message(message = "The array provided for property %1 is under the minimum size limit %2.")]
#[message(id = "Base.1.16.0.ArraySizeTooShort")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Resubmit the request with an appropriate array size.")]
ArraySizeTooShort(
/// This argument shall contain the name of the property.
String,
/// This argument shall contain the minimum number of elements supported for the array for this property.
f64,
),
/// This message shall be used to indicate that the object in question is invalid according to the implementation.
#[message(message = "The object at '%1' is invalid.")]
#[message(id = "Base.1.16.0.InvalidObject")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Either the object is malformed or the URI is not correct. Correct the condition and resubmit the request if it failed.")]
InvalidObject(
/// This argument shall contain the URI provided for this operation.
String,
),
/// This message shall be used to indicate that an action was submitted but an action parameter supplied did not match any of the known parameters.
#[message(message = "The action %1 was submitted with the invalid parameter %2.")]
#[message(id = "Base.1.16.0.ActionParameterUnknown")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Correct the invalid action parameter and resubmit the request if the operation failed.")]
ActionParameterUnknown(
/// This argument shall contain the name of the action.
String,
/// This argument shall contain the name of the action parameter.
String,
),
/// This message shall be used to indicate that the request contains multiple query parameters, and that two or more of them cannot be used together.
#[message(message = "Two or more query parameters in the request cannot be used together.")]
#[message(id = "Base.1.16.0.QueryCombinationInvalid")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Remove one or more of the query parameters and resubmit the request if the operation failed.")]
QueryCombinationInvalid,
/// This message shall be used to indicate that the action supplied with the POST operation is not supported by the resource.
#[message(message = "The action %1 is not supported by the resource.")]
#[message(id = "Base.1.16.0.ActionNotSupported")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "The action supplied cannot be resubmitted to the implementation. Perhaps the action was invalid, the wrong resource was the target or the implementation documentation may be of assistance.")]
ActionNotSupported(
/// This argument shall contain the name of the action.
String,
),
/// This message shall be used to indicate that the DELETE operation on the session resource resulted in the successful termination of the session.
#[message(message = "The session was successfully terminated.")]
#[message(id = "Base.1.16.0.SessionTerminated")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "No resolution is required.")]
SessionTerminated,
/// This message shall be used to indicate that the requested operation will not perform any changes on the service.
#[message(message = "The request body submitted contain no data to act upon and no changes to the resource took place.")]
#[message(id = "Base.1.16.0.NoOperation")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Add properties in the JSON object and resubmit the request.")]
NoOperation,
/// This message shall be used to indicate that a component reset is recommended for error recovery while unaffected applications can continue running without any effects on accuracy and performance.
#[message(message = "In order to recover from errors, a component reset is recommended with the Reset action URI '%1' and ResetType '%2'.")]
#[message(id = "Base.1.16.0.ResetRecommended")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Perform the recommended reset action on the specified component.")]
ResetRecommended(
/// This argument shall contain the URI for the reset action that is recommended to be invoked for error recovery.
String,
/// This argument shall contain the `ResetType` required in a reset action on the component URI for error recovery while unaffected applications can continue running without any effects on accuracy and performance. A reset action POST shall contain this `ResetType` parameter.
String,
),
/// This message shall be used to indicate that the account was successfully modified.
#[message(message = "The account was successfully modified.")]
#[message(id = "Base.1.16.0.AccountModified")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "No resolution is required.")]
AccountModified,
/// This message shall be used to indicate that a resource change or creation was attempted but that the operation cannot proceed because the resource already exists.
#[message(message = "The requested resource of type %1 with the property %2 with the value '%3' already exists.")]
#[message(id = "Base.1.16.0.ResourceAlreadyExists")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Do not repeat the create operation as the resource has already been created.")]
ResourceAlreadyExists(
/// This argument shall contain the schema name of the resource.
String,
/// This argument shall contain the name of the property.
String,
/// This argument shall contain the value provided for the property. Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
String,
),
/// This message shall be used to indicate that the request payload supplied as part of an HTTP multipart request is missing one or more required parts or contains malformed parts.
#[message(message = "The multipart request contains malformed parts or is missing required parts.")]
#[message(id = "Base.1.16.0.MissingOrMalformedPart")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Add any missing required parts or correct the malformed parts and resubmit the request.")]
MissingOrMalformedPart,
/// This message shall be used to indicate that the request body contains invalid JSON.
#[message(message = "The request body submitted is invalid JSON starting at line %1 and could not be parsed by the receiving service.")]
#[message(id = "Base.1.16.0.InvalidJSON")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Ensure that the request body is valid JSON and resubmit the request.")]
InvalidJSON(
/// The value of this argument shall contain the line number where the invalid JSON starts.
f64,
),
/// This message shall be used to indicate that the action was supplied with a duplicated action parameter in the request body.
#[message(message = "The action %1 was submitted with more than one value for the parameter %2.")]
#[message(id = "Base.1.16.0.ActionParameterDuplicate")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Resubmit the action with only one instance of the action parameter in the request body if the operation failed.")]
ActionParameterDuplicate(
/// This argument shall contain the name of the action.
String,
/// This argument shall contain the name of the action parameter.
String,
),
/// This message shall be used to indicate that a query parameter is not supported by this service.
#[message(message = "Query parameter '%1' is not supported.")]
#[message(id = "Base.1.16.0.QueryParameterUnsupported")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Correct or remove the query parameter and resubmit the request.")]
QueryParameterUnsupported(
/// This argument shall contain the name of the query parameter.
String,
),
/// This message shall be used to indicate that the operation encountered a URI that does not correspond to a valid resource.
#[message(message = "The URI %1 was not found.")]
#[message(id = "Base.1.16.0.InvalidURI")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Provide a valid URI and resubmit the request.")]
InvalidURI(
/// This argument shall contain the invalid URI that was encountered.
String,
),
/// This message shall be used to indicate that the account was successfully removed.
#[message(message = "The account was successfully removed.")]
#[message(id = "Base.1.16.0.AccountRemoved")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "No resolution is required.")]
AccountRemoved,
/// This message shall be used to indicate that query is not supported on the given resource.
#[message(message = "Querying is not supported on the requested resource.")]
#[message(id = "Base.1.16.0.QueryNotSupportedOnResource")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Remove the query parameters and resubmit the request if the operation failed.")]
QueryNotSupportedOnResource,
/// This message shall be used to indicate that the operation failed as the service is shutting down.
#[message(message = "The operation failed because the service is shutting down and can no longer take incoming requests.")]
#[message(id = "Base.1.16.0.ServiceShuttingDown")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "When the service becomes available, resubmit the request if the operation failed.")]
ServiceShuttingDown,
/// This message shall be used to indicate that a resource could not satisfy the request due to some unavailability of resources.
#[message(message = "The resource '%1' was unable to satisfy the request due to unavailability of resources.")]
#[message(id = "Base.1.16.0.ResourceExhaustion")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Ensure that the resources are available and resubmit the request.")]
ResourceExhaustion(
/// This argument shall contain the URI of the relevant resource.
String,
),
/// This message shall be used to indicate that an event subscription has been terminated by the service.
#[message(message = "The event subscription has been terminated.")]
#[message(id = "Base.1.16.0.SubscriptionTerminated")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "No resolution is required.")]
SubscriptionTerminated,
/// This message shall be used to indicate that the size of the array exceeded the maximum number of elements.
#[message(message = "The array provided for property %1 exceeds the size limit %2.")]
#[message(id = "Base.1.16.0.ArraySizeTooLong")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Resubmit the request with an appropriate array size.")]
ArraySizeTooLong(
/// This argument shall contain the name of the property.
String,
/// This argument shall contain the maximum number of elements supported for the array for this property.
f64,
),
/// This message shall be used to indicate that a delete operation was attempted on a resource that cannot be deleted.
#[message(message = "The delete request failed because the resource requested cannot be deleted.")]
#[message(id = "Base.1.16.0.ResourceCannotBeDeleted")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Do not attempt to delete a non-deletable resource.")]
ResourceCannotBeDeleted,
/// This message shall be used to indicate that the index is not valid.
#[message(message = "The index %1 is not a valid offset into the array.")]
#[message(id = "Base.1.16.0.InvalidIndex")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Verify the index value provided is within the bounds of the array.")]
InvalidIndex(
/// This argument shall contain the array index value provided.
f64,
),
/// This message shall be used to indicate that the operation was not successful because the role is restricted.
#[message(message = "The operation was not successful because the role '%1' is restricted.")]
#[message(id = "Base.1.16.0.RestrictedRole")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "No resolution is required. For standard roles, consider using the role specified in the AlternateRoleId property in the Role resource.")]
RestrictedRole(
/// This argument shall contain the name of the restricted role.
String,
),
/// This message shall be used to indicate that a query parameter was provided that is out of range for the given resource.
#[message(message = "The value '%1' for the query parameter %2 is out of range %3.")]
#[message(id = "Base.1.16.0.QueryParameterOutOfRange")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "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 that is within the range of valid pages.")]
QueryParameterOutOfRange(
/// This argument shall contain the value provided for the query parameter.
String,
/// This argument shall contain the name of the query parameter.
String,
/// This argument shall contain a string representation of the valid range of values supported for the query parameter.
String,
),
/// This message shall be used to indicate that a parameter was given the correct value type but the value of that parameter was not supported.
#[message(message = "The value '%1' for the parameter %2 in the action %3 is not in the list of acceptable values.")]
#[message(id = "Base.1.16.0.ActionParameterValueNotInList")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.")]
ActionParameterValueNotInList(
/// This argument shall contain the value provided for the action parameter.
String,
/// This argument shall contain the name of the action parameter.
String,
/// This argument shall contain the name of the action.
String,
),
/// This message shall be used to indicate that the operation was not successful because a privilege is restricted.
#[message(message = "The operation was not successful because the privilege '%1' is restricted.")]
#[message(id = "Base.1.16.0.RestrictedPrivilege")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Remove restricted privileges from the request body and resubmit the request.")]
RestrictedPrivilege(
/// This argument shall contain the name of the restricted privilege.
String,
),
/// This message shall be used to indicate that the resource type of the operation does not match that for the operation destination.
#[message(message = "The @odata.type of the request body %1 is incompatible with the @odata.type of the resource, which is %2.")]
#[message(id = "Base.1.16.0.ResourceTypeIncompatible")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Resubmit the request with a payload compatible with the resource's schema.")]
ResourceTypeIncompatible(
/// This argument shall contain the value of the `@odata.type` property provided in the request.
String,
/// This argument shall contain the value of the `@odata.type` property supported by the resource.
String,
),
/// This message shall be used to indicate that a component reset is required for changes, error recovery, or operations to complete.
#[message(message = "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'.")]
#[message(id = "Base.1.16.0.ResetRequired")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Perform the required reset action on the specified component.")]
ResetRequired(
/// This argument shall contain the URI for the reset action that is required to be invoked for changes, error recovery or operations to complete.
String,
/// This argument shall contain the `ResetType` required in a reset action on the component URI for changes, error recovery or operations to complete. A reset action POST shall contain this `ResetType` parameter.
String,
),
/// This message shall be used to indicate that the requested write of a property could not be completed, because of an incorrect value of the property such as when it does not meet the constraints of the implementation or match the regular expression requirements.
#[message(message = "The property '%1' with the requested value of '%2' could not be written because the value does not meet the constraints of the implementation.")]
#[message(id = "Base.1.16.0.PropertyValueIncorrect")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "No resolution is required.")]
PropertyValueIncorrect(
/// This argument shall contain the name of the property for which a write was requested.
String,
/// This argument shall contain the value of the property that is incorrect.
String,
),
/// This message shall be used to indicate that the action requested was missing an action parameter that is required to process the action.
#[message(message = "The action %1 requires the parameter %2 to be present in the request body.")]
#[message(id = "Base.1.16.0.ActionParameterMissing")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Supply the action with the required parameter in the request body when the request is resubmitted.")]
ActionParameterMissing(
/// This argument shall contain the name of the action.
String,
/// This argument shall contain the name of the action parameter.
String,
),
/// This message shall be used to indicate that the URI was valid but the resource or image at that URI was in a format not supported by the service.
#[message(message = "The resource at '%1' is in a format not recognized by the service.")]
#[message(id = "Base.1.16.0.ResourceAtUriInUnknownFormat")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Place an image or resource or file that is recognized by the service at the URI.")]
ResourceAtUriInUnknownFormat(
/// This argument shall contain the URI provided for this operation.
String,
),
/// This message shall be used to indicate that the requested write of a property could not be completed, because the requested value of the property, which is a value supported by the implementation, cannot be accepted due to conflicts in the state or configuration of the resource.
#[message(message = "The property '%1' with the requested value of '%2' could not be written because the value is not available due to a configuration conflict.")]
#[message(id = "Base.1.16.0.PropertyValueExternalConflict")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "No resolution is required.")]
PropertyValueExternalConflict(
/// This argument shall contain the name of the property for which a write was requested.
String,
/// This argument shall contain the value of the property that is in conflict.
String,
),
/// This message shall be used to indicate that an unknown property was included in the request body.
#[message(message = "The property %1 is not in the list of valid properties for the resource.")]
#[message(id = "Base.1.16.0.PropertyUnknown")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Remove the unknown property from the request body and resubmit the request if the operation failed.")]
PropertyUnknown(
/// This argument shall contain the name of the unknown property.
String,
),
/// This message shall be used to indicate that a parameter was given the correct value type but the value of that parameter was not supported.
#[message(message = "The value '%1' for the parameter %2 in the action %3 is of a different format than the parameter can accept.")]
#[message(id = "Base.1.16.0.ActionParameterValueFormatError")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Correct the value for the parameter in the request body and resubmit the request if the operation failed.")]
ActionParameterValueFormatError(
/// This argument shall contain the value provided for the action parameter. Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
String,
/// This argument shall contain the name of the action parameter.
String,
/// This argument shall contain the name of the action.
String,
),
/// This message shall be used to indicate that the parameter supplied for the action is not supported on the resource.
#[message(message = "The parameter %1 for the action %2 is not supported on the target resource.")]
#[message(id = "Base.1.16.0.ActionParameterNotSupported")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Remove the parameter supplied and resubmit the request if the operation failed.")]
ActionParameterNotSupported(
/// This argument shall contain the name of the action parameter.
String,
/// This argument shall contain the name of the action.
String,
),
/// This message shall be used to indicate that a string value passed to the given resource exceeded its length limit.
#[message(message = "The string '%1' exceeds the length limit %2.")]
#[message(id = "Base.1.16.0.StringValueTooLong")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Resubmit the request with an appropriate string length.")]
StringValueTooLong(
/// This argument shall contain the string value provided for this operation.
String,
/// This argument shall contain the maximum supported string length for this property.
f64,
),
/// This message shall be used to indicate that the requested write of a property could not be completed, because the requested value of the property, which is a value supported by the implementation, cannot be accepted due to conflicts in the state or configuration of another resource.
#[message(message = "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'.")]
#[message(id = "Base.1.16.0.PropertyValueResourceConflict")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "No resolution is required.")]
PropertyValueResourceConflict(
/// This argument shall contain the name of the property for which a write was requested.
String,
/// This argument shall contain the value of the property that is in conflict.
String,
/// This argument shall contain the URI of the resource that is in conflict with the value of the requested property.
String,
),
/// This message shall be used to indicate that a property was given a value in the request body, but the property is a readonly property.
#[message(message = "The property %1 is a read only property and cannot be assigned a value.")]
#[message(id = "Base.1.16.0.PropertyNotWritable")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Remove the property from the request body and resubmit the request if the operation failed.")]
PropertyNotWritable(
/// This argument shall contain the name of the property.
String,
),
/// This message shall be used to indicate that the request could not be performed because the user provided in the request requires multifactor authentication and an authentication token was not provided.
#[message(message = "The request could not be performed because an authentication token was not provided.")]
#[message(id = "Base.1.16.0.AuthenticationTokenRequired")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Obtain an authentication token and resubmit the request.")]
AuthenticationTokenRequired,
/// This message shall be used to indicate that the service is temporarily unavailable.
#[message(message = "The service is temporarily unavailable. Retry in %1 seconds.")]
#[message(id = "Base.1.16.0.ServiceTemporarilyUnavailable")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Wait for the indicated retry duration and retry the operation.")]
ServiceTemporarilyUnavailable(
/// This argument shall contain the number of seconds the client should wait before attempting the operation again.
String,
),
/// This message shall be used to indicate that one or more conditions that require attention exist in a resource that affects the Health or HealthRollup of this resource. This message can be used in place of multiple messages in a `Conditions` property to roll up conditions from a single resource. The resource can be located using the `OriginOfCondition` property. The value of the `MessageSeverity` property should match the highest severity of any conditions in the resource referenced by the `OriginOfCondition` property.
#[message(message = "One or more conditions exist in a related resource. See the OriginOfCondition property.")]
#[message(id = "Base.1.16.0.ConditionInRelatedResource")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Check the Conditions array in the resource shown in the OriginOfCondition property to determine the conditions that need attention.")]
ConditionInRelatedResource,
/// This message shall be used to indicate that the property is deprecated.
#[message(message = "The deprecated property %1 was included in the request body.")]
#[message(id = "Base.1.16.0.PropertyDeprecated")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Refer to the schema guide for more information.")]
PropertyDeprecated(
/// This argument shall contain the name of the property that is deprecated.
String,
),
/// This message shall be used to indicate that a duplicate property was included in the request body.
#[message(message = "The property %1 was duplicated in the request.")]
#[message(id = "Base.1.16.0.PropertyDuplicate")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Remove the duplicate property from the request body and resubmit the request if the operation failed.")]
PropertyDuplicate(
/// This argument shall contain the name of the duplicate property.
String,
),
/// This message shall be used to indicate 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.
#[message(message = "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.")]
#[message(id = "Base.1.16.0.PasswordChangeRequired")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Change the password for this account using a PATCH to the Password property at the URI provided.")]
PasswordChangeRequired(
/// This argument shall contain the URI of the target manager account resource instance.
String,
),
/// This message shall be used to indicate that a property was given an invalid value, and the value cannot or should not be included in the message text.
#[message(message = "The value provided for the property %1 is not valid.")]
#[message(id = "Base.1.16.0.PropertyValueError")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Correct the value for the property in the request body and resubmit the request if the operation failed.")]
PropertyValueError(
/// This argument shall contain the name of the property.
String,
),
/// This message shall be used to indicate that a query parameter was given the correct value type but the value of that parameter was not supported.
#[message(message = "The value '%1' for the parameter %2 is of a different format than the parameter can accept.")]
#[message(id = "Base.1.16.0.QueryParameterValueFormatError")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Correct the value for the query parameter in the request and resubmit the request if the operation failed.")]
QueryParameterValueFormatError(
/// This argument shall contain the value provided for the query parameter.
String,
/// This argument shall contain the name of the query parameter.
String,
),
/// This message shall be used to indicate that a event subscription establishment has been requested but the operation failed due to the number of simultaneous connection exceeding the limit of the implementation.
#[message(message = "The event subscription failed due to the number of simultaneous subscriptions exceeding the limit of the implementation.")]
#[message(id = "Base.1.16.0.EventSubscriptionLimitExceeded")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Reduce the number of other subscriptions before trying to establish the event subscription or increase the limit of simultaneous subscriptions, if supported.")]
EventSubscriptionLimitExceeded,
/// This message shall be used to indicate that the HTTP method in the request is not allowed on this resource. This error message should be used together with status code 405 Method Not Allowed.
#[message(message = "The HTTP method is not allowed on this resource.")]
#[message(id = "Base.1.16.0.OperationNotAllowed")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "None.")]
OperationNotAllowed,
/// This message shall be used to indicate that a general error has occurred. Implementations should not use this message in `@Message.ExtendedInfo`. If used in `@Message.ExtendedInfo`, implementations should include a `Resolution` property with this message and provide a service-defined resolution to indicate how to resolve the error.
#[message(message = "A general error has occurred. See Resolution for information on how to resolve the error, or @Message.ExtendedInfo if Resolution is not provided.")]
#[message(id = "Base.1.16.0.GeneralError")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "None.")]
GeneralError,
/// This message shall be used to indicate that a property was given the wrong value type.
#[message(message = "The value '%1' for the property %2 is of a different type than the property can accept.")]
#[message(id = "Base.1.16.0.PropertyValueTypeError")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Correct the value for the property in the request body and resubmit the request if the operation failed.")]
PropertyValueTypeError(
/// This argument shall contain the value provided for the property. Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
String,
/// This argument shall contain the name of the property.
String,
),
/// This message shall be used to indicate that a string value passed to the given resource was under its minimum required length.
#[message(message = "The string '%1' was under the minimum required length %2.")]
#[message(id = "Base.1.16.0.StringValueTooShort")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Resubmit the request with an appropriate string length.")]
StringValueTooShort(
/// This argument shall contain the string value provided for this operation.
String,
/// This argument shall contain the minimum supported string length for this property.
f64,
),
}