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.
To create a Microsoft.Insights/components/ProactiveDetectionConfigs resource, add the following JSON to your template.
{
"type": "Microsoft.Insights/components/ProactiveDetectionConfigs",
"apiVersion": "2018-05-01-preview",
"name": "string",
"location": "string",
"properties": {
"CustomEmails": [ "string" ],
"Enabled": "bool",
"RuleDefinitions": {
"Description": "string",
"DisplayName": "string",
"HelpUrl": "string",
"IsEnabledByDefault": "bool",
"IsHidden": "bool",
"IsInPreview": "bool",
"Name": "string",
"SupportsEmailNotifications": "bool"
},
"SendEmailsToSubscriptionOwners": "bool"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Insights/components/ProactiveDetectionConfigs' |
apiVersion | The resource api version | '2018-05-01-preview' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
location | Resource location | string |
properties | Properties that define a ProactiveDetection configuration. | ApplicationInsightsComponentProactiveDetectionConfig... |
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). | ApplicationInsightsComponentProactiveDetectionConfig... |
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 |