LocationsOperationsExtensions.ValidateClusterCreateRequestAsync 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.
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.
- parameters
- ClusterCreateRequestValidationParameters
- cancellationToken
- CancellationToken
The cancellation token.