Share via


ManagedInstancesOperationsExtensions.ListAsync Method

Definition

Gets a list of all managed instances in the subscription.

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

Parameters

operations
IManagedInstancesOperations

The operations group for this extension method.

expand
String

The child resources to include in the response.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to