azure-native.insights.ScheduledQueryRule
Explore with Pulumi AI
The Log Search Rule resource. API Version: 2018-04-16.
Example Usage
Create or Update rule - AlertingAction
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var scheduledQueryRule = new AzureNative.Insights.ScheduledQueryRule("scheduledQueryRule", new()
{
Action = new AzureNative.Insights.Inputs.AlertingActionArgs
{
AznsAction = new AzureNative.Insights.Inputs.AzNsActionGroupArgs
{
ActionGroup = new[] {},
CustomWebhookPayload = "{}",
EmailSubject = "Email Header",
},
OdataType = "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
Severity = "1",
Trigger = new AzureNative.Insights.Inputs.TriggerConditionArgs
{
MetricTrigger = new AzureNative.Insights.Inputs.LogMetricTriggerArgs
{
MetricColumn = "Computer",
MetricTriggerType = "Consecutive",
Threshold = 5,
ThresholdOperator = "GreaterThan",
},
Threshold = 3,
ThresholdOperator = "GreaterThan",
},
},
Description = "log alert description",
Enabled = "true",
Location = "eastus",
ResourceGroupName = "Rac46PostSwapRG",
RuleName = "logalertfoo",
Schedule = new AzureNative.Insights.Inputs.ScheduleArgs
{
FrequencyInMinutes = 15,
TimeWindowInMinutes = 15,
},
Source = new AzureNative.Insights.Inputs.SourceArgs
{
DataSourceId = "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace",
Query = "Heartbeat | summarize AggregatedValue = count() by bin(TimeGenerated, 5m)",
QueryType = "ResultCount",
},
Tags = null,
});
});
package main
import (
insights "github.com/pulumi/pulumi-azure-native-sdk/insights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := insights.NewScheduledQueryRule(ctx, "scheduledQueryRule", &insights.ScheduledQueryRuleArgs{
Action: insights.AlertingAction{
AznsAction: insights.AzNsActionGroup{
ActionGroup: []interface{}{},
CustomWebhookPayload: "{}",
EmailSubject: "Email Header",
},
OdataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
Severity: "1",
Trigger: insights.TriggerCondition{
MetricTrigger: insights.LogMetricTrigger{
MetricColumn: "Computer",
MetricTriggerType: "Consecutive",
Threshold: 5,
ThresholdOperator: "GreaterThan",
},
Threshold: 3,
ThresholdOperator: "GreaterThan",
},
},
Description: pulumi.String("log alert description"),
Enabled: pulumi.String("true"),
Location: pulumi.String("eastus"),
ResourceGroupName: pulumi.String("Rac46PostSwapRG"),
RuleName: pulumi.String("logalertfoo"),
Schedule: &insights.ScheduleArgs{
FrequencyInMinutes: pulumi.Int(15),
TimeWindowInMinutes: pulumi.Int(15),
},
Source: &insights.SourceArgs{
DataSourceId: pulumi.String("/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace"),
Query: pulumi.String("Heartbeat | summarize AggregatedValue = count() by bin(TimeGenerated, 5m)"),
QueryType: pulumi.String("ResultCount"),
},
Tags: nil,
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.insights.ScheduledQueryRule;
import com.pulumi.azurenative.insights.ScheduledQueryRuleArgs;
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 scheduledQueryRule = new ScheduledQueryRule("scheduledQueryRule", ScheduledQueryRuleArgs.builder()
.action(Map.ofEntries(
Map.entry("aznsAction", Map.ofEntries(
Map.entry("actionGroup", ),
Map.entry("customWebhookPayload", "{}"),
Map.entry("emailSubject", "Email Header")
)),
Map.entry("odataType", "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction"),
Map.entry("severity", "1"),
Map.entry("trigger", Map.ofEntries(
Map.entry("metricTrigger", Map.ofEntries(
Map.entry("metricColumn", "Computer"),
Map.entry("metricTriggerType", "Consecutive"),
Map.entry("threshold", 5),
Map.entry("thresholdOperator", "GreaterThan")
)),
Map.entry("threshold", 3),
Map.entry("thresholdOperator", "GreaterThan")
))
))
.description("log alert description")
.enabled("true")
.location("eastus")
.resourceGroupName("Rac46PostSwapRG")
.ruleName("logalertfoo")
.schedule(Map.ofEntries(
Map.entry("frequencyInMinutes", 15),
Map.entry("timeWindowInMinutes", 15)
))
.source(Map.ofEntries(
Map.entry("dataSourceId", "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace"),
Map.entry("query", "Heartbeat | summarize AggregatedValue = count() by bin(TimeGenerated, 5m)"),
Map.entry("queryType", "ResultCount")
))
.tags()
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
scheduled_query_rule = azure_native.insights.ScheduledQueryRule("scheduledQueryRule",
action=azure_native.insights.AlertingActionArgs(
azns_action=azure_native.insights.AzNsActionGroupArgs(
action_group=[],
custom_webhook_payload="{}",
email_subject="Email Header",
),
odata_type="Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
severity="1",
trigger=azure_native.insights.TriggerConditionArgs(
metric_trigger=azure_native.insights.LogMetricTriggerArgs(
metric_column="Computer",
metric_trigger_type="Consecutive",
threshold=5,
threshold_operator="GreaterThan",
),
threshold=3,
threshold_operator="GreaterThan",
),
),
description="log alert description",
enabled="true",
location="eastus",
resource_group_name="Rac46PostSwapRG",
rule_name="logalertfoo",
schedule=azure_native.insights.ScheduleArgs(
frequency_in_minutes=15,
time_window_in_minutes=15,
),
source=azure_native.insights.SourceArgs(
data_source_id="/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace",
query="Heartbeat | summarize AggregatedValue = count() by bin(TimeGenerated, 5m)",
query_type="ResultCount",
),
tags={})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const scheduledQueryRule = new azure_native.insights.ScheduledQueryRule("scheduledQueryRule", {
action: {
aznsAction: {
actionGroup: [],
customWebhookPayload: "{}",
emailSubject: "Email Header",
},
odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
severity: "1",
trigger: {
metricTrigger: {
metricColumn: "Computer",
metricTriggerType: "Consecutive",
threshold: 5,
thresholdOperator: "GreaterThan",
},
threshold: 3,
thresholdOperator: "GreaterThan",
},
},
description: "log alert description",
enabled: "true",
location: "eastus",
resourceGroupName: "Rac46PostSwapRG",
ruleName: "logalertfoo",
schedule: {
frequencyInMinutes: 15,
timeWindowInMinutes: 15,
},
source: {
dataSourceId: "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace",
query: "Heartbeat | summarize AggregatedValue = count() by bin(TimeGenerated, 5m)",
queryType: "ResultCount",
},
tags: {},
});
resources:
scheduledQueryRule:
type: azure-native:insights:ScheduledQueryRule
properties:
action:
aznsAction:
actionGroup: []
customWebhookPayload: '{}'
emailSubject: Email Header
odataType: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction
severity: '1'
trigger:
metricTrigger:
metricColumn: Computer
metricTriggerType: Consecutive
threshold: 5
thresholdOperator: GreaterThan
threshold: 3
thresholdOperator: GreaterThan
description: log alert description
enabled: 'true'
location: eastus
resourceGroupName: Rac46PostSwapRG
ruleName: logalertfoo
schedule:
frequencyInMinutes: 15
timeWindowInMinutes: 15
source:
dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace
query: Heartbeat | summarize AggregatedValue = count() by bin(TimeGenerated, 5m)
queryType: ResultCount
tags: {}
Create or Update rule - AlertingAction with Cross-Resource
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var scheduledQueryRule = new AzureNative.Insights.ScheduledQueryRule("scheduledQueryRule", new()
{
Action = new AzureNative.Insights.Inputs.AlertingActionArgs
{
AznsAction = new AzureNative.Insights.Inputs.AzNsActionGroupArgs
{
ActionGroup = new[]
{
"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag",
},
EmailSubject = "Cross Resource Mail!!",
},
OdataType = "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
Severity = "3",
Trigger = new AzureNative.Insights.Inputs.TriggerConditionArgs
{
Threshold = 5000,
ThresholdOperator = "GreaterThan",
},
},
Description = "Sample Cross Resource alert",
Enabled = "true",
Location = "eastus",
ResourceGroupName = "Rac46PostSwapRG",
RuleName = "SampleCrossResourceAlert",
Schedule = new AzureNative.Insights.Inputs.ScheduleArgs
{
FrequencyInMinutes = 60,
TimeWindowInMinutes = 60,
},
Source = new AzureNative.Insights.Inputs.SourceArgs
{
AuthorizedResources = new[]
{
"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace",
"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI",
},
DataSourceId = "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI",
Query = "union requests, workspace(\"sampleWorkspace\").Update",
QueryType = "ResultCount",
},
Tags = null,
});
});
package main
import (
insights "github.com/pulumi/pulumi-azure-native-sdk/insights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := insights.NewScheduledQueryRule(ctx, "scheduledQueryRule", &insights.ScheduledQueryRuleArgs{
Action: insights.AlertingAction{
AznsAction: insights.AzNsActionGroup{
ActionGroup: []string{
"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag",
},
EmailSubject: "Cross Resource Mail!!",
},
OdataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
Severity: "3",
Trigger: insights.TriggerCondition{
Threshold: 5000,
ThresholdOperator: "GreaterThan",
},
},
Description: pulumi.String("Sample Cross Resource alert"),
Enabled: pulumi.String("true"),
Location: pulumi.String("eastus"),
ResourceGroupName: pulumi.String("Rac46PostSwapRG"),
RuleName: pulumi.String("SampleCrossResourceAlert"),
Schedule: &insights.ScheduleArgs{
FrequencyInMinutes: pulumi.Int(60),
TimeWindowInMinutes: pulumi.Int(60),
},
Source: &insights.SourceArgs{
AuthorizedResources: pulumi.StringArray{
pulumi.String("/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace"),
pulumi.String("/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI"),
},
DataSourceId: pulumi.String("/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI"),
Query: pulumi.String("union requests, workspace(\"sampleWorkspace\").Update"),
QueryType: pulumi.String("ResultCount"),
},
Tags: nil,
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.insights.ScheduledQueryRule;
import com.pulumi.azurenative.insights.ScheduledQueryRuleArgs;
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 scheduledQueryRule = new ScheduledQueryRule("scheduledQueryRule", ScheduledQueryRuleArgs.builder()
.action(Map.ofEntries(
Map.entry("aznsAction", Map.ofEntries(
Map.entry("actionGroup", "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag"),
Map.entry("emailSubject", "Cross Resource Mail!!")
)),
Map.entry("odataType", "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction"),
Map.entry("severity", "3"),
Map.entry("trigger", Map.ofEntries(
Map.entry("threshold", 5000),
Map.entry("thresholdOperator", "GreaterThan")
))
))
.description("Sample Cross Resource alert")
.enabled("true")
.location("eastus")
.resourceGroupName("Rac46PostSwapRG")
.ruleName("SampleCrossResourceAlert")
.schedule(Map.ofEntries(
Map.entry("frequencyInMinutes", 60),
Map.entry("timeWindowInMinutes", 60)
))
.source(Map.ofEntries(
Map.entry("authorizedResources",
"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace",
"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI"),
Map.entry("dataSourceId", "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI"),
Map.entry("query", "union requests, workspace(\"sampleWorkspace\").Update"),
Map.entry("queryType", "ResultCount")
))
.tags()
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
scheduled_query_rule = azure_native.insights.ScheduledQueryRule("scheduledQueryRule",
action=azure_native.insights.AlertingActionArgs(
azns_action=azure_native.insights.AzNsActionGroupArgs(
action_group=["/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag"],
email_subject="Cross Resource Mail!!",
),
odata_type="Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
severity="3",
trigger=azure_native.insights.TriggerConditionArgs(
threshold=5000,
threshold_operator="GreaterThan",
),
),
description="Sample Cross Resource alert",
enabled="true",
location="eastus",
resource_group_name="Rac46PostSwapRG",
rule_name="SampleCrossResourceAlert",
schedule=azure_native.insights.ScheduleArgs(
frequency_in_minutes=60,
time_window_in_minutes=60,
),
source=azure_native.insights.SourceArgs(
authorized_resources=[
"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace",
"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI",
],
data_source_id="/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI",
query="union requests, workspace(\"sampleWorkspace\").Update",
query_type="ResultCount",
),
tags={})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const scheduledQueryRule = new azure_native.insights.ScheduledQueryRule("scheduledQueryRule", {
action: {
aznsAction: {
actionGroup: ["/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag"],
emailSubject: "Cross Resource Mail!!",
},
odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
severity: "3",
trigger: {
threshold: 5000,
thresholdOperator: "GreaterThan",
},
},
description: "Sample Cross Resource alert",
enabled: "true",
location: "eastus",
resourceGroupName: "Rac46PostSwapRG",
ruleName: "SampleCrossResourceAlert",
schedule: {
frequencyInMinutes: 60,
timeWindowInMinutes: 60,
},
source: {
authorizedResources: [
"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace",
"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI",
],
dataSourceId: "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI",
query: "union requests, workspace(\"sampleWorkspace\").Update",
queryType: "ResultCount",
},
tags: {},
});
resources:
scheduledQueryRule:
type: azure-native:insights:ScheduledQueryRule
properties:
action:
aznsAction:
actionGroup:
- /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag
emailSubject: Cross Resource Mail!!
odataType: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction
severity: '3'
trigger:
threshold: 5000
thresholdOperator: GreaterThan
description: Sample Cross Resource alert
enabled: 'true'
location: eastus
resourceGroupName: Rac46PostSwapRG
ruleName: SampleCrossResourceAlert
schedule:
frequencyInMinutes: 60
timeWindowInMinutes: 60
source:
authorizedResources:
- /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace
- /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI
dataSourceId: /subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI
query: union requests, workspace("sampleWorkspace").Update
queryType: ResultCount
tags: {}
Create or Update rule - LogToMetricAction
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var scheduledQueryRule = new AzureNative.Insights.ScheduledQueryRule("scheduledQueryRule", new()
{
Action = new AzureNative.Insights.Inputs.LogToMetricActionArgs
{
Criteria = new[]
{
new AzureNative.Insights.Inputs.CriteriaArgs
{
Dimensions = new[] {},
MetricName = "Average_% Idle Time",
},
},
OdataType = "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction",
},
Description = "log to metric description",
Enabled = "true",
Location = "West Europe",
ResourceGroupName = "alertsweu",
RuleName = "logtometricfoo",
Source = new AzureNative.Insights.Inputs.SourceArgs
{
DataSourceId = "/subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu",
},
Tags = null,
});
});
package main
import (
insights "github.com/pulumi/pulumi-azure-native-sdk/insights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := insights.NewScheduledQueryRule(ctx, "scheduledQueryRule", &insights.ScheduledQueryRuleArgs{
Action: insights.LogToMetricAction{
Criteria: []insights.Criteria{
{
Dimensions: []insights.Dimension{},
MetricName: "Average_% Idle Time",
},
},
OdataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction",
},
Description: pulumi.String("log to metric description"),
Enabled: pulumi.String("true"),
Location: pulumi.String("West Europe"),
ResourceGroupName: pulumi.String("alertsweu"),
RuleName: pulumi.String("logtometricfoo"),
Source: &insights.SourceArgs{
DataSourceId: pulumi.String("/subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu"),
},
Tags: nil,
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.insights.ScheduledQueryRule;
import com.pulumi.azurenative.insights.ScheduledQueryRuleArgs;
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 scheduledQueryRule = new ScheduledQueryRule("scheduledQueryRule", ScheduledQueryRuleArgs.builder()
.action(Map.ofEntries(
Map.entry("criteria", Map.ofEntries(
Map.entry("dimensions", ),
Map.entry("metricName", "Average_% Idle Time")
)),
Map.entry("odataType", "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction")
))
.description("log to metric description")
.enabled("true")
.location("West Europe")
.resourceGroupName("alertsweu")
.ruleName("logtometricfoo")
.source(Map.of("dataSourceId", "/subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu"))
.tags()
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
scheduled_query_rule = azure_native.insights.ScheduledQueryRule("scheduledQueryRule",
action=azure_native.insights.LogToMetricActionArgs(
criteria=[azure_native.insights.CriteriaArgs(
dimensions=[],
metric_name="Average_% Idle Time",
)],
odata_type="Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction",
),
description="log to metric description",
enabled="true",
location="West Europe",
resource_group_name="alertsweu",
rule_name="logtometricfoo",
source=azure_native.insights.SourceArgs(
data_source_id="/subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu",
),
tags={})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const scheduledQueryRule = new azure_native.insights.ScheduledQueryRule("scheduledQueryRule", {
action: {
criteria: [{
dimensions: [],
metricName: "Average_% Idle Time",
}],
odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction",
},
description: "log to metric description",
enabled: "true",
location: "West Europe",
resourceGroupName: "alertsweu",
ruleName: "logtometricfoo",
source: {
dataSourceId: "/subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu",
},
tags: {},
});
resources:
scheduledQueryRule:
type: azure-native:insights:ScheduledQueryRule
properties:
action:
criteria:
- dimensions: []
metricName: Average_% Idle Time
odataType: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction
description: log to metric description
enabled: 'true'
location: West Europe
resourceGroupName: alertsweu
ruleName: logtometricfoo
source:
dataSourceId: /subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu
tags: {}
Create ScheduledQueryRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScheduledQueryRule(name: string, args: ScheduledQueryRuleArgs, opts?: CustomResourceOptions);
@overload
def ScheduledQueryRule(resource_name: str,
args: ScheduledQueryRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScheduledQueryRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[Union[AlertingActionArgs, LogToMetricActionArgs]] = None,
resource_group_name: Optional[str] = None,
source: Optional[SourceArgs] = None,
auto_mitigate: Optional[bool] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
enabled: Optional[Union[str, Enabled]] = None,
location: Optional[str] = None,
rule_name: Optional[str] = None,
schedule: Optional[ScheduleArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewScheduledQueryRule(ctx *Context, name string, args ScheduledQueryRuleArgs, opts ...ResourceOption) (*ScheduledQueryRule, error)
public ScheduledQueryRule(string name, ScheduledQueryRuleArgs args, CustomResourceOptions? opts = null)
public ScheduledQueryRule(String name, ScheduledQueryRuleArgs args)
public ScheduledQueryRule(String name, ScheduledQueryRuleArgs args, CustomResourceOptions options)
type: azure-native:insights:ScheduledQueryRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ScheduledQueryRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ScheduledQueryRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ScheduledQueryRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScheduledQueryRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScheduledQueryRuleArgs
- 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 scheduledQueryRuleResource = new AzureNative.Insights.ScheduledQueryRule("scheduledQueryRuleResource", new()
{
Action =
{
{ "odataType", "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction" },
{ "severity", "string" },
{ "trigger",
{
{ "threshold", 0 },
{ "thresholdOperator", "string" },
{ "metricTrigger",
{
{ "metricColumn", "string" },
{ "metricTriggerType", "string" },
{ "threshold", 0 },
{ "thresholdOperator", "string" },
} },
} },
{ "aznsAction",
{
{ "actionGroup", new[]
{
"string",
} },
{ "customWebhookPayload", "string" },
{ "emailSubject", "string" },
} },
{ "throttlingInMin", 0 },
},
ResourceGroupName = "string",
Source =
{
{ "dataSourceId", "string" },
{ "authorizedResources", new[]
{
"string",
} },
{ "query", "string" },
{ "queryType", "string" },
},
AutoMitigate = false,
Description = "string",
DisplayName = "string",
Enabled = "string",
Location = "string",
RuleName = "string",
Schedule =
{
{ "frequencyInMinutes", 0 },
{ "timeWindowInMinutes", 0 },
},
Tags =
{
{ "string", "string" },
},
});
example, err := insights.NewScheduledQueryRule(ctx, "scheduledQueryRuleResource", &insights.ScheduledQueryRuleArgs{
Action: map[string]interface{}{
"odataType": "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
"severity": "string",
"trigger": map[string]interface{}{
"threshold": 0,
"thresholdOperator": "string",
"metricTrigger": map[string]interface{}{
"metricColumn": "string",
"metricTriggerType": "string",
"threshold": 0,
"thresholdOperator": "string",
},
},
"aznsAction": map[string]interface{}{
"actionGroup": []string{
"string",
},
"customWebhookPayload": "string",
"emailSubject": "string",
},
"throttlingInMin": 0,
},
ResourceGroupName: "string",
Source: map[string]interface{}{
"dataSourceId": "string",
"authorizedResources": []string{
"string",
},
"query": "string",
"queryType": "string",
},
AutoMitigate: false,
Description: "string",
DisplayName: "string",
Enabled: "string",
Location: "string",
RuleName: "string",
Schedule: map[string]interface{}{
"frequencyInMinutes": 0,
"timeWindowInMinutes": 0,
},
Tags: map[string]interface{}{
"string": "string",
},
})
var scheduledQueryRuleResource = new ScheduledQueryRule("scheduledQueryRuleResource", ScheduledQueryRuleArgs.builder()
.action(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.source(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.autoMitigate(false)
.description("string")
.displayName("string")
.enabled("string")
.location("string")
.ruleName("string")
.schedule(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
scheduled_query_rule_resource = azure_native.insights.ScheduledQueryRule("scheduledQueryRuleResource",
action={
odataType: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction,
severity: string,
trigger: {
threshold: 0,
thresholdOperator: string,
metricTrigger: {
metricColumn: string,
metricTriggerType: string,
threshold: 0,
thresholdOperator: string,
},
},
aznsAction: {
actionGroup: [string],
customWebhookPayload: string,
emailSubject: string,
},
throttlingInMin: 0,
},
resource_group_name=string,
source={
dataSourceId: string,
authorizedResources: [string],
query: string,
queryType: string,
},
auto_mitigate=False,
description=string,
display_name=string,
enabled=string,
location=string,
rule_name=string,
schedule={
frequencyInMinutes: 0,
timeWindowInMinutes: 0,
},
tags={
string: string,
})
const scheduledQueryRuleResource = new azure_native.insights.ScheduledQueryRule("scheduledQueryRuleResource", {
action: {
odataType: "Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction",
severity: "string",
trigger: {
threshold: 0,
thresholdOperator: "string",
metricTrigger: {
metricColumn: "string",
metricTriggerType: "string",
threshold: 0,
thresholdOperator: "string",
},
},
aznsAction: {
actionGroup: ["string"],
customWebhookPayload: "string",
emailSubject: "string",
},
throttlingInMin: 0,
},
resourceGroupName: "string",
source: {
dataSourceId: "string",
authorizedResources: ["string"],
query: "string",
queryType: "string",
},
autoMitigate: false,
description: "string",
displayName: "string",
enabled: "string",
location: "string",
ruleName: "string",
schedule: {
frequencyInMinutes: 0,
timeWindowInMinutes: 0,
},
tags: {
string: "string",
},
});
type: azure-native:insights:ScheduledQueryRule
properties:
action:
aznsAction:
actionGroup:
- string
customWebhookPayload: string
emailSubject: string
odataType: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction
severity: string
throttlingInMin: 0
trigger:
metricTrigger:
metricColumn: string
metricTriggerType: string
threshold: 0
thresholdOperator: string
threshold: 0
thresholdOperator: string
autoMitigate: false
description: string
displayName: string
enabled: string
location: string
resourceGroupName: string
ruleName: string
schedule:
frequencyInMinutes: 0
timeWindowInMinutes: 0
source:
authorizedResources:
- string
dataSourceId: string
query: string
queryType: string
tags:
string: string
ScheduledQueryRule 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 ScheduledQueryRule resource accepts the following input properties:
- Action
Pulumi.
Azure | Pulumi.Native. Insights. Inputs. Alerting Action Azure Native. Insights. Inputs. Log To Metric Action - Action needs to be taken on rule execution.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Source
Pulumi.
Azure Native. Insights. Inputs. Source - Data Source against which rule will Query Data
- Auto
Mitigate bool - The flag that indicates whether the alert should be automatically resolved or not. The default is false.
- Description string
- The description of the Log Search rule.
- Display
Name string - The display name of the alert rule
- Enabled
string | Pulumi.
Azure Native. Insights. Enabled - The flag which indicates whether the Log Search rule is enabled. Value should be true or false
- Location string
- Resource location
- Rule
Name string - The name of the rule.
- Schedule
Pulumi.
Azure Native. Insights. Inputs. Schedule - Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction
- Dictionary<string, string>
- Resource tags
- Action
Alerting
Action | LogArgs To Metric Action Args - Action needs to be taken on rule execution.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Source
Source
Args - Data Source against which rule will Query Data
- Auto
Mitigate bool - The flag that indicates whether the alert should be automatically resolved or not. The default is false.
- Description string
- The description of the Log Search rule.
- Display
Name string - The display name of the alert rule
- Enabled string | Enabled
- The flag which indicates whether the Log Search rule is enabled. Value should be true or false
- Location string
- Resource location
- Rule
Name string - The name of the rule.
- Schedule
Schedule
Args - Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction
- map[string]string
- Resource tags
- action
Alerting
Action | LogTo Metric Action - Action needs to be taken on rule execution.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- source Source
- Data Source against which rule will Query Data
- auto
Mitigate Boolean - The flag that indicates whether the alert should be automatically resolved or not. The default is false.
- description String
- The description of the Log Search rule.
- display
Name String - The display name of the alert rule
- enabled String | Enabled
- The flag which indicates whether the Log Search rule is enabled. Value should be true or false
- location String
- Resource location
- rule
Name String - The name of the rule.
- schedule Schedule
- Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction
- Map<String,String>
- Resource tags
- action
Alerting
Action | LogTo Metric Action - Action needs to be taken on rule execution.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- source Source
- Data Source against which rule will Query Data
- auto
Mitigate boolean - The flag that indicates whether the alert should be automatically resolved or not. The default is false.
- description string
- The description of the Log Search rule.
- display
Name string - The display name of the alert rule
- enabled string | Enabled
- The flag which indicates whether the Log Search rule is enabled. Value should be true or false
- location string
- Resource location
- rule
Name string - The name of the rule.
- schedule Schedule
- Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction
- {[key: string]: string}
- Resource tags
- action
Alerting
Action | LogArgs To Metric Action Args - Action needs to be taken on rule execution.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- source
Source
Args - Data Source against which rule will Query Data
- auto_
mitigate bool - The flag that indicates whether the alert should be automatically resolved or not. The default is false.
- description str
- The description of the Log Search rule.
- display_
name str - The display name of the alert rule
- enabled str | Enabled
- The flag which indicates whether the Log Search rule is enabled. Value should be true or false
- location str
- Resource location
- rule_
name str - The name of the rule.
- schedule
Schedule
Args - Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction
- Mapping[str, str]
- Resource tags
- action Property Map | Property Map
- Action needs to be taken on rule execution.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- source Property Map
- Data Source against which rule will Query Data
- auto
Mitigate Boolean - The flag that indicates whether the alert should be automatically resolved or not. The default is false.
- description String
- The description of the Log Search rule.
- display
Name String - The display name of the alert rule
- enabled String | "true" | "false"
- The flag which indicates whether the Log Search rule is enabled. Value should be true or false
- location String
- Resource location
- rule
Name String - The name of the rule.
- schedule Property Map
- Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction
- Map<String>
- Resource tags
Outputs
All input properties are implicitly available as output properties. Additionally, the ScheduledQueryRule resource produces the following output properties:
- Created
With stringApi Version - The api-version used when creating this alert rule
- Etag string
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Legacy boolLog Analytics Rule - True if alert rule is legacy Log Analytic rule
- Kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- Last
Updated stringTime - Last time the rule was updated in IS08601 format.
- Name string
- Azure resource name
- Provisioning
State string - Provisioning state of the scheduled query rule
- Type string
- Azure resource type
- Created
With stringApi Version - The api-version used when creating this alert rule
- Etag string
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Legacy boolLog Analytics Rule - True if alert rule is legacy Log Analytic rule
- Kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- Last
Updated stringTime - Last time the rule was updated in IS08601 format.
- Name string
- Azure resource name
- Provisioning
State string - Provisioning state of the scheduled query rule
- Type string
- Azure resource type
- created
With StringApi Version - The api-version used when creating this alert rule
- etag String
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Legacy BooleanLog Analytics Rule - True if alert rule is legacy Log Analytic rule
- kind String
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- last
Updated StringTime - Last time the rule was updated in IS08601 format.
- name String
- Azure resource name
- provisioning
State String - Provisioning state of the scheduled query rule
- type String
- Azure resource type
- created
With stringApi Version - The api-version used when creating this alert rule
- etag string
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Legacy booleanLog Analytics Rule - True if alert rule is legacy Log Analytic rule
- kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- last
Updated stringTime - Last time the rule was updated in IS08601 format.
- name string
- Azure resource name
- provisioning
State string - Provisioning state of the scheduled query rule
- type string
- Azure resource type
- created_
with_ strapi_ version - The api-version used when creating this alert rule
- etag str
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
legacy_ boollog_ analytics_ rule - True if alert rule is legacy Log Analytic rule
- kind str
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- last_
updated_ strtime - Last time the rule was updated in IS08601 format.
- name str
- Azure resource name
- provisioning_
state str - Provisioning state of the scheduled query rule
- type str
- Azure resource type
- created
With StringApi Version - The api-version used when creating this alert rule
- etag String
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Legacy BooleanLog Analytics Rule - True if alert rule is legacy Log Analytic rule
- kind String
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
- last
Updated StringTime - Last time the rule was updated in IS08601 format.
- name String
- Azure resource name
- provisioning
State String - Provisioning state of the scheduled query rule
- type String
- Azure resource type
Supporting Types
AlertSeverity, AlertSeverityArgs
- Zero
- 0
- One
- 1
- Two
- 2
- Three
- 3
- Four
- 4
- Alert
Severity Zero - 0
- Alert
Severity One - 1
- Alert
Severity Two - 2
- Alert
Severity Three - 3
- Alert
Severity Four - 4
- Zero
- 0
- One
- 1
- Two
- 2
- Three
- 3
- Four
- 4
- Zero
- 0
- One
- 1
- Two
- 2
- Three
- 3
- Four
- 4
- ZERO
- 0
- ONE
- 1
- TWO
- 2
- THREE
- 3
- FOUR
- 4
- "0"
- 0
- "1"
- 1
- "2"
- 2
- "3"
- 3
- "4"
- 4
AlertingAction, AlertingActionArgs
- Severity
string | Pulumi.
Azure Native. Insights. Alert Severity - Severity of the alert
- Trigger
Pulumi.
Azure Native. Insights. Inputs. Trigger Condition - The trigger condition that results in the alert rule being.
- Azns
Action Pulumi.Azure Native. Insights. Inputs. Az Ns Action Group - Azure action group reference.
- Throttling
In intMin - time (in minutes) for which Alerts should be throttled or suppressed.
- Severity
string | Alert
Severity - Severity of the alert
- Trigger
Trigger
Condition - The trigger condition that results in the alert rule being.
- Azns
Action AzNs Action Group - Azure action group reference.
- Throttling
In intMin - time (in minutes) for which Alerts should be throttled or suppressed.
- severity
String | Alert
Severity - Severity of the alert
- trigger
Trigger
Condition - The trigger condition that results in the alert rule being.
- azns
Action AzNs Action Group - Azure action group reference.
- throttling
In IntegerMin - time (in minutes) for which Alerts should be throttled or suppressed.
- severity
string | Alert
Severity - Severity of the alert
- trigger
Trigger
Condition - The trigger condition that results in the alert rule being.
- azns
Action AzNs Action Group - Azure action group reference.
- throttling
In numberMin - time (in minutes) for which Alerts should be throttled or suppressed.
- severity
str | Alert
Severity - Severity of the alert
- trigger
Trigger
Condition - The trigger condition that results in the alert rule being.
- azns_
action AzNs Action Group - Azure action group reference.
- throttling_
in_ intmin - time (in minutes) for which Alerts should be throttled or suppressed.
- severity String | "0" | "1" | "2" | "3" | "4"
- Severity of the alert
- trigger Property Map
- The trigger condition that results in the alert rule being.
- azns
Action Property Map - Azure action group reference.
- throttling
In NumberMin - time (in minutes) for which Alerts should be throttled or suppressed.
AlertingActionResponse, AlertingActionResponseArgs
- Severity string
- Severity of the alert
- Trigger
Pulumi.
Azure Native. Insights. Inputs. Trigger Condition Response - The trigger condition that results in the alert rule being.
- Azns
Action Pulumi.Azure Native. Insights. Inputs. Az Ns Action Group Response - Azure action group reference.
- Throttling
In intMin - time (in minutes) for which Alerts should be throttled or suppressed.
- Severity string
- Severity of the alert
- Trigger
Trigger
Condition Response - The trigger condition that results in the alert rule being.
- Azns
Action AzNs Action Group Response - Azure action group reference.
- Throttling
In intMin - time (in minutes) for which Alerts should be throttled or suppressed.
- severity String
- Severity of the alert
- trigger
Trigger
Condition Response - The trigger condition that results in the alert rule being.
- azns
Action AzNs Action Group Response - Azure action group reference.
- throttling
In IntegerMin - time (in minutes) for which Alerts should be throttled or suppressed.
- severity string
- Severity of the alert
- trigger
Trigger
Condition Response - The trigger condition that results in the alert rule being.
- azns
Action AzNs Action Group Response - Azure action group reference.
- throttling
In numberMin - time (in minutes) for which Alerts should be throttled or suppressed.
- severity str
- Severity of the alert
- trigger
Trigger
Condition Response - The trigger condition that results in the alert rule being.
- azns_
action AzNs Action Group Response - Azure action group reference.
- throttling_
in_ intmin - time (in minutes) for which Alerts should be throttled or suppressed.
- severity String
- Severity of the alert
- trigger Property Map
- The trigger condition that results in the alert rule being.
- azns
Action Property Map - Azure action group reference.
- throttling
In NumberMin - time (in minutes) for which Alerts should be throttled or suppressed.
AzNsActionGroup, AzNsActionGroupArgs
- Action
Group List<string> - Azure Action Group reference.
- Custom
Webhook stringPayload - Custom payload to be sent for all webhook URI in Azure action group
- Email
Subject string - Custom subject override for all email ids in Azure action group
- Action
Group []string - Azure Action Group reference.
- Custom
Webhook stringPayload - Custom payload to be sent for all webhook URI in Azure action group
- Email
Subject string - Custom subject override for all email ids in Azure action group
- action
Group List<String> - Azure Action Group reference.
- custom
Webhook StringPayload - Custom payload to be sent for all webhook URI in Azure action group
- email
Subject String - Custom subject override for all email ids in Azure action group
- action
Group string[] - Azure Action Group reference.
- custom
Webhook stringPayload - Custom payload to be sent for all webhook URI in Azure action group
- email
Subject string - Custom subject override for all email ids in Azure action group
- action_
group Sequence[str] - Azure Action Group reference.
- custom_
webhook_ strpayload - Custom payload to be sent for all webhook URI in Azure action group
- email_
subject str - Custom subject override for all email ids in Azure action group
- action
Group List<String> - Azure Action Group reference.
- custom
Webhook StringPayload - Custom payload to be sent for all webhook URI in Azure action group
- email
Subject String - Custom subject override for all email ids in Azure action group
AzNsActionGroupResponse, AzNsActionGroupResponseArgs
- Action
Group List<string> - Azure Action Group reference.
- Custom
Webhook stringPayload - Custom payload to be sent for all webhook URI in Azure action group
- Email
Subject string - Custom subject override for all email ids in Azure action group
- Action
Group []string - Azure Action Group reference.
- Custom
Webhook stringPayload - Custom payload to be sent for all webhook URI in Azure action group
- Email
Subject string - Custom subject override for all email ids in Azure action group
- action
Group List<String> - Azure Action Group reference.
- custom
Webhook StringPayload - Custom payload to be sent for all webhook URI in Azure action group
- email
Subject String - Custom subject override for all email ids in Azure action group
- action
Group string[] - Azure Action Group reference.
- custom
Webhook stringPayload - Custom payload to be sent for all webhook URI in Azure action group
- email
Subject string - Custom subject override for all email ids in Azure action group
- action_
group Sequence[str] - Azure Action Group reference.
- custom_
webhook_ strpayload - Custom payload to be sent for all webhook URI in Azure action group
- email_
subject str - Custom subject override for all email ids in Azure action group
- action
Group List<String> - Azure Action Group reference.
- custom
Webhook StringPayload - Custom payload to be sent for all webhook URI in Azure action group
- email
Subject String - Custom subject override for all email ids in Azure action group
ConditionalOperator, ConditionalOperatorArgs
- Greater
Than Or Equal - GreaterThanOrEqual
- Less
Than Or Equal - LessThanOrEqual
- Greater
Than - GreaterThan
- Less
Than - LessThan
- Equal
- Equal
- Conditional
Operator Greater Than Or Equal - GreaterThanOrEqual
- Conditional
Operator Less Than Or Equal - LessThanOrEqual
- Conditional
Operator Greater Than - GreaterThan
- Conditional
Operator Less Than - LessThan
- Conditional
Operator Equal - Equal
- Greater
Than Or Equal - GreaterThanOrEqual
- Less
Than Or Equal - LessThanOrEqual
- Greater
Than - GreaterThan
- Less
Than - LessThan
- Equal
- Equal
- Greater
Than Or Equal - GreaterThanOrEqual
- Less
Than Or Equal - LessThanOrEqual
- Greater
Than - GreaterThan
- Less
Than - LessThan
- Equal
- Equal
- GREATER_THAN_OR_EQUAL
- GreaterThanOrEqual
- LESS_THAN_OR_EQUAL
- LessThanOrEqual
- GREATER_THAN
- GreaterThan
- LESS_THAN
- LessThan
- EQUAL
- Equal
- "Greater
Than Or Equal" - GreaterThanOrEqual
- "Less
Than Or Equal" - LessThanOrEqual
- "Greater
Than" - GreaterThan
- "Less
Than" - LessThan
- "Equal"
- Equal
Criteria, CriteriaArgs
- Metric
Name string - Name of the metric
- Dimensions
List<Pulumi.
Azure Native. Insights. Inputs. Dimension> - List of Dimensions for creating metric
- Metric
Name string - Name of the metric
- Dimensions []Dimension
- List of Dimensions for creating metric
- metric
Name String - Name of the metric
- dimensions List<Dimension>
- List of Dimensions for creating metric
- metric
Name string - Name of the metric
- dimensions Dimension[]
- List of Dimensions for creating metric
- metric_
name str - Name of the metric
- dimensions Sequence[Dimension]
- List of Dimensions for creating metric
- metric
Name String - Name of the metric
- dimensions List<Property Map>
- List of Dimensions for creating metric
CriteriaResponse, CriteriaResponseArgs
- Metric
Name string - Name of the metric
- Dimensions
List<Pulumi.
Azure Native. Insights. Inputs. Dimension Response> - List of Dimensions for creating metric
- Metric
Name string - Name of the metric
- Dimensions
[]Dimension
Response - List of Dimensions for creating metric
- metric
Name String - Name of the metric
- dimensions
List<Dimension
Response> - List of Dimensions for creating metric
- metric
Name string - Name of the metric
- dimensions
Dimension
Response[] - List of Dimensions for creating metric
- metric_
name str - Name of the metric
- dimensions
Sequence[Dimension
Response] - List of Dimensions for creating metric
- metric
Name String - Name of the metric
- dimensions List<Property Map>
- List of Dimensions for creating metric
Dimension, DimensionArgs
- Name string
- Name of the dimension
- Operator
string | Pulumi.
Azure Native. Insights. Operator - Operator for dimension values
- Values List<string>
- List of dimension values
DimensionResponse, DimensionResponseArgs
Enabled, EnabledArgs
- @True
- true
- @False
- false
- Enabled
True - true
- Enabled
False - false
- True_
- true
- False_
- false
- True
- true
- False
- false
- TRUE
- true
- FALSE
- false
- "true"
- true
- "false"
- false
LogMetricTrigger, LogMetricTriggerArgs
- Metric
Column string - Evaluation of metric on a particular column
- Metric
Trigger string | Pulumi.Type Azure Native. Insights. Metric Trigger Type - Metric Trigger Type - 'Consecutive' or 'Total'
- Threshold double
- The threshold of the metric trigger.
- Threshold
Operator string | Pulumi.Azure Native. Insights. Conditional Operator - Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
- Metric
Column string - Evaluation of metric on a particular column
- Metric
Trigger string | MetricType Trigger Type - Metric Trigger Type - 'Consecutive' or 'Total'
- Threshold float64
- The threshold of the metric trigger.
- Threshold
Operator string | ConditionalOperator - Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
- metric
Column String - Evaluation of metric on a particular column
- metric
Trigger String | MetricType Trigger Type - Metric Trigger Type - 'Consecutive' or 'Total'
- threshold Double
- The threshold of the metric trigger.
- threshold
Operator String | ConditionalOperator - Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
- metric
Column string - Evaluation of metric on a particular column
- metric
Trigger string | MetricType Trigger Type - Metric Trigger Type - 'Consecutive' or 'Total'
- threshold number
- The threshold of the metric trigger.
- threshold
Operator string | ConditionalOperator - Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
- metric_
column str - Evaluation of metric on a particular column
- metric_
trigger_ str | Metrictype Trigger Type - Metric Trigger Type - 'Consecutive' or 'Total'
- threshold float
- The threshold of the metric trigger.
- threshold_
operator str | ConditionalOperator - Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
- metric
Column String - Evaluation of metric on a particular column
- metric
Trigger String | "Consecutive" | "Total"Type - Metric Trigger Type - 'Consecutive' or 'Total'
- threshold Number
- The threshold of the metric trigger.
- threshold
Operator String | "GreaterThan Or Equal" | "Less Than Or Equal" | "Greater Than" | "Less Than" | "Equal" - Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
LogMetricTriggerResponse, LogMetricTriggerResponseArgs
- Metric
Column string - Evaluation of metric on a particular column
- Metric
Trigger stringType - Metric Trigger Type - 'Consecutive' or 'Total'
- Threshold double
- The threshold of the metric trigger.
- Threshold
Operator string - Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
- Metric
Column string - Evaluation of metric on a particular column
- Metric
Trigger stringType - Metric Trigger Type - 'Consecutive' or 'Total'
- Threshold float64
- The threshold of the metric trigger.
- Threshold
Operator string - Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
- metric
Column String - Evaluation of metric on a particular column
- metric
Trigger StringType - Metric Trigger Type - 'Consecutive' or 'Total'
- threshold Double
- The threshold of the metric trigger.
- threshold
Operator String - Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
- metric
Column string - Evaluation of metric on a particular column
- metric
Trigger stringType - Metric Trigger Type - 'Consecutive' or 'Total'
- threshold number
- The threshold of the metric trigger.
- threshold
Operator string - Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
- metric_
column str - Evaluation of metric on a particular column
- metric_
trigger_ strtype - Metric Trigger Type - 'Consecutive' or 'Total'
- threshold float
- The threshold of the metric trigger.
- threshold_
operator str - Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
- metric
Column String - Evaluation of metric on a particular column
- metric
Trigger StringType - Metric Trigger Type - 'Consecutive' or 'Total'
- threshold Number
- The threshold of the metric trigger.
- threshold
Operator String - Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
LogToMetricAction, LogToMetricActionArgs
- Criteria
List<Pulumi.
Azure Native. Insights. Inputs. Criteria> - Criteria of Metric
- Criteria []Criteria
- Criteria of Metric
- criteria List<Criteria>
- Criteria of Metric
- criteria Criteria[]
- Criteria of Metric
- criteria Sequence[Criteria]
- Criteria of Metric
- criteria List<Property Map>
- Criteria of Metric
LogToMetricActionResponse, LogToMetricActionResponseArgs
- Criteria
List<Pulumi.
Azure Native. Insights. Inputs. Criteria Response> - Criteria of Metric
- Criteria
[]Criteria
Response - Criteria of Metric
- criteria
List<Criteria
Response> - Criteria of Metric
- criteria
Criteria
Response[] - Criteria of Metric
- criteria
Sequence[Criteria
Response] - Criteria of Metric
- criteria List<Property Map>
- Criteria of Metric
MetricTriggerType, MetricTriggerTypeArgs
- Consecutive
- Consecutive
- Total
- Total
- Metric
Trigger Type Consecutive - Consecutive
- Metric
Trigger Type Total - Total
- Consecutive
- Consecutive
- Total
- Total
- Consecutive
- Consecutive
- Total
- Total
- CONSECUTIVE
- Consecutive
- TOTAL
- Total
- "Consecutive"
- Consecutive
- "Total"
- Total
Operator, OperatorArgs
- Include
- Include
- Operator
Include - Include
- Include
- Include
- Include
- Include
- INCLUDE
- Include
- "Include"
- Include
QueryType, QueryTypeArgs
- Result
Count - ResultCount
- Query
Type Result Count - ResultCount
- Result
Count - ResultCount
- Result
Count - ResultCount
- RESULT_COUNT
- ResultCount
- "Result
Count" - ResultCount
Schedule, ScheduleArgs
- Frequency
In intMinutes - frequency (in minutes) at which rule condition should be evaluated.
- Time
Window intIn Minutes - Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
- Frequency
In intMinutes - frequency (in minutes) at which rule condition should be evaluated.
- Time
Window intIn Minutes - Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
- frequency
In IntegerMinutes - frequency (in minutes) at which rule condition should be evaluated.
- time
Window IntegerIn Minutes - Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
- frequency
In numberMinutes - frequency (in minutes) at which rule condition should be evaluated.
- time
Window numberIn Minutes - Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
- frequency_
in_ intminutes - frequency (in minutes) at which rule condition should be evaluated.
- time_
window_ intin_ minutes - Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
- frequency
In NumberMinutes - frequency (in minutes) at which rule condition should be evaluated.
- time
Window NumberIn Minutes - Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
ScheduleResponse, ScheduleResponseArgs
- Frequency
In intMinutes - frequency (in minutes) at which rule condition should be evaluated.
- Time
Window intIn Minutes - Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
- Frequency
In intMinutes - frequency (in minutes) at which rule condition should be evaluated.
- Time
Window intIn Minutes - Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
- frequency
In IntegerMinutes - frequency (in minutes) at which rule condition should be evaluated.
- time
Window IntegerIn Minutes - Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
- frequency
In numberMinutes - frequency (in minutes) at which rule condition should be evaluated.
- time
Window numberIn Minutes - Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
- frequency_
in_ intminutes - frequency (in minutes) at which rule condition should be evaluated.
- time_
window_ intin_ minutes - Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
- frequency
In NumberMinutes - frequency (in minutes) at which rule condition should be evaluated.
- time
Window NumberIn Minutes - Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
Source, SourceArgs
- Data
Source stringId - The resource uri over which log search query is to be run.
- List<string>
- List of Resource referred into query
- Query string
- Log search query. Required for action type - AlertingAction
- Query
Type string | Pulumi.Azure Native. Insights. Query Type - Set value to 'ResultCount' .
- Data
Source stringId - The resource uri over which log search query is to be run.
- []string
- List of Resource referred into query
- Query string
- Log search query. Required for action type - AlertingAction
- Query
Type string | QueryType - Set value to 'ResultCount' .
- data
Source StringId - The resource uri over which log search query is to be run.
- List<String>
- List of Resource referred into query
- query String
- Log search query. Required for action type - AlertingAction
- query
Type String | QueryType - Set value to 'ResultCount' .
- data
Source stringId - The resource uri over which log search query is to be run.
- string[]
- List of Resource referred into query
- query string
- Log search query. Required for action type - AlertingAction
- query
Type string | QueryType - Set value to 'ResultCount' .
- data_
source_ strid - The resource uri over which log search query is to be run.
- Sequence[str]
- List of Resource referred into query
- query str
- Log search query. Required for action type - AlertingAction
- query_
type str | QueryType - Set value to 'ResultCount' .
- data
Source StringId - The resource uri over which log search query is to be run.
- List<String>
- List of Resource referred into query
- query String
- Log search query. Required for action type - AlertingAction
- query
Type String | "ResultCount" - Set value to 'ResultCount' .
SourceResponse, SourceResponseArgs
- Data
Source stringId - The resource uri over which log search query is to be run.
- List<string>
- List of Resource referred into query
- Query string
- Log search query. Required for action type - AlertingAction
- Query
Type string - Set value to 'ResultCount' .
- Data
Source stringId - The resource uri over which log search query is to be run.
- []string
- List of Resource referred into query
- Query string
- Log search query. Required for action type - AlertingAction
- Query
Type string - Set value to 'ResultCount' .
- data
Source StringId - The resource uri over which log search query is to be run.
- List<String>
- List of Resource referred into query
- query String
- Log search query. Required for action type - AlertingAction
- query
Type String - Set value to 'ResultCount' .
- data
Source stringId - The resource uri over which log search query is to be run.
- string[]
- List of Resource referred into query
- query string
- Log search query. Required for action type - AlertingAction
- query
Type string - Set value to 'ResultCount' .
- data_
source_ strid - The resource uri over which log search query is to be run.
- Sequence[str]
- List of Resource referred into query
- query str
- Log search query. Required for action type - AlertingAction
- query_
type str - Set value to 'ResultCount' .
- data
Source StringId - The resource uri over which log search query is to be run.
- List<String>
- List of Resource referred into query
- query String
- Log search query. Required for action type - AlertingAction
- query
Type String - Set value to 'ResultCount' .
TriggerCondition, TriggerConditionArgs
- Threshold double
- Result or count threshold based on which rule should be triggered.
- Threshold
Operator string | Pulumi.Azure Native. Insights. Conditional Operator - Evaluation operation for rule - 'GreaterThan' or 'LessThan.
- Metric
Trigger Pulumi.Azure Native. Insights. Inputs. Log Metric Trigger - Trigger condition for metric query rule
- Threshold float64
- Result or count threshold based on which rule should be triggered.
- Threshold
Operator string | ConditionalOperator - Evaluation operation for rule - 'GreaterThan' or 'LessThan.
- Metric
Trigger LogMetric Trigger - Trigger condition for metric query rule
- threshold Double
- Result or count threshold based on which rule should be triggered.
- threshold
Operator String | ConditionalOperator - Evaluation operation for rule - 'GreaterThan' or 'LessThan.
- metric
Trigger LogMetric Trigger - Trigger condition for metric query rule
- threshold number
- Result or count threshold based on which rule should be triggered.
- threshold
Operator string | ConditionalOperator - Evaluation operation for rule - 'GreaterThan' or 'LessThan.
- metric
Trigger LogMetric Trigger - Trigger condition for metric query rule
- threshold float
- Result or count threshold based on which rule should be triggered.
- threshold_
operator str | ConditionalOperator - Evaluation operation for rule - 'GreaterThan' or 'LessThan.
- metric_
trigger LogMetric Trigger - Trigger condition for metric query rule
- threshold Number
- Result or count threshold based on which rule should be triggered.
- threshold
Operator String | "GreaterThan Or Equal" | "Less Than Or Equal" | "Greater Than" | "Less Than" | "Equal" - Evaluation operation for rule - 'GreaterThan' or 'LessThan.
- metric
Trigger Property Map - Trigger condition for metric query rule
TriggerConditionResponse, TriggerConditionResponseArgs
- Threshold double
- Result or count threshold based on which rule should be triggered.
- Threshold
Operator string - Evaluation operation for rule - 'GreaterThan' or 'LessThan.
- Metric
Trigger Pulumi.Azure Native. Insights. Inputs. Log Metric Trigger Response - Trigger condition for metric query rule
- Threshold float64
- Result or count threshold based on which rule should be triggered.
- Threshold
Operator string - Evaluation operation for rule - 'GreaterThan' or 'LessThan.
- Metric
Trigger LogMetric Trigger Response - Trigger condition for metric query rule
- threshold Double
- Result or count threshold based on which rule should be triggered.
- threshold
Operator String - Evaluation operation for rule - 'GreaterThan' or 'LessThan.
- metric
Trigger LogMetric Trigger Response - Trigger condition for metric query rule
- threshold number
- Result or count threshold based on which rule should be triggered.
- threshold
Operator string - Evaluation operation for rule - 'GreaterThan' or 'LessThan.
- metric
Trigger LogMetric Trigger Response - Trigger condition for metric query rule
- threshold float
- Result or count threshold based on which rule should be triggered.
- threshold_
operator str - Evaluation operation for rule - 'GreaterThan' or 'LessThan.
- metric_
trigger LogMetric Trigger Response - Trigger condition for metric query rule
- threshold Number
- Result or count threshold based on which rule should be triggered.
- threshold
Operator String - Evaluation operation for rule - 'GreaterThan' or 'LessThan.
- metric
Trigger Property Map - Trigger condition for metric query rule
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:insights:ScheduledQueryRule logtometricfoo /subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/microsoft.insights/scheduledqueryrules/logtometricfoo
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0