Share via


NatGatewaysOperationsExtensions.ListAllAsync Method

Definition

Gets all the Nat Gateways in a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Fluent.Models.NatGatewayInner>> ListAllAsync (this Microsoft.Azure.Management.Network.Fluent.INatGatewaysOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAllAsync : Microsoft.Azure.Management.Network.Fluent.INatGatewaysOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Fluent.Models.NatGatewayInner>>
<Extension()>
Public Function ListAllAsync (operations As INatGatewaysOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of NatGatewayInner))

Parameters

operations
INatGatewaysOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to