ApplicationInsightsExtensions.GetApplicationInsightsWebTests Method

Definition

Overloads

GetApplicationInsightsWebTests(ResourceGroupResource)

Gets a collection of ApplicationInsightsWebTestResources in the ResourceGroupResource. MockingTo mock this method, please mock GetApplicationInsightsWebTests() instead.

GetApplicationInsightsWebTests(SubscriptionResource, CancellationToken)

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

GetApplicationInsightsWebTests(ResourceGroupResource)

Source:
ApplicationInsightsExtensions.cs

Gets a collection of ApplicationInsightsWebTestResources in the ResourceGroupResource. MockingTo mock this method, please mock GetApplicationInsightsWebTests() instead.

public static Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestCollection GetApplicationInsightsWebTests (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetApplicationInsightsWebTests : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestCollection
<Extension()>
Public Function GetApplicationInsightsWebTests (resourceGroupResource As ResourceGroupResource) As ApplicationInsightsWebTestCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ApplicationInsightsWebTestResources and their operations over a ApplicationInsightsWebTestResource.

Exceptions

resourceGroupResource is null.

Applies to

GetApplicationInsightsWebTests(SubscriptionResource, CancellationToken)

Source:
ApplicationInsightsExtensions.cs

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to