Compartir a través de


TrafficManagerExtensions.CheckTrafficManagerRelativeDnsNameAvailabilityAsync Método

Definición

Comprueba la disponibilidad de un nombre DNS relativo de Traffic Manager.

  • Ruta de acceso de solicitud/providers/Microsoft.Network/checkTrafficManagerNameAvailability
  • IdProfiles_CheckTrafficManagerRelativeDnsNameAvailability de operaciones
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))

Parámetros

tenantResource
TenantResource

Instancia TenantResource en la que se ejecutará el método.

content
TrafficManagerRelativeDnsNameAvailabilityContent

Los parámetros de nombre de Traffic Manager proporcionados a la operación CheckTrafficManagerNameAvailability.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a