Compartilhar via


RaiBlocklistItemCollection.GetAllAsync(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.AsyncPageable<Azure.ResourceManager.CognitiveServices.RaiBlocklistItemResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.RaiBlocklistItemResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.RaiBlocklistItemResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RaiBlocklistItemResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to