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

FavoritesOperationsExtensions.List 方法

定义

获取 Application Insights 组件中定义的收藏夹列表。

public static System.Collections.Generic.IList<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentFavorite> List(this Microsoft.Azure.Management.ApplicationInsights.Management.IFavoritesOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.ApplicationInsights.Management.Models.FavoriteType? favoriteType = default, string sourceType = default, bool? canFetchContent = default, System.Collections.Generic.IList<string> tags = default);
static member List : Microsoft.Azure.Management.ApplicationInsights.Management.IFavoritesOperations * string * string * Nullable<Microsoft.Azure.Management.ApplicationInsights.Management.Models.FavoriteType> * string * Nullable<bool> * System.Collections.Generic.IList<string> -> System.Collections.Generic.IList<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentFavorite>
<Extension()>
Public Function List (operations As IFavoritesOperations, resourceGroupName As String, resourceName As String, Optional favoriteType As Nullable(Of FavoriteType) = Nothing, Optional sourceType As String = Nothing, Optional canFetchContent As Nullable(Of Boolean) = Nothing, Optional tags As IList(Of String) = Nothing) As IList(Of ApplicationInsightsComponentFavorite)

参数

operations
IFavoritesOperations

此扩展方法的操作组。

resourceGroupName
String

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

resourceName
String

Application Insights 组件资源的名称。

favoriteType
Nullable<FavoriteType>

收藏夹的类型。 值可以是共享的,也可以是用户。 可能的值包括:“shared”、“user”

sourceType
String

要返回的收藏夹的源类型。 如果排除,则源类型默认为“other”, (此枚举) 中不存在。 可能的值包括:“retention”、“notebook”、“sessions”、“events”、“userflows”、“漏斗”、“影响”、“分段”

canFetchContent
Nullable<Boolean>

指示是否返回每个适用收藏夹的完整内容的标志。 如果为 false,则仅返回收藏夹的摘要内容。

tags
IList<String>

返回的每个收藏夹上必须存在的标记。

返回

适用于