Compartilhar via


DnsResolverCollection.Get(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 Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverResource> Get (string dnsResolverName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverResource>
Public Overridable Function Get (dnsResolverName As String, Optional cancellationToken As CancellationToken = Nothing) As 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