Compartilhar via


ProjectsOperationsExtensions.ListAsync Method

Definition

The project resource is a nested resource representing a stored migration project. This method returns a list of projects owned by a service resource.

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

Parameters

operations
IProjectsOperations

The operations group for this extension method.

groupName
String

Name of the resource group

serviceName
String

Name of the service

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to