Udostępnij za pośrednictwem


ArmDataShareModelFactory.DataShareOperationResult Method

Definition

Initializes a new instance of DataShareOperationResult.

public static Azure.ResourceManager.DataShare.Models.DataShareOperationResult DataShareOperationResult (DateTimeOffset? endOn = default, Azure.ResponseError error = default, DateTimeOffset? startOn = default, Azure.ResourceManager.DataShare.Models.DataShareOperationStatus status = default);
static member DataShareOperationResult : Nullable<DateTimeOffset> * Azure.ResponseError * Nullable<DateTimeOffset> * Azure.ResourceManager.DataShare.Models.DataShareOperationStatus -> Azure.ResourceManager.DataShare.Models.DataShareOperationResult
Public Shared Function DataShareOperationResult (Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional error As ResponseError = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As DataShareOperationStatus = Nothing) As DataShareOperationResult

Parameters

endOn
Nullable<DateTimeOffset>

start time.

error
ResponseError

The error property when status is failed.

startOn
Nullable<DateTimeOffset>

start time.

status
DataShareOperationStatus

Operation state of the long running operation.

Returns

A new DataShareOperationResult instance for mocking.

Applies to