Dela via


ServicesOperationsExtensions.ListByResourceGroupAsync 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 resource group.

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

Parameters

operations
IServicesOperations

The operations group for this extension method.

groupName
String

Name of the resource group

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to