Compartilhar via


RaiBlocklistResource.BatchDeleteRaiBlocklistItemAsync Method

Definition

Batch operation to delete blocklist items.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/raiBlocklists/{raiBlocklistName}/deleteRaiBlocklistItems
  • Operation Id: RaiBlocklistItems_BatchDelete
  • Default Api Version: 2024-10-01
  • Resource: RaiBlocklistItemResource
public virtual System.Threading.Tasks.Task<Azure.Response> BatchDeleteRaiBlocklistItemAsync (BinaryData raiBlocklistItemsNames, System.Threading.CancellationToken cancellationToken = default);
abstract member BatchDeleteRaiBlocklistItemAsync : BinaryData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.BatchDeleteRaiBlocklistItemAsync : BinaryData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function BatchDeleteRaiBlocklistItemAsync (raiBlocklistItemsNames As BinaryData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

raiBlocklistItemsNames
BinaryData

List of RAI Blocklist Items Names.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

raiBlocklistItemsNames is null.

Applies to