Partager via


DevCenterExtensions.CheckDevCenterNameAvailability 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 Azure.Response<Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityResult> CheckDevCenterNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckDevCenterNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityResult>
<Extension()>
Public Function CheckDevCenterNameAvailability (subscriptionResource As SubscriptionResource, content As DevCenterNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As 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 à