Microsoft.Insights components/ProactiveDetectionConfigs template reference

Template format

To create a Microsoft.Insights/components/ProactiveDetectionConfigs resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Insights/components/ProactiveDetectionConfigs",
  "apiVersion": "2018-05-01-preview",
  "location": "string",
  "properties": {
    "Enabled": "boolean",
    "SendEmailsToSubscriptionOwners": "boolean",
    "CustomEmails": [
      "string"
    ],
    "RuleDefinitions": {
      "Name": "string",
      "DisplayName": "string",
      "Description": "string",
      "HelpUrl": "string",
      "IsHidden": "boolean",
      "IsEnabledByDefault": "boolean",
      "IsInPreview": "boolean",
      "SupportsEmailNotifications": "boolean"
    }
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Insights/components/ProactiveDetectionConfigs object

Name Type Required Value
name string Yes The ProactiveDetection configuration ID. This is unique within a Application Insights component.
type enum Yes ProactiveDetectionConfigs
-or-
Microsoft.Insights/components/ProactiveDetectionConfigs

See Set name and type for child resources.
apiVersion enum Yes 2018-05-01-preview
location string No Resource location
properties object Yes Properties that define a ProactiveDetection configuration. - ApplicationInsightsComponentProactiveDetectionConfigurationProperties object

ApplicationInsightsComponentProactiveDetectionConfigurationProperties object

Name Type Required Value
Enabled boolean No A flag that indicates whether this rule is enabled by the user
SendEmailsToSubscriptionOwners boolean No A flag that indicated whether notifications on this rule should be sent to subscription owners
CustomEmails array No Custom email addresses for this rule notifications - string
RuleDefinitions object No Static definitions of the ProactiveDetection configuration rule (same values for all components). - ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitions object

ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitions object

Name Type Required Value
Name string No The rule name
DisplayName string No The rule name as it is displayed in UI
Description string No The rule description
HelpUrl string No URL which displays additional info about the proactive detection rule
IsHidden boolean No A flag indicating whether the rule is hidden (from the UI)
IsEnabledByDefault boolean No A flag indicating whether the rule is enabled by default
IsInPreview boolean No A flag indicating whether the rule is in preview
SupportsEmailNotifications boolean No A flag indicating whether email notifications are supported for detections for this rule