Azure Classic

v5.25.0 published on Thursday, Nov 24, 2022 by Pulumi

AlertProcessingRuleActionGroup

Manages an Alert Processing Rule which apply action group.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
    {
        Location = "West Europe",
    });

    var exampleActionGroup = new Azure.Monitoring.ActionGroup("exampleActionGroup", new()
    {
        ResourceGroupName = exampleResourceGroup.Name,
        ShortName = "exampleactiongroup",
    });

    var exampleAlertProcessingRuleActionGroup = new Azure.Monitoring.AlertProcessingRuleActionGroup("exampleAlertProcessingRuleActionGroup", new()
    {
        ResourceGroupName = "example",
        Scopes = new[]
        {
            exampleResourceGroup.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 main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/monitoring"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleActionGroup, err := monitoring.NewActionGroup(ctx, "exampleActionGroup", &monitoring.ActionGroupArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			ShortName:         pulumi.String("exampleactiongroup"),
		})
		if err != nil {
			return err
		}
		_, err = monitoring.NewAlertProcessingRuleActionGroup(ctx, "exampleAlertProcessingRuleActionGroup", &monitoring.AlertProcessingRuleActionGroupArgs{
			ResourceGroupName: pulumi.String("example"),
			Scopes: pulumi.StringArray{
				exampleResourceGroup.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
	})
}
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        var exampleActionGroup = new ActionGroup("exampleActionGroup", ActionGroupArgs.builder()        
            .resourceGroupName(exampleResourceGroup.name())
            .shortName("exampleactiongroup")
            .build());

        var exampleAlertProcessingRuleActionGroup = new AlertProcessingRuleActionGroup("exampleAlertProcessingRuleActionGroup", AlertProcessingRuleActionGroupArgs.builder()        
            .resourceGroupName("example")
            .scopes(exampleResourceGroup.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());

    }
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_action_group = azure.monitoring.ActionGroup("exampleActionGroup",
    resource_group_name=example_resource_group.name,
    short_name="exampleactiongroup")
example_alert_processing_rule_action_group = azure.monitoring.AlertProcessingRuleActionGroup("exampleAlertProcessingRuleActionGroup",
    resource_group_name="example",
    scopes=[example_resource_group.id],
    add_action_group_ids=[example_action_group.id],
    condition=azure.monitoring.AlertProcessingRuleActionGroupConditionArgs(
        target_resource_type=azure.monitoring.AlertProcessingRuleActionGroupConditionTargetResourceTypeArgs(
            operator="Equals",
            values=["Microsoft.Compute/VirtualMachines"],
        ),
        severity=azure.monitoring.AlertProcessingRuleActionGroupConditionSeverityArgs(
            operator="Equals",
            values=[
                "Sev0",
                "Sev1",
                "Sev2",
            ],
        ),
    ),
    schedule=azure.monitoring.AlertProcessingRuleActionGroupScheduleArgs(
        effective_from="2022-01-01T01:02:03",
        effective_until="2022-02-02T01:02:03",
        time_zone="Pacific Standard Time",
        recurrence=azure.monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceArgs(
            dailies=[azure.monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceDailyArgs(
                start_time="17:00:00",
                end_time="09:00:00",
            )],
            weeklies=[azure.monitoring.AlertProcessingRuleActionGroupScheduleRecurrenceWeeklyArgs(
                days_of_weeks=[
                    "Saturday",
                    "Sunday",
                ],
            )],
        ),
    ),
    tags={
        "foo": "bar",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleActionGroup = new azure.monitoring.ActionGroup("exampleActionGroup", {
    resourceGroupName: exampleResourceGroup.name,
    shortName: "exampleactiongroup",
});
const exampleAlertProcessingRuleActionGroup = new azure.monitoring.AlertProcessingRuleActionGroup("exampleAlertProcessingRuleActionGroup", {
    resourceGroupName: "example",
    scopes: [exampleResourceGroup.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",
    },
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleActionGroup:
    type: azure:monitoring:ActionGroup
    properties:
      resourceGroupName: ${exampleResourceGroup.name}
      shortName: exampleactiongroup
  exampleAlertProcessingRuleActionGroup:
    type: azure:monitoring:AlertProcessingRuleActionGroup
    properties:
      resourceGroupName: example
      scopes:
        - ${exampleResourceGroup.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

new AlertProcessingRuleActionGroup(name: string, args: AlertProcessingRuleActionGroupArgs, opts?: CustomResourceOptions);
@overload
def AlertProcessingRuleActionGroup(resource_name: 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)
@overload
def AlertProcessingRuleActionGroup(resource_name: str,
                                   args: AlertProcessingRuleActionGroupArgs,
                                   opts: Optional[ResourceOptions] = 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.

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.

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

The AlertProcessingRuleActionGroup resource accepts the following input properties:

AddActionGroupIds List<string>

Specifies a list of Action Group IDs.

ResourceGroupName string

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 AlertProcessingRuleActionGroupConditionArgs

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 AlertProcessingRuleActionGroupScheduleArgs

A schedule block as defined below.

Tags Dictionary<string, string>

A mapping of tags which should be assigned to the Alert Processing Rule.

AddActionGroupIds []string

Specifies a list of Action Group IDs.

ResourceGroupName string

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 AlertProcessingRuleActionGroupConditionArgs

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 AlertProcessingRuleActionGroupScheduleArgs

A schedule block as defined below.

Tags map[string]string

A mapping of tags which should be assigned to the Alert Processing Rule.

addActionGroupIds List<String>

Specifies a list of Action Group IDs.

resourceGroupName String

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 AlertProcessingRuleActionGroupConditionArgs

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 AlertProcessingRuleActionGroupScheduleArgs

A schedule block as defined below.

tags Map<String,String>

A mapping of tags which should be assigned to the Alert Processing Rule.

addActionGroupIds string[]

Specifies a list of Action Group IDs.

resourceGroupName string

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 AlertProcessingRuleActionGroupConditionArgs

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 AlertProcessingRuleActionGroupScheduleArgs

A schedule block as defined below.

tags {[key: string]: string}

A mapping of tags which should be assigned to the Alert Processing Rule.

add_action_group_ids Sequence[str]

Specifies a list of Action Group IDs.

resource_group_name str

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 AlertProcessingRuleActionGroupConditionArgs

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 AlertProcessingRuleActionGroupScheduleArgs

A schedule block as defined below.

tags Mapping[str, str]

A mapping of tags which should be assigned to the Alert Processing Rule.

addActionGroupIds List<String>

Specifies a list of Action Group IDs.

resourceGroupName String

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.

tags 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) -> AlertProcessingRuleActionGroup
func 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)
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.
The following state arguments are supported:
AddActionGroupIds List<string>

Specifies a list of Action Group IDs.

Condition AlertProcessingRuleActionGroupConditionArgs

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.

ResourceGroupName string

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 AlertProcessingRuleActionGroupScheduleArgs

A schedule block as defined below.

Scopes List<string>

A list of resource IDs which will be the target of alert processing rule.

Tags Dictionary<string, string>

A mapping of tags which should be assigned to the Alert Processing Rule.

AddActionGroupIds []string

Specifies a list of Action Group IDs.

Condition AlertProcessingRuleActionGroupConditionArgs

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.

ResourceGroupName string

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 AlertProcessingRuleActionGroupScheduleArgs

A schedule block as defined below.

Scopes []string

A list of resource IDs which will be the target of alert processing rule.

Tags map[string]string

A mapping of tags which should be assigned to the Alert Processing Rule.

addActionGroupIds List<String>

Specifies a list of Action Group IDs.

condition AlertProcessingRuleActionGroupConditionArgs

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.

resourceGroupName String

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 AlertProcessingRuleActionGroupScheduleArgs

A schedule block as defined below.

scopes List<String>

A list of resource IDs which will be the target of alert processing rule.

tags Map<String,String>

A mapping of tags which should be assigned to the Alert Processing Rule.

addActionGroupIds string[]

Specifies a list of Action Group IDs.

condition AlertProcessingRuleActionGroupConditionArgs

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.

resourceGroupName string

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 AlertProcessingRuleActionGroupScheduleArgs

A schedule block as defined below.

scopes string[]

A list of resource IDs which will be the target of alert processing rule.

tags {[key: string]: string}

A mapping of tags which should be assigned to the Alert Processing Rule.

add_action_group_ids Sequence[str]

Specifies a list of Action Group IDs.

condition AlertProcessingRuleActionGroupConditionArgs

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_name str

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 AlertProcessingRuleActionGroupScheduleArgs

A schedule block as defined below.

scopes Sequence[str]

A list of resource IDs which will be the target of alert processing rule.

tags Mapping[str, str]

A mapping of tags which should be assigned to the Alert Processing Rule.

addActionGroupIds List<String>

Specifies a list of Action Group IDs.

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.

resourceGroupName String

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.

tags Map<String>

A mapping of tags which should be assigned to the Alert Processing Rule.

Supporting Types

AlertProcessingRuleActionGroupCondition

AlertContext AlertProcessingRuleActionGroupConditionAlertContext

A alert_context block as defined above.

AlertRuleId AlertProcessingRuleActionGroupConditionAlertRuleId

A alert_rule_id block as defined above.

AlertRuleName AlertProcessingRuleActionGroupConditionAlertRuleName

A alert_rule_name block as defined above.

Description AlertProcessingRuleActionGroupConditionDescription

A description block as defined below.

MonitorCondition AlertProcessingRuleActionGroupConditionMonitorCondition

A monitor_condition block as defined below.

MonitorService AlertProcessingRuleActionGroupConditionMonitorService

A monitor_service block as defined below.

Severity AlertProcessingRuleActionGroupConditionSeverity

A severity block as defined below.

SignalType AlertProcessingRuleActionGroupConditionSignalType

A signal_type block as defined below.

TargetResource AlertProcessingRuleActionGroupConditionTargetResource

A target_resource block as defined below.

TargetResourceGroup AlertProcessingRuleActionGroupConditionTargetResourceGroup

A target_resource_group block as defined below.

TargetResourceType AlertProcessingRuleActionGroupConditionTargetResourceType

A target_resource_type block as defined below.

AlertContext AlertProcessingRuleActionGroupConditionAlertContext

A alert_context block as defined above.

AlertRuleId AlertProcessingRuleActionGroupConditionAlertRuleId

A alert_rule_id block as defined above.

AlertRuleName AlertProcessingRuleActionGroupConditionAlertRuleName

A alert_rule_name block as defined above.

Description AlertProcessingRuleActionGroupConditionDescription

A description block as defined below.

MonitorCondition AlertProcessingRuleActionGroupConditionMonitorCondition

A monitor_condition block as defined below.

MonitorService AlertProcessingRuleActionGroupConditionMonitorService

A monitor_service block as defined below.

Severity AlertProcessingRuleActionGroupConditionSeverity

A severity block as defined below.

SignalType AlertProcessingRuleActionGroupConditionSignalType

A signal_type block as defined below.

TargetResource AlertProcessingRuleActionGroupConditionTargetResource

A target_resource block as defined below.

TargetResourceGroup AlertProcessingRuleActionGroupConditionTargetResourceGroup

A target_resource_group block as defined below.

TargetResourceType AlertProcessingRuleActionGroupConditionTargetResourceType

A target_resource_type block as defined below.

alertContext AlertProcessingRuleActionGroupConditionAlertContext

A alert_context block as defined above.

alertRuleId AlertProcessingRuleActionGroupConditionAlertRuleId

A alert_rule_id block as defined above.

alertRuleName AlertProcessingRuleActionGroupConditionAlertRuleName

A alert_rule_name block as defined above.

description AlertProcessingRuleActionGroupConditionDescription

A description block as defined below.

monitorCondition AlertProcessingRuleActionGroupConditionMonitorCondition

A monitor_condition block as defined below.

monitorService AlertProcessingRuleActionGroupConditionMonitorService

A monitor_service block as defined below.

severity AlertProcessingRuleActionGroupConditionSeverity

A severity block as defined below.

signalType AlertProcessingRuleActionGroupConditionSignalType

A signal_type block as defined below.

targetResource AlertProcessingRuleActionGroupConditionTargetResource

A target_resource block as defined below.

targetResourceGroup AlertProcessingRuleActionGroupConditionTargetResourceGroup

A target_resource_group block as defined below.

targetResourceType AlertProcessingRuleActionGroupConditionTargetResourceType

A target_resource_type block as defined below.

alertContext AlertProcessingRuleActionGroupConditionAlertContext

A alert_context block as defined above.

alertRuleId AlertProcessingRuleActionGroupConditionAlertRuleId

A alert_rule_id block as defined above.

alertRuleName AlertProcessingRuleActionGroupConditionAlertRuleName

A alert_rule_name block as defined above.

description AlertProcessingRuleActionGroupConditionDescription

A description block as defined below.

monitorCondition AlertProcessingRuleActionGroupConditionMonitorCondition

A monitor_condition block as defined below.

monitorService AlertProcessingRuleActionGroupConditionMonitorService

A monitor_service block as defined below.

severity AlertProcessingRuleActionGroupConditionSeverity

A severity block as defined below.

signalType AlertProcessingRuleActionGroupConditionSignalType

A signal_type block as defined below.

targetResource AlertProcessingRuleActionGroupConditionTargetResource

A target_resource block as defined below.

targetResourceGroup AlertProcessingRuleActionGroupConditionTargetResourceGroup

A target_resource_group block as defined below.

targetResourceType AlertProcessingRuleActionGroupConditionTargetResourceType

A target_resource_type block as defined below.

alert_context AlertProcessingRuleActionGroupConditionAlertContext

A alert_context block as defined above.

alert_rule_id AlertProcessingRuleActionGroupConditionAlertRuleId

A alert_rule_id block as defined above.

alert_rule_name AlertProcessingRuleActionGroupConditionAlertRuleName

A alert_rule_name block as defined above.

description AlertProcessingRuleActionGroupConditionDescription

A description block as defined below.

monitor_condition AlertProcessingRuleActionGroupConditionMonitorCondition

A monitor_condition block as defined below.

monitor_service AlertProcessingRuleActionGroupConditionMonitorService

A monitor_service block as defined below.

severity AlertProcessingRuleActionGroupConditionSeverity

A severity block as defined below.

signal_type AlertProcessingRuleActionGroupConditionSignalType

A signal_type block as defined below.

target_resource AlertProcessingRuleActionGroupConditionTargetResource

A target_resource block as defined below.

target_resource_group AlertProcessingRuleActionGroupConditionTargetResourceGroup

A target_resource_group block as defined below.

target_resource_type AlertProcessingRuleActionGroupConditionTargetResourceType

A target_resource_type block as defined below.

alertContext Property Map

A alert_context block as defined above.

alertRuleId Property Map

A alert_rule_id block as defined above.

alertRuleName Property Map

A alert_rule_name block as defined above.

description Property Map

A description block as defined below.

monitorCondition Property Map

A monitor_condition block as defined below.

monitorService Property Map

A monitor_service block as defined below.

severity Property Map

A severity block as defined below.

signalType Property Map

A signal_type block as defined below.

targetResource Property Map

A target_resource block as defined below.

targetResourceGroup Property Map

A target_resource_group block as defined below.

targetResourceType Property Map

A target_resource_type block as defined below.

AlertProcessingRuleActionGroupConditionAlertContext

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values List<string>

Specifies a list of values to match for a given condition.

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values []string

Specifies a list of values to match for a given condition.

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

Specifies a list of values to match for a given condition.

operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values string[]

Specifies a list of values to match for a given condition.

operator str

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values Sequence[str]

Specifies a list of values to match for a given condition.

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

Specifies a list of values to match for a given condition.

AlertProcessingRuleActionGroupConditionAlertRuleId

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values List<string>

Specifies a list of values to match for a given condition.

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values []string

Specifies a list of values to match for a given condition.

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

Specifies a list of values to match for a given condition.

operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values string[]

Specifies a list of values to match for a given condition.

operator str

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values Sequence[str]

Specifies a list of values to match for a given condition.

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

Specifies a list of values to match for a given condition.

AlertProcessingRuleActionGroupConditionAlertRuleName

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values List<string>

Specifies a list of values to match for a given condition.

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values []string

Specifies a list of values to match for a given condition.

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

Specifies a list of values to match for a given condition.

operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values string[]

Specifies a list of values to match for a given condition.

operator str

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values Sequence[str]

Specifies a list of values to match for a given condition.

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

Specifies a list of values to match for a given condition.

AlertProcessingRuleActionGroupConditionDescription

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values List<string>

Specifies a list of values to match for a given condition.

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values []string

Specifies a list of values to match for a given condition.

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

Specifies a list of values to match for a given condition.

operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values string[]

Specifies a list of values to match for a given condition.

operator str

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values Sequence[str]

Specifies a list of values to match for a given condition.

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

Specifies a list of values to match for a given condition.

AlertProcessingRuleActionGroupConditionMonitorCondition

Operator string

The operator for a given condition. Possible values are Equals and NotEquals.

Values List<string>

Specifies a list of values to match for a given condition. Possible values are Fired and Resolved.

Operator string

The operator for a given condition. Possible values are Equals and NotEquals.

Values []string

Specifies a list of values to match for a given condition. Possible values are Fired and Resolved.

operator String

The operator for a given condition. Possible values are Equals and NotEquals.

values List<String>

Specifies a list of values to match for a given condition. Possible values are Fired and Resolved.

operator string

The operator for a given condition. Possible values are Equals and NotEquals.

values string[]

Specifies a list of values to match for a given condition. Possible values are Fired and Resolved.

operator str

The operator for a given condition. Possible values are Equals and NotEquals.

values Sequence[str]

Specifies a list of values to match for a given condition. Possible values are Fired and Resolved.

operator String

The operator for a given condition. Possible values are Equals and NotEquals.

values List<String>

Specifies a list of values to match for a given condition. Possible values are Fired and Resolved.

AlertProcessingRuleActionGroupConditionMonitorService

Operator string

The operator for a given condition. Possible values are Equals and NotEquals.

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, and VM Insights - Health.

Operator string

The operator for a given condition. Possible values are Equals and NotEquals.

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, and VM Insights - Health.

operator String

The operator for a given condition. Possible values are Equals and NotEquals.

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, and VM Insights - Health.

operator string

The operator for a given condition. Possible values are Equals and NotEquals.

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, and VM Insights - Health.

operator str

The operator for a given condition. Possible values are Equals and NotEquals.

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, and VM Insights - Health.

operator String

The operator for a given condition. Possible values are Equals and NotEquals.

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, and VM Insights - Health.

AlertProcessingRuleActionGroupConditionSeverity

Operator string

The operator for a given condition. Possible values are Equals and NotEquals.

Values List<string>

Specifies list of values to match for a given condition. Possible values are Sev0, Sev1, Sev2, Sev3, and Sev4.

Operator string

The operator for a given condition. Possible values are Equals and NotEquals.

Values []string

Specifies list of values to match for a given condition. Possible values are Sev0, Sev1, Sev2, Sev3, and Sev4.

operator String

The operator for a given condition. Possible values are Equals and NotEquals.

values List<String>

Specifies list of values to match for a given condition. Possible values are Sev0, Sev1, Sev2, Sev3, and Sev4.

operator string

The operator for a given condition. Possible values are Equals and NotEquals.

values string[]

Specifies list of values to match for a given condition. Possible values are Sev0, Sev1, Sev2, Sev3, and Sev4.

operator str

The operator for a given condition. Possible values are Equals and NotEquals.

values Sequence[str]

Specifies list of values to match for a given condition. Possible values are Sev0, Sev1, Sev2, Sev3, and Sev4.

operator String

The operator for a given condition. Possible values are Equals and NotEquals.

values List<String>

Specifies list of values to match for a given condition. Possible values are Sev0, Sev1, Sev2, Sev3, and Sev4.

AlertProcessingRuleActionGroupConditionSignalType

Operator string

The operator for a given condition. Possible values are Equals and NotEquals.

Values List<string>

Specifies a list of values to match for a given condition. Possible values are Metric, Log, Unknown, and Health.

Operator string

The operator for a given condition. Possible values are Equals and NotEquals.

Values []string

Specifies a list of values to match for a given condition. Possible values are Metric, Log, Unknown, and Health.

operator String

The operator for a given condition. Possible values are Equals and NotEquals.

values List<String>

Specifies a list of values to match for a given condition. Possible values are Metric, Log, Unknown, and Health.

operator string

The operator for a given condition. Possible values are Equals and NotEquals.

values string[]

Specifies a list of values to match for a given condition. Possible values are Metric, Log, Unknown, and Health.

operator str

The operator for a given condition. Possible values are Equals and NotEquals.

values Sequence[str]

Specifies a list of values to match for a given condition. Possible values are Metric, Log, Unknown, and Health.

operator String

The operator for a given condition. Possible values are Equals and NotEquals.

values List<String>

Specifies a list of values to match for a given condition. Possible values are Metric, Log, Unknown, and Health.

AlertProcessingRuleActionGroupConditionTargetResource

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values List<string>

A list of values to match for a given condition. The values should be valid resource IDs.

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values []string

A list of values to match for a given condition. The values should be valid resource IDs.

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

A list of values to match for a given condition. The values should be valid resource IDs.

operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values string[]

A list of values to match for a given condition. The values should be valid resource IDs.

operator str

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values Sequence[str]

A list of values to match for a given condition. The values should be valid resource IDs.

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

A list of values to match for a given condition. The values should be valid resource IDs.

AlertProcessingRuleActionGroupConditionTargetResourceGroup

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values List<string>

A list of values to match for a given condition. The values should be valid resource group IDs.

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values []string

A list of values to match for a given condition. The values should be valid resource group IDs.

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

A list of values to match for a given condition. The values should be valid resource group IDs.

operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values string[]

A list of values to match for a given condition. The values should be valid resource group IDs.

operator str

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values Sequence[str]

A list of values to match for a given condition. The values should be valid resource group IDs.

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

A list of values to match for a given condition. The values should be valid resource group IDs.

AlertProcessingRuleActionGroupConditionTargetResourceType

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values List<string>

A list of values to match for a given condition. The values should be valid resource types. (e.g. Microsoft.Compute/VirtualMachines)

Operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

Values []string

A list of values to match for a given condition. The values should be valid resource types. (e.g. Microsoft.Compute/VirtualMachines)

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

A list of values to match for a given condition. The values should be valid resource types. (e.g. Microsoft.Compute/VirtualMachines)

operator string

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values string[]

A list of values to match for a given condition. The values should be valid resource types. (e.g. Microsoft.Compute/VirtualMachines)

operator str

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values Sequence[str]

A list of values to match for a given condition. The values should be valid resource types. (e.g. Microsoft.Compute/VirtualMachines)

operator String

The operator for a given condition. Possible values are Equals, NotEquals, Contains, and DoesNotContain.

values List<String>

A list of values to match for a given condition. The values should be valid resource types. (e.g. Microsoft.Compute/VirtualMachines)

AlertProcessingRuleActionGroupSchedule

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 AlertProcessingRuleActionGroupScheduleRecurrence

A recurrence block 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 AlertProcessingRuleActionGroupScheduleRecurrence

A recurrence block 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 AlertProcessingRuleActionGroupScheduleRecurrence

A recurrence block 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 AlertProcessingRuleActionGroupScheduleRecurrence

A recurrence block 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 AlertProcessingRuleActionGroupScheduleRecurrence

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.

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 recurrence block 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

Dailies []AlertProcessingRuleActionGroupScheduleRecurrenceDaily

One or more daily blocks as defined above.

Monthlies []AlertProcessingRuleActionGroupScheduleRecurrenceMonthly

One or more monthly blocks as defined above.

Weeklies []AlertProcessingRuleActionGroupScheduleRecurrenceWeekly

One or more weekly blocks as defined below.

dailies AlertProcessingRuleActionGroupScheduleRecurrenceDaily[]

One or more daily blocks as defined above.

monthlies AlertProcessingRuleActionGroupScheduleRecurrenceMonthly[]

One or more monthly blocks as defined above.

weeklies AlertProcessingRuleActionGroupScheduleRecurrenceWeekly[]

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.

AlertProcessingRuleActionGroupScheduleRecurrenceDaily

EndTime string

Specifies the recurrence end time (H:M:S).

StartTime string

Specifies the recurrence start time (H:M:S).

EndTime string

Specifies the recurrence end time (H:M:S).

StartTime string

Specifies the recurrence start time (H:M:S).

endTime String

Specifies the recurrence end time (H:M:S).

startTime String

Specifies the recurrence start time (H:M:S).

endTime string

Specifies the recurrence end time (H:M:S).

startTime string

Specifies the recurrence start time (H:M:S).

end_time str

Specifies the recurrence end time (H:M:S).

start_time str

Specifies the recurrence start time (H:M:S).

endTime String

Specifies the recurrence end time (H:M:S).

startTime String

Specifies the recurrence start time (H:M:S).

AlertProcessingRuleActionGroupScheduleRecurrenceMonthly

DaysOfMonths List<int>

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).

DaysOfMonths []int

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).

daysOfMonths List<Integer>

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).

daysOfMonths number[]

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_months Sequence[int]

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).

daysOfMonths List<Number>

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

DaysOfWeeks List<string>

Specifies a list of dayOfWeek to recurrence. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday.

EndTime string

Specifies the recurrence end time (H:M:S).

StartTime string

Specifies the recurrence start time (H:M:S).

DaysOfWeeks []string

Specifies a list of dayOfWeek to recurrence. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday.

EndTime string

Specifies the recurrence end time (H:M:S).

StartTime string

Specifies the recurrence start time (H:M:S).

daysOfWeeks List<String>

Specifies a list of dayOfWeek to recurrence. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday.

endTime String

Specifies the recurrence end time (H:M:S).

startTime String

Specifies the recurrence start time (H:M:S).

daysOfWeeks string[]

Specifies a list of dayOfWeek to recurrence. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday.

endTime string

Specifies the recurrence end time (H:M:S).

startTime string

Specifies the recurrence start time (H:M:S).

days_of_weeks Sequence[str]

Specifies a list of dayOfWeek to recurrence. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday.

end_time str

Specifies the recurrence end time (H:M:S).

start_time str

Specifies the recurrence start time (H:M:S).

daysOfWeeks List<String>

Specifies a list of dayOfWeek to recurrence. Possible values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday.

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

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.