RaiPolicyCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the content filters associated with the Azure OpenAI account.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to