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

AnalyticsItemsOperationsExtensions.ListAsync 方法

定义

获取 Application Insights 组件中定义的分析项的列表。

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAnalyticsItem>> ListAsync(this Microsoft.Azure.Management.ApplicationInsights.Management.IAnalyticsItemsOperations operations, string resourceGroupName, string resourceName, string scopePath, string scope = default, string type = default, bool? includeContent = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IAnalyticsItemsOperations * string * string * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAnalyticsItem>>
<Extension()>
Public Function ListAsync (operations As IAnalyticsItemsOperations, resourceGroupName As String, resourceName As String, scopePath As String, Optional scope As String = Nothing, Optional type As String = Nothing, Optional includeContent As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of ApplicationInsightsComponentAnalyticsItem))

参数

operations
IAnalyticsItemsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

resourceName
String

Application Insights 组件资源的名称。

scopePath
String

枚举,指示此项定义是由特定用户拥有,还是由有权访问 Application Insights 组件的所有用户共享。 可能的值包括:“analyticsItems”、“myanalyticsItems”

scope
String

枚举,指示此项定义是由特定用户拥有,还是由有权访问 Application Insights 组件的所有用户共享。 可能的值包括:“shared”、“user”

type
String

指示 Analytics 项类型的枚举。 可能的值包括:“none”、“query”、“function”、“folder”、“recent”

includeContent
Nullable<Boolean>

指示是否返回每个适用项的内容的标志。 如果为 false,则仅返回项信息。

cancellationToken
CancellationToken

取消标记。

返回

适用于