CdnWebAgentKnowledgeSourceCollection.GetAll(CancellationToken) Method

Definition

Lists all knowledge sources within a web agent.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/webAgents/{webAgentName}/knowledgeSources.
  • Operation Id. : KnowledgeSources_ListByWebAgent.
  • Default Api Version. : 2025-09-01-preview.
public virtual Azure.Pageable<Azure.ResourceManager.Cdn.CdnWebAgentKnowledgeSourceResource> GetAll(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Cdn.CdnWebAgentKnowledgeSourceResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Cdn.CdnWebAgentKnowledgeSourceResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CdnWebAgentKnowledgeSourceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to