Udostępnij za pośrednictwem


ArmComputeScheduleModelFactory.ResourceOperationResult Method

Definition

Initializes a new instance of ResourceOperationResult.

public static Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationResult ResourceOperationResult (Azure.Core.ResourceIdentifier resourceId = default, string errorCode = default, string errorDetails = default, Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationDetails operation = default);
static member ResourceOperationResult : Azure.Core.ResourceIdentifier * string * string * Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationDetails -> Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationResult
Public Shared Function ResourceOperationResult (Optional resourceId As ResourceIdentifier = Nothing, Optional errorCode As String = Nothing, Optional errorDetails As String = Nothing, Optional operation As ResourceOperationDetails = Nothing) As ResourceOperationResult

Parameters

resourceId
ResourceIdentifier

Unique identifier for the resource involved in the operation, eg ArmId.

errorCode
String

Resource level error code if it exists.

errorDetails
String

Resource level error details if they exist.

operation
ResourceOperationDetails

Details of the operation performed on a resource.

Returns

A new ResourceOperationResult instance for mocking.

Applies to