Partilhar via


MockableApplicationInsightsSubscriptionResource.GetApplicationInsightsComponents Method

Definition

Gets a list of all Application Insights components within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/components
  • Operation Id: Components_List
  • Default Api Version: 2020-02-02
  • Resource: ApplicationInsightsComponentResource
public virtual Azure.Pageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentResource> GetApplicationInsightsComponents (System.Threading.CancellationToken cancellationToken = default);
abstract member GetApplicationInsightsComponents : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentResource>
override this.GetApplicationInsightsComponents : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentResource>
Public Overridable Function GetApplicationInsightsComponents (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ApplicationInsightsComponentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to