RaiBlocklistsOperations interface

Interface representing a RaiBlocklists operations.

Properties

beginDelete
beginDeleteAndWait
createOrUpdate

Update the state of specified blocklist associated with the Azure OpenAI account.

delete

Deletes the specified custom blocklist associated with the Azure OpenAI account.

get

Gets the specified custom blocklist associated with the Azure OpenAI account.

list

Gets the custom blocklists associated with the Azure OpenAI account.

Property Details

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, accountName: string, raiBlocklistName: string, options?: RaiBlocklistsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, accountName: string, raiBlocklistName: string, options?: RaiBlocklistsDeleteOptionalParams) => Promise<void>

createOrUpdate

Update the state of specified blocklist associated with the Azure OpenAI account.

createOrUpdate: (resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklist: RaiBlocklist, options?: RaiBlocklistsCreateOrUpdateOptionalParams) => Promise<RaiBlocklist>

Property Value

(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklist: RaiBlocklist, options?: RaiBlocklistsCreateOrUpdateOptionalParams) => Promise<RaiBlocklist>

delete

Deletes the specified custom blocklist associated with the Azure OpenAI account.

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

Property Value

(resourceGroupName: string, accountName: string, raiBlocklistName: string, options?: RaiBlocklistsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets the specified custom blocklist associated with the Azure OpenAI account.

get: (resourceGroupName: string, accountName: string, raiBlocklistName: string, options?: RaiBlocklistsGetOptionalParams) => Promise<RaiBlocklist>

Property Value

(resourceGroupName: string, accountName: string, raiBlocklistName: string, options?: RaiBlocklistsGetOptionalParams) => Promise<RaiBlocklist>

list

Gets the custom blocklists associated with the Azure OpenAI account.

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

Property Value

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