Partilhar via


MachineLearningBatchEndpointResource.UpdateAsync Método

Definição

Atualizar um ponto de extremidade de inferência em lote (assíncrono).

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}
  • Operação IdBatchEndpoints_Update
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningBatchEndpointResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.MachineLearning.Models.MachineLearningResourcePatchWithIdentity body, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.Models.MachineLearningResourcePatchWithIdentity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningBatchEndpointResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.Models.MachineLearningResourcePatchWithIdentity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.MachineLearningBatchEndpointResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, body As MachineLearningResourcePatchWithIdentity, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of MachineLearningBatchEndpointResource))

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de execução prolongada, consulte Exemplos de operação de Long-Running do Azure.Core.

body
MachineLearningResourcePatchWithIdentity

Objeto de definição de ponto de extremidade de inferência de lote mutável.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

body é nulo.

Aplica-se a