Compartir a través de


JobDefinitionResource.UpdateAsync Método

Definición

Novedades propiedades de un recurso de definición de trabajo. Las propiedades no especificadas en el cuerpo de la solicitud no se modificarán.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}
  • IdJobDefinitions_Update de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.JobDefinitionResource>> UpdateAsync (Azure.ResourceManager.StorageMover.Models.JobDefinitionPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.StorageMover.Models.JobDefinitionPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.JobDefinitionResource>>
override this.UpdateAsync : Azure.ResourceManager.StorageMover.Models.JobDefinitionPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.JobDefinitionResource>>
Public Overridable Function UpdateAsync (patch As JobDefinitionPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of JobDefinitionResource))

Parámetros

patch
JobDefinitionPatch

JobDefinitionPatch que se va a usar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a