Udostępnij za pośrednictwem


LocationsOperationsExtensions.ValidateClusterCreateRequestAsync Method

Definition

Validate the cluster create request spec is valid or not.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.ClusterCreateValidationResult> ValidateClusterCreateRequestAsync (this Microsoft.Azure.Management.HDInsight.ILocationsOperations operations, string location, Microsoft.Azure.Management.HDInsight.Models.ClusterCreateRequestValidationParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member ValidateClusterCreateRequestAsync : Microsoft.Azure.Management.HDInsight.ILocationsOperations * string * Microsoft.Azure.Management.HDInsight.Models.ClusterCreateRequestValidationParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.ClusterCreateValidationResult>
<Extension()>
Public Function ValidateClusterCreateRequestAsync (operations As ILocationsOperations, location As String, parameters As ClusterCreateRequestValidationParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ClusterCreateValidationResult)

Parameters

operations
ILocationsOperations

The operations group for this extension method.

location
String

The Azure location (region) for which to make the request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to