Partager via


MachineLearningRegistryModelContainerResource.UpdateAsync Méthode

Définition

Créer ou mettre à jour un conteneur de modèle.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registrys/{registryName}/models/{modelName}
  • IdRegistryModelContainers_CreateOrUpdate d’opération
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningRegistryModelContainerResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.MachineLearning.MachineLearningModelContainerData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.MachineLearningModelContainerData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningRegistryModelContainerResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.MachineLearningModelContainerData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningRegistryModelContainerResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As MachineLearningModelContainerData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of MachineLearningRegistryModelContainerResource))

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.

data
MachineLearningModelContainerData

Entité de conteneur à créer ou à mettre à jour.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à