Microsoft.Insights components/favorites

ARM template resource definition

The components/favorites resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Insights/components/favorites resource, add the following JSON to your template.

{
  "type": "Microsoft.Insights/components/favorites",
  "apiVersion": "2015-05-01",
  "name": "string",
  "Tags": [ "string" ],
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "Category": "string",
  "Config": "string",
  "FavoriteType": "string",
  "IsGeneratedFromTemplate": "bool",
  "SourceType": "string",
  "Version": "string"
}

Property values

components/favorites

Name Description Value
type The resource type 'Microsoft.Insights/components/favorites'
apiVersion The resource api version '2015-05-01'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)
Tags A list of 0 or more tags that are associated with this favorite definition string[]
Category Favorite category, as defined by the user at creation time. string
Config Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON string
FavoriteType 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. 'shared'
'user'
IsGeneratedFromTemplate Flag denoting wether or not this favorite was generated from a template. bool
SourceType The source of the favorite definition. string
Version 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. string