Udostępnij za pośrednictwem


FavoritesOperationsExtensions.List Method

Definition

Gets a list of favorites defined within an Application Insights component.

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)

Parameters

operations
IFavoritesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the Application Insights component resource.

favoriteType
Nullable<FavoriteType>

The type of favorite. Value can be either shared or user. Possible values include: 'shared', 'user'

sourceType
String

Source type of favorite to return. When left out, the source type defaults to 'other' (not present in this enum). Possible values include: 'retention', 'notebook', 'sessions', 'events', 'userflows', 'funnel', 'impact', 'segmentation'

canFetchContent
Nullable<Boolean>

Flag indicating whether or not to return the full content for each applicable favorite. If false, only return summary content for favorites.

tags
IList<String>

Tags that must be present on each favorite returned.

Returns

Applies to