Compartilhar via


TasksOperationsExtensions.GetAsync Method

Definition

The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The GET method retrieves information about a task.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataMigration.Models.ProjectTask> GetAsync (this Microsoft.Azure.Management.DataMigration.ITasksOperations operations, string groupName, string serviceName, string projectName, string taskName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.DataMigration.ITasksOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataMigration.Models.ProjectTask>
<Extension()>
Public Function GetAsync (operations As ITasksOperations, groupName As String, serviceName As String, projectName As String, taskName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ProjectTask)

Parameters

operations
ITasksOperations

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

taskName
String

Name of the Task

expand
String

Expand the response

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to