CdnOriginCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all of the existing origins within an endpoint.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of CdnOriginResource that may take multiple service requests to iterate over.

Applies to