Compartir a través de


ServiceProjectTaskResource.Command Método

Definición

El recurso tasks es un recurso anidado de solo proxy que representa el trabajo realizado por una instancia de DMS. Este método ejecuta un comando en una tarea en ejecución.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command
  • IdTasks_Command de operaciones
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 se ejecuta.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

commandProperties es null.

Se aplica a