Share via


BatchAccountOperationsExtensions.ListAsync Method

Definition

Gets information about the Batch accounts associated with the subscription.

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

Parameters

operations
IBatchAccountOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to