Partager via


MachineLearningBatchDeploymentResource.Update Méthode

Définition

Mettre à jour un déploiement d’inférence par lots (asynchrone).

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

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
MachineLearningBatchDeploymentPatch

Objet de définition de déploiement d’inférence par lots.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à