SqlVirtualMachinesOperationsExtensions.ListAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.