Udostępnij za pośrednictwem


ProjectsOperationsExtensions.GetAsync Method

Definition

The project resource is a nested resource representing a stored migration project. The GET method retrieves information about a project.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataMigration.Models.Project> GetAsync (this Microsoft.Azure.Management.DataMigration.IProjectsOperations operations, string groupName, string serviceName, string projectName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.DataMigration.IProjectsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataMigration.Models.Project>
<Extension()>
Public Function GetAsync (operations As IProjectsOperations, groupName As String, serviceName As String, projectName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(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

projectName
String

Name of the project

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to