ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryHealthError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SiteRecoveryHealthError.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError SiteRecoveryHealthError (System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryInnerHealthError> innerHealthErrors = default, string errorSource = default, string errorType = default, string errorLevel = default, string errorCategory = default, string errorCode = default, string summaryMessage = default, string errorMessage = default, string possibleCauses = default, string recommendedAction = default, DateTimeOffset? creationTimeUtc = default, string recoveryProviderErrorMessage = default, string entityId = default, string errorId = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HealthErrorCustomerResolvability? customerResolvability = default);
static member SiteRecoveryHealthError : seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryInnerHealthError> * string * string * string * string * string * string * string * string * string * Nullable<DateTimeOffset> * string * string * string * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HealthErrorCustomerResolvability> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError
Public Shared Function SiteRecoveryHealthError (Optional innerHealthErrors As IEnumerable(Of SiteRecoveryInnerHealthError) = Nothing, Optional errorSource As String = Nothing, Optional errorType As String = Nothing, Optional errorLevel As String = Nothing, Optional errorCategory As String = Nothing, Optional errorCode As String = Nothing, Optional summaryMessage As String = Nothing, Optional errorMessage As String = Nothing, Optional possibleCauses As String = Nothing, Optional recommendedAction As String = Nothing, Optional creationTimeUtc As Nullable(Of DateTimeOffset) = Nothing, Optional recoveryProviderErrorMessage As String = Nothing, Optional entityId As String = Nothing, Optional errorId As String = Nothing, Optional customerResolvability As Nullable(Of HealthErrorCustomerResolvability) = Nothing) As SiteRecoveryHealthError
Parameters
- innerHealthErrors
- IEnumerable<SiteRecoveryInnerHealthError>
The inner health errors. HealthError having a list of HealthError as child errors is problematic. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -> InnerException.
- errorSource
- String
Source of error.
- errorType
- String
Type of error.
- errorLevel
- String
Level of error.
- errorCategory
- String
Category of error.
- errorCode
- String
Error code.
- summaryMessage
- String
Summary message of the entity.
- errorMessage
- String
Error message.
- possibleCauses
- String
Possible causes of error.
- recommendedAction
- String
Recommended action to resolve error.
- creationTimeUtc
- Nullable<DateTimeOffset>
Error creation time (UTC).
- recoveryProviderErrorMessage
- String
DRA error message.
- entityId
- String
ID of the entity.
- errorId
- String
The health error unique id.
- customerResolvability
- Nullable<HealthErrorCustomerResolvability>
Value indicating whether the health error is customer resolvable.
Returns
A new SiteRecoveryHealthError instance for mocking.