Share via


MachineLearningWorkspaceConnectionResource.UpdateAsync Method

Definition

Update machine learning workspaces connections under the specified workspace.

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

Parameters

patch
MachineLearningWorkspaceConnectionPatch

Parameters for workspace connection update.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to