MockableApplicationInsightsSubscriptionResource.GetWebTestsAsync Method

Definition

Get all Application Insights web test definitions for the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/webtests
  • Operation Id: WebTests_List
  • Default Api Version: 2022-06-15
  • Resource: WebTestResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.WebTestResource> GetWebTestsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebTestsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.WebTestResource>
override this.GetWebTestsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.WebTestResource>
Public Overridable Function GetWebTestsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WebTestResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to