Microsoft.Insights components/ProactiveDetectionConfigs 2018-05-01-preview

The components/ProactiveDetectionConfigs resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

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

resource symbolicname 'Microsoft.Insights/components/ProactiveDetectionConfigs@2018-05-01-preview' = {
  name: 'string'
  location: 'string'
  parent: parentSymbolicName
  properties: {
    CustomEmails: [ 'string' ]
    Enabled: bool
    RuleDefinitions: {
      Description: 'string'
      DisplayName: 'string'
      HelpUrl: 'string'
      IsEnabledByDefault: bool
      IsHidden: bool
      IsInPreview: bool
      Name: 'string'
      SupportsEmailNotifications: bool
    SendEmailsToSubscriptionOwners: bool

Property values


Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
location Resource location string
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
properties Properties that define a ProactiveDetection configuration. ApplicationInsightsComponentProactiveDetectionConfigurationProperties


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


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