ApplicationInsightsExtensions.GetApplicationInsightsWebTests Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
|
GetApplicationInsightsWebTests(ResourceGroupResource)
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)
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
Azure SDK for .NET