CdnCustomDomainCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all of the existing custom domains within an endpoint.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to