Share via


OperationsExtensions.ListAsync(IOperations, CancellationToken) Method

Definition

Gets a list of compute operations.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Compute.Models.ComputeOperationValue>> ListAsync (this Microsoft.Azure.Management.Compute.IOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Compute.IOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Compute.Models.ComputeOperationValue>>
<Extension()>
Public Function ListAsync (operations As IOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of ComputeOperationValue))

Parameters

operations
IOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to