Partager via


HDInsightExtensions.CheckHDInsightNameAvailability Méthode

Définition

Vérifiez que le nom du cluster est disponible ou non.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability
  • IdLocations_CheckNameAvailability d’opération
public static Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightNameAvailabilityResult> CheckHDInsightNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.HDInsight.Models.HDInsightNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckHDInsightNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.HDInsight.Models.HDInsightNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightNameAvailabilityResult>
<Extension()>
Public Function CheckHDInsightNameAvailability (subscriptionResource As SubscriptionResource, location As AzureLocation, content As HDInsightNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HDInsightNameAvailabilityResult)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

location
AzureLocation

Emplacement Azure (région) pour lequel effectuer la demande.

content
HDInsightNameAvailabilityContent

HDInsightNameAvailabilityContent à utiliser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à