We recommend using Azure Native.
azure.monitoring.AlertProcessingRuleSuppression
Explore with Pulumi AI
Manages an Alert Processing Rule which suppress notifications.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const exampleAlertProcessingRuleSuppression = new azure.monitoring.AlertProcessingRuleSuppression("example", {
name: "example",
resourceGroupName: "example",
scopes: [example.id],
condition: {
targetResourceType: {
operator: "Equals",
values: ["Microsoft.Compute/VirtualMachines"],
},
severity: {
operator: "Equals",
values: [
"Sev0",
"Sev1",
"Sev2",
],
},
},
schedule: {
effectiveFrom: "2022-01-01T01:02:03",
effectiveUntil: "2022-02-02T01:02:03",
timeZone: "Pacific Standard Time",
recurrence: {
dailies: [{
startTime: "17:00:00",
endTime: "09:00:00",
}],
weeklies: [{
daysOfWeeks: [
"Saturday",
"Sunday",
],
}],
},
},
tags: {
foo: "bar",
},
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_alert_processing_rule_suppression = azure.monitoring.AlertProcessingRuleSuppression("example",
name="example",
resource_group_name="example",
scopes=[example.id],
condition={
"target_resource_type": {
"operator": "Equals",
"values": ["Microsoft.Compute/VirtualMachines"],
},
"severity": {
"operator": "Equals",
"values": [
"Sev0",
"Sev1",
"Sev2",
],
},
},
schedule={
"effective_from": "2022-01-01T01:02:03",
"effective_until": "2022-02-02T01:02:03",
"time_zone": "Pacific Standard Time",
"recurrence": {
"dailies": [{
"start_time": "17:00:00",
"end_time": "09:00:00",
}],
"weeklies": [{
"days_of_weeks": [
"Saturday",
"Sunday",
],
}],
},
},
tags={
"foo": "bar",
})
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = monitoring.NewAlertProcessingRuleSuppression(ctx, "example", &monitoring.AlertProcessingRuleSuppressionArgs{
Name: pulumi.String("example"),
ResourceGroupName: pulumi.String("example"),
Scopes: pulumi.StringArray{
example.ID(),
},
Condition: &monitoring.AlertProcessingRuleSuppressionConditionArgs{
TargetResourceType: &monitoring.AlertProcessingRuleSuppressionConditionTargetResourceTypeArgs{
Operator: pulumi.String("Equals"),
Values: pulumi.StringArray{
pulumi.String("Microsoft.Compute/VirtualMachines"),
},
},
Severity: &monitoring.AlertProcessingRuleSuppressionConditionSeverityArgs{
Operator: pulumi.String("Equals"),
Values: pulumi.StringArray{
pulumi.String("Sev0"),
pulumi.String("Sev1"),
pulumi.String("Sev2"),
},
},
},
Schedule: &monitoring.AlertProcessingRuleSuppressionScheduleArgs{
EffectiveFrom: pulumi.String("2022-01-01T01:02:03"),
EffectiveUntil: pulumi.String("2022-02-02T01:02:03"),
TimeZone: pulumi.String("Pacific Standard Time"),
Recurrence: &monitoring.AlertProcessingRuleSuppressionScheduleRecurrenceArgs{
Dailies: monitoring.AlertProcessingRuleSuppressionScheduleRecurrenceDailyArray{
&monitoring.AlertProcessingRuleSuppressionScheduleRecurrenceDailyArgs{
StartTime: pulumi.String("17:00:00"),
EndTime: pulumi.String("09:00:00"),
},
},
Weeklies: monitoring.AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArray{
&monitoring.AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs{
DaysOfWeeks: pulumi.StringArray{
pulumi.String("Saturday"),
pulumi.String("Sunday"),
},
},
},
},
},
Tags: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleAlertProcessingRuleSuppression = new Azure.Monitoring.AlertProcessingRuleSuppression("example", new()
{
Name = "example",
ResourceGroupName = "example",
Scopes = new[]
{
example.Id,
},
Condition = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionArgs
{
TargetResourceType = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionTargetResourceTypeArgs
{
Operator = "Equals",
Values = new[]
{
"Microsoft.Compute/VirtualMachines",
},
},
Severity = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionSeverityArgs
{
Operator = "Equals",
Values = new[]
{
"Sev0",
"Sev1",
"Sev2",
},
},
},
Schedule = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionScheduleArgs
{
EffectiveFrom = "2022-01-01T01:02:03",
EffectiveUntil = "2022-02-02T01:02:03",
TimeZone = "Pacific Standard Time",
Recurrence = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionScheduleRecurrenceArgs
{
Dailies = new[]
{
new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionScheduleRecurrenceDailyArgs
{
StartTime = "17:00:00",
EndTime = "09:00:00",
},
},
Weeklies = new[]
{
new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs
{
DaysOfWeeks = new[]
{
"Saturday",
"Sunday",
},
},
},
},
},
Tags =
{
{ "foo", "bar" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.monitoring.AlertProcessingRuleSuppression;
import com.pulumi.azure.monitoring.AlertProcessingRuleSuppressionArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionTargetResourceTypeArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionConditionSeverityArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionScheduleArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionScheduleRecurrenceArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var exampleAlertProcessingRuleSuppression = new AlertProcessingRuleSuppression("exampleAlertProcessingRuleSuppression", AlertProcessingRuleSuppressionArgs.builder()
.name("example")
.resourceGroupName("example")
.scopes(example.id())
.condition(AlertProcessingRuleSuppressionConditionArgs.builder()
.targetResourceType(AlertProcessingRuleSuppressionConditionTargetResourceTypeArgs.builder()
.operator("Equals")
.values("Microsoft.Compute/VirtualMachines")
.build())
.severity(AlertProcessingRuleSuppressionConditionSeverityArgs.builder()
.operator("Equals")
.values(
"Sev0",
"Sev1",
"Sev2")
.build())
.build())
.schedule(AlertProcessingRuleSuppressionScheduleArgs.builder()
.effectiveFrom("2022-01-01T01:02:03")
.effectiveUntil("2022-02-02T01:02:03")
.timeZone("Pacific Standard Time")
.recurrence(AlertProcessingRuleSuppressionScheduleRecurrenceArgs.builder()
.dailies(AlertProcessingRuleSuppressionScheduleRecurrenceDailyArgs.builder()
.startTime("17:00:00")
.endTime("09:00:00")
.build())
.weeklies(AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs.builder()
.daysOfWeeks(
"Saturday",
"Sunday")
.build())
.build())
.build())
.tags(Map.of("foo", "bar"))
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleAlertProcessingRuleSuppression:
type: azure:monitoring:AlertProcessingRuleSuppression
name: example
properties:
name: example
resourceGroupName: example
scopes:
- ${example.id}
condition:
targetResourceType:
operator: Equals
values:
- Microsoft.Compute/VirtualMachines
severity:
operator: Equals
values:
- Sev0
- Sev1
- Sev2
schedule:
effectiveFrom: 2022-01-01T01:02:03
effectiveUntil: 2022-02-02T01:02:03
timeZone: Pacific Standard Time
recurrence:
dailies:
- startTime: 17:00:00
endTime: 09:00:00
weeklies:
- daysOfWeeks:
- Saturday
- Sunday
tags:
foo: bar
Create AlertProcessingRuleSuppression Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlertProcessingRuleSuppression(name: string, args: AlertProcessingRuleSuppressionArgs, opts?: CustomResourceOptions);
@overload
def AlertProcessingRuleSuppression(resource_name: str,
args: AlertProcessingRuleSuppressionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AlertProcessingRuleSuppression(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
scopes: Optional[Sequence[str]] = None,
condition: Optional[AlertProcessingRuleSuppressionConditionArgs] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
schedule: Optional[AlertProcessingRuleSuppressionScheduleArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewAlertProcessingRuleSuppression(ctx *Context, name string, args AlertProcessingRuleSuppressionArgs, opts ...ResourceOption) (*AlertProcessingRuleSuppression, error)
public AlertProcessingRuleSuppression(string name, AlertProcessingRuleSuppressionArgs args, CustomResourceOptions? opts = null)
public AlertProcessingRuleSuppression(String name, AlertProcessingRuleSuppressionArgs args)
public AlertProcessingRuleSuppression(String name, AlertProcessingRuleSuppressionArgs args, CustomResourceOptions options)
type: azure:monitoring:AlertProcessingRuleSuppression
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 AlertProcessingRuleSuppressionArgs
- 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 AlertProcessingRuleSuppressionArgs
- 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 AlertProcessingRuleSuppressionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlertProcessingRuleSuppressionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlertProcessingRuleSuppressionArgs
- 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 alertProcessingRuleSuppressionResource = new Azure.Monitoring.AlertProcessingRuleSuppression("alertProcessingRuleSuppressionResource", new()
{
ResourceGroupName = "string",
Scopes = new[]
{
"string",
},
Condition = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionArgs
{
AlertContext = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionAlertContextArgs
{
Operator = "string",
Values = new[]
{
"string",
},
},
AlertRuleId = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionAlertRuleIdArgs
{
Operator = "string",
Values = new[]
{
"string",
},
},
AlertRuleName = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionAlertRuleNameArgs
{
Operator = "string",
Values = new[]
{
"string",
},
},
Description = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionDescriptionArgs
{
Operator = "string",
Values = new[]
{
"string",
},
},
MonitorCondition = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionMonitorConditionArgs
{
Operator = "string",
Values = new[]
{
"string",
},
},
MonitorService = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionMonitorServiceArgs
{
Operator = "string",
Values = new[]
{
"string",
},
},
Severity = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionSeverityArgs
{
Operator = "string",
Values = new[]
{
"string",
},
},
SignalType = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionSignalTypeArgs
{
Operator = "string",
Values = new[]
{
"string",
},
},
TargetResource = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionTargetResourceArgs
{
Operator = "string",
Values = new[]
{
"string",
},
},
TargetResourceGroup = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionTargetResourceGroupArgs
{
Operator = "string",
Values = new[]
{
"string",
},
},
TargetResourceType = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionConditionTargetResourceTypeArgs
{
Operator = "string",
Values = new[]
{
"string",
},
},
},
Description = "string",
Enabled = false,
Name = "string",
Schedule = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionScheduleArgs
{
EffectiveFrom = "string",
EffectiveUntil = "string",
Recurrence = new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionScheduleRecurrenceArgs
{
Dailies = new[]
{
new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionScheduleRecurrenceDailyArgs
{
EndTime = "string",
StartTime = "string",
},
},
Monthlies = new[]
{
new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionScheduleRecurrenceMonthlyArgs
{
DaysOfMonths = new[]
{
0,
},
EndTime = "string",
StartTime = "string",
},
},
Weeklies = new[]
{
new Azure.Monitoring.Inputs.AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs
{
DaysOfWeeks = new[]
{
"string",
},
EndTime = "string",
StartTime = "string",
},
},
},
TimeZone = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := monitoring.NewAlertProcessingRuleSuppression(ctx, "alertProcessingRuleSuppressionResource", &monitoring.AlertProcessingRuleSuppressionArgs{
ResourceGroupName: pulumi.String("string"),
Scopes: pulumi.StringArray{
pulumi.String("string"),
},
Condition: &monitoring.AlertProcessingRuleSuppressionConditionArgs{
AlertContext: &monitoring.AlertProcessingRuleSuppressionConditionAlertContextArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
AlertRuleId: &monitoring.AlertProcessingRuleSuppressionConditionAlertRuleIdArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
AlertRuleName: &monitoring.AlertProcessingRuleSuppressionConditionAlertRuleNameArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
Description: &monitoring.AlertProcessingRuleSuppressionConditionDescriptionArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
MonitorCondition: &monitoring.AlertProcessingRuleSuppressionConditionMonitorConditionArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
MonitorService: &monitoring.AlertProcessingRuleSuppressionConditionMonitorServiceArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
Severity: &monitoring.AlertProcessingRuleSuppressionConditionSeverityArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
SignalType: &monitoring.AlertProcessingRuleSuppressionConditionSignalTypeArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
TargetResource: &monitoring.AlertProcessingRuleSuppressionConditionTargetResourceArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
TargetResourceGroup: &monitoring.AlertProcessingRuleSuppressionConditionTargetResourceGroupArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
TargetResourceType: &monitoring.AlertProcessingRuleSuppressionConditionTargetResourceTypeArgs{
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Description: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Schedule: &monitoring.AlertProcessingRuleSuppressionScheduleArgs{
EffectiveFrom: pulumi.String("string"),
EffectiveUntil: pulumi.String("string"),
Recurrence: &monitoring.AlertProcessingRuleSuppressionScheduleRecurrenceArgs{
Dailies: monitoring.AlertProcessingRuleSuppressionScheduleRecurrenceDailyArray{
&monitoring.AlertProcessingRuleSuppressionScheduleRecurrenceDailyArgs{
EndTime: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
},
Monthlies: monitoring.AlertProcessingRuleSuppressionScheduleRecurrenceMonthlyArray{
&monitoring.AlertProcessingRuleSuppressionScheduleRecurrenceMonthlyArgs{
DaysOfMonths: pulumi.IntArray{
pulumi.Int(0),
},
EndTime: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
},
Weeklies: monitoring.AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArray{
&monitoring.AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs{
DaysOfWeeks: pulumi.StringArray{
pulumi.String("string"),
},
EndTime: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
},
},
TimeZone: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var alertProcessingRuleSuppressionResource = new AlertProcessingRuleSuppression("alertProcessingRuleSuppressionResource", AlertProcessingRuleSuppressionArgs.builder()
.resourceGroupName("string")
.scopes("string")
.condition(AlertProcessingRuleSuppressionConditionArgs.builder()
.alertContext(AlertProcessingRuleSuppressionConditionAlertContextArgs.builder()
.operator("string")
.values("string")
.build())
.alertRuleId(AlertProcessingRuleSuppressionConditionAlertRuleIdArgs.builder()
.operator("string")
.values("string")
.build())
.alertRuleName(AlertProcessingRuleSuppressionConditionAlertRuleNameArgs.builder()
.operator("string")
.values("string")
.build())
.description(AlertProcessingRuleSuppressionConditionDescriptionArgs.builder()
.operator("string")
.values("string")
.build())
.monitorCondition(AlertProcessingRuleSuppressionConditionMonitorConditionArgs.builder()
.operator("string")
.values("string")
.build())
.monitorService(AlertProcessingRuleSuppressionConditionMonitorServiceArgs.builder()
.operator("string")
.values("string")
.build())
.severity(AlertProcessingRuleSuppressionConditionSeverityArgs.builder()
.operator("string")
.values("string")
.build())
.signalType(AlertProcessingRuleSuppressionConditionSignalTypeArgs.builder()
.operator("string")
.values("string")
.build())
.targetResource(AlertProcessingRuleSuppressionConditionTargetResourceArgs.builder()
.operator("string")
.values("string")
.build())
.targetResourceGroup(AlertProcessingRuleSuppressionConditionTargetResourceGroupArgs.builder()
.operator("string")
.values("string")
.build())
.targetResourceType(AlertProcessingRuleSuppressionConditionTargetResourceTypeArgs.builder()
.operator("string")
.values("string")
.build())
.build())
.description("string")
.enabled(false)
.name("string")
.schedule(AlertProcessingRuleSuppressionScheduleArgs.builder()
.effectiveFrom("string")
.effectiveUntil("string")
.recurrence(AlertProcessingRuleSuppressionScheduleRecurrenceArgs.builder()
.dailies(AlertProcessingRuleSuppressionScheduleRecurrenceDailyArgs.builder()
.endTime("string")
.startTime("string")
.build())
.monthlies(AlertProcessingRuleSuppressionScheduleRecurrenceMonthlyArgs.builder()
.daysOfMonths(0)
.endTime("string")
.startTime("string")
.build())
.weeklies(AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs.builder()
.daysOfWeeks("string")
.endTime("string")
.startTime("string")
.build())
.build())
.timeZone("string")
.build())
.tags(Map.of("string", "string"))
.build());
alert_processing_rule_suppression_resource = azure.monitoring.AlertProcessingRuleSuppression("alertProcessingRuleSuppressionResource",
resource_group_name="string",
scopes=["string"],
condition={
"alert_context": {
"operator": "string",
"values": ["string"],
},
"alert_rule_id": {
"operator": "string",
"values": ["string"],
},
"alert_rule_name": {
"operator": "string",
"values": ["string"],
},
"description": {
"operator": "string",
"values": ["string"],
},
"monitor_condition": {
"operator": "string",
"values": ["string"],
},
"monitor_service": {
"operator": "string",
"values": ["string"],
},
"severity": {
"operator": "string",
"values": ["string"],
},
"signal_type": {
"operator": "string",
"values": ["string"],
},
"target_resource": {
"operator": "string",
"values": ["string"],
},
"target_resource_group": {
"operator": "string",
"values": ["string"],
},
"target_resource_type": {
"operator": "string",
"values": ["string"],
},
},
description="string",
enabled=False,
name="string",
schedule={
"effective_from": "string",
"effective_until": "string",
"recurrence": {
"dailies": [{
"end_time": "string",
"start_time": "string",
}],
"monthlies": [{
"days_of_months": [0],
"end_time": "string",
"start_time": "string",
}],
"weeklies": [{
"days_of_weeks": ["string"],
"end_time": "string",
"start_time": "string",
}],
},
"time_zone": "string",
},
tags={
"string": "string",
})
const alertProcessingRuleSuppressionResource = new azure.monitoring.AlertProcessingRuleSuppression("alertProcessingRuleSuppressionResource", {
resourceGroupName: "string",
scopes: ["string"],
condition: {
alertContext: {
operator: "string",
values: ["string"],
},
alertRuleId: {
operator: "string",
values: ["string"],
},
alertRuleName: {
operator: "string",
values: ["string"],
},
description: {
operator: "string",
values: ["string"],
},
monitorCondition: {
operator: "string",
values: ["string"],
},
monitorService: {
operator: "string",
values: ["string"],
},
severity: {
operator: "string",
values: ["string"],
},
signalType: {
operator: "string",
values: ["string"],
},
targetResource: {
operator: "string",
values: ["string"],
},
targetResourceGroup: {
operator: "string",
values: ["string"],
},
targetResourceType: {
operator: "string",
values: ["string"],
},
},
description: "string",
enabled: false,
name: "string",
schedule: {
effectiveFrom: "string",
effectiveUntil: "string",
recurrence: {
dailies: [{
endTime: "string",
startTime: "string",
}],
monthlies: [{
daysOfMonths: [0],
endTime: "string",
startTime: "string",
}],
weeklies: [{
daysOfWeeks: ["string"],
endTime: "string",
startTime: "string",
}],
},
timeZone: "string",
},
tags: {
string: "string",
},
});
type: azure:monitoring:AlertProcessingRuleSuppression
properties:
condition:
alertContext:
operator: string
values:
- string
alertRuleId:
operator: string
values:
- string
alertRuleName:
operator: string
values:
- string
description:
operator: string
values:
- string
monitorCondition:
operator: string
values:
- string
monitorService:
operator: string
values:
- string
severity:
operator: string
values:
- string
signalType:
operator: string
values:
- string
targetResource:
operator: string
values:
- string
targetResourceGroup:
operator: string
values:
- string
targetResourceType:
operator: string
values:
- string
description: string
enabled: false
name: string
resourceGroupName: string
schedule:
effectiveFrom: string
effectiveUntil: string
recurrence:
dailies:
- endTime: string
startTime: string
monthlies:
- daysOfMonths:
- 0
endTime: string
startTime: string
weeklies:
- daysOfWeeks:
- string
endTime: string
startTime: string
timeZone: string
scopes:
- string
tags:
string: string
AlertProcessingRuleSuppression 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 AlertProcessingRuleSuppression resource accepts the following input properties:
- Resource
Group stringName - The name of the Resource Group where the Alert Processing Rule should exist. Changing this forces a new Alert Processing Rule to be created.
- Scopes List<string>
- A list of resource IDs which will be the target of Alert Processing Rule.
- Condition
Alert
Processing Rule Suppression Condition - A
condition
block as defined below. - Description string
- Specifies a description for the Alert Processing Rule.
- Enabled bool
- Should the Alert Processing Rule be enabled? Defaults to
true
. - Name string
- The name which should be used for this Alert Processing Rule. Changing this forces a new Alert Processing Rule to be created.
- Schedule
Alert
Processing Rule Suppression Schedule - A
schedule
block as defined below. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Alert Processing Rule.
- Resource
Group stringName - The name of the Resource Group where the Alert Processing Rule should exist. Changing this forces a new Alert Processing Rule to be created.
- Scopes []string
- A list of resource IDs which will be the target of Alert Processing Rule.
- Condition
Alert
Processing Rule Suppression Condition Args - A
condition
block as defined below. - Description string
- Specifies a description for the Alert Processing Rule.
- Enabled bool
- Should the Alert Processing Rule be enabled? Defaults to
true
. - Name string
- The name which should be used for this Alert Processing Rule. Changing this forces a new Alert Processing Rule to be created.
- Schedule
Alert
Processing Rule Suppression Schedule Args - A
schedule
block as defined below. - map[string]string
- A mapping of tags which should be assigned to the Alert Processing Rule.
- resource
Group StringName - The name of the Resource Group where the Alert Processing Rule should exist. Changing this forces a new Alert Processing Rule to be created.
- scopes List<String>
- A list of resource IDs which will be the target of Alert Processing Rule.
- condition
Alert
Processing Rule Suppression Condition - A
condition
block as defined below. - description String
- Specifies a description for the Alert Processing Rule.
- enabled Boolean
- Should the Alert Processing Rule be enabled? Defaults to
true
. - name String
- The name which should be used for this Alert Processing Rule. Changing this forces a new Alert Processing Rule to be created.
- schedule
Alert
Processing Rule Suppression Schedule - A
schedule
block as defined below. - Map<String,String>
- A mapping of tags which should be assigned to the Alert Processing Rule.
- resource
Group stringName - The name of the Resource Group where the Alert Processing Rule should exist. Changing this forces a new Alert Processing Rule to be created.
- scopes string[]
- A list of resource IDs which will be the target of Alert Processing Rule.
- condition
Alert
Processing Rule Suppression Condition - A
condition
block as defined below. - description string
- Specifies a description for the Alert Processing Rule.
- enabled boolean
- Should the Alert Processing Rule be enabled? Defaults to
true
. - name string
- The name which should be used for this Alert Processing Rule. Changing this forces a new Alert Processing Rule to be created.
- schedule
Alert
Processing Rule Suppression Schedule - A
schedule
block as defined below. - {[key: string]: string}
- A mapping of tags which should be assigned to the Alert Processing Rule.
- resource_
group_ strname - The name of the Resource Group where the Alert Processing Rule should exist. Changing this forces a new Alert Processing Rule to be created.
- scopes Sequence[str]
- A list of resource IDs which will be the target of Alert Processing Rule.
- condition
Alert
Processing Rule Suppression Condition Args - A
condition
block as defined below. - description str
- Specifies a description for the Alert Processing Rule.
- enabled bool
- Should the Alert Processing Rule be enabled? Defaults to
true
. - name str
- The name which should be used for this Alert Processing Rule. Changing this forces a new Alert Processing Rule to be created.
- schedule
Alert
Processing Rule Suppression Schedule Args - A
schedule
block as defined below. - Mapping[str, str]
- A mapping of tags which should be assigned to the Alert Processing Rule.
- resource
Group StringName - The name of the Resource Group where the Alert Processing Rule should exist. Changing this forces a new Alert Processing Rule to be created.
- scopes List<String>
- A list of resource IDs which will be the target of Alert Processing Rule.
- condition Property Map
- A
condition
block as defined below. - description String
- Specifies a description for the Alert Processing Rule.
- enabled Boolean
- Should the Alert Processing Rule be enabled? Defaults to
true
. - name String
- The name which should be used for this Alert Processing Rule. Changing this forces a new Alert Processing Rule to be created.
- schedule Property Map
- A
schedule
block as defined below. - Map<String>
- A mapping of tags which should be assigned to the Alert Processing Rule.
Outputs
All input properties are implicitly available as output properties. Additionally, the AlertProcessingRuleSuppression resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AlertProcessingRuleSuppression Resource
Get an existing AlertProcessingRuleSuppression resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AlertProcessingRuleSuppressionState, opts?: CustomResourceOptions): AlertProcessingRuleSuppression
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
condition: Optional[AlertProcessingRuleSuppressionConditionArgs] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
schedule: Optional[AlertProcessingRuleSuppressionScheduleArgs] = None,
scopes: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None) -> AlertProcessingRuleSuppression
func GetAlertProcessingRuleSuppression(ctx *Context, name string, id IDInput, state *AlertProcessingRuleSuppressionState, opts ...ResourceOption) (*AlertProcessingRuleSuppression, error)
public static AlertProcessingRuleSuppression Get(string name, Input<string> id, AlertProcessingRuleSuppressionState? state, CustomResourceOptions? opts = null)
public static AlertProcessingRuleSuppression get(String name, Output<String> id, AlertProcessingRuleSuppressionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Condition
Alert
Processing Rule Suppression Condition - A
condition
block as defined below. - Description string
- Specifies a description for the Alert Processing Rule.
- Enabled bool
- Should the Alert Processing Rule be enabled? Defaults to
true
. - Name string
- The name which should be used for this Alert Processing Rule. Changing this forces a new Alert Processing Rule to be created.
- Resource
Group stringName - The name of the Resource Group where the Alert Processing Rule should exist. Changing this forces a new Alert Processing Rule to be created.
- Schedule
Alert
Processing Rule Suppression Schedule - A
schedule
block as defined below. - Scopes List<string>
- A list of resource IDs which will be the target of Alert Processing Rule.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Alert Processing Rule.
- Condition
Alert
Processing Rule Suppression Condition Args - A
condition
block as defined below. - Description string
- Specifies a description for the Alert Processing Rule.
- Enabled bool
- Should the Alert Processing Rule be enabled? Defaults to
true
. - Name string
- The name which should be used for this Alert Processing Rule. Changing this forces a new Alert Processing Rule to be created.
- Resource
Group stringName - The name of the Resource Group where the Alert Processing Rule should exist. Changing this forces a new Alert Processing Rule to be created.
- Schedule
Alert
Processing Rule Suppression Schedule Args - A
schedule
block as defined below. - Scopes []string
- A list of resource IDs which will be the target of Alert Processing Rule.
- map[string]string
- A mapping of tags which should be assigned to the Alert Processing Rule.
- condition
Alert
Processing Rule Suppression Condition - A
condition
block as defined below. - description String
- Specifies a description for the Alert Processing Rule.
- enabled Boolean
- Should the Alert Processing Rule be enabled? Defaults to
true
. - name String
- The name which should be used for this Alert Processing Rule. Changing this forces a new Alert Processing Rule to be created.
- resource
Group StringName - The name of the Resource Group where the Alert Processing Rule should exist. Changing this forces a new Alert Processing Rule to be created.
- schedule
Alert
Processing Rule Suppression Schedule - A
schedule
block as defined below. - scopes List<String>
- A list of resource IDs which will be the target of Alert Processing Rule.
- Map<String,String>
- A mapping of tags which should be assigned to the Alert Processing Rule.
- condition
Alert
Processing Rule Suppression Condition - A
condition
block as defined below. - description string
- Specifies a description for the Alert Processing Rule.
- enabled boolean
- Should the Alert Processing Rule be enabled? Defaults to
true
. - name string
- The name which should be used for this Alert Processing Rule. Changing this forces a new Alert Processing Rule to be created.
- resource
Group stringName - The name of the Resource Group where the Alert Processing Rule should exist. Changing this forces a new Alert Processing Rule to be created.
- schedule
Alert
Processing Rule Suppression Schedule - A
schedule
block as defined below. - scopes string[]
- A list of resource IDs which will be the target of Alert Processing Rule.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Alert Processing Rule.
- condition
Alert
Processing Rule Suppression Condition Args - A
condition
block as defined below. - description str
- Specifies a description for the Alert Processing Rule.
- enabled bool
- Should the Alert Processing Rule be enabled? Defaults to
true
. - name str
- The name which should be used for this Alert Processing Rule. Changing this forces a new Alert Processing Rule to be created.
- resource_
group_ strname - The name of the Resource Group where the Alert Processing Rule should exist. Changing this forces a new Alert Processing Rule to be created.
- schedule
Alert
Processing Rule Suppression Schedule Args - A
schedule
block as defined below. - scopes Sequence[str]
- A list of resource IDs which will be the target of Alert Processing Rule.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Alert Processing Rule.
- condition Property Map
- A
condition
block as defined below. - description String
- Specifies a description for the Alert Processing Rule.
- enabled Boolean
- Should the Alert Processing Rule be enabled? Defaults to
true
. - name String
- The name which should be used for this Alert Processing Rule. Changing this forces a new Alert Processing Rule to be created.
- resource
Group StringName - The name of the Resource Group where the Alert Processing Rule should exist. Changing this forces a new Alert Processing Rule to be created.
- schedule Property Map
- A
schedule
block as defined below. - scopes List<String>
- A list of resource IDs which will be the target of Alert Processing Rule.
- Map<String>
- A mapping of tags which should be assigned to the Alert Processing Rule.
Supporting Types
AlertProcessingRuleSuppressionCondition, AlertProcessingRuleSuppressionConditionArgs
- Alert
Context AlertProcessing Rule Suppression Condition Alert Context - A
alert_context
block as defined above. - Alert
Rule AlertId Processing Rule Suppression Condition Alert Rule Id - A
alert_rule_id
block as defined above. - Alert
Rule AlertName Processing Rule Suppression Condition Alert Rule Name - A
alert_rule_name
block as defined above. - Description
Alert
Processing Rule Suppression Condition Description - A
description
block as defined below. - Monitor
Condition AlertProcessing Rule Suppression Condition Monitor Condition - A
monitor_condition
block as defined below. - Monitor
Service AlertProcessing Rule Suppression Condition Monitor Service - A
monitor_service
block as defined below. - Severity
Alert
Processing Rule Suppression Condition Severity - A
severity
block as defined below. - Signal
Type AlertProcessing Rule Suppression Condition Signal Type - A
signal_type
block as defined below. - Target
Resource AlertProcessing Rule Suppression Condition Target Resource - A
target_resource
block as defined below. - Target
Resource AlertGroup Processing Rule Suppression Condition Target Resource Group - A
target_resource_group
block as defined below. - Target
Resource AlertType Processing Rule Suppression Condition Target Resource Type - A
target_resource_type
block as defined below.
- Alert
Context AlertProcessing Rule Suppression Condition Alert Context - A
alert_context
block as defined above. - Alert
Rule AlertId Processing Rule Suppression Condition Alert Rule Id - A
alert_rule_id
block as defined above. - Alert
Rule AlertName Processing Rule Suppression Condition Alert Rule Name - A
alert_rule_name
block as defined above. - Description
Alert
Processing Rule Suppression Condition Description - A
description
block as defined below. - Monitor
Condition AlertProcessing Rule Suppression Condition Monitor Condition - A
monitor_condition
block as defined below. - Monitor
Service AlertProcessing Rule Suppression Condition Monitor Service - A
monitor_service
block as defined below. - Severity
Alert
Processing Rule Suppression Condition Severity - A
severity
block as defined below. - Signal
Type AlertProcessing Rule Suppression Condition Signal Type - A
signal_type
block as defined below. - Target
Resource AlertProcessing Rule Suppression Condition Target Resource - A
target_resource
block as defined below. - Target
Resource AlertGroup Processing Rule Suppression Condition Target Resource Group - A
target_resource_group
block as defined below. - Target
Resource AlertType Processing Rule Suppression Condition Target Resource Type - A
target_resource_type
block as defined below.
- alert
Context AlertProcessing Rule Suppression Condition Alert Context - A
alert_context
block as defined above. - alert
Rule AlertId Processing Rule Suppression Condition Alert Rule Id - A
alert_rule_id
block as defined above. - alert
Rule AlertName Processing Rule Suppression Condition Alert Rule Name - A
alert_rule_name
block as defined above. - description
Alert
Processing Rule Suppression Condition Description - A
description
block as defined below. - monitor
Condition AlertProcessing Rule Suppression Condition Monitor Condition - A
monitor_condition
block as defined below. - monitor
Service AlertProcessing Rule Suppression Condition Monitor Service - A
monitor_service
block as defined below. - severity
Alert
Processing Rule Suppression Condition Severity - A
severity
block as defined below. - signal
Type AlertProcessing Rule Suppression Condition Signal Type - A
signal_type
block as defined below. - target
Resource AlertProcessing Rule Suppression Condition Target Resource - A
target_resource
block as defined below. - target
Resource AlertGroup Processing Rule Suppression Condition Target Resource Group - A
target_resource_group
block as defined below. - target
Resource AlertType Processing Rule Suppression Condition Target Resource Type - A
target_resource_type
block as defined below.
- alert
Context AlertProcessing Rule Suppression Condition Alert Context - A
alert_context
block as defined above. - alert
Rule AlertId Processing Rule Suppression Condition Alert Rule Id - A
alert_rule_id
block as defined above. - alert
Rule AlertName Processing Rule Suppression Condition Alert Rule Name - A
alert_rule_name
block as defined above. - description
Alert
Processing Rule Suppression Condition Description - A
description
block as defined below. - monitor
Condition AlertProcessing Rule Suppression Condition Monitor Condition - A
monitor_condition
block as defined below. - monitor
Service AlertProcessing Rule Suppression Condition Monitor Service - A
monitor_service
block as defined below. - severity
Alert
Processing Rule Suppression Condition Severity - A
severity
block as defined below. - signal
Type AlertProcessing Rule Suppression Condition Signal Type - A
signal_type
block as defined below. - target
Resource AlertProcessing Rule Suppression Condition Target Resource - A
target_resource
block as defined below. - target
Resource AlertGroup Processing Rule Suppression Condition Target Resource Group - A
target_resource_group
block as defined below. - target
Resource AlertType Processing Rule Suppression Condition Target Resource Type - A
target_resource_type
block as defined below.
- alert_
context AlertProcessing Rule Suppression Condition Alert Context - A
alert_context
block as defined above. - alert_
rule_ Alertid Processing Rule Suppression Condition Alert Rule Id - A
alert_rule_id
block as defined above. - alert_
rule_ Alertname Processing Rule Suppression Condition Alert Rule Name - A
alert_rule_name
block as defined above. - description
Alert
Processing Rule Suppression Condition Description - A
description
block as defined below. - monitor_
condition AlertProcessing Rule Suppression Condition Monitor Condition - A
monitor_condition
block as defined below. - monitor_
service AlertProcessing Rule Suppression Condition Monitor Service - A
monitor_service
block as defined below. - severity
Alert
Processing Rule Suppression Condition Severity - A
severity
block as defined below. - signal_
type AlertProcessing Rule Suppression Condition Signal Type - A
signal_type
block as defined below. - target_
resource AlertProcessing Rule Suppression Condition Target Resource - A
target_resource
block as defined below. - target_
resource_ Alertgroup Processing Rule Suppression Condition Target Resource Group - A
target_resource_group
block as defined below. - target_
resource_ Alerttype Processing Rule Suppression Condition Target Resource Type - A
target_resource_type
block as defined below.
- alert
Context Property Map - A
alert_context
block as defined above. - alert
Rule Property MapId - A
alert_rule_id
block as defined above. - alert
Rule Property MapName - A
alert_rule_name
block as defined above. - description Property Map
- A
description
block as defined below. - monitor
Condition Property Map - A
monitor_condition
block as defined below. - monitor
Service Property Map - A
monitor_service
block as defined below. - severity Property Map
- A
severity
block as defined below. - signal
Type Property Map - A
signal_type
block as defined below. - target
Resource Property Map - A
target_resource
block as defined below. - target
Resource Property MapGroup - A
target_resource_group
block as defined below. - target
Resource Property MapType - A
target_resource_type
block as defined below.
AlertProcessingRuleSuppressionConditionAlertContext, AlertProcessingRuleSuppressionConditionAlertContextArgs
AlertProcessingRuleSuppressionConditionAlertRuleId, AlertProcessingRuleSuppressionConditionAlertRuleIdArgs
AlertProcessingRuleSuppressionConditionAlertRuleName, AlertProcessingRuleSuppressionConditionAlertRuleNameArgs
AlertProcessingRuleSuppressionConditionDescription, AlertProcessingRuleSuppressionConditionDescriptionArgs
AlertProcessingRuleSuppressionConditionMonitorCondition, AlertProcessingRuleSuppressionConditionMonitorConditionArgs
AlertProcessingRuleSuppressionConditionMonitorService, AlertProcessingRuleSuppressionConditionMonitorServiceArgs
- Operator string
- The operator for a given condition. Possible values are
Equals
andNotEquals
. - Values List<string>
- A list of values to match for a given condition. Possible values are
ActivityLog Administrative
,ActivityLog Autoscale
,ActivityLog Policy
,ActivityLog Recommendation
,ActivityLog Security
,Application Insights
,Azure Backup
,Azure Stack Edge
,Azure Stack Hub
,Custom
,Data Box Gateway
,Health Platform
,Log Alerts V2
,Log Analytics
,Platform
,Prometheus
,Resource Health
,Smart Detector
, andVM Insights - Health
.
- Operator string
- The operator for a given condition. Possible values are
Equals
andNotEquals
. - Values []string
- A list of values to match for a given condition. Possible values are
ActivityLog Administrative
,ActivityLog Autoscale
,ActivityLog Policy
,ActivityLog Recommendation
,ActivityLog Security
,Application Insights
,Azure Backup
,Azure Stack Edge
,Azure Stack Hub
,Custom
,Data Box Gateway
,Health Platform
,Log Alerts V2
,Log Analytics
,Platform
,Prometheus
,Resource Health
,Smart Detector
, andVM Insights - Health
.
- operator String
- The operator for a given condition. Possible values are
Equals
andNotEquals
. - values List<String>
- A list of values to match for a given condition. Possible values are
ActivityLog Administrative
,ActivityLog Autoscale
,ActivityLog Policy
,ActivityLog Recommendation
,ActivityLog Security
,Application Insights
,Azure Backup
,Azure Stack Edge
,Azure Stack Hub
,Custom
,Data Box Gateway
,Health Platform
,Log Alerts V2
,Log Analytics
,Platform
,Prometheus
,Resource Health
,Smart Detector
, andVM Insights - Health
.
- operator string
- The operator for a given condition. Possible values are
Equals
andNotEquals
. - values string[]
- A list of values to match for a given condition. Possible values are
ActivityLog Administrative
,ActivityLog Autoscale
,ActivityLog Policy
,ActivityLog Recommendation
,ActivityLog Security
,Application Insights
,Azure Backup
,Azure Stack Edge
,Azure Stack Hub
,Custom
,Data Box Gateway
,Health Platform
,Log Alerts V2
,Log Analytics
,Platform
,Prometheus
,Resource Health
,Smart Detector
, andVM Insights - Health
.
- operator str
- The operator for a given condition. Possible values are
Equals
andNotEquals
. - values Sequence[str]
- A list of values to match for a given condition. Possible values are
ActivityLog Administrative
,ActivityLog Autoscale
,ActivityLog Policy
,ActivityLog Recommendation
,ActivityLog Security
,Application Insights
,Azure Backup
,Azure Stack Edge
,Azure Stack Hub
,Custom
,Data Box Gateway
,Health Platform
,Log Alerts V2
,Log Analytics
,Platform
,Prometheus
,Resource Health
,Smart Detector
, andVM Insights - Health
.
- operator String
- The operator for a given condition. Possible values are
Equals
andNotEquals
. - values List<String>
- A list of values to match for a given condition. Possible values are
ActivityLog Administrative
,ActivityLog Autoscale
,ActivityLog Policy
,ActivityLog Recommendation
,ActivityLog Security
,Application Insights
,Azure Backup
,Azure Stack Edge
,Azure Stack Hub
,Custom
,Data Box Gateway
,Health Platform
,Log Alerts V2
,Log Analytics
,Platform
,Prometheus
,Resource Health
,Smart Detector
, andVM Insights - Health
.
AlertProcessingRuleSuppressionConditionSeverity, AlertProcessingRuleSuppressionConditionSeverityArgs
AlertProcessingRuleSuppressionConditionSignalType, AlertProcessingRuleSuppressionConditionSignalTypeArgs
AlertProcessingRuleSuppressionConditionTargetResource, AlertProcessingRuleSuppressionConditionTargetResourceArgs
AlertProcessingRuleSuppressionConditionTargetResourceGroup, AlertProcessingRuleSuppressionConditionTargetResourceGroupArgs
AlertProcessingRuleSuppressionConditionTargetResourceType, AlertProcessingRuleSuppressionConditionTargetResourceTypeArgs
AlertProcessingRuleSuppressionSchedule, AlertProcessingRuleSuppressionScheduleArgs
- Effective
From string - Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
- Effective
Until string - Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
- Recurrence
Alert
Processing Rule Suppression Schedule Recurrence - A
recurrence
block as defined above. - Time
Zone string - The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to
UTC
. possible values are defined here.
- Effective
From string - Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
- Effective
Until string - Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
- Recurrence
Alert
Processing Rule Suppression Schedule Recurrence - A
recurrence
block as defined above. - Time
Zone string - The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to
UTC
. possible values are defined here.
- effective
From String - Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
- effective
Until String - Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
- recurrence
Alert
Processing Rule Suppression Schedule Recurrence - A
recurrence
block as defined above. - time
Zone String - The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to
UTC
. possible values are defined here.
- effective
From string - Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
- effective
Until string - Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
- recurrence
Alert
Processing Rule Suppression Schedule Recurrence - A
recurrence
block as defined above. - time
Zone string - The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to
UTC
. possible values are defined here.
- effective_
from str - Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
- effective_
until str - Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
- recurrence
Alert
Processing Rule Suppression Schedule Recurrence - A
recurrence
block as defined above. - time_
zone str - The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to
UTC
. possible values are defined here.
- effective
From String - Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
- effective
Until String - Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
- recurrence Property Map
- A
recurrence
block as defined above. - time
Zone String - The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to
UTC
. possible values are defined here.
AlertProcessingRuleSuppressionScheduleRecurrence, AlertProcessingRuleSuppressionScheduleRecurrenceArgs
- Dailies
List<Alert
Processing Rule Suppression Schedule Recurrence Daily> - One or more
daily
blocks as defined above. - Monthlies
List<Alert
Processing Rule Suppression Schedule Recurrence Monthly> - One or more
monthly
blocks as defined above. - Weeklies
List<Alert
Processing Rule Suppression Schedule Recurrence Weekly> - One or more
weekly
blocks as defined below.
- Dailies
[]Alert
Processing Rule Suppression Schedule Recurrence Daily - One or more
daily
blocks as defined above. - Monthlies
[]Alert
Processing Rule Suppression Schedule Recurrence Monthly - One or more
monthly
blocks as defined above. - Weeklies
[]Alert
Processing Rule Suppression Schedule Recurrence Weekly - One or more
weekly
blocks as defined below.
- dailies
List<Alert
Processing Rule Suppression Schedule Recurrence Daily> - One or more
daily
blocks as defined above. - monthlies
List<Alert
Processing Rule Suppression Schedule Recurrence Monthly> - One or more
monthly
blocks as defined above. - weeklies
List<Alert
Processing Rule Suppression Schedule Recurrence Weekly> - One or more
weekly
blocks as defined below.
- dailies
Alert
Processing Rule Suppression Schedule Recurrence Daily[] - One or more
daily
blocks as defined above. - monthlies
Alert
Processing Rule Suppression Schedule Recurrence Monthly[] - One or more
monthly
blocks as defined above. - weeklies
Alert
Processing Rule Suppression Schedule Recurrence Weekly[] - One or more
weekly
blocks as defined below.
- dailies
Sequence[Alert
Processing Rule Suppression Schedule Recurrence Daily] - One or more
daily
blocks as defined above. - monthlies
Sequence[Alert
Processing Rule Suppression Schedule Recurrence Monthly] - One or more
monthly
blocks as defined above. - weeklies
Sequence[Alert
Processing Rule Suppression Schedule Recurrence Weekly] - One or more
weekly
blocks as defined below.
- dailies List<Property Map>
- One or more
daily
blocks as defined above. - monthlies List<Property Map>
- One or more
monthly
blocks as defined above. - weeklies List<Property Map>
- One or more
weekly
blocks as defined below.
AlertProcessingRuleSuppressionScheduleRecurrenceDaily, AlertProcessingRuleSuppressionScheduleRecurrenceDailyArgs
- end_
time str - Specifies the recurrence end time (H:M:S).
- start_
time str - Specifies the recurrence start time (H:M:S).
AlertProcessingRuleSuppressionScheduleRecurrenceMonthly, AlertProcessingRuleSuppressionScheduleRecurrenceMonthlyArgs
- Days
Of List<int>Months - Specifies a list of dayOfMonth to recurrence. Possible values are integers between
1
-31
. - End
Time string - Specifies the recurrence end time (H:M:S).
- Start
Time string - Specifies the recurrence start time (H:M:S).
- Days
Of []intMonths - Specifies a list of dayOfMonth to recurrence. Possible values are integers between
1
-31
. - End
Time string - Specifies the recurrence end time (H:M:S).
- Start
Time string - Specifies the recurrence start time (H:M:S).
- days
Of List<Integer>Months - Specifies a list of dayOfMonth to recurrence. Possible values are integers between
1
-31
. - end
Time String - Specifies the recurrence end time (H:M:S).
- start
Time String - Specifies the recurrence start time (H:M:S).
- days
Of number[]Months - Specifies a list of dayOfMonth to recurrence. Possible values are integers between
1
-31
. - end
Time string - Specifies the recurrence end time (H:M:S).
- start
Time string - Specifies the recurrence start time (H:M:S).
- days_
of_ Sequence[int]months - Specifies a list of dayOfMonth to recurrence. Possible values are integers between
1
-31
. - end_
time str - Specifies the recurrence end time (H:M:S).
- start_
time str - Specifies the recurrence start time (H:M:S).
- days
Of List<Number>Months - Specifies a list of dayOfMonth to recurrence. Possible values are integers between
1
-31
. - end
Time String - Specifies the recurrence end time (H:M:S).
- start
Time String - Specifies the recurrence start time (H:M:S).
AlertProcessingRuleSuppressionScheduleRecurrenceWeekly, AlertProcessingRuleSuppressionScheduleRecurrenceWeeklyArgs
- Days
Of List<string>Weeks - Specifies a list of dayOfWeek to recurrence. Possible values are
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
, andSaturday
. - End
Time string - Specifies the recurrence end time (H:M:S).
- Start
Time string - Specifies the recurrence start time (H:M:S).
- Days
Of []stringWeeks - Specifies a list of dayOfWeek to recurrence. Possible values are
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
, andSaturday
. - End
Time string - Specifies the recurrence end time (H:M:S).
- Start
Time string - Specifies the recurrence start time (H:M:S).
- days
Of List<String>Weeks - Specifies a list of dayOfWeek to recurrence. Possible values are
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
, andSaturday
. - end
Time String - Specifies the recurrence end time (H:M:S).
- start
Time String - Specifies the recurrence start time (H:M:S).
- days
Of string[]Weeks - Specifies a list of dayOfWeek to recurrence. Possible values are
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
, andSaturday
. - end
Time string - Specifies the recurrence end time (H:M:S).
- start
Time string - Specifies the recurrence start time (H:M:S).
- days_
of_ Sequence[str]weeks - Specifies a list of dayOfWeek to recurrence. Possible values are
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
, andSaturday
. - end_
time str - Specifies the recurrence end time (H:M:S).
- start_
time str - Specifies the recurrence start time (H:M:S).
- days
Of List<String>Weeks - Specifies a list of dayOfWeek to recurrence. Possible values are
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
, andSaturday
. - end
Time String - Specifies the recurrence end time (H:M:S).
- start
Time String - Specifies the recurrence start time (H:M:S).
Import
Alert Processing Rules can be imported using the resource id
, e.g.
$ pulumi import azure:monitoring/alertProcessingRuleSuppression:AlertProcessingRuleSuppression example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.AlertsManagement/actionRules/actionRule1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.