RaiPolicyPropertiesView interface

View type for Azure OpenAI Content Filters properties.

Extends

Properties

basePolicyName

Name of Rai policy.

contentFilters

The list of Content Filters.

customBlocklists

The list of custom Blocklist.

mode

Rai policy mode. The enum value mapping is as below: Default = 0, Deferred=1, Blocking=2, Asynchronous_filter =3. Please use 'Asynchronous_filter' after 2025-06-01. It is the same as 'Deferred' in previous version.

safetyProviders

The list of Safety Providers.

type

Read-only output: Content Filters policy type.

Property Details

basePolicyName

Name of Rai policy.

basePolicyName?: ExpressionOrValue<string>

Property Value

contentFilters

The list of Content Filters.

contentFilters?: any

Property Value

any

customBlocklists

The list of custom Blocklist.

customBlocklists?: any

Property Value

any

mode

Rai policy mode. The enum value mapping is as below: Default = 0, Deferred=1, Blocking=2, Asynchronous_filter =3. Please use 'Asynchronous_filter' after 2025-06-01. It is the same as 'Deferred' in previous version.

mode?: ExpressionOrValue<string>

Property Value

safetyProviders

The list of Safety Providers.

safetyProviders?: any

Property Value

any

type

Read-only output: Content Filters policy type.

type?: Expression<string>

Property Value

Expression<string>