共用方式為


CdnOriginGroupCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all of the existing origin groups within an endpoint.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to