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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to