Partilhar via


ServiceProjectTaskResource.GetAsync(String, CancellationToken) Método

Definição

O recurso de tarefas é um recurso aninhado somente proxy que representa o trabalho executado por uma instância do DMS. O método GET recupera informações sobre uma tarefa.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}
  • IdTasks_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.ServiceProjectTaskResource>> GetAsync (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.ServiceProjectTaskResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataMigration.ServiceProjectTaskResource>>
Public Overridable Function GetAsync (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceProjectTaskResource))

Parâmetros

expand
String

Expanda a resposta.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a