Compartilhar via


RaiBlocklistItemCollection.GetAll(CancellationToken) Method

Definition

Gets the blocklist items associated with the custom blocklist.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/raiBlocklists/{raiBlocklistName}/raiBlocklistItems
  • Operation Id: RaiBlocklistItems_List
  • Default Api Version: 2024-10-01
  • Resource: RaiBlocklistItemResource
public virtual Azure.Pageable<Azure.ResourceManager.CognitiveServices.RaiBlocklistItemResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.RaiBlocklistItemResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.RaiBlocklistItemResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RaiBlocklistItemResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of RaiBlocklistItemResource that may take multiple service requests to iterate over.

Applies to