ArmHDInsightModelFactory.HDInsightAsyncOperationResult 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 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.