RaiBlocklistItemsOperations interface
Interface representing a RaiBlocklistItems operations.
Properties
| batch |
Batch operation to add blocklist items. |
| batch |
Batch operation to delete blocklist items. |
| begin |
|
| begin |
|
| create |
Update the state of specified blocklist item associated with the Azure OpenAI account. |
| delete | Deletes the specified blocklist Item associated with the custom blocklist. |
| get | Gets the specified custom blocklist Item associated with the custom blocklist. |
| list | Gets the blocklist items associated with the custom blocklist. |
Property Details
batchAdd
Batch operation to add blocklist items.
batchAdd: (resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItems: RaiBlocklistItemBulkRequest[], options?: RaiBlocklistItemsBatchAddOptionalParams) => Promise<RaiBlocklist>
Property Value
(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItems: RaiBlocklistItemBulkRequest[], options?: RaiBlocklistItemsBatchAddOptionalParams) => Promise<RaiBlocklist>
batchDelete
Batch operation to delete blocklist items.
batchDelete: (resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemsNames: string[], options?: RaiBlocklistItemsBatchDeleteOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemsNames: string[], options?: RaiBlocklistItemsBatchDeleteOptionalParams) => Promise<void>
beginDelete
Warning
This API is now deprecated.
use delete instead
beginDelete: (resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: RaiBlocklistItemsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
Property Value
(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: RaiBlocklistItemsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait
Warning
This API is now deprecated.
use delete instead
beginDeleteAndWait: (resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: RaiBlocklistItemsDeleteOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: RaiBlocklistItemsDeleteOptionalParams) => Promise<void>
createOrUpdate
Update the state of specified blocklist item associated with the Azure OpenAI account.
createOrUpdate: (resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, raiBlocklistItem: RaiBlocklistItem, options?: RaiBlocklistItemsCreateOrUpdateOptionalParams) => Promise<RaiBlocklistItem>
Property Value
(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, raiBlocklistItem: RaiBlocklistItem, options?: RaiBlocklistItemsCreateOrUpdateOptionalParams) => Promise<RaiBlocklistItem>
delete
Deletes the specified blocklist Item associated with the custom blocklist.
delete: (resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: RaiBlocklistItemsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: RaiBlocklistItemsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
Gets the specified custom blocklist Item associated with the custom blocklist.
get: (resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: RaiBlocklistItemsGetOptionalParams) => Promise<RaiBlocklistItem>
Property Value
(resourceGroupName: string, accountName: string, raiBlocklistName: string, raiBlocklistItemName: string, options?: RaiBlocklistItemsGetOptionalParams) => Promise<RaiBlocklistItem>
list
Gets the blocklist items associated with the custom blocklist.
list: (resourceGroupName: string, accountName: string, raiBlocklistName: string, options?: RaiBlocklistItemsListOptionalParams) => PagedAsyncIterableIterator<RaiBlocklistItem, RaiBlocklistItem[], PageSettings>
Property Value
(resourceGroupName: string, accountName: string, raiBlocklistName: string, options?: RaiBlocklistItemsListOptionalParams) => PagedAsyncIterableIterator<RaiBlocklistItem, RaiBlocklistItem[], PageSettings>