Share via


MachineLearningJobResource.UpdateAsync Method

Definition

Updates a Job.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}
  • Operation Id: Jobs_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningJobResource>> UpdateAsync (Azure.ResourceManager.MachineLearning.Models.MachineLearningJobPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.MachineLearning.Models.MachineLearningJobPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningJobResource>>
override this.UpdateAsync : Azure.ResourceManager.MachineLearning.Models.MachineLearningJobPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningJobResource>>
Public Overridable Function UpdateAsync (patch As MachineLearningJobPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningJobResource))

Parameters

patch
MachineLearningJobPatch

Job definition to apply during the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to