CdnWebAgentCollection.GetAll(CancellationToken) Method

Definition

Lists all web agents within a resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to