Favorites Interface

public interface Favorites

Resource collection API of Favorites.

Method Summary

Modifier and Type Method and Description
abstract ApplicationInsightsComponentFavorite add(String resourceGroupName, String resourceName, String favoriteId, ApplicationInsightsComponentFavoriteInner favoriteProperties)

Adds a new favorites to an Application Insights component.

abstract Response<ApplicationInsightsComponentFavorite> addWithResponse(String resourceGroupName, String resourceName, String favoriteId, ApplicationInsightsComponentFavoriteInner favoriteProperties, Context context)

Adds a new favorites to an Application Insights component.

abstract void delete(String resourceGroupName, String resourceName, String favoriteId)

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

abstract Response<Void> deleteWithResponse(String resourceGroupName, String resourceName, String favoriteId, Context context)

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

abstract ApplicationInsightsComponentFavorite get(String resourceGroupName, String resourceName, String favoriteId)

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

abstract Response<ApplicationInsightsComponentFavorite> getWithResponse(String resourceGroupName, String resourceName, String favoriteId, Context context)

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

abstract List<ApplicationInsightsComponentFavorite> list(String resourceGroupName, String resourceName)

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

abstract Response<List<ApplicationInsightsComponentFavorite>> listWithResponse(String resourceGroupName, String resourceName, FavoriteType favoriteType, FavoriteSourceType sourceType, Boolean canFetchContent, List<String> tags, Context context)

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

abstract ApplicationInsightsComponentFavorite update(String resourceGroupName, String resourceName, String favoriteId, ApplicationInsightsComponentFavoriteInner favoriteProperties)

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

abstract Response<ApplicationInsightsComponentFavorite> updateWithResponse(String resourceGroupName, String resourceName, String favoriteId, ApplicationInsightsComponentFavoriteInner favoriteProperties, Context context)

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

Method Details

add

public abstract ApplicationInsightsComponentFavorite add(String resourceGroupName, String resourceName, String favoriteId, ApplicationInsightsComponentFavoriteInner favoriteProperties)

Adds a new favorites to an Application Insights component.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
favoriteId - The Id of a specific favorite defined in the Application Insights component.
favoriteProperties - Properties that need to be specified to create a new favorite and add it to an Application Insights component.

Returns:

properties that define a favorite that is associated to an Application Insights component.

addWithResponse

public abstract Response addWithResponse(String resourceGroupName, String resourceName, String favoriteId, ApplicationInsightsComponentFavoriteInner favoriteProperties, Context context)

Adds a new favorites to an Application Insights component.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
favoriteId - The Id of a specific favorite defined in the Application Insights component.
favoriteProperties - Properties that need to be specified to create a new favorite and add it to an Application Insights component.
context - The context to associate with this operation.

Returns:

properties that define a favorite that is associated to an Application Insights component along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String resourceName, String favoriteId)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
favoriteId - The Id of a specific favorite defined in the Application Insights component.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String resourceName, String favoriteId, Context context)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
favoriteId - The Id of a specific favorite defined in the Application Insights component.
context - The context to associate with this operation.

Returns:

get

public abstract ApplicationInsightsComponentFavorite get(String resourceGroupName, String resourceName, String favoriteId)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
favoriteId - The Id of a specific favorite defined in the Application Insights component.

Returns:

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

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String resourceName, String favoriteId, Context context)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
favoriteId - The Id of a specific favorite defined in the Application Insights component.
context - The context to associate with this operation.

Returns:

a single favorite by its FavoriteId, defined within an Application Insights component along with Response<T>.

list

public abstract List list(String resourceGroupName, String resourceName)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.

Returns:

a list of favorites defined within an Application Insights component.

listWithResponse

public abstract Response<>> listWithResponse(String resourceGroupName, String resourceName, FavoriteType favoriteType, FavoriteSourceType sourceType, Boolean canFetchContent, List tags, Context context)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
favoriteType - The type of favorite. Value can be either shared or user.
sourceType - Source type of favorite to return. When left out, the source type defaults to 'other' (not present in this enum).
canFetchContent - Flag indicating whether or not to return the full content for each applicable favorite. If false, only return summary content for favorites.
tags - Tags that must be present on each favorite returned.
context - The context to associate with this operation.

Returns:

a list of favorites defined within an Application Insights component along with Response<T>.

update

public abstract ApplicationInsightsComponentFavorite update(String resourceGroupName, String resourceName, String favoriteId, ApplicationInsightsComponentFavoriteInner favoriteProperties)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
favoriteId - The Id of a specific favorite defined in the Application Insights component.
favoriteProperties - Properties that need to be specified to update the existing favorite.

Returns:

properties that define a favorite that is associated to an Application Insights component.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String resourceName, String favoriteId, ApplicationInsightsComponentFavoriteInner favoriteProperties, Context context)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
favoriteId - The Id of a specific favorite defined in the Application Insights component.
favoriteProperties - Properties that need to be specified to update the existing favorite.
context - The context to associate with this operation.

Returns:

properties that define a favorite that is associated to an Application Insights component along with Response<T>.

Applies to