Share via


ApplicationInsightsComponentResource.GetWebTests(CancellationToken) Method

Definition

Get all Application Insights web tests defined for the specified component.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to