1. Packages
  2. Azure Native v2
  3. API Docs
  4. insights
  5. ProactiveDetectionConfiguration
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.insights.ProactiveDetectionConfiguration

Explore with Pulumi AI

A ProactiveDetection configuration definition. Azure REST API version: 2018-05-01-preview. Prior API version in Azure Native 1.x: 2015-05-01.

Other available API versions: 2015-05-01.

Example Usage

ProactiveDetectionConfigurationUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var proactiveDetectionConfiguration = new AzureNative.Insights.ProactiveDetectionConfiguration("proactiveDetectionConfiguration", new()
    {
        ConfigurationId = "slowpageloadtime",
        CustomEmails = new[]
        {
            "foo@microsoft.com",
            "foo2@microsoft.com",
        },
        Enabled = true,
        Location = "South Central US",
        Name = "slowpageloadtime",
        ResourceGroupName = "my-resource-group",
        ResourceName = "my-component",
        RuleDefinitions = new AzureNative.Insights.Inputs.ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs
        {
            Description = "Smart Detection rules notify you of performance anomaly issues.",
            DisplayName = "Slow page load time",
            HelpUrl = "https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics",
            IsEnabledByDefault = true,
            IsHidden = false,
            IsInPreview = false,
            Name = "slowpageloadtime",
            SupportsEmailNotifications = true,
        },
        SendEmailsToSubscriptionOwners = true,
    });

});
Copy
package main

import (
	insights "github.com/pulumi/pulumi-azure-native-sdk/insights/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := insights.NewProactiveDetectionConfiguration(ctx, "proactiveDetectionConfiguration", &insights.ProactiveDetectionConfigurationArgs{
			ConfigurationId: pulumi.String("slowpageloadtime"),
			CustomEmails: pulumi.StringArray{
				pulumi.String("foo@microsoft.com"),
				pulumi.String("foo2@microsoft.com"),
			},
			Enabled:           pulumi.Bool(true),
			Location:          pulumi.String("South Central US"),
			Name:              pulumi.String("slowpageloadtime"),
			ResourceGroupName: pulumi.String("my-resource-group"),
			ResourceName:      pulumi.String("my-component"),
			RuleDefinitions: &insights.ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs{
				Description:                pulumi.String("Smart Detection rules notify you of performance anomaly issues."),
				DisplayName:                pulumi.String("Slow page load time"),
				HelpUrl:                    pulumi.String("https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics"),
				IsEnabledByDefault:         pulumi.Bool(true),
				IsHidden:                   pulumi.Bool(false),
				IsInPreview:                pulumi.Bool(false),
				Name:                       pulumi.String("slowpageloadtime"),
				SupportsEmailNotifications: pulumi.Bool(true),
			},
			SendEmailsToSubscriptionOwners: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.insights.ProactiveDetectionConfiguration;
import com.pulumi.azurenative.insights.ProactiveDetectionConfigurationArgs;
import com.pulumi.azurenative.insights.inputs.ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var proactiveDetectionConfiguration = new ProactiveDetectionConfiguration("proactiveDetectionConfiguration", ProactiveDetectionConfigurationArgs.builder()
            .configurationId("slowpageloadtime")
            .customEmails(            
                "foo@microsoft.com",
                "foo2@microsoft.com")
            .enabled(true)
            .location("South Central US")
            .name("slowpageloadtime")
            .resourceGroupName("my-resource-group")
            .resourceName("my-component")
            .ruleDefinitions(ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs.builder()
                .description("Smart Detection rules notify you of performance anomaly issues.")
                .displayName("Slow page load time")
                .helpUrl("https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics")
                .isEnabledByDefault(true)
                .isHidden(false)
                .isInPreview(false)
                .name("slowpageloadtime")
                .supportsEmailNotifications(true)
                .build())
            .sendEmailsToSubscriptionOwners(true)
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const proactiveDetectionConfiguration = new azure_native.insights.ProactiveDetectionConfiguration("proactiveDetectionConfiguration", {
    configurationId: "slowpageloadtime",
    customEmails: [
        "foo@microsoft.com",
        "foo2@microsoft.com",
    ],
    enabled: true,
    location: "South Central US",
    name: "slowpageloadtime",
    resourceGroupName: "my-resource-group",
    resourceName: "my-component",
    ruleDefinitions: {
        description: "Smart Detection rules notify you of performance anomaly issues.",
        displayName: "Slow page load time",
        helpUrl: "https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics",
        isEnabledByDefault: true,
        isHidden: false,
        isInPreview: false,
        name: "slowpageloadtime",
        supportsEmailNotifications: true,
    },
    sendEmailsToSubscriptionOwners: true,
});
Copy
import pulumi
import pulumi_azure_native as azure_native

proactive_detection_configuration = azure_native.insights.ProactiveDetectionConfiguration("proactiveDetectionConfiguration",
    configuration_id="slowpageloadtime",
    custom_emails=[
        "foo@microsoft.com",
        "foo2@microsoft.com",
    ],
    enabled=True,
    location="South Central US",
    name="slowpageloadtime",
    resource_group_name="my-resource-group",
    resource_name_="my-component",
    rule_definitions={
        "description": "Smart Detection rules notify you of performance anomaly issues.",
        "display_name": "Slow page load time",
        "help_url": "https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics",
        "is_enabled_by_default": True,
        "is_hidden": False,
        "is_in_preview": False,
        "name": "slowpageloadtime",
        "supports_email_notifications": True,
    },
    send_emails_to_subscription_owners=True)
Copy
resources:
  proactiveDetectionConfiguration:
    type: azure-native:insights:ProactiveDetectionConfiguration
    properties:
      configurationId: slowpageloadtime
      customEmails:
        - foo@microsoft.com
        - foo2@microsoft.com
      enabled: true
      location: South Central US
      name: slowpageloadtime
      resourceGroupName: my-resource-group
      resourceName: my-component
      ruleDefinitions:
        description: Smart Detection rules notify you of performance anomaly issues.
        displayName: Slow page load time
        helpUrl: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics
        isEnabledByDefault: true
        isHidden: false
        isInPreview: false
        name: slowpageloadtime
        supportsEmailNotifications: true
      sendEmailsToSubscriptionOwners: true
Copy

Create ProactiveDetectionConfiguration Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ProactiveDetectionConfiguration(name: string, args: ProactiveDetectionConfigurationArgs, opts?: CustomResourceOptions);
@overload
def ProactiveDetectionConfiguration(resource_name: str,
                                    args: ProactiveDetectionConfigurationArgs,
                                    opts: Optional[ResourceOptions] = None)

@overload
def ProactiveDetectionConfiguration(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    resource_group_name: Optional[str] = None,
                                    resource_name_: Optional[str] = None,
                                    configuration_id: Optional[str] = None,
                                    custom_emails: Optional[Sequence[str]] = None,
                                    enabled: Optional[bool] = None,
                                    location: Optional[str] = None,
                                    name: Optional[str] = None,
                                    rule_definitions: Optional[ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs] = None,
                                    send_emails_to_subscription_owners: Optional[bool] = None)
func NewProactiveDetectionConfiguration(ctx *Context, name string, args ProactiveDetectionConfigurationArgs, opts ...ResourceOption) (*ProactiveDetectionConfiguration, error)
public ProactiveDetectionConfiguration(string name, ProactiveDetectionConfigurationArgs args, CustomResourceOptions? opts = null)
public ProactiveDetectionConfiguration(String name, ProactiveDetectionConfigurationArgs args)
public ProactiveDetectionConfiguration(String name, ProactiveDetectionConfigurationArgs args, CustomResourceOptions options)
type: azure-native:insights:ProactiveDetectionConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ProactiveDetectionConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ProactiveDetectionConfigurationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ProactiveDetectionConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ProactiveDetectionConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ProactiveDetectionConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var proactiveDetectionConfigurationResource = new AzureNative.Insights.ProactiveDetectionConfiguration("proactiveDetectionConfigurationResource", new()
{
    ResourceGroupName = "string",
    ResourceName = "string",
    ConfigurationId = "string",
    CustomEmails = new[]
    {
        "string",
    },
    Enabled = false,
    Location = "string",
    Name = "string",
    RuleDefinitions = 
    {
        { "description", "string" },
        { "displayName", "string" },
        { "helpUrl", "string" },
        { "isEnabledByDefault", false },
        { "isHidden", false },
        { "isInPreview", false },
        { "name", "string" },
        { "supportsEmailNotifications", false },
    },
    SendEmailsToSubscriptionOwners = false,
});
Copy
example, err := insights.NewProactiveDetectionConfiguration(ctx, "proactiveDetectionConfigurationResource", &insights.ProactiveDetectionConfigurationArgs{
	ResourceGroupName: "string",
	ResourceName:      "string",
	ConfigurationId:   "string",
	CustomEmails: []string{
		"string",
	},
	Enabled:  false,
	Location: "string",
	Name:     "string",
	RuleDefinitions: map[string]interface{}{
		"description":                "string",
		"displayName":                "string",
		"helpUrl":                    "string",
		"isEnabledByDefault":         false,
		"isHidden":                   false,
		"isInPreview":                false,
		"name":                       "string",
		"supportsEmailNotifications": false,
	},
	SendEmailsToSubscriptionOwners: false,
})
Copy
var proactiveDetectionConfigurationResource = new ProactiveDetectionConfiguration("proactiveDetectionConfigurationResource", ProactiveDetectionConfigurationArgs.builder()
    .resourceGroupName("string")
    .resourceName("string")
    .configurationId("string")
    .customEmails("string")
    .enabled(false)
    .location("string")
    .name("string")
    .ruleDefinitions(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .sendEmailsToSubscriptionOwners(false)
    .build());
Copy
proactive_detection_configuration_resource = azure_native.insights.ProactiveDetectionConfiguration("proactiveDetectionConfigurationResource",
    resource_group_name=string,
    resource_name_=string,
    configuration_id=string,
    custom_emails=[string],
    enabled=False,
    location=string,
    name=string,
    rule_definitions={
        description: string,
        displayName: string,
        helpUrl: string,
        isEnabledByDefault: False,
        isHidden: False,
        isInPreview: False,
        name: string,
        supportsEmailNotifications: False,
    },
    send_emails_to_subscription_owners=False)
Copy
const proactiveDetectionConfigurationResource = new azure_native.insights.ProactiveDetectionConfiguration("proactiveDetectionConfigurationResource", {
    resourceGroupName: "string",
    resourceName: "string",
    configurationId: "string",
    customEmails: ["string"],
    enabled: false,
    location: "string",
    name: "string",
    ruleDefinitions: {
        description: "string",
        displayName: "string",
        helpUrl: "string",
        isEnabledByDefault: false,
        isHidden: false,
        isInPreview: false,
        name: "string",
        supportsEmailNotifications: false,
    },
    sendEmailsToSubscriptionOwners: false,
});
Copy
type: azure-native:insights:ProactiveDetectionConfiguration
properties:
    configurationId: string
    customEmails:
        - string
    enabled: false
    location: string
    name: string
    resourceGroupName: string
    resourceName: string
    ruleDefinitions:
        description: string
        displayName: string
        helpUrl: string
        isEnabledByDefault: false
        isHidden: false
        isInPreview: false
        name: string
        supportsEmailNotifications: false
    sendEmailsToSubscriptionOwners: false
Copy

ProactiveDetectionConfiguration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ProactiveDetectionConfiguration resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Application Insights component resource.
ConfigurationId Changes to this property will trigger replacement. string
The ProactiveDetection configuration ID. This is unique within a Application Insights component.
CustomEmails List<string>
Custom email addresses for this rule notifications
Enabled bool
A flag that indicates whether this rule is enabled by the user
Location string
Resource location
Name string
Azure resource name
RuleDefinitions Pulumi.AzureNative.Insights.Inputs.ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitions
Static definitions of the ProactiveDetection configuration rule (same values for all components).
SendEmailsToSubscriptionOwners bool
A flag that indicated whether notifications on this rule should be sent to subscription owners
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Application Insights component resource.
ConfigurationId Changes to this property will trigger replacement. string
The ProactiveDetection configuration ID. This is unique within a Application Insights component.
CustomEmails []string
Custom email addresses for this rule notifications
Enabled bool
A flag that indicates whether this rule is enabled by the user
Location string
Resource location
Name string
Azure resource name
RuleDefinitions ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs
Static definitions of the ProactiveDetection configuration rule (same values for all components).
SendEmailsToSubscriptionOwners bool
A flag that indicated whether notifications on this rule should be sent to subscription owners
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Application Insights component resource.
configurationId Changes to this property will trigger replacement. String
The ProactiveDetection configuration ID. This is unique within a Application Insights component.
customEmails List<String>
Custom email addresses for this rule notifications
enabled Boolean
A flag that indicates whether this rule is enabled by the user
location String
Resource location
name String
Azure resource name
ruleDefinitions ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitions
Static definitions of the ProactiveDetection configuration rule (same values for all components).
sendEmailsToSubscriptionOwners Boolean
A flag that indicated whether notifications on this rule should be sent to subscription owners
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Application Insights component resource.
configurationId Changes to this property will trigger replacement. string
The ProactiveDetection configuration ID. This is unique within a Application Insights component.
customEmails string[]
Custom email addresses for this rule notifications
enabled boolean
A flag that indicates whether this rule is enabled by the user
location string
Resource location
name string
Azure resource name
ruleDefinitions ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitions
Static definitions of the ProactiveDetection configuration rule (same values for all components).
sendEmailsToSubscriptionOwners boolean
A flag that indicated whether notifications on this rule should be sent to subscription owners
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
resource_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Application Insights component resource.
configuration_id Changes to this property will trigger replacement. str
The ProactiveDetection configuration ID. This is unique within a Application Insights component.
custom_emails Sequence[str]
Custom email addresses for this rule notifications
enabled bool
A flag that indicates whether this rule is enabled by the user
location str
Resource location
name str
Azure resource name
rule_definitions ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs
Static definitions of the ProactiveDetection configuration rule (same values for all components).
send_emails_to_subscription_owners bool
A flag that indicated whether notifications on this rule should be sent to subscription owners
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Application Insights component resource.
configurationId Changes to this property will trigger replacement. String
The ProactiveDetection configuration ID. This is unique within a Application Insights component.
customEmails List<String>
Custom email addresses for this rule notifications
enabled Boolean
A flag that indicates whether this rule is enabled by the user
location String
Resource location
name String
Azure resource name
ruleDefinitions Property Map
Static definitions of the ProactiveDetection configuration rule (same values for all components).
sendEmailsToSubscriptionOwners Boolean
A flag that indicated whether notifications on this rule should be sent to subscription owners

Outputs

All input properties are implicitly available as output properties. Additionally, the ProactiveDetectionConfiguration resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
LastUpdatedTime string
The last time this rule was updated
Type string
Azure resource type
Id string
The provider-assigned unique ID for this managed resource.
LastUpdatedTime string
The last time this rule was updated
Type string
Azure resource type
id String
The provider-assigned unique ID for this managed resource.
lastUpdatedTime String
The last time this rule was updated
type String
Azure resource type
id string
The provider-assigned unique ID for this managed resource.
lastUpdatedTime string
The last time this rule was updated
type string
Azure resource type
id str
The provider-assigned unique ID for this managed resource.
last_updated_time str
The last time this rule was updated
type str
Azure resource type
id String
The provider-assigned unique ID for this managed resource.
lastUpdatedTime String
The last time this rule was updated
type String
Azure resource type

Supporting Types

ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesResponseRuleDefinitions
, ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesResponseRuleDefinitionsArgs

Description string
The rule description
DisplayName string
The rule name as it is displayed in UI
HelpUrl string
URL which displays additional info about the proactive detection rule
IsEnabledByDefault bool
A flag indicating whether the rule is enabled by default
IsHidden bool
A flag indicating whether the rule is hidden (from the UI)
IsInPreview bool
A flag indicating whether the rule is in preview
Name string
The rule name
SupportsEmailNotifications bool
A flag indicating whether email notifications are supported for detections for this rule
Description string
The rule description
DisplayName string
The rule name as it is displayed in UI
HelpUrl string
URL which displays additional info about the proactive detection rule
IsEnabledByDefault bool
A flag indicating whether the rule is enabled by default
IsHidden bool
A flag indicating whether the rule is hidden (from the UI)
IsInPreview bool
A flag indicating whether the rule is in preview
Name string
The rule name
SupportsEmailNotifications bool
A flag indicating whether email notifications are supported for detections for this rule
description String
The rule description
displayName String
The rule name as it is displayed in UI
helpUrl String
URL which displays additional info about the proactive detection rule
isEnabledByDefault Boolean
A flag indicating whether the rule is enabled by default
isHidden Boolean
A flag indicating whether the rule is hidden (from the UI)
isInPreview Boolean
A flag indicating whether the rule is in preview
name String
The rule name
supportsEmailNotifications Boolean
A flag indicating whether email notifications are supported for detections for this rule
description string
The rule description
displayName string
The rule name as it is displayed in UI
helpUrl string
URL which displays additional info about the proactive detection rule
isEnabledByDefault boolean
A flag indicating whether the rule is enabled by default
isHidden boolean
A flag indicating whether the rule is hidden (from the UI)
isInPreview boolean
A flag indicating whether the rule is in preview
name string
The rule name
supportsEmailNotifications boolean
A flag indicating whether email notifications are supported for detections for this rule
description str
The rule description
display_name str
The rule name as it is displayed in UI
help_url str
URL which displays additional info about the proactive detection rule
is_enabled_by_default bool
A flag indicating whether the rule is enabled by default
is_hidden bool
A flag indicating whether the rule is hidden (from the UI)
is_in_preview bool
A flag indicating whether the rule is in preview
name str
The rule name
supports_email_notifications bool
A flag indicating whether email notifications are supported for detections for this rule
description String
The rule description
displayName String
The rule name as it is displayed in UI
helpUrl String
URL which displays additional info about the proactive detection rule
isEnabledByDefault Boolean
A flag indicating whether the rule is enabled by default
isHidden Boolean
A flag indicating whether the rule is hidden (from the UI)
isInPreview Boolean
A flag indicating whether the rule is in preview
name String
The rule name
supportsEmailNotifications Boolean
A flag indicating whether email notifications are supported for detections for this rule

ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitions
, ApplicationInsightsComponentProactiveDetectionConfigurationPropertiesRuleDefinitionsArgs

Description string
The rule description
DisplayName string
The rule name as it is displayed in UI
HelpUrl string
URL which displays additional info about the proactive detection rule
IsEnabledByDefault bool
A flag indicating whether the rule is enabled by default
IsHidden bool
A flag indicating whether the rule is hidden (from the UI)
IsInPreview bool
A flag indicating whether the rule is in preview
Name string
The rule name
SupportsEmailNotifications bool
A flag indicating whether email notifications are supported for detections for this rule
Description string
The rule description
DisplayName string
The rule name as it is displayed in UI
HelpUrl string
URL which displays additional info about the proactive detection rule
IsEnabledByDefault bool
A flag indicating whether the rule is enabled by default
IsHidden bool
A flag indicating whether the rule is hidden (from the UI)
IsInPreview bool
A flag indicating whether the rule is in preview
Name string
The rule name
SupportsEmailNotifications bool
A flag indicating whether email notifications are supported for detections for this rule
description String
The rule description
displayName String
The rule name as it is displayed in UI
helpUrl String
URL which displays additional info about the proactive detection rule
isEnabledByDefault Boolean
A flag indicating whether the rule is enabled by default
isHidden Boolean
A flag indicating whether the rule is hidden (from the UI)
isInPreview Boolean
A flag indicating whether the rule is in preview
name String
The rule name
supportsEmailNotifications Boolean
A flag indicating whether email notifications are supported for detections for this rule
description string
The rule description
displayName string
The rule name as it is displayed in UI
helpUrl string
URL which displays additional info about the proactive detection rule
isEnabledByDefault boolean
A flag indicating whether the rule is enabled by default
isHidden boolean
A flag indicating whether the rule is hidden (from the UI)
isInPreview boolean
A flag indicating whether the rule is in preview
name string
The rule name
supportsEmailNotifications boolean
A flag indicating whether email notifications are supported for detections for this rule
description str
The rule description
display_name str
The rule name as it is displayed in UI
help_url str
URL which displays additional info about the proactive detection rule
is_enabled_by_default bool
A flag indicating whether the rule is enabled by default
is_hidden bool
A flag indicating whether the rule is hidden (from the UI)
is_in_preview bool
A flag indicating whether the rule is in preview
name str
The rule name
supports_email_notifications bool
A flag indicating whether email notifications are supported for detections for this rule
description String
The rule description
displayName String
The rule name as it is displayed in UI
helpUrl String
URL which displays additional info about the proactive detection rule
isEnabledByDefault Boolean
A flag indicating whether the rule is enabled by default
isHidden Boolean
A flag indicating whether the rule is hidden (from the UI)
isInPreview Boolean
A flag indicating whether the rule is in preview
name String
The rule name
supportsEmailNotifications Boolean
A flag indicating whether email notifications are supported for detections for this rule

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:insights:ProactiveDetectionConfiguration slowpageloadtime /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0