Partager via


MachineLearningWorkspaceResource.UpdateAsync Méthode

Définition

Mises à jour un espace de travail Machine Learning avec les paramètres spécifiés.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}
  • IdWorkspaces_Update d’opération
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspacePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspacePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningWorkspaceResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As MachineLearningWorkspacePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of MachineLearningWorkspaceResource))

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre la fin de l’opération de longue durée sur le service ; Started s’il doit retourner après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations Azure.Core Long-Running.

patch
MachineLearningWorkspacePatch

Paramètres de mise à jour d’un espace de travail Machine Learning.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à