RaiTopicCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the custom topics associated with the Azure OpenAI account.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to