Microsoft.Insights components/ProactiveDetectionConfigs 2015-05-01

Bicep resource definition

The components/ProactiveDetectionConfigs 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/ProactiveDetectionConfigs resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Insights/components/ProactiveDetectionConfigs@2015-05-01' = {
  name: 'string'
  parent: resourceSymbolicName
  CustomEmails: [
    'string'
  ]
  Enabled: bool
  LastUpdatedTime: 'string'
  RuleDefinitions: {
    Description: 'string'
    DisplayName: 'string'
    HelpUrl: 'string'
    IsEnabledByDefault: bool
    IsHidden: bool
    IsInPreview: bool
    Name: 'string'
    SupportsEmailNotifications: bool
  }
  SendEmailsToSubscriptionOwners: bool
}

Property values

components/ProactiveDetectionConfigs

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
string (required)
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.
Symbolic name for resource of type: components
CustomEmails Custom email addresses for this rule notifications string[]
Enabled A flag that indicates whether this rule is enabled by the user bool
LastUpdatedTime The last time this rule was updated string
RuleDefinitions Static definitions of the ProactiveDetection configuration rule (same values for all components). ApplicationInsightsComponentProactiveDetectionConfig...
SendEmailsToSubscriptionOwners A flag that indicated whether notifications on this rule should be sent to subscription owners bool

ApplicationInsightsComponentProactiveDetectionConfig...

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

ARM template resource definition

The components/ProactiveDetectionConfigs 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/ProactiveDetectionConfigs resource, add the following JSON to your template.

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

Property values

components/ProactiveDetectionConfigs

Name Description Value
type The resource type 'Microsoft.Insights/components/ProactiveDetectionConfigs'
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)
CustomEmails Custom email addresses for this rule notifications string[]
Enabled A flag that indicates whether this rule is enabled by the user bool
LastUpdatedTime The last time this rule was updated string
RuleDefinitions Static definitions of the ProactiveDetection configuration rule (same values for all components). ApplicationInsightsComponentProactiveDetectionConfig...
SendEmailsToSubscriptionOwners A flag that indicated whether notifications on this rule should be sent to subscription owners bool

ApplicationInsightsComponentProactiveDetectionConfig...

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

Terraform (AzAPI provider) resource definition

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

  • Resource groups

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

Resource format

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Insights/components/ProactiveDetectionConfigs@2015-05-01"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    CustomEmails = [
      "string"
    ]
    Enabled = bool
    LastUpdatedTime = "string"
    RuleDefinitions = {
      Description = "string"
      DisplayName = "string"
      HelpUrl = "string"
      IsEnabledByDefault = bool
      IsHidden = bool
      IsInPreview = bool
      Name = "string"
      SupportsEmailNotifications = bool
    }
    SendEmailsToSubscriptionOwners = bool
  })
}

Property values

components/ProactiveDetectionConfigs

Name Description Value
type The resource type "Microsoft.Insights/components/ProactiveDetectionConfigs@2015-05-01"
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: components
CustomEmails Custom email addresses for this rule notifications string[]
Enabled A flag that indicates whether this rule is enabled by the user bool
LastUpdatedTime The last time this rule was updated string
RuleDefinitions Static definitions of the ProactiveDetection configuration rule (same values for all components). ApplicationInsightsComponentProactiveDetectionConfig...
SendEmailsToSubscriptionOwners A flag that indicated whether notifications on this rule should be sent to subscription owners bool

ApplicationInsightsComponentProactiveDetectionConfig...

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