Compartir a través de


DnsForwardingRulesetResource.GetDnsForwardingRule 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 Azure.Response<Azure.ResourceManager.DnsResolver.DnsForwardingRuleResource> GetDnsForwardingRule (string forwardingRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDnsForwardingRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DnsResolver.DnsForwardingRuleResource>
override this.GetDnsForwardingRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DnsResolver.DnsForwardingRuleResource>
Public Overridable Function GetDnsForwardingRule (forwardingRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As 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 esperaba que no estuviera vacía.

forwardingRuleName es null.

Se aplica a