RaiPoliciesOperations interface

Interface representing a RaiPolicies operations.

Properties

beginDelete
beginDeleteAndWait
createOrUpdate

Update the state of specified Content Filters associated with the Azure OpenAI account.

delete

Deletes the specified Content Filters associated with the Azure OpenAI account.

get

Gets the specified Content Filters associated with the Azure OpenAI account.

list

Gets the content filters associated with the Azure OpenAI account.

Property Details

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, accountName: string, raiPolicyName: string, options?: RaiPoliciesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, accountName: string, raiPolicyName: string, options?: RaiPoliciesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, accountName: string, raiPolicyName: string, options?: RaiPoliciesDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, accountName: string, raiPolicyName: string, options?: RaiPoliciesDeleteOptionalParams) => Promise<void>

createOrUpdate

Update the state of specified Content Filters associated with the Azure OpenAI account.

createOrUpdate: (resourceGroupName: string, accountName: string, raiPolicyName: string, raiPolicy: RaiPolicy, options?: RaiPoliciesCreateOrUpdateOptionalParams) => Promise<RaiPolicy>

Property Value

(resourceGroupName: string, accountName: string, raiPolicyName: string, raiPolicy: RaiPolicy, options?: RaiPoliciesCreateOrUpdateOptionalParams) => Promise<RaiPolicy>

delete

Deletes the specified Content Filters associated with the Azure OpenAI account.

delete: (resourceGroupName: string, accountName: string, raiPolicyName: string, options?: RaiPoliciesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, accountName: string, raiPolicyName: string, options?: RaiPoliciesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets the specified Content Filters associated with the Azure OpenAI account.

get: (resourceGroupName: string, accountName: string, raiPolicyName: string, options?: RaiPoliciesGetOptionalParams) => Promise<RaiPolicy>

Property Value

(resourceGroupName: string, accountName: string, raiPolicyName: string, options?: RaiPoliciesGetOptionalParams) => Promise<RaiPolicy>

list

Gets the content filters associated with the Azure OpenAI account.

list: (resourceGroupName: string, accountName: string, options?: RaiPoliciesListOptionalParams) => PagedAsyncIterableIterator<RaiPolicy, RaiPolicy[], PageSettings>

Property Value

(resourceGroupName: string, accountName: string, options?: RaiPoliciesListOptionalParams) => PagedAsyncIterableIterator<RaiPolicy, RaiPolicy[], PageSettings>