CdnExtensions.GetEdgeNodesAsync(TenantResource, CancellationToken) Method

Definition

Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users. <item> Mocking. To mock this method, please mock GetEdgeNodesAsync(CancellationToken) instead. </item>

public static Azure.AsyncPageable<Azure.ResourceManager.Cdn.Models.EdgeNode> GetEdgeNodesAsync(this Azure.ResourceManager.Resources.TenantResource tenantResource, System.Threading.CancellationToken cancellationToken = default);
static member GetEdgeNodesAsync : Azure.ResourceManager.Resources.TenantResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Cdn.Models.EdgeNode>
<Extension()>
Public Function GetEdgeNodesAsync (tenantResource As TenantResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EdgeNode)

Parameters

tenantResource
TenantResource

The TenantResource the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

tenantResource is null.

Applies to