Compartir a través de


HDInsightExtensions.ValidateHDInsightClusterCreationAsync Método

Definición

Valide que la especificación de solicitud de creación del clúster sea válida o no.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/validateCreateRequest
  • IdLocations_ValidateClusterCreateRequest de operación
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightClusterCreationValidateResult>> ValidateHDInsightClusterCreationAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.HDInsight.Models.HDInsightClusterCreationValidateContent content, System.Threading.CancellationToken cancellationToken = default);
static member ValidateHDInsightClusterCreationAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.HDInsight.Models.HDInsightClusterCreationValidateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightClusterCreationValidateResult>>
<Extension()>
Public Function ValidateHDInsightClusterCreationAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As HDInsightClusterCreationValidateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HDInsightClusterCreationValidateResult))

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

location
AzureLocation

Ubicación de Azure (región) para la que se va a realizar la solicitud.

content
HDInsightClusterCreationValidateContent

HDInsightClusterCreationValidateContent que se va a usar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a