Freigeben über


VpnGatewayNatRuleCollection.GetAllAsync(CancellationToken) Methode

Definition

Ruft alle NAT-Regeln für ein bestimmtes virtuelles WAN-VPN-Gateway ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules
  • Vorgang IdNatRules_ListByVpnGateway
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.VpnGatewayNatRuleResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VpnGatewayNatRuleResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.VpnGatewayNatRuleResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VpnGatewayNatRuleResource)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Sammlung von, bei der VpnGatewayNatRuleResource mehrere Dienstanforderungen zum Durchlaufen verwendet werden können.

Gilt für: