Freigeben über


InboundNatRuleCollection.GetAsync(String, String, CancellationToken) Methode

Definition

Ruft die angegebene NAT-Regel für eingehenden Lastenausgleich ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}
  • Vorgang IdInboundNatRules_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.InboundNatRuleResource>> GetAsync (string inboundNatRuleName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.InboundNatRuleResource>>
override this.GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.InboundNatRuleResource>>
Public Overridable Function GetAsync (inboundNatRuleName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of InboundNatRuleResource))

Parameter

inboundNatRuleName
String

Der Name der NAT-Regel für eingehenden Datenverkehr.

expand
String

Erweitert Ressourcen, auf die verwiesen wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

inboundNatRuleName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

inboundNatRuleName ist NULL.

Gilt für: