ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryJobErrorDetails 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 SiteRecoveryJobErrorDetails.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryJobErrorDetails SiteRecoveryJobErrorDetails (Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryServiceError serviceErrorDetails = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryJobProviderError providerErrorDetails = default, string errorLevel = default, DateTimeOffset? createdOn = default, string taskId = default);
static member SiteRecoveryJobErrorDetails : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryServiceError * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryJobProviderError * string * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryJobErrorDetails
Public Shared Function SiteRecoveryJobErrorDetails (Optional serviceErrorDetails As SiteRecoveryServiceError = Nothing, Optional providerErrorDetails As SiteRecoveryJobProviderError = Nothing, Optional errorLevel As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional taskId As String = Nothing) As SiteRecoveryJobErrorDetails
Parameters
- serviceErrorDetails
- SiteRecoveryServiceError
The Service error details.
- providerErrorDetails
- SiteRecoveryJobProviderError
The Provider error details.
- errorLevel
- String
Error level of error.
- createdOn
- Nullable<DateTimeOffset>
The creation time of job error.
- taskId
- String
The Id of the task.
Returns
A new SiteRecoveryJobErrorDetails instance for mocking.