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

AnalyticsItemsOperationsExtensions.List 方法

定义

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

public static System.Collections.Generic.IList<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAnalyticsItem> List(this Microsoft.Azure.Management.ApplicationInsights.Management.IAnalyticsItemsOperations operations, string resourceGroupName, string resourceName, string scopePath, string scope = default, string type = default, bool? includeContent = default);
static member List : Microsoft.Azure.Management.ApplicationInsights.Management.IAnalyticsItemsOperations * string * string * string * string * string * Nullable<bool> -> System.Collections.Generic.IList<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAnalyticsItem>
<Extension()>
Public Function List (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) As 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

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

includeContent
Nullable<Boolean>

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

返回

适用于