Share via


MachineLearningJobResource.Update Method

Definition

Updates a Job.

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