Compartir a través de


DnsForwardingRulesetResource.GetDnsForwardingRuleAsync Método

Definición

Obtiene las propiedades de una regla de reenvío en un conjunto de reglas de reenvío DNS.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/forwardingRules/{forwardingRuleName}
  • IdForwardingRules_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsForwardingRuleResource>> GetDnsForwardingRuleAsync (string forwardingRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDnsForwardingRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsForwardingRuleResource>>
override this.GetDnsForwardingRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsForwardingRuleResource>>
Public Overridable Function GetDnsForwardingRuleAsync (forwardingRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DnsForwardingRuleResource))

Parámetros

forwardingRuleName
String

Nombre de la regla de reenvío.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

forwardingRuleName es una cadena vacía y se espera que no esté vacía.

forwardingRuleName es null.

Se aplica a