Compartir a través de


TrafficManagerExtensions.CheckTrafficManagerNameAvailabilityV2Async Método

Definición

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

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Network/checkTrafficManagerNameAvailabilityV2
  • IdProfiles_checkTrafficManagerNameAvailabilityV2 de operación
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))

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource 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