Compartilhar via


DnsResolverCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém propriedades de um resolvedor DNS.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}
  • Operação IdDnsResolvers_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverResource>> GetAsync (string dnsResolverName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverResource>>
Public Overridable Function GetAsync (dnsResolverName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DnsResolverResource))

Parâmetros

dnsResolverName
String

O nome do resolvedor DNS.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

dnsResolverName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

dnsResolverName é nulo.

Aplica-se a