共用方式為


ArmHDInsightModelFactory.HDInsightClusterCreationValidateResult Method

Definition

Initializes a new instance of HDInsightClusterCreationValidateResult.

public static Azure.ResourceManager.HDInsight.Models.HDInsightClusterCreationValidateResult HDInsightClusterCreationValidateResult (System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Models.HDInsightClusterValidationErrorInfo> validationErrors = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Models.HDInsightClusterValidationErrorInfo> validationWarnings = default, TimeSpan? estimatedCreationDuration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Models.HDInsightClusterAaddsDetail> aaddsResourcesDetails = default);
static member HDInsightClusterCreationValidateResult : seq<Azure.ResourceManager.HDInsight.Models.HDInsightClusterValidationErrorInfo> * seq<Azure.ResourceManager.HDInsight.Models.HDInsightClusterValidationErrorInfo> * Nullable<TimeSpan> * seq<Azure.ResourceManager.HDInsight.Models.HDInsightClusterAaddsDetail> -> Azure.ResourceManager.HDInsight.Models.HDInsightClusterCreationValidateResult
Public Shared Function HDInsightClusterCreationValidateResult (Optional validationErrors As IEnumerable(Of HDInsightClusterValidationErrorInfo) = Nothing, Optional validationWarnings As IEnumerable(Of HDInsightClusterValidationErrorInfo) = Nothing, Optional estimatedCreationDuration As Nullable(Of TimeSpan) = Nothing, Optional aaddsResourcesDetails As IEnumerable(Of HDInsightClusterAaddsDetail) = Nothing) As HDInsightClusterCreationValidateResult

Parameters

validationErrors
IEnumerable<HDInsightClusterValidationErrorInfo>

The validation errors.

validationWarnings
IEnumerable<HDInsightClusterValidationErrorInfo>

The validation warnings.

estimatedCreationDuration
Nullable<TimeSpan>

The estimated creation duration.

aaddsResourcesDetails
IEnumerable<HDInsightClusterAaddsDetail>

The Azure active directory domain service resource details.

Returns

A new HDInsightClusterCreationValidateResult instance for mocking.

Applies to