Sdílet prostřednictvím


ArmComputeScheduleModelFactory.OperationErrorDetails Method

Definition

Overloads

OperationErrorDetails(String, DateTimeOffset, DateTimeOffset, String)

Initializes a new instance of OperationErrorDetails.

OperationErrorDetails(String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, String)

Initializes a new instance of OperationErrorDetails.

OperationErrorDetails(String, DateTimeOffset, DateTimeOffset, String)

Source:
ArmComputeScheduleModelFactory.cs

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.

Applies to

OperationErrorDetails(String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, String)

Source:
ArmComputeScheduleModelFactory.cs

Initializes a new instance of OperationErrorDetails.

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