Freigeben über


PersonalizerAdministrationClient.UpdatePersonalizerPolicyAsync Methode

Definition

Aktualisieren Sie die Lerneinstellungen, die der Personalisierungsdienst zum Trainieren von Modellen verwenden wird.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.Personalizer.PersonalizerPolicy>> UpdatePersonalizerPolicyAsync (Azure.AI.Personalizer.PersonalizerPolicy policy, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdatePersonalizerPolicyAsync : Azure.AI.Personalizer.PersonalizerPolicy * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Personalizer.PersonalizerPolicy>>
override this.UpdatePersonalizerPolicyAsync : Azure.AI.Personalizer.PersonalizerPolicy * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Personalizer.PersonalizerPolicy>>
Public Overridable Function UpdatePersonalizerPolicyAsync (policy As PersonalizerPolicy, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PersonalizerPolicy))

Parameter

policy
PersonalizerPolicy

Die Lerneinstellungen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: