Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Favorites

Package version

Class representing a Favorites.

Hierarchy

  • Favorites

Index

Constructors

Methods

Constructors

constructor

Methods

add

  • Adds a new favorites to an Application Insights component.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • favoriteId: string

      The Id of a specific favorite defined in the Application Insights component

    • favoriteProperties: ApplicationInsightsComponentFavorite

      Properties that need to be specified to create a new favorite and add it to an Application Insights component.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.FavoritesAddResponse>

    Promise<Models.FavoritesAddResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • favoriteId: string

      The Id of a specific favorite defined in the Application Insights component

    • favoriteProperties: ApplicationInsightsComponentFavorite

      Properties that need to be specified to create a new favorite and add it to an Application Insights component.

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentFavorite>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • favoriteId: string

      The Id of a specific favorite defined in the Application Insights component

    • favoriteProperties: ApplicationInsightsComponentFavorite

      Properties that need to be specified to create a new favorite and add it to an Application Insights component.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentFavorite>

      The callback

    Returns void

deleteMethod

  • deleteMethod(resourceGroupName: string, resourceName: string, favoriteId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • deleteMethod(resourceGroupName: string, resourceName: string, favoriteId: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(resourceGroupName: string, resourceName: string, favoriteId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Remove a favorite that is associated to an Application Insights component.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • favoriteId: string

      The Id of a specific favorite defined in the Application Insights component

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • favoriteId: string

      The Id of a specific favorite defined in the Application Insights component

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • favoriteId: string

      The Id of a specific favorite defined in the Application Insights component

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

get

  • get(resourceGroupName: string, resourceName: string, favoriteId: string, options?: msRest.RequestOptionsBase): Promise<Models.FavoritesGetResponse>
  • get(resourceGroupName: string, resourceName: string, favoriteId: string, callback: msRest.ServiceCallback<ApplicationInsightsComponentFavorite>): void
  • get(resourceGroupName: string, resourceName: string, favoriteId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ApplicationInsightsComponentFavorite>): void
  • Get a single favorite by its FavoriteId, defined within an Application Insights component.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • favoriteId: string

      The Id of a specific favorite defined in the Application Insights component

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.FavoritesGetResponse>

    Promise<Models.FavoritesGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • favoriteId: string

      The Id of a specific favorite defined in the Application Insights component

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentFavorite>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • favoriteId: string

      The Id of a specific favorite defined in the Application Insights component

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentFavorite>

      The callback

    Returns void

list

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

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • Optional options: Models.FavoritesListOptionalParams

    Returns Promise<Models.FavoritesListResponse>

    Promise<Models.FavoritesListResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentFavorite[]>

      The callback

    Returns void

  • Parameters

    Returns void

update

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

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • favoriteId: string

      The Id of a specific favorite defined in the Application Insights component

    • favoriteProperties: ApplicationInsightsComponentFavorite

      Properties that need to be specified to update the existing favorite.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.FavoritesUpdateResponse>

    Promise<Models.FavoritesUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • favoriteId: string

      The Id of a specific favorite defined in the Application Insights component

    • favoriteProperties: ApplicationInsightsComponentFavorite

      Properties that need to be specified to update the existing favorite.

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentFavorite>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • resourceName: string

      The name of the Application Insights component resource.

    • favoriteId: string

      The Id of a specific favorite defined in the Application Insights component

    • favoriteProperties: ApplicationInsightsComponentFavorite

      Properties that need to be specified to update the existing favorite.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ApplicationInsightsComponentFavorite>

      The callback

    Returns void

Generated using TypeDoc