共用方式為


OperationalizationClusterResource.UpdateAsync Method

Definition

The PATCH operation can be used to update only the tags for a cluster. Use PUT operation to update other properties.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}
  • Operation Id: OperationalizationClusters_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearningCompute.OperationalizationClusterResource>> UpdateAsync (Azure.ResourceManager.MachineLearningCompute.Models.OperationalizationClusterPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.MachineLearningCompute.Models.OperationalizationClusterPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearningCompute.OperationalizationClusterResource>>
override this.UpdateAsync : Azure.ResourceManager.MachineLearningCompute.Models.OperationalizationClusterPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearningCompute.OperationalizationClusterResource>>
Public Overridable Function UpdateAsync (patch As OperationalizationClusterPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of OperationalizationClusterResource))

Parameters

patch
OperationalizationClusterPatch

The parameters supplied to patch the cluster.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to