PersonalizerAdministrationClient.UpdatePersonalizerPolicyAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.