Share via


ServicesOperationsExtensions.ListAsync Method

Definition

The services resource is the top-level resource that represents the Database Migration Service. This method returns a list of service resources in a subscription.

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

Parameters

operations
IServicesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to