Compartilhar via


TrafficManagerExtensions.CheckTrafficManagerRelativeDnsNameAvailabilityAsync Método

Definição

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

  • Caminho da Solicitação/provedores/Microsoft.Network/checkTrafficManagerNameAvailability
  • IdProfiles_CheckTrafficManagerRelativeDnsNameAvailability de operação
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

A TenantResource 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