Partager via


TrafficManagerExtensions.CheckTrafficManagerRelativeDnsNameAvailabilityAsync Méthode

Définition

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

  • Chemin de la requête/providers/Microsoft.Network/checkTrafficManagerNameAvailability
  • IdProfiles_CheckTrafficManagerRelativeDnsNameAvailability d’opération
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult>> CheckTrafficManagerRelativeDnsNameAvailabilityAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.TrafficManager.Models.TrafficManagerRelativeDnsNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckTrafficManagerRelativeDnsNameAvailabilityAsync : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.TrafficManager.Models.TrafficManagerRelativeDnsNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult>>
<Extension()>
Public Function CheckTrafficManagerRelativeDnsNameAvailabilityAsync (tenantResource As TenantResource, content As TrafficManagerRelativeDnsNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TrafficManagerNameAvailabilityResult))

Paramètres

tenantResource
TenantResource

Instance TenantResource 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 à