FavoritesOperations interface

Interface representing a Favorites operations.

Properties

add

Adds a new favorites to an Application Insights component.

delete

Remove a favorite that is associated to an Application Insights component.

get

Get a single favorite by its FavoriteId, defined within an Application Insights component.

list

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

update

Updates a favorite that has already been added to an Application Insights component.

Property Details

add

Adds a new favorites to an Application Insights component.

add: (resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: ApplicationInsightsComponentFavorite, options?: FavoritesAddOptionalParams) => Promise<ApplicationInsightsComponentFavorite>

Property Value

(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: ApplicationInsightsComponentFavorite, options?: FavoritesAddOptionalParams) => Promise<ApplicationInsightsComponentFavorite>

delete

Remove a favorite that is associated to an Application Insights component.

delete: (resourceGroupName: string, resourceName: string, favoriteId: string, options?: FavoritesDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, resourceName: string, favoriteId: string, options?: FavoritesDeleteOptionalParams) => Promise<void>

get

Get a single favorite by its FavoriteId, defined within an Application Insights component.

get: (resourceGroupName: string, resourceName: string, favoriteId: string, options?: FavoritesGetOptionalParams) => Promise<ApplicationInsightsComponentFavorite>

Property Value

(resourceGroupName: string, resourceName: string, favoriteId: string, options?: FavoritesGetOptionalParams) => Promise<ApplicationInsightsComponentFavorite>

list

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

list: (resourceGroupName: string, resourceName: string, options?: FavoritesListOptionalParams) => Promise<ApplicationInsightsComponentFavorite[]>

Property Value

(resourceGroupName: string, resourceName: string, options?: FavoritesListOptionalParams) => Promise<ApplicationInsightsComponentFavorite[]>

update

Updates a favorite that has already been added to an Application Insights component.

update: (resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: ApplicationInsightsComponentFavorite, options?: FavoritesUpdateOptionalParams) => Promise<ApplicationInsightsComponentFavorite>

Property Value

(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: ApplicationInsightsComponentFavorite, options?: FavoritesUpdateOptionalParams) => Promise<ApplicationInsightsComponentFavorite>