RaiBlocklistCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the custom blocklists associated with the Azure OpenAI account.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to