Delen via


SqlVirtualMachinesOperationsExtensions.ListAsync Method

Definition

Gets all SQL virtual machines in a subscription.

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

Parameters

operations
ISqlVirtualMachinesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to