CdnWebAgentKnowledgeSourceCollection.GetAllAsync(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.AsyncPageable<Azure.ResourceManager.Cdn.CdnWebAgentKnowledgeSourceResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Cdn.CdnWebAgentKnowledgeSourceResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Cdn.CdnWebAgentKnowledgeSourceResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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