ApplicationInsightsComponentResource.GetWebTestsAsync 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.
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.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestResource> GetWebTestsAsync (System.Threading.CancellationToken cancellationToken = default);
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.WebTestResource> GetWebTestsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebTestsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestResource>
override this.GetWebTestsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWebTestResource>
abstract member GetWebTestsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.WebTestResource>
override this.GetWebTestsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.WebTestResource>
Public Overridable Function GetWebTestsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApplicationInsightsWebTestResource)
Public Overridable Function GetWebTestsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WebTestResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of ApplicationInsightsWebTestResource that may take multiple service requests to iterate over.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET