Share via


MockableApplicationInsightsSubscriptionResource.GetApplicationInsightsWebTestsAsync 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: ApplicationInsightsWebTestResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestResource> GetApplicationInsightsWebTestsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetApplicationInsightsWebTestsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestResource>
override this.GetApplicationInsightsWebTestsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestResource>
Public Overridable Function GetApplicationInsightsWebTestsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApplicationInsightsWebTestResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to