Delen via


NatGatewayCollection.GetAll(CancellationToken) Method

Definition

Gets all nat gateways in a resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to