ArmComputeScheduleModelFactory.OperationErrorDetails 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 OperationErrorDetails.
public static Azure.ResourceManager.ComputeSchedule.Models.OperationErrorDetails OperationErrorDetails (string errorCode = default, DateTimeOffset errorDetails = default, DateTimeOffset timeStamp = default, string crpOperationId = default);
static member OperationErrorDetails : string * DateTimeOffset * DateTimeOffset * string -> Azure.ResourceManager.ComputeSchedule.Models.OperationErrorDetails
Public Shared Function OperationErrorDetails (Optional errorCode As String = Nothing, Optional errorDetails As DateTimeOffset = Nothing, Optional timeStamp As DateTimeOffset = Nothing, Optional crpOperationId As String = Nothing) As OperationErrorDetails
Parameters
- errorCode
- String
The error code of the operation.
- errorDetails
- DateTimeOffset
The error details of the operation.
- timeStamp
- DateTimeOffset
The timestamp of the error occurence.
- crpOperationId
- String
CRP operationid of the operation for deeper analysis.
Returns
A new OperationErrorDetails instance for mocking.