Share via


WebTestsOperationsExtensions.ListByComponentAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTest>> ListByComponentAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IWebTestsOperations operations, string componentName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByComponentAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IWebTestsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApplicationInsights.Management.Models.WebTest>>
<Extension()>
Public Function ListByComponentAsync (operations As IWebTestsOperations, componentName As String, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of WebTest))

Parameters

operations
IWebTestsOperations

The operations group for this extension method.

componentName
String

The name of the Application Insights component resource.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to