MockableCdnSubscriptionResource.GetCdnWebAgentsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists all web agents within a subscription.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/webAgents.
- Operation Id. : WebAgents_ListBySubscription.
- Default Api Version. : 2025-09-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Cdn.CdnWebAgentResource> GetCdnWebAgentsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetCdnWebAgentsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Cdn.CdnWebAgentResource>
override this.GetCdnWebAgentsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Cdn.CdnWebAgentResource>
Public Overridable Function GetCdnWebAgentsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CdnWebAgentResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of CdnWebAgentResource that may take multiple service requests to iterate over.