Share via


PersonalizerAdministrationClient.UpdatePersonalizerPolicyAsync Method

Definition

Update the Learning Settings that the Personalizer service will use to train models.

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))

Parameters

policy
PersonalizerPolicy

The learning settings.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to