Share via


RaiPolicyCollection.GetAll(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: 2024-10-01
  • Resource: RaiPolicyResource
public virtual Azure.Pageable<Azure.ResourceManager.CognitiveServices.RaiPolicyResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.RaiPolicyResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.RaiPolicyResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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