Skip to main content

policies

Creates, updates, deletes, gets or lists a policies resource.

Overview

Namepolicies
TypeResource
Idazure.ai_personalizer.policies

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
update_policyupdateendpointUpdate Policy. Update the Learning Settings that the Personalizer service will use to train models.
get_policyexecendpointPolicy. Get the Learning Settings currently used by the Personalizer service.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client Endpoint parameter. (default: )

UPDATE examples

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

UPDATE azure.ai_personalizer.policies
SET
-- No updatable properties
WHERE
endpoint = '{{ endpoint }}' --required;

Lifecycle Methods

Policy. Get the Learning Settings currently used by the Personalizer service.

EXEC azure.ai_personalizer.policies.get_policy 
@endpoint='{{ endpoint }}' --required
;