Compartir a través de


HDInsightContainersExtensions.CheckHDInsightNameAvailability Método

Definición

Compruebe la disponibilidad del nombre del recurso.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/checkNameAvailability
  • IdLocations_CheckNameAvailability de operaciones
public static Azure.Response<Azure.ResourceManager.HDInsight.Containers.Models.HDInsightNameAvailabilityResult> CheckHDInsightNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.HDInsight.Containers.Models.HDInsightNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckHDInsightNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.HDInsight.Containers.Models.HDInsightNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Containers.Models.HDInsightNameAvailabilityResult>
<Extension()>
Public Function CheckHDInsightNameAvailability (subscriptionResource As SubscriptionResource, location As AzureLocation, content As HDInsightNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HDInsightNameAvailabilityResult)

Parámetros

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Nombre de la región de Azure.

content
HDInsightNameAvailabilityContent

Nombre y tipo del recurso.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a