Share via


SqlVirtualMachineGroupsOperationsExtensions.ListAsync Method

Definition

Gets all SQL virtual machine groups in a subscription.

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

Parameters

operations
ISqlVirtualMachineGroupsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to