Partilhar via


HDInsightExtensions.ValidateHDInsightClusterCreation Método

Definição

Valide se a especificação de solicitação de criação de cluster é válida ou não.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/validateCreateRequest
  • IdLocations_ValidateClusterCreateRequest de operação
public static Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightClusterCreationValidateResult> ValidateHDInsightClusterCreation (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.HDInsight.Models.HDInsightClusterCreationValidateContent content, System.Threading.CancellationToken cancellationToken = default);
static member ValidateHDInsightClusterCreation : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.HDInsight.Models.HDInsightClusterCreationValidateContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightClusterCreationValidateResult>
<Extension()>
Public Function ValidateHDInsightClusterCreation (subscriptionResource As SubscriptionResource, location As AzureLocation, content As HDInsightClusterCreationValidateContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HDInsightClusterCreationValidateResult)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

location
AzureLocation

O local do Azure (região) para o qual fazer a solicitação.

content
HDInsightClusterCreationValidateContent

O HDInsightClusterCreationValidateContent a ser usado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a