Partager via


TrafficManagerExtensions.CheckTrafficManagerNameAvailabilityV2 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 Azure.Response<Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult> CheckTrafficManagerNameAvailabilityV2 (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.TrafficManager.Models.TrafficManagerRelativeDnsNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckTrafficManagerNameAvailabilityV2 : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.TrafficManager.Models.TrafficManagerRelativeDnsNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult>
<Extension()>
Public Function CheckTrafficManagerNameAvailabilityV2 (subscriptionResource As SubscriptionResource, content As TrafficManagerRelativeDnsNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As 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 à