Compartilhar via


TrafficManagerExtensions.CheckTrafficManagerNameAvailabilityV2Async Método

Definição

Verificar a disponibilidade de um nome DNS relativo do Gerenciador de Tráfego.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Network/checkTrafficManagerNameAvailabilityV2
  • IdProfiles_checkTrafficManagerNameAvailabilityV2 de operação
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

A SubscriptionResource instância na qual o método será executado.

content
TrafficManagerRelativeDnsNameAvailabilityContent

Os parâmetros de nome do Gerenciador de Tráfego fornecidos para a operação CheckTrafficManagerNameAvailability.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a