proactive_detection_configurations
Creates, updates, deletes, gets or lists a proactive_detection_configurations
resource.
Overview
Name | proactive_detection_configurations |
Type | Resource |
Id | azure.application_insights.proactive_detection_configurations |
Fields
Name | Datatype | Description |
---|---|---|
CustomEmails | array | Custom email addresses for this rule notifications |
Enabled | boolean | A flag that indicates whether this rule is enabled by the user |
LastUpdatedTime | string | The last time this rule was updated |
Name | string | The rule name |
RuleDefinitions | object | 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 |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | ConfigurationId, resourceGroupName, resourceName, subscriptionId | Get the ProactiveDetection configuration for this configuration id. |
list | SELECT | resourceGroupName, resourceName, subscriptionId | Gets a list of ProactiveDetection configurations of an Application Insights component. |
update | REPLACE | ConfigurationId, resourceGroupName, resourceName, subscriptionId | Update the ProactiveDetection configuration for this configuration id. |
SELECT
examples
Gets a list of ProactiveDetection configurations of an Application Insights component.
SELECT
CustomEmails,
Enabled,
LastUpdatedTime,
Name,
RuleDefinitions,
SendEmailsToSubscriptionOwners
FROM azure.application_insights.proactive_detection_configurations
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
REPLACE
example
Replaces all fields in the specified proactive_detection_configurations
resource.
/*+ update */
REPLACE azure.application_insights.proactive_detection_configurations
SET
Name = '{{ Name }}',
Enabled = true|false,
SendEmailsToSubscriptionOwners = true|false,
CustomEmails = '{{ CustomEmails }}',
LastUpdatedTime = '{{ LastUpdatedTime }}',
RuleDefinitions = '{{ RuleDefinitions }}'
WHERE
ConfigurationId = '{{ ConfigurationId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';