你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MockableApplicationInsightsSubscriptionResource.GetApplicationInsightsComponentsAsync 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.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentResource> GetApplicationInsightsComponentsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetApplicationInsightsComponentsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentResource>
override this.GetApplicationInsightsComponentsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentResource>
Public Overridable Function GetApplicationInsightsComponentsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApplicationInsightsComponentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to