NatGatewaysOperationsExtensions.ListAllAsync(INatGatewaysOperations, CancellationToken) Method

Definition

Gets all the Nat Gateways in a subscription.

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

Parameters

operations
INatGatewaysOperations

The operations group for this extension method.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<NatGateway>>

Applies to