Partager via


DevCenterExtensions.CheckDevCenterNameAvailabilityAsync Méthode

Définition

Vérifier la disponibilité du nom de la ressource

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.DevCenter/checkNameAvailability
  • IdCheckNameAvailability_Execute d’opération
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityResult>> CheckDevCenterNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckDevCenterNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityResult>>
<Extension()>
Public Function CheckDevCenterNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As DevCenterNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevCenterNameAvailabilityResult))

Paramètres

subscriptionResource
SubscriptionResource

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

content
DevCenterNameAvailabilityContent

Paramètres requis pour vérifier si le nom de la ressource est disponible.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à