ArmHDInsightModelFactory.HDInsightAsyncOperationResult Method

Definition

Initializes a new instance of HDInsightAsyncOperationResult.

public static Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult HDInsightAsyncOperationResult (Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationState? status = default, Azure.ResponseError error = default);
static member HDInsightAsyncOperationResult : Nullable<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationState> * Azure.ResponseError -> Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult
Public Shared Function HDInsightAsyncOperationResult (Optional status As Nullable(Of HDInsightAsyncOperationState) = Nothing, Optional error As ResponseError = Nothing) As HDInsightAsyncOperationResult

Parameters

status
Nullable<HDInsightAsyncOperationState>

The async operation state.

error
ResponseError

The operation error information.

Returns

A new HDInsightAsyncOperationResult instance for mocking.

Applies to