Share via


VpnGatewayNatRuleCollection.GetAll(CancellationToken) Method

Definition

Retrieves all nat rules for a particular virtual wan vpn gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules
  • Operation Id: NatRules_ListByVpnGateway
  • Default Api Version: 2023-09-01
  • Resource: VpnGatewayNatRuleResource
public virtual Azure.Pageable<Azure.ResourceManager.Network.VpnGatewayNatRuleResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.VpnGatewayNatRuleResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.VpnGatewayNatRuleResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VpnGatewayNatRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of VpnGatewayNatRuleResource that may take multiple service requests to iterate over.

Applies to