ApplicationInsightsExtensions.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 static Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestResource> GetApplicationInsightsWebTestsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetApplicationInsightsWebTestsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestResource>
<Extension()>
Public Function GetApplicationInsightsWebTestsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApplicationInsightsWebTestResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to