Compartilhar via


ServiceProjectTaskResource.Command Método

Definição

O recurso de tarefas é um recurso aninhado somente proxy que representa o trabalho executado por uma instância do DMS. Esse método executa um comando em uma tarefa em execução.

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

Parâmetros

commandProperties
CommandProperties

Comando que será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

commandProperties é nulo.

Aplica-se a