Compartir a través de


LoadBalancerResource.GetOutboundRuleAsync(String, CancellationToken) Método

Definición

Obtiene la regla de salida del equilibrador de carga especificada.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}
  • IdLoadBalancerOutboundRules_Get de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.OutboundRuleResource>> GetOutboundRuleAsync (string outboundRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOutboundRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.OutboundRuleResource>>
override this.GetOutboundRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.OutboundRuleResource>>
Public Overridable Function GetOutboundRuleAsync (outboundRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of OutboundRuleResource))

Parámetros

outboundRuleName
String

Nombre de la regla de salida.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

outboundRuleName es null.

Se aplica a