FrontDoorRouteCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all of the existing origins within a profile.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/routes.
  • Operation Id. : Routes_ListByEndpoint.
  • Default Api Version. : 2025-09-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Cdn.FrontDoorRouteResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Cdn.FrontDoorRouteResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Cdn.FrontDoorRouteResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of FrontDoorRouteResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to