ArmComputeScheduleModelFactory.OperationErrorsResult 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 OperationErrorsResult.
public static Azure.ResourceManager.ComputeSchedule.Models.OperationErrorsResult OperationErrorsResult (string operationId = default, DateTimeOffset? createdOn = default, DateTimeOffset? activationOn = default, DateTimeOffset? completedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeSchedule.Models.OperationErrorDetails> operationErrors = default, string requestErrorCode = default, string requestErrorDetails = default);
static member OperationErrorsResult : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.ComputeSchedule.Models.OperationErrorDetails> * string * string -> Azure.ResourceManager.ComputeSchedule.Models.OperationErrorsResult
Public Shared Function OperationErrorsResult (Optional operationId As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional activationOn As Nullable(Of DateTimeOffset) = Nothing, Optional completedOn As Nullable(Of DateTimeOffset) = Nothing, Optional operationErrors As IEnumerable(Of OperationErrorDetails) = Nothing, Optional requestErrorCode As String = Nothing, Optional requestErrorDetails As String = Nothing) As OperationErrorsResult
Parameters
- operationId
- String
The operationId identifying a vm operation.
- createdOn
- Nullable<DateTimeOffset>
The creation time of the error result.
- activationOn
- Nullable<DateTimeOffset>
The activation time of a vm operation.
- completedOn
- Nullable<DateTimeOffset>
The completion time of the operation if the operation was completed.
- operationErrors
- IEnumerable<OperationErrorDetails>
A list of errors associated with the operationid.
- requestErrorCode
- String
Request level error code.
- requestErrorDetails
- String
Request level error details.
Returns
A new OperationErrorsResult instance for mocking.