We recommend using Azure Native.
azure.monitoring.AlertProcessingRuleActionGroup
Explore with Pulumi AI
Manages an Alert Processing Rule which apply action group.
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 exampleActionGroup = new azure.monitoring.ActionGroup("example", {
    name: "example-action-group",
    resourceGroupName: example.name,
    shortName: "action",
});
const exampleAlertProcessingRuleActionGroup = new azure.monitoring.AlertProcessingRuleActionGroup("example", {
    name: "example",
    resourceGroupName: "example",
    scopes: [example.id],
    addActionGroupIds: [exampleActionGroup.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_action_group = azure.monitoring.ActionGroup("example",
    name="example-action-group",
    resource_group_name=example.name,
    short_name="action")
example_alert_processing_rule_action_group = azure.monitoring.AlertProcessingRuleActionGroup("example",
    name="example",
    resource_group_name="example",
    scopes=[example.id],
    add_action_group_ids=[example_action_group.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
		}
		exampleActionGroup, err := monitoring.NewActionGroup(ctx, "example", &monitoring.ActionGroupArgs{
			Name:              pulumi.String("example-action-group"),
			ResourceGroupName: example.Name,
			ShortName:         pulumi.String("action"),
		})
		if err != nil {
			return err
		}
		_, err = monitoring.NewAlertProcessingRuleActionGroup(ctx, "example", &monitoring.AlertProcessingRuleActionGroupArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: pulumi.String("example"),
			Scopes: pulumi.StringArray{
				example.ID(),
			},
			AddActionGroupIds: pulumi.StringArray{
				exampleActionGroup.ID(),
			},
			Condition: &monitoring.AlertProcessingRuleActionGroupConditionArgs{
				TargetResourceType: &monitoring.AlertProcessingRuleActionGroupConditionTargetResourceTypeArgs{
					Operator: pulumi.String("Equals"),
					Values: pulumi.StringArray{
						pulumi.String("Microsoft.Compute/VirtualMachines"),
					},
				},
				Severity: &monitoring.AlertProcessingRuleActionGroupConditionSeverityArgs{
					Operator: pulumi.String("Equals"),
					Values: pulumi.StringArray{
						pulumi.String("Sev0"),
						pulumi.String("Sev1"),
						pulumi.String("Sev2"),
					},
				},
			},
			Schedule: &monitoring.AlertProcessingRuleActionGroupScheduleArgs{
				EffectiveFrom:  pulumi.String("2022-01-01T01:02:03"),
				EffectiveUntil: pulumi.String("2022-02-02T01:02:03"),
				TimeZone:       pulumi.String("Pacific Standard Time"),
				Recurrence: &monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceArgs{
					Dailies: monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceDailyArray{
						&monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceDailyArgs{
							StartTime: pulumi.String("17:00:00"),
							EndTime:   pulumi.String("09:00:00"),
						},
					},
					Weeklies: monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceWeeklyArray{
						&monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceWeeklyArgs{
							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 exampleActionGroup = new Azure.Monitoring.ActionGroup("example", new()
    {
        Name = "example-action-group",
        ResourceGroupName = example.Name,
        ShortName = "action",
    });
    var exampleAlertProcessingRuleActionGroup = new Azure.Monitoring.AlertProcessingRuleActionGroup("example", new()
    {
        Name = "example",
        ResourceGroupName = "example",
        Scopes = new[]
        {
            example.Id,
        },
        AddActionGroupIds = new[]
        {
            exampleActionGroup.Id,
        },
        Condition = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionArgs
        {
            TargetResourceType = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionTargetResourceTypeArgs
            {
                Operator = "Equals",
                Values = new[]
                {
                    "Microsoft.Compute/VirtualMachines",
                },
            },
            Severity = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionSeverityArgs
            {
                Operator = "Equals",
                Values = new[]
                {
                    "Sev0",
                    "Sev1",
                    "Sev2",
                },
            },
        },
        Schedule = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupScheduleArgs
        {
            EffectiveFrom = "2022-01-01T01:02:03",
            EffectiveUntil = "2022-02-02T01:02:03",
            TimeZone = "Pacific Standard Time",
            Recurrence = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupScheduleRecurrenceArgs
            {
                Dailies = new[]
                {
                    new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupScheduleRecurrenceDailyArgs
                    {
                        StartTime = "17:00:00",
                        EndTime = "09:00:00",
                    },
                },
                Weeklies = new[]
                {
                    new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupScheduleRecurrenceWeeklyArgs
                    {
                        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.ActionGroup;
import com.pulumi.azure.monitoring.ActionGroupArgs;
import com.pulumi.azure.monitoring.AlertProcessingRuleActionGroup;
import com.pulumi.azure.monitoring.AlertProcessingRuleActionGroupArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleActionGroupConditionArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleActionGroupConditionTargetResourceTypeArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleActionGroupConditionSeverityArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleActionGroupScheduleArgs;
import com.pulumi.azure.monitoring.inputs.AlertProcessingRuleActionGroupScheduleRecurrenceArgs;
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 exampleActionGroup = new ActionGroup("exampleActionGroup", ActionGroupArgs.builder()
            .name("example-action-group")
            .resourceGroupName(example.name())
            .shortName("action")
            .build());
        var exampleAlertProcessingRuleActionGroup = new AlertProcessingRuleActionGroup("exampleAlertProcessingRuleActionGroup", AlertProcessingRuleActionGroupArgs.builder()
            .name("example")
            .resourceGroupName("example")
            .scopes(example.id())
            .addActionGroupIds(exampleActionGroup.id())
            .condition(AlertProcessingRuleActionGroupConditionArgs.builder()
                .targetResourceType(AlertProcessingRuleActionGroupConditionTargetResourceTypeArgs.builder()
                    .operator("Equals")
                    .values("Microsoft.Compute/VirtualMachines")
                    .build())
                .severity(AlertProcessingRuleActionGroupConditionSeverityArgs.builder()
                    .operator("Equals")
                    .values(                    
                        "Sev0",
                        "Sev1",
                        "Sev2")
                    .build())
                .build())
            .schedule(AlertProcessingRuleActionGroupScheduleArgs.builder()
                .effectiveFrom("2022-01-01T01:02:03")
                .effectiveUntil("2022-02-02T01:02:03")
                .timeZone("Pacific Standard Time")
                .recurrence(AlertProcessingRuleActionGroupScheduleRecurrenceArgs.builder()
                    .dailies(AlertProcessingRuleActionGroupScheduleRecurrenceDailyArgs.builder()
                        .startTime("17:00:00")
                        .endTime("09:00:00")
                        .build())
                    .weeklies(AlertProcessingRuleActionGroupScheduleRecurrenceWeeklyArgs.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
  exampleActionGroup:
    type: azure:monitoring:ActionGroup
    name: example
    properties:
      name: example-action-group
      resourceGroupName: ${example.name}
      shortName: action
  exampleAlertProcessingRuleActionGroup:
    type: azure:monitoring:AlertProcessingRuleActionGroup
    name: example
    properties:
      name: example
      resourceGroupName: example
      scopes:
        - ${example.id}
      addActionGroupIds:
        - ${exampleActionGroup.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 AlertProcessingRuleActionGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlertProcessingRuleActionGroup(name: string, args: AlertProcessingRuleActionGroupArgs, opts?: CustomResourceOptions);@overload
def AlertProcessingRuleActionGroup(resource_name: str,
                                   args: AlertProcessingRuleActionGroupArgs,
                                   opts: Optional[ResourceOptions] = None)
@overload
def AlertProcessingRuleActionGroup(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   add_action_group_ids: Optional[Sequence[str]] = None,
                                   resource_group_name: Optional[str] = None,
                                   scopes: Optional[Sequence[str]] = None,
                                   condition: Optional[AlertProcessingRuleActionGroupConditionArgs] = None,
                                   description: Optional[str] = None,
                                   enabled: Optional[bool] = None,
                                   name: Optional[str] = None,
                                   schedule: Optional[AlertProcessingRuleActionGroupScheduleArgs] = None,
                                   tags: Optional[Mapping[str, str]] = None)func NewAlertProcessingRuleActionGroup(ctx *Context, name string, args AlertProcessingRuleActionGroupArgs, opts ...ResourceOption) (*AlertProcessingRuleActionGroup, error)public AlertProcessingRuleActionGroup(string name, AlertProcessingRuleActionGroupArgs args, CustomResourceOptions? opts = null)
public AlertProcessingRuleActionGroup(String name, AlertProcessingRuleActionGroupArgs args)
public AlertProcessingRuleActionGroup(String name, AlertProcessingRuleActionGroupArgs args, CustomResourceOptions options)
type: azure:monitoring:AlertProcessingRuleActionGroup
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 AlertProcessingRuleActionGroupArgs
- 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 AlertProcessingRuleActionGroupArgs
- 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 AlertProcessingRuleActionGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlertProcessingRuleActionGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlertProcessingRuleActionGroupArgs
- 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 alertProcessingRuleActionGroupResource = new Azure.Monitoring.AlertProcessingRuleActionGroup("alertProcessingRuleActionGroupResource", new()
{
    AddActionGroupIds = new[]
    {
        "string",
    },
    ResourceGroupName = "string",
    Scopes = new[]
    {
        "string",
    },
    Condition = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionArgs
    {
        AlertContext = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionAlertContextArgs
        {
            Operator = "string",
            Values = new[]
            {
                "string",
            },
        },
        AlertRuleId = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionAlertRuleIdArgs
        {
            Operator = "string",
            Values = new[]
            {
                "string",
            },
        },
        AlertRuleName = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionAlertRuleNameArgs
        {
            Operator = "string",
            Values = new[]
            {
                "string",
            },
        },
        Description = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionDescriptionArgs
        {
            Operator = "string",
            Values = new[]
            {
                "string",
            },
        },
        MonitorCondition = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionMonitorConditionArgs
        {
            Operator = "string",
            Values = new[]
            {
                "string",
            },
        },
        MonitorService = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionMonitorServiceArgs
        {
            Operator = "string",
            Values = new[]
            {
                "string",
            },
        },
        Severity = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionSeverityArgs
        {
            Operator = "string",
            Values = new[]
            {
                "string",
            },
        },
        SignalType = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionSignalTypeArgs
        {
            Operator = "string",
            Values = new[]
            {
                "string",
            },
        },
        TargetResource = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionTargetResourceArgs
        {
            Operator = "string",
            Values = new[]
            {
                "string",
            },
        },
        TargetResourceGroup = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionTargetResourceGroupArgs
        {
            Operator = "string",
            Values = new[]
            {
                "string",
            },
        },
        TargetResourceType = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupConditionTargetResourceTypeArgs
        {
            Operator = "string",
            Values = new[]
            {
                "string",
            },
        },
    },
    Description = "string",
    Enabled = false,
    Name = "string",
    Schedule = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupScheduleArgs
    {
        EffectiveFrom = "string",
        EffectiveUntil = "string",
        Recurrence = new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupScheduleRecurrenceArgs
        {
            Dailies = new[]
            {
                new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupScheduleRecurrenceDailyArgs
                {
                    EndTime = "string",
                    StartTime = "string",
                },
            },
            Monthlies = new[]
            {
                new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupScheduleRecurrenceMonthlyArgs
                {
                    DaysOfMonths = new[]
                    {
                        0,
                    },
                    EndTime = "string",
                    StartTime = "string",
                },
            },
            Weeklies = new[]
            {
                new Azure.Monitoring.Inputs.AlertProcessingRuleActionGroupScheduleRecurrenceWeeklyArgs
                {
                    DaysOfWeeks = new[]
                    {
                        "string",
                    },
                    EndTime = "string",
                    StartTime = "string",
                },
            },
        },
        TimeZone = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := monitoring.NewAlertProcessingRuleActionGroup(ctx, "alertProcessingRuleActionGroupResource", &monitoring.AlertProcessingRuleActionGroupArgs{
	AddActionGroupIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	ResourceGroupName: pulumi.String("string"),
	Scopes: pulumi.StringArray{
		pulumi.String("string"),
	},
	Condition: &monitoring.AlertProcessingRuleActionGroupConditionArgs{
		AlertContext: &monitoring.AlertProcessingRuleActionGroupConditionAlertContextArgs{
			Operator: pulumi.String("string"),
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		AlertRuleId: &monitoring.AlertProcessingRuleActionGroupConditionAlertRuleIdArgs{
			Operator: pulumi.String("string"),
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		AlertRuleName: &monitoring.AlertProcessingRuleActionGroupConditionAlertRuleNameArgs{
			Operator: pulumi.String("string"),
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		Description: &monitoring.AlertProcessingRuleActionGroupConditionDescriptionArgs{
			Operator: pulumi.String("string"),
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		MonitorCondition: &monitoring.AlertProcessingRuleActionGroupConditionMonitorConditionArgs{
			Operator: pulumi.String("string"),
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		MonitorService: &monitoring.AlertProcessingRuleActionGroupConditionMonitorServiceArgs{
			Operator: pulumi.String("string"),
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		Severity: &monitoring.AlertProcessingRuleActionGroupConditionSeverityArgs{
			Operator: pulumi.String("string"),
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		SignalType: &monitoring.AlertProcessingRuleActionGroupConditionSignalTypeArgs{
			Operator: pulumi.String("string"),
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		TargetResource: &monitoring.AlertProcessingRuleActionGroupConditionTargetResourceArgs{
			Operator: pulumi.String("string"),
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		TargetResourceGroup: &monitoring.AlertProcessingRuleActionGroupConditionTargetResourceGroupArgs{
			Operator: pulumi.String("string"),
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		TargetResourceType: &monitoring.AlertProcessingRuleActionGroupConditionTargetResourceTypeArgs{
			Operator: pulumi.String("string"),
			Values: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	Description: pulumi.String("string"),
	Enabled:     pulumi.Bool(false),
	Name:        pulumi.String("string"),
	Schedule: &monitoring.AlertProcessingRuleActionGroupScheduleArgs{
		EffectiveFrom:  pulumi.String("string"),
		EffectiveUntil: pulumi.String("string"),
		Recurrence: &monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceArgs{
			Dailies: monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceDailyArray{
				&monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceDailyArgs{
					EndTime:   pulumi.String("string"),
					StartTime: pulumi.String("string"),
				},
			},
			Monthlies: monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceMonthlyArray{
				&monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceMonthlyArgs{
					DaysOfMonths: pulumi.IntArray{
						pulumi.Int(0),
					},
					EndTime:   pulumi.String("string"),
					StartTime: pulumi.String("string"),
				},
			},
			Weeklies: monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceWeeklyArray{
				&monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceWeeklyArgs{
					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 alertProcessingRuleActionGroupResource = new AlertProcessingRuleActionGroup("alertProcessingRuleActionGroupResource", AlertProcessingRuleActionGroupArgs.builder()
    .addActionGroupIds("string")
    .resourceGroupName("string")
    .scopes("string")
    .condition(AlertProcessingRuleActionGroupConditionArgs.builder()
        .alertContext(AlertProcessingRuleActionGroupConditionAlertContextArgs.builder()
            .operator("string")
            .values("string")
            .build())
        .alertRuleId(AlertProcessingRuleActionGroupConditionAlertRuleIdArgs.builder()
            .operator("string")
            .values("string")
            .build())
        .alertRuleName(AlertProcessingRuleActionGroupConditionAlertRuleNameArgs.builder()
            .operator("string")
            .values("string")
            .build())
        .description(AlertProcessingRuleActionGroupConditionDescriptionArgs.builder()
            .operator("string")
            .values("string")
            .build())
        .monitorCondition(AlertProcessingRuleActionGroupConditionMonitorConditionArgs.builder()
            .operator("string")
            .values("string")
            .build())
        .monitorService(AlertProcessingRuleActionGroupConditionMonitorServiceArgs.builder()
            .operator("string")
            .values("string")
            .build())
        .severity(AlertProcessingRuleActionGroupConditionSeverityArgs.builder()
            .operator("string")
            .values("string")
            .build())
        .signalType(AlertProcessingRuleActionGroupConditionSignalTypeArgs.builder()
            .operator("string")
            .values("string")
            .build())
        .targetResource(AlertProcessingRuleActionGroupConditionTargetResourceArgs.builder()
            .operator("string")
            .values("string")
            .build())
        .targetResourceGroup(AlertProcessingRuleActionGroupConditionTargetResourceGroupArgs.builder()
            .operator("string")
            .values("string")
            .build())
        .targetResourceType(AlertProcessingRuleActionGroupConditionTargetResourceTypeArgs.builder()
            .operator("string")
            .values("string")
            .build())
        .build())
    .description("string")
    .enabled(false)
    .name("string")
    .schedule(AlertProcessingRuleActionGroupScheduleArgs.builder()
        .effectiveFrom("string")
        .effectiveUntil("string")
        .recurrence(AlertProcessingRuleActionGroupScheduleRecurrenceArgs.builder()
            .dailies(AlertProcessingRuleActionGroupScheduleRecurrenceDailyArgs.builder()
                .endTime("string")
                .startTime("string")
                .build())
            .monthlies(AlertProcessingRuleActionGroupScheduleRecurrenceMonthlyArgs.builder()
                .daysOfMonths(0)
                .endTime("string")
                .startTime("string")
                .build())
            .weeklies(AlertProcessingRuleActionGroupScheduleRecurrenceWeeklyArgs.builder()
                .daysOfWeeks("string")
                .endTime("string")
                .startTime("string")
                .build())
            .build())
        .timeZone("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
alert_processing_rule_action_group_resource = azure.monitoring.AlertProcessingRuleActionGroup("alertProcessingRuleActionGroupResource",
    add_action_group_ids=["string"],
    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 alertProcessingRuleActionGroupResource = new azure.monitoring.AlertProcessingRuleActionGroup("alertProcessingRuleActionGroupResource", {
    addActionGroupIds: ["string"],
    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:AlertProcessingRuleActionGroup
properties:
    addActionGroupIds:
        - 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
    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
AlertProcessingRuleActionGroup 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 AlertProcessingRuleActionGroup resource accepts the following input properties:
- AddAction List<string>Group Ids 
- Specifies a list of Action Group IDs.
- ResourceGroup 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
AlertProcessing Rule Action Group Condition 
- A conditionblock 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
AlertProcessing Rule Action Group Schedule 
- A scheduleblock as defined below.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Alert Processing Rule.
- AddAction []stringGroup Ids 
- Specifies a list of Action Group IDs.
- ResourceGroup 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
AlertProcessing Rule Action Group Condition Args 
- A conditionblock 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
AlertProcessing Rule Action Group Schedule Args 
- A scheduleblock as defined below.
- map[string]string
- A mapping of tags which should be assigned to the Alert Processing Rule.
- addAction List<String>Group Ids 
- Specifies a list of Action Group IDs.
- resourceGroup 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
AlertProcessing Rule Action Group Condition 
- A conditionblock 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
AlertProcessing Rule Action Group Schedule 
- A scheduleblock as defined below.
- Map<String,String>
- A mapping of tags which should be assigned to the Alert Processing Rule.
- addAction string[]Group Ids 
- Specifies a list of Action Group IDs.
- resourceGroup 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
AlertProcessing Rule Action Group Condition 
- A conditionblock 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
AlertProcessing Rule Action Group Schedule 
- A scheduleblock as defined below.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Alert Processing Rule.
- add_action_ Sequence[str]group_ ids 
- Specifies a list of Action Group IDs.
- 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
AlertProcessing Rule Action Group Condition Args 
- A conditionblock 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
AlertProcessing Rule Action Group Schedule Args 
- A scheduleblock as defined below.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Alert Processing Rule.
- addAction List<String>Group Ids 
- Specifies a list of Action Group IDs.
- resourceGroup 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 conditionblock 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 scheduleblock 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 AlertProcessingRuleActionGroup 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 AlertProcessingRuleActionGroup Resource
Get an existing AlertProcessingRuleActionGroup 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?: AlertProcessingRuleActionGroupState, opts?: CustomResourceOptions): AlertProcessingRuleActionGroup@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        add_action_group_ids: Optional[Sequence[str]] = None,
        condition: Optional[AlertProcessingRuleActionGroupConditionArgs] = None,
        description: Optional[str] = None,
        enabled: Optional[bool] = None,
        name: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        schedule: Optional[AlertProcessingRuleActionGroupScheduleArgs] = None,
        scopes: Optional[Sequence[str]] = None,
        tags: Optional[Mapping[str, str]] = None) -> AlertProcessingRuleActionGroupfunc GetAlertProcessingRuleActionGroup(ctx *Context, name string, id IDInput, state *AlertProcessingRuleActionGroupState, opts ...ResourceOption) (*AlertProcessingRuleActionGroup, error)public static AlertProcessingRuleActionGroup Get(string name, Input<string> id, AlertProcessingRuleActionGroupState? state, CustomResourceOptions? opts = null)public static AlertProcessingRuleActionGroup get(String name, Output<String> id, AlertProcessingRuleActionGroupState state, CustomResourceOptions options)resources:  _:    type: azure:monitoring:AlertProcessingRuleActionGroup    get:      id: ${id}- 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.
- AddAction List<string>Group Ids 
- Specifies a list of Action Group IDs.
- Condition
AlertProcessing Rule Action Group Condition 
- A conditionblock 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.
- ResourceGroup 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
AlertProcessing Rule Action Group Schedule 
- A scheduleblock 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.
- AddAction []stringGroup Ids 
- Specifies a list of Action Group IDs.
- Condition
AlertProcessing Rule Action Group Condition Args 
- A conditionblock 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.
- ResourceGroup 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
AlertProcessing Rule Action Group Schedule Args 
- A scheduleblock 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.
- addAction List<String>Group Ids 
- Specifies a list of Action Group IDs.
- condition
AlertProcessing Rule Action Group Condition 
- A conditionblock 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.
- resourceGroup 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
AlertProcessing Rule Action Group Schedule 
- A scheduleblock 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.
- addAction string[]Group Ids 
- Specifies a list of Action Group IDs.
- condition
AlertProcessing Rule Action Group Condition 
- A conditionblock 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.
- resourceGroup 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
AlertProcessing Rule Action Group Schedule 
- A scheduleblock 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.
- add_action_ Sequence[str]group_ ids 
- Specifies a list of Action Group IDs.
- condition
AlertProcessing Rule Action Group Condition Args 
- A conditionblock 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
AlertProcessing Rule Action Group Schedule Args 
- A scheduleblock 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.
- addAction List<String>Group Ids 
- Specifies a list of Action Group IDs.
- condition Property Map
- A conditionblock 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.
- resourceGroup 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 scheduleblock 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
AlertProcessingRuleActionGroupCondition, AlertProcessingRuleActionGroupConditionArgs            
- AlertContext AlertProcessing Rule Action Group Condition Alert Context 
- A alert_contextblock as defined above.
- AlertRule AlertId Processing Rule Action Group Condition Alert Rule Id 
- A alert_rule_idblock as defined above.
- AlertRule AlertName Processing Rule Action Group Condition Alert Rule Name 
- A alert_rule_nameblock as defined above.
- Description
AlertProcessing Rule Action Group Condition Description 
- A descriptionblock as defined below.
- MonitorCondition AlertProcessing Rule Action Group Condition Monitor Condition 
- A monitor_conditionblock as defined below.
- MonitorService AlertProcessing Rule Action Group Condition Monitor Service 
- A monitor_serviceblock as defined below.
- Severity
AlertProcessing Rule Action Group Condition Severity 
- A severityblock as defined below.
- SignalType AlertProcessing Rule Action Group Condition Signal Type 
- A signal_typeblock as defined below.
- TargetResource AlertProcessing Rule Action Group Condition Target Resource 
- A target_resourceblock as defined below.
- TargetResource AlertGroup Processing Rule Action Group Condition Target Resource Group 
- A target_resource_groupblock as defined below.
- TargetResource AlertType Processing Rule Action Group Condition Target Resource Type 
- A - target_resource_typeblock as defined below.- Note: At least one of the - alert_context,- alert_rule_id,- alert_rule_name,- description,- monitor_condition,- monitor_service,- severity,- signal_type,- target_resource,- target_resource_group,- target_resource_typemust be specified.
- AlertContext AlertProcessing Rule Action Group Condition Alert Context 
- A alert_contextblock as defined above.
- AlertRule AlertId Processing Rule Action Group Condition Alert Rule Id 
- A alert_rule_idblock as defined above.
- AlertRule AlertName Processing Rule Action Group Condition Alert Rule Name 
- A alert_rule_nameblock as defined above.
- Description
AlertProcessing Rule Action Group Condition Description 
- A descriptionblock as defined below.
- MonitorCondition AlertProcessing Rule Action Group Condition Monitor Condition 
- A monitor_conditionblock as defined below.
- MonitorService AlertProcessing Rule Action Group Condition Monitor Service 
- A monitor_serviceblock as defined below.
- Severity
AlertProcessing Rule Action Group Condition Severity 
- A severityblock as defined below.
- SignalType AlertProcessing Rule Action Group Condition Signal Type 
- A signal_typeblock as defined below.
- TargetResource AlertProcessing Rule Action Group Condition Target Resource 
- A target_resourceblock as defined below.
- TargetResource AlertGroup Processing Rule Action Group Condition Target Resource Group 
- A target_resource_groupblock as defined below.
- TargetResource AlertType Processing Rule Action Group Condition Target Resource Type 
- A - target_resource_typeblock as defined below.- Note: At least one of the - alert_context,- alert_rule_id,- alert_rule_name,- description,- monitor_condition,- monitor_service,- severity,- signal_type,- target_resource,- target_resource_group,- target_resource_typemust be specified.
- alertContext AlertProcessing Rule Action Group Condition Alert Context 
- A alert_contextblock as defined above.
- alertRule AlertId Processing Rule Action Group Condition Alert Rule Id 
- A alert_rule_idblock as defined above.
- alertRule AlertName Processing Rule Action Group Condition Alert Rule Name 
- A alert_rule_nameblock as defined above.
- description
AlertProcessing Rule Action Group Condition Description 
- A descriptionblock as defined below.
- monitorCondition AlertProcessing Rule Action Group Condition Monitor Condition 
- A monitor_conditionblock as defined below.
- monitorService AlertProcessing Rule Action Group Condition Monitor Service 
- A monitor_serviceblock as defined below.
- severity
AlertProcessing Rule Action Group Condition Severity 
- A severityblock as defined below.
- signalType AlertProcessing Rule Action Group Condition Signal Type 
- A signal_typeblock as defined below.
- targetResource AlertProcessing Rule Action Group Condition Target Resource 
- A target_resourceblock as defined below.
- targetResource AlertGroup Processing Rule Action Group Condition Target Resource Group 
- A target_resource_groupblock as defined below.
- targetResource AlertType Processing Rule Action Group Condition Target Resource Type 
- A - target_resource_typeblock as defined below.- Note: At least one of the - alert_context,- alert_rule_id,- alert_rule_name,- description,- monitor_condition,- monitor_service,- severity,- signal_type,- target_resource,- target_resource_group,- target_resource_typemust be specified.
- alertContext AlertProcessing Rule Action Group Condition Alert Context 
- A alert_contextblock as defined above.
- alertRule AlertId Processing Rule Action Group Condition Alert Rule Id 
- A alert_rule_idblock as defined above.
- alertRule AlertName Processing Rule Action Group Condition Alert Rule Name 
- A alert_rule_nameblock as defined above.
- description
AlertProcessing Rule Action Group Condition Description 
- A descriptionblock as defined below.
- monitorCondition AlertProcessing Rule Action Group Condition Monitor Condition 
- A monitor_conditionblock as defined below.
- monitorService AlertProcessing Rule Action Group Condition Monitor Service 
- A monitor_serviceblock as defined below.
- severity
AlertProcessing Rule Action Group Condition Severity 
- A severityblock as defined below.
- signalType AlertProcessing Rule Action Group Condition Signal Type 
- A signal_typeblock as defined below.
- targetResource AlertProcessing Rule Action Group Condition Target Resource 
- A target_resourceblock as defined below.
- targetResource AlertGroup Processing Rule Action Group Condition Target Resource Group 
- A target_resource_groupblock as defined below.
- targetResource AlertType Processing Rule Action Group Condition Target Resource Type 
- A - target_resource_typeblock as defined below.- Note: At least one of the - alert_context,- alert_rule_id,- alert_rule_name,- description,- monitor_condition,- monitor_service,- severity,- signal_type,- target_resource,- target_resource_group,- target_resource_typemust be specified.
- alert_context AlertProcessing Rule Action Group Condition Alert Context 
- A alert_contextblock as defined above.
- alert_rule_ Alertid Processing Rule Action Group Condition Alert Rule Id 
- A alert_rule_idblock as defined above.
- alert_rule_ Alertname Processing Rule Action Group Condition Alert Rule Name 
- A alert_rule_nameblock as defined above.
- description
AlertProcessing Rule Action Group Condition Description 
- A descriptionblock as defined below.
- monitor_condition AlertProcessing Rule Action Group Condition Monitor Condition 
- A monitor_conditionblock as defined below.
- monitor_service AlertProcessing Rule Action Group Condition Monitor Service 
- A monitor_serviceblock as defined below.
- severity
AlertProcessing Rule Action Group Condition Severity 
- A severityblock as defined below.
- signal_type AlertProcessing Rule Action Group Condition Signal Type 
- A signal_typeblock as defined below.
- target_resource AlertProcessing Rule Action Group Condition Target Resource 
- A target_resourceblock as defined below.
- target_resource_ Alertgroup Processing Rule Action Group Condition Target Resource Group 
- A target_resource_groupblock as defined below.
- target_resource_ Alerttype Processing Rule Action Group Condition Target Resource Type 
- A - target_resource_typeblock as defined below.- Note: At least one of the - alert_context,- alert_rule_id,- alert_rule_name,- description,- monitor_condition,- monitor_service,- severity,- signal_type,- target_resource,- target_resource_group,- target_resource_typemust be specified.
- alertContext Property Map
- A alert_contextblock as defined above.
- alertRule Property MapId 
- A alert_rule_idblock as defined above.
- alertRule Property MapName 
- A alert_rule_nameblock as defined above.
- description Property Map
- A descriptionblock as defined below.
- monitorCondition Property Map
- A monitor_conditionblock as defined below.
- monitorService Property Map
- A monitor_serviceblock as defined below.
- severity Property Map
- A severityblock as defined below.
- signalType Property Map
- A signal_typeblock as defined below.
- targetResource Property Map
- A target_resourceblock as defined below.
- targetResource Property MapGroup 
- A target_resource_groupblock as defined below.
- targetResource Property MapType 
- A - target_resource_typeblock as defined below.- Note: At least one of the - alert_context,- alert_rule_id,- alert_rule_name,- description,- monitor_condition,- monitor_service,- severity,- signal_type,- target_resource,- target_resource_group,- target_resource_typemust be specified.
AlertProcessingRuleActionGroupConditionAlertContext, AlertProcessingRuleActionGroupConditionAlertContextArgs                
AlertProcessingRuleActionGroupConditionAlertRuleId, AlertProcessingRuleActionGroupConditionAlertRuleIdArgs                  
AlertProcessingRuleActionGroupConditionAlertRuleName, AlertProcessingRuleActionGroupConditionAlertRuleNameArgs                  
AlertProcessingRuleActionGroupConditionDescription, AlertProcessingRuleActionGroupConditionDescriptionArgs              
AlertProcessingRuleActionGroupConditionMonitorCondition, AlertProcessingRuleActionGroupConditionMonitorConditionArgs                
AlertProcessingRuleActionGroupConditionMonitorService, AlertProcessingRuleActionGroupConditionMonitorServiceArgs                
- Operator string
- The operator for a given condition. Possible values are EqualsandNotEquals.
- 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 EqualsandNotEquals.
- 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 EqualsandNotEquals.
- 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 EqualsandNotEquals.
- 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 EqualsandNotEquals.
- 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 EqualsandNotEquals.
- 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.
AlertProcessingRuleActionGroupConditionSeverity, AlertProcessingRuleActionGroupConditionSeverityArgs              
AlertProcessingRuleActionGroupConditionSignalType, AlertProcessingRuleActionGroupConditionSignalTypeArgs                
AlertProcessingRuleActionGroupConditionTargetResource, AlertProcessingRuleActionGroupConditionTargetResourceArgs                
AlertProcessingRuleActionGroupConditionTargetResourceGroup, AlertProcessingRuleActionGroupConditionTargetResourceGroupArgs                  
AlertProcessingRuleActionGroupConditionTargetResourceType, AlertProcessingRuleActionGroupConditionTargetResourceTypeArgs                  
AlertProcessingRuleActionGroupSchedule, AlertProcessingRuleActionGroupScheduleArgs            
- EffectiveFrom string
- Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
- EffectiveUntil string
- Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
- Recurrence
AlertProcessing Rule Action Group Schedule Recurrence 
- A recurrenceblock as defined above.
- TimeZone string
- The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to UTC. possible values are defined here.
- EffectiveFrom string
- Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
- EffectiveUntil string
- Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
- Recurrence
AlertProcessing Rule Action Group Schedule Recurrence 
- A recurrenceblock as defined above.
- TimeZone string
- The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to UTC. possible values are defined here.
- effectiveFrom String
- Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
- effectiveUntil String
- Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
- recurrence
AlertProcessing Rule Action Group Schedule Recurrence 
- A recurrenceblock as defined above.
- timeZone String
- The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to UTC. possible values are defined here.
- effectiveFrom string
- Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
- effectiveUntil string
- Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
- recurrence
AlertProcessing Rule Action Group Schedule Recurrence 
- A recurrenceblock as defined above.
- timeZone 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
AlertProcessing Rule Action Group Schedule Recurrence 
- A recurrenceblock 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.
- effectiveFrom String
- Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
- effectiveUntil String
- Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
- recurrence Property Map
- A recurrenceblock as defined above.
- timeZone String
- The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to UTC. possible values are defined here.
AlertProcessingRuleActionGroupScheduleRecurrence, AlertProcessingRuleActionGroupScheduleRecurrenceArgs              
- Dailies
List<AlertProcessing Rule Action Group Schedule Recurrence Daily> 
- One or more dailyblocks as defined above.
- Monthlies
List<AlertProcessing Rule Action Group Schedule Recurrence Monthly> 
- One or more monthlyblocks as defined above.
- Weeklies
List<AlertProcessing Rule Action Group Schedule Recurrence Weekly> 
- One or more weeklyblocks as defined below.
- Dailies
[]AlertProcessing Rule Action Group Schedule Recurrence Daily 
- One or more dailyblocks as defined above.
- Monthlies
[]AlertProcessing Rule Action Group Schedule Recurrence Monthly 
- One or more monthlyblocks as defined above.
- Weeklies
[]AlertProcessing Rule Action Group Schedule Recurrence Weekly 
- One or more weeklyblocks as defined below.
- dailies
List<AlertProcessing Rule Action Group Schedule Recurrence Daily> 
- One or more dailyblocks as defined above.
- monthlies
List<AlertProcessing Rule Action Group Schedule Recurrence Monthly> 
- One or more monthlyblocks as defined above.
- weeklies
List<AlertProcessing Rule Action Group Schedule Recurrence Weekly> 
- One or more weeklyblocks as defined below.
- dailies
AlertProcessing Rule Action Group Schedule Recurrence Daily[] 
- One or more dailyblocks as defined above.
- monthlies
AlertProcessing Rule Action Group Schedule Recurrence Monthly[] 
- One or more monthlyblocks as defined above.
- weeklies
AlertProcessing Rule Action Group Schedule Recurrence Weekly[] 
- One or more weeklyblocks as defined below.
- dailies
Sequence[AlertProcessing Rule Action Group Schedule Recurrence Daily] 
- One or more dailyblocks as defined above.
- monthlies
Sequence[AlertProcessing Rule Action Group Schedule Recurrence Monthly] 
- One or more monthlyblocks as defined above.
- weeklies
Sequence[AlertProcessing Rule Action Group Schedule Recurrence Weekly] 
- One or more weeklyblocks as defined below.
- dailies List<Property Map>
- One or more dailyblocks as defined above.
- monthlies List<Property Map>
- One or more monthlyblocks as defined above.
- weeklies List<Property Map>
- One or more weeklyblocks as defined below.
AlertProcessingRuleActionGroupScheduleRecurrenceDaily, AlertProcessingRuleActionGroupScheduleRecurrenceDailyArgs                
- end_time str
- Specifies the recurrence end time (H:M:S).
- start_time str
- Specifies the recurrence start time (H:M:S).
AlertProcessingRuleActionGroupScheduleRecurrenceMonthly, AlertProcessingRuleActionGroupScheduleRecurrenceMonthlyArgs                
- DaysOf List<int>Months 
- Specifies a list of dayOfMonth to recurrence. Possible values are integers between 1-31.
- EndTime string
- Specifies the recurrence end time (H:M:S).
- StartTime string
- Specifies the recurrence start time (H:M:S).
- DaysOf []intMonths 
- Specifies a list of dayOfMonth to recurrence. Possible values are integers between 1-31.
- EndTime string
- Specifies the recurrence end time (H:M:S).
- StartTime string
- Specifies the recurrence start time (H:M:S).
- daysOf List<Integer>Months 
- Specifies a list of dayOfMonth to recurrence. Possible values are integers between 1-31.
- endTime String
- Specifies the recurrence end time (H:M:S).
- startTime String
- Specifies the recurrence start time (H:M:S).
- daysOf number[]Months 
- Specifies a list of dayOfMonth to recurrence. Possible values are integers between 1-31.
- endTime string
- Specifies the recurrence end time (H:M:S).
- startTime 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).
- daysOf List<Number>Months 
- Specifies a list of dayOfMonth to recurrence. Possible values are integers between 1-31.
- endTime String
- Specifies the recurrence end time (H:M:S).
- startTime String
- Specifies the recurrence start time (H:M:S).
AlertProcessingRuleActionGroupScheduleRecurrenceWeekly, AlertProcessingRuleActionGroupScheduleRecurrenceWeeklyArgs                
- DaysOf List<string>Weeks 
- Specifies a list of dayOfWeek to recurrence. Possible values are Sunday,Monday,Tuesday,Wednesday,Thursday,Friday, andSaturday.
- EndTime string
- Specifies the recurrence end time (H:M:S).
- StartTime string
- Specifies the recurrence start time (H:M:S).
- DaysOf []stringWeeks 
- Specifies a list of dayOfWeek to recurrence. Possible values are Sunday,Monday,Tuesday,Wednesday,Thursday,Friday, andSaturday.
- EndTime string
- Specifies the recurrence end time (H:M:S).
- StartTime string
- Specifies the recurrence start time (H:M:S).
- daysOf List<String>Weeks 
- Specifies a list of dayOfWeek to recurrence. Possible values are Sunday,Monday,Tuesday,Wednesday,Thursday,Friday, andSaturday.
- endTime String
- Specifies the recurrence end time (H:M:S).
- startTime String
- Specifies the recurrence start time (H:M:S).
- daysOf string[]Weeks 
- Specifies a list of dayOfWeek to recurrence. Possible values are Sunday,Monday,Tuesday,Wednesday,Thursday,Friday, andSaturday.
- endTime string
- Specifies the recurrence end time (H:M:S).
- startTime 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).
- daysOf List<String>Weeks 
- Specifies a list of dayOfWeek to recurrence. Possible values are Sunday,Monday,Tuesday,Wednesday,Thursday,Friday, andSaturday.
- endTime String
- Specifies the recurrence end time (H:M:S).
- startTime 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/alertProcessingRuleActionGroup:AlertProcessingRuleActionGroup 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 azurermTerraform Provider.