Partager via


TrafficManagerExtensions.CheckTrafficManagerNameAvailabilityV2Async Méthode

Définition

Vérifier la disponibilité d’un nom DNS relatif dans Traffic Manager.

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

Paramètres

subscriptionResource
SubscriptionResource

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

content
TrafficManagerRelativeDnsNameAvailabilityContent

Paramètres de nom Traffic Manager fournis à l’opération CheckTrafficManagerNameAvailability.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à