4.0.0 • Published 5 years ago
@datafire/azure_applicationinsights_favorites_api v4.0.0
@datafire/azure_applicationinsights_favorites_api
Client library for ApplicationInsightsManagementClient
Installation and Usage
npm install --save @datafire/azure_applicationinsights_favorites_apilet azure_applicationinsights_favorites_api = require('@datafire/azure_applicationinsights_favorites_api').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});Description
Azure Application Insights client for favorites.
Actions
Favorites_List
Gets a list of favorites defined within an Application Insights component.
azure_applicationinsights_favorites_api.Favorites_List({
"resourceGroupName": "",
"api-version": "",
"subscriptionId": "",
"resourceName": ""
}, context)Input
- input
object- resourceGroupName required
string: The name of the resource group. The name is case insensitive. - api-version required
string: The API version to use for this operation. - subscriptionId required
string: The ID of the target subscription. - resourceName required
string: The name of the Application Insights component resource. - favoriteType
string(values: shared, user): The type of favorite. Value can be either shared or user. - sourceType
string(values: retention, notebook, sessions, events, userflows, funnel, impact, segmentation): Source type of favorite to return. When left out, the source type defaults to 'other' (not present in this enum). - canFetchContent
boolean: Flag indicating whether or not to return the full content for each applicable favorite. If false, only return summary content for favorites. - tags
array: Tags that must be present on each favorite returned.
- resourceGroupName required
Output
- output
array
Favorites_Delete
Remove a favorite that is associated to an Application Insights component.
azure_applicationinsights_favorites_api.Favorites_Delete({
"resourceGroupName": "",
"api-version": "",
"subscriptionId": "",
"resourceName": "",
"favoriteId": ""
}, context)Input
- input
object- resourceGroupName required
string: The name of the resource group. The name is case insensitive. - api-version required
string: The API version to use for this operation. - subscriptionId required
string: The ID of the target subscription. - resourceName required
string: The name of the Application Insights component resource. - favoriteId required
string: The Id of a specific favorite defined in the Application Insights component
- resourceGroupName required
Output
Output schema unknown
Favorites_Get
Get a single favorite by its FavoriteId, defined within an Application Insights component.
azure_applicationinsights_favorites_api.Favorites_Get({
"resourceGroupName": "",
"api-version": "",
"subscriptionId": "",
"resourceName": "",
"favoriteId": ""
}, context)Input
- input
object- resourceGroupName required
string: The name of the resource group. The name is case insensitive. - api-version required
string: The API version to use for this operation. - subscriptionId required
string: The ID of the target subscription. - resourceName required
string: The name of the Application Insights component resource. - favoriteId required
string: The Id of a specific favorite defined in the Application Insights component
- resourceGroupName required
Output
Favorites_Update
Updates a favorite that has already been added to an Application Insights component.
azure_applicationinsights_favorites_api.Favorites_Update({
"resourceGroupName": "",
"api-version": "",
"subscriptionId": "",
"resourceName": "",
"favoriteId": "",
"favoriteProperties": null
}, context)Input
- input
object- resourceGroupName required
string: The name of the resource group. The name is case insensitive. - api-version required
string: The API version to use for this operation. - subscriptionId required
string: The ID of the target subscription. - resourceName required
string: The name of the Application Insights component resource. - favoriteId required
string: The Id of a specific favorite defined in the Application Insights component - favoriteProperties required ApplicationInsightsComponentFavorite
- resourceGroupName required
Output
Favorites_Add
Adds a new favorites to an Application Insights component.
azure_applicationinsights_favorites_api.Favorites_Add({
"resourceGroupName": "",
"api-version": "",
"subscriptionId": "",
"resourceName": "",
"favoriteId": "",
"favoriteProperties": null
}, context)Input
- input
object- resourceGroupName required
string: The name of the resource group. The name is case insensitive. - api-version required
string: The API version to use for this operation. - subscriptionId required
string: The ID of the target subscription. - resourceName required
string: The name of the Application Insights component resource. - favoriteId required
string: The Id of a specific favorite defined in the Application Insights component - favoriteProperties required ApplicationInsightsComponentFavorite
- resourceGroupName required
Output
Definitions
ApplicationInsightsComponentFavorite
- ApplicationInsightsComponentFavorite
object: Properties that define a favorite that is associated to an Application Insights component.- Category
string: Favorite category, as defined by the user at creation time. - Config
string: Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON - FavoriteId
string: Internally assigned unique id of the favorite definition. - FavoriteType
string(values: shared, user): Enum indicating if this favorite definition is owned by a specific user or is shared between all users with access to the Application Insights component. - IsGeneratedFromTemplate
boolean: Flag denoting wether or not this favorite was generated from a template. - Name
string: The user-defined name of the favorite. - SourceType
string: The source of the favorite definition. - Tags
array: A list of 0 or more tags that are associated with this favorite definition- items
string
- items
- TimeModified
string: Date and time in UTC of the last modification that was made to this favorite definition. - UserId
string: Unique user id of the specific user that owns this favorite. - Version
string: This instance's version of the data model. This can change as new features are added that can be marked favorite. Current examples include MetricsExplorer (ME) and Search.
- Category