Compartir a través de


DnsResolverExtensions.GetDnsResolver Método

Definición

Obtiene las propiedades de una resolución DNS.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}
  • IdDnsResolvers_Get de operaciones
public static Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverResource> GetDnsResolver (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string dnsResolverName, System.Threading.CancellationToken cancellationToken = default);
static member GetDnsResolver : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverResource>
<Extension()>
Public Function GetDnsResolver (resourceGroupResource As ResourceGroupResource, dnsResolverName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DnsResolverResource)

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

dnsResolverName
String

Nombre del solucionador DNS.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

dnsResolverName es una cadena vacía y se esperaba que no estuviera vacía.

dnsResolverName es null.

Se aplica a