ArmComputeScheduleModelFactory.OperationErrorDetails Method

Definition

This defines a list of operation errors associated with a unique operationId.

public static Azure.ResourceManager.ComputeSchedule.Models.OperationErrorDetails OperationErrorDetails(string errorCode = default, string errorDetails = default, DateTimeOffset? timestamp = default, DateTimeOffset? errorDetailsTimestamp = default, string azureOperationName = default, string crpOperationId = default);
static member OperationErrorDetails : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string -> Azure.ResourceManager.ComputeSchedule.Models.OperationErrorDetails
Public Shared Function OperationErrorDetails (Optional errorCode As String = Nothing, Optional errorDetails As String = Nothing, Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional errorDetailsTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional azureOperationName As String = Nothing, Optional crpOperationId As String = Nothing) As OperationErrorDetails

Parameters

errorCode
String

The error code of the operation.

errorDetails
String

The error details of the operation.

timestamp
Nullable<DateTimeOffset>

The timestamp of the error occurence.

errorDetailsTimestamp
Nullable<DateTimeOffset>

The timestamp of the error occurence.

azureOperationName
String

The compute operationid of the Start/Deallocate/Hibernate request.

crpOperationId
String

The compute operationid of the Start/Deallocate/Hibernate request.

Returns

A new OperationErrorDetails instance for mocking.

Applies to