MockableCdnSubscriptionResource.GetProfilesAsync(CancellationToken) Method

Definition

Lists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to