1. Packages
  2. Azure Native v1
  3. API Docs
  4. alertsmanagement
  5. ActionRuleByName
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.alertsmanagement.ActionRuleByName

Explore with Pulumi AI

These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

Action rule object containing target scope, conditions and suppression logic API Version: 2019-05-05-preview.

Example Usage

PutActionRule

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var actionRuleByName = new AzureNative.AlertsManagement.ActionRuleByName("actionRuleByName", new()
    {
        ActionRuleName = "DailySuppression",
        Location = "Global",
        Properties = new AzureNative.AlertsManagement.Inputs.SuppressionArgs
        {
            Conditions = new AzureNative.AlertsManagement.Inputs.ConditionsArgs
            {
                MonitorCondition = new AzureNative.AlertsManagement.Inputs.ConditionArgs
                {
                    Operator = "Equals",
                    Values = new[]
                    {
                        "Fired",
                    },
                },
                MonitorService = new AzureNative.AlertsManagement.Inputs.ConditionArgs
                {
                    Operator = "Equals",
                    Values = new[]
                    {
                        "Platform",
                        "Application Insights",
                    },
                },
                Severity = new AzureNative.AlertsManagement.Inputs.ConditionArgs
                {
                    Operator = "Equals",
                    Values = new[]
                    {
                        "Sev0",
                        "Sev2",
                    },
                },
                TargetResourceType = new AzureNative.AlertsManagement.Inputs.ConditionArgs
                {
                    Operator = "NotEquals",
                    Values = new[]
                    {
                        "Microsoft.Compute/VirtualMachines",
                    },
                },
            },
            Description = "Action rule on resource group for daily suppression",
            Scope = new AzureNative.AlertsManagement.Inputs.ScopeArgs
            {
                ScopeType = "ResourceGroup",
                Values = new[]
                {
                    "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg",
                },
            },
            Status = "Enabled",
            SuppressionConfig = new AzureNative.AlertsManagement.Inputs.SuppressionConfigArgs
            {
                RecurrenceType = "Daily",
                Schedule = new AzureNative.AlertsManagement.Inputs.SuppressionScheduleArgs
                {
                    EndDate = "12/18/2018",
                    EndTime = "14:00:00",
                    StartDate = "12/09/2018",
                    StartTime = "06:00:00",
                },
            },
            Type = "Suppression",
        },
        ResourceGroupName = "alertscorrelationrg",
        Tags = null,
    });

});
Copy
package main

import (
	alertsmanagement "github.com/pulumi/pulumi-azure-native-sdk/alertsmanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := alertsmanagement.NewActionRuleByName(ctx, "actionRuleByName", &alertsmanagement.ActionRuleByNameArgs{
			ActionRuleName: pulumi.String("DailySuppression"),
			Location:       pulumi.String("Global"),
			Properties: alertsmanagement.Suppression{
				Conditions: alertsmanagement.Conditions{
					MonitorCondition: alertsmanagement.Condition{
						Operator: "Equals",
						Values: []string{
							"Fired",
						},
					},
					MonitorService: alertsmanagement.Condition{
						Operator: "Equals",
						Values: []string{
							"Platform",
							"Application Insights",
						},
					},
					Severity: alertsmanagement.Condition{
						Operator: "Equals",
						Values: []string{
							"Sev0",
							"Sev2",
						},
					},
					TargetResourceType: alertsmanagement.Condition{
						Operator: "NotEquals",
						Values: []string{
							"Microsoft.Compute/VirtualMachines",
						},
					},
				},
				Description: "Action rule on resource group for daily suppression",
				Scope: alertsmanagement.Scope{
					ScopeType: "ResourceGroup",
					Values: []string{
						"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg",
					},
				},
				Status: "Enabled",
				SuppressionConfig: alertsmanagement.SuppressionConfig{
					RecurrenceType: "Daily",
					Schedule: alertsmanagement.SuppressionSchedule{
						EndDate:   "12/18/2018",
						EndTime:   "14:00:00",
						StartDate: "12/09/2018",
						StartTime: "06:00:00",
					},
				},
				Type: "Suppression",
			},
			ResourceGroupName: pulumi.String("alertscorrelationrg"),
			Tags:              nil,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.alertsmanagement.ActionRuleByName;
import com.pulumi.azurenative.alertsmanagement.ActionRuleByNameArgs;
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 actionRuleByName = new ActionRuleByName("actionRuleByName", ActionRuleByNameArgs.builder()        
            .actionRuleName("DailySuppression")
            .location("Global")
            .properties(Map.ofEntries(
                Map.entry("conditions", Map.ofEntries(
                    Map.entry("monitorCondition", Map.ofEntries(
                        Map.entry("operator", "Equals"),
                        Map.entry("values", "Fired")
                    )),
                    Map.entry("monitorService", Map.ofEntries(
                        Map.entry("operator", "Equals"),
                        Map.entry("values",                         
                            "Platform",
                            "Application Insights")
                    )),
                    Map.entry("severity", Map.ofEntries(
                        Map.entry("operator", "Equals"),
                        Map.entry("values",                         
                            "Sev0",
                            "Sev2")
                    )),
                    Map.entry("targetResourceType", Map.ofEntries(
                        Map.entry("operator", "NotEquals"),
                        Map.entry("values", "Microsoft.Compute/VirtualMachines")
                    ))
                )),
                Map.entry("description", "Action rule on resource group for daily suppression"),
                Map.entry("scope", Map.ofEntries(
                    Map.entry("scopeType", "ResourceGroup"),
                    Map.entry("values", "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg")
                )),
                Map.entry("status", "Enabled"),
                Map.entry("suppressionConfig", Map.ofEntries(
                    Map.entry("recurrenceType", "Daily"),
                    Map.entry("schedule", Map.ofEntries(
                        Map.entry("endDate", "12/18/2018"),
                        Map.entry("endTime", "14:00:00"),
                        Map.entry("startDate", "12/09/2018"),
                        Map.entry("startTime", "06:00:00")
                    ))
                )),
                Map.entry("type", "Suppression")
            ))
            .resourceGroupName("alertscorrelationrg")
            .tags()
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const actionRuleByName = new azure_native.alertsmanagement.ActionRuleByName("actionRuleByName", {
    actionRuleName: "DailySuppression",
    location: "Global",
    properties: {
        conditions: {
            monitorCondition: {
                operator: "Equals",
                values: ["Fired"],
            },
            monitorService: {
                operator: "Equals",
                values: [
                    "Platform",
                    "Application Insights",
                ],
            },
            severity: {
                operator: "Equals",
                values: [
                    "Sev0",
                    "Sev2",
                ],
            },
            targetResourceType: {
                operator: "NotEquals",
                values: ["Microsoft.Compute/VirtualMachines"],
            },
        },
        description: "Action rule on resource group for daily suppression",
        scope: {
            scopeType: "ResourceGroup",
            values: ["/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg"],
        },
        status: "Enabled",
        suppressionConfig: {
            recurrenceType: "Daily",
            schedule: {
                endDate: "12/18/2018",
                endTime: "14:00:00",
                startDate: "12/09/2018",
                startTime: "06:00:00",
            },
        },
        type: "Suppression",
    },
    resourceGroupName: "alertscorrelationrg",
    tags: {},
});
Copy
import pulumi
import pulumi_azure_native as azure_native

action_rule_by_name = azure_native.alertsmanagement.ActionRuleByName("actionRuleByName",
    action_rule_name="DailySuppression",
    location="Global",
    properties=azure_native.alertsmanagement.SuppressionArgs(
        conditions=azure_native.alertsmanagement.ConditionsArgs(
            monitor_condition=azure_native.alertsmanagement.ConditionArgs(
                operator="Equals",
                values=["Fired"],
            ),
            monitor_service=azure_native.alertsmanagement.ConditionArgs(
                operator="Equals",
                values=[
                    "Platform",
                    "Application Insights",
                ],
            ),
            severity=azure_native.alertsmanagement.ConditionArgs(
                operator="Equals",
                values=[
                    "Sev0",
                    "Sev2",
                ],
            ),
            target_resource_type=azure_native.alertsmanagement.ConditionArgs(
                operator="NotEquals",
                values=["Microsoft.Compute/VirtualMachines"],
            ),
        ),
        description="Action rule on resource group for daily suppression",
        scope=azure_native.alertsmanagement.ScopeArgs(
            scope_type="ResourceGroup",
            values=["/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg"],
        ),
        status="Enabled",
        suppression_config=azure_native.alertsmanagement.SuppressionConfigArgs(
            recurrence_type="Daily",
            schedule=azure_native.alertsmanagement.SuppressionScheduleArgs(
                end_date="12/18/2018",
                end_time="14:00:00",
                start_date="12/09/2018",
                start_time="06:00:00",
            ),
        ),
        type="Suppression",
    ),
    resource_group_name="alertscorrelationrg",
    tags={})
Copy
resources:
  actionRuleByName:
    type: azure-native:alertsmanagement:ActionRuleByName
    properties:
      actionRuleName: DailySuppression
      location: Global
      properties:
        conditions:
          monitorCondition:
            operator: Equals
            values:
              - Fired
          monitorService:
            operator: Equals
            values:
              - Platform
              - Application Insights
          severity:
            operator: Equals
            values:
              - Sev0
              - Sev2
          targetResourceType:
            operator: NotEquals
            values:
              - Microsoft.Compute/VirtualMachines
        description: Action rule on resource group for daily suppression
        scope:
          scopeType: ResourceGroup
          values:
            - /subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg
        status: Enabled
        suppressionConfig:
          recurrenceType: Daily
          schedule:
            endDate: 12/18/2018
            endTime: 14:00:00
            startDate: 12/09/2018
            startTime: 06:00:00
        type: Suppression
      resourceGroupName: alertscorrelationrg
      tags: {}
Copy

Create ActionRuleByName Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ActionRuleByName(name: string, args: ActionRuleByNameArgs, opts?: CustomResourceOptions);
@overload
def ActionRuleByName(resource_name: str,
                     args: ActionRuleByNameArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def ActionRuleByName(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     resource_group_name: Optional[str] = None,
                     action_rule_name: Optional[str] = None,
                     location: Optional[str] = None,
                     properties: Optional[Union[ActionGroupArgs, DiagnosticsArgs, SuppressionArgs]] = None,
                     tags: Optional[Mapping[str, str]] = None)
func NewActionRuleByName(ctx *Context, name string, args ActionRuleByNameArgs, opts ...ResourceOption) (*ActionRuleByName, error)
public ActionRuleByName(string name, ActionRuleByNameArgs args, CustomResourceOptions? opts = null)
public ActionRuleByName(String name, ActionRuleByNameArgs args)
public ActionRuleByName(String name, ActionRuleByNameArgs args, CustomResourceOptions options)
type: azure-native:alertsmanagement:ActionRuleByName
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ActionRuleByNameArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ActionRuleByNameArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ActionRuleByNameArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ActionRuleByNameArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ActionRuleByNameArgs
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 actionRuleByNameResource = new AzureNative.Alertsmanagement.ActionRuleByName("actionRuleByNameResource", new()
{
    ResourceGroupName = "string",
    ActionRuleName = "string",
    Location = "string",
    Properties = 
    {
        { "actionGroupId", "string" },
        { "type", "ActionGroup" },
        { "conditions", 
        {
            { "alertContext", 
            {
                { "operator", "string" },
                { "values", new[]
                {
                    "string",
                } },
            } },
            { "alertRuleId", 
            {
                { "operator", "string" },
                { "values", new[]
                {
                    "string",
                } },
            } },
            { "alertRuleName", 
            {
                { "operator", "string" },
                { "values", new[]
                {
                    "string",
                } },
            } },
            { "description", 
            {
                { "operator", "string" },
                { "values", new[]
                {
                    "string",
                } },
            } },
            { "monitorCondition", 
            {
                { "operator", "string" },
                { "values", new[]
                {
                    "string",
                } },
            } },
            { "monitorService", 
            {
                { "operator", "string" },
                { "values", new[]
                {
                    "string",
                } },
            } },
            { "severity", 
            {
                { "operator", "string" },
                { "values", new[]
                {
                    "string",
                } },
            } },
            { "targetResourceType", 
            {
                { "operator", "string" },
                { "values", new[]
                {
                    "string",
                } },
            } },
        } },
        { "description", "string" },
        { "scope", 
        {
            { "scopeType", "string" },
            { "values", new[]
            {
                "string",
            } },
        } },
        { "status", "string" },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := alertsmanagement.NewActionRuleByName(ctx, "actionRuleByNameResource", &alertsmanagement.ActionRuleByNameArgs{
	ResourceGroupName: "string",
	ActionRuleName:    "string",
	Location:          "string",
	Properties: map[string]interface{}{
		"actionGroupId": "string",
		"type":          "ActionGroup",
		"conditions": map[string]interface{}{
			"alertContext": map[string]interface{}{
				"operator": "string",
				"values": []string{
					"string",
				},
			},
			"alertRuleId": map[string]interface{}{
				"operator": "string",
				"values": []string{
					"string",
				},
			},
			"alertRuleName": map[string]interface{}{
				"operator": "string",
				"values": []string{
					"string",
				},
			},
			"description": map[string]interface{}{
				"operator": "string",
				"values": []string{
					"string",
				},
			},
			"monitorCondition": map[string]interface{}{
				"operator": "string",
				"values": []string{
					"string",
				},
			},
			"monitorService": map[string]interface{}{
				"operator": "string",
				"values": []string{
					"string",
				},
			},
			"severity": map[string]interface{}{
				"operator": "string",
				"values": []string{
					"string",
				},
			},
			"targetResourceType": map[string]interface{}{
				"operator": "string",
				"values": []string{
					"string",
				},
			},
		},
		"description": "string",
		"scope": map[string]interface{}{
			"scopeType": "string",
			"values": []string{
				"string",
			},
		},
		"status": "string",
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var actionRuleByNameResource = new ActionRuleByName("actionRuleByNameResource", ActionRuleByNameArgs.builder()
    .resourceGroupName("string")
    .actionRuleName("string")
    .location("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
action_rule_by_name_resource = azure_native.alertsmanagement.ActionRuleByName("actionRuleByNameResource",
    resource_group_name=string,
    action_rule_name=string,
    location=string,
    properties={
        actionGroupId: string,
        type: ActionGroup,
        conditions: {
            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],
            },
            targetResourceType: {
                operator: string,
                values: [string],
            },
        },
        description: string,
        scope: {
            scopeType: string,
            values: [string],
        },
        status: string,
    },
    tags={
        string: string,
    })
Copy
const actionRuleByNameResource = new azure_native.alertsmanagement.ActionRuleByName("actionRuleByNameResource", {
    resourceGroupName: "string",
    actionRuleName: "string",
    location: "string",
    properties: {
        actionGroupId: "string",
        type: "ActionGroup",
        conditions: {
            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"],
            },
            targetResourceType: {
                operator: "string",
                values: ["string"],
            },
        },
        description: "string",
        scope: {
            scopeType: "string",
            values: ["string"],
        },
        status: "string",
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:alertsmanagement:ActionRuleByName
properties:
    actionRuleName: string
    location: string
    properties:
        actionGroupId: string
        conditions:
            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
            targetResourceType:
                operator: string
                values:
                    - string
        description: string
        scope:
            scopeType: string
            values:
                - string
        status: string
        type: ActionGroup
    resourceGroupName: string
    tags:
        string: string
Copy

ActionRuleByName 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 ActionRuleByName resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Resource group name where the resource is created.
ActionRuleName Changes to this property will trigger replacement. string
The name of action rule that needs to be created/updated
Location Changes to this property will trigger replacement. string
Resource location
Properties Pulumi.AzureNative.AlertsManagement.Inputs.ActionGroup | Pulumi.AzureNative.AlertsManagement.Inputs.Diagnostics | Pulumi.AzureNative.AlertsManagement.Inputs.Suppression
action rule properties
Tags Dictionary<string, string>
Resource tags
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Resource group name where the resource is created.
ActionRuleName Changes to this property will trigger replacement. string
The name of action rule that needs to be created/updated
Location Changes to this property will trigger replacement. string
Resource location
Properties ActionGroupArgs | DiagnosticsArgs | SuppressionArgs
action rule properties
Tags map[string]string
Resource tags
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Resource group name where the resource is created.
actionRuleName Changes to this property will trigger replacement. String
The name of action rule that needs to be created/updated
location Changes to this property will trigger replacement. String
Resource location
properties ActionGroup | Diagnostics | Suppression
action rule properties
tags Map<String,String>
Resource tags
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Resource group name where the resource is created.
actionRuleName Changes to this property will trigger replacement. string
The name of action rule that needs to be created/updated
location Changes to this property will trigger replacement. string
Resource location
properties ActionGroup | Diagnostics | Suppression
action rule properties
tags {[key: string]: string}
Resource tags
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Resource group name where the resource is created.
action_rule_name Changes to this property will trigger replacement. str
The name of action rule that needs to be created/updated
location Changes to this property will trigger replacement. str
Resource location
properties ActionGroupArgs | DiagnosticsArgs | SuppressionArgs
action rule properties
tags Mapping[str, str]
Resource tags
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Resource group name where the resource is created.
actionRuleName Changes to this property will trigger replacement. String
The name of action rule that needs to be created/updated
location Changes to this property will trigger replacement. String
Resource location
properties Property Map | Property Map | Property Map
action rule properties
tags Map<String>
Resource tags

Outputs

All input properties are implicitly available as output properties. Additionally, the ActionRuleByName resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
Azure resource name
Type string
Azure resource type
Id string
The provider-assigned unique ID for this managed resource.
Name string
Azure resource name
Type string
Azure resource type
id String
The provider-assigned unique ID for this managed resource.
name String
Azure resource name
type String
Azure resource type
id string
The provider-assigned unique ID for this managed resource.
name string
Azure resource name
type string
Azure resource type
id str
The provider-assigned unique ID for this managed resource.
name str
Azure resource name
type str
Azure resource type
id String
The provider-assigned unique ID for this managed resource.
name String
Azure resource name
type String
Azure resource type

Supporting Types

ActionGroup
, ActionGroupArgs

ActionGroupId This property is required. string
Action group to trigger if action rule matches
Conditions Pulumi.AzureNative.AlertsManagement.Inputs.Conditions
conditions on which alerts will be filtered
Description string
Description of action rule
Scope Pulumi.AzureNative.AlertsManagement.Inputs.Scope
scope on which action rule will apply
Status string | Pulumi.AzureNative.AlertsManagement.ActionRuleStatus
Indicates if the given action rule is enabled or disabled
ActionGroupId This property is required. string
Action group to trigger if action rule matches
Conditions Conditions
conditions on which alerts will be filtered
Description string
Description of action rule
Scope Scope
scope on which action rule will apply
Status string | ActionRuleStatus
Indicates if the given action rule is enabled or disabled
actionGroupId This property is required. String
Action group to trigger if action rule matches
conditions Conditions
conditions on which alerts will be filtered
description String
Description of action rule
scope Scope
scope on which action rule will apply
status String | ActionRuleStatus
Indicates if the given action rule is enabled or disabled
actionGroupId This property is required. string
Action group to trigger if action rule matches
conditions Conditions
conditions on which alerts will be filtered
description string
Description of action rule
scope Scope
scope on which action rule will apply
status string | ActionRuleStatus
Indicates if the given action rule is enabled or disabled
action_group_id This property is required. str
Action group to trigger if action rule matches
conditions Conditions
conditions on which alerts will be filtered
description str
Description of action rule
scope Scope
scope on which action rule will apply
status str | ActionRuleStatus
Indicates if the given action rule is enabled or disabled
actionGroupId This property is required. String
Action group to trigger if action rule matches
conditions Property Map
conditions on which alerts will be filtered
description String
Description of action rule
scope Property Map
scope on which action rule will apply
status String | "Enabled" | "Disabled"
Indicates if the given action rule is enabled or disabled

ActionGroupResponse
, ActionGroupResponseArgs

ActionGroupId This property is required. string
Action group to trigger if action rule matches
CreatedAt This property is required. string
Creation time of action rule. Date-Time in ISO-8601 format.
CreatedBy This property is required. string
Created by user name.
LastModifiedAt This property is required. string
Last updated time of action rule. Date-Time in ISO-8601 format.
LastModifiedBy This property is required. string
Last modified by user name.
Conditions Pulumi.AzureNative.AlertsManagement.Inputs.ConditionsResponse
conditions on which alerts will be filtered
Description string
Description of action rule
Scope Pulumi.AzureNative.AlertsManagement.Inputs.ScopeResponse
scope on which action rule will apply
Status string
Indicates if the given action rule is enabled or disabled
ActionGroupId This property is required. string
Action group to trigger if action rule matches
CreatedAt This property is required. string
Creation time of action rule. Date-Time in ISO-8601 format.
CreatedBy This property is required. string
Created by user name.
LastModifiedAt This property is required. string
Last updated time of action rule. Date-Time in ISO-8601 format.
LastModifiedBy This property is required. string
Last modified by user name.
Conditions ConditionsResponse
conditions on which alerts will be filtered
Description string
Description of action rule
Scope ScopeResponse
scope on which action rule will apply
Status string
Indicates if the given action rule is enabled or disabled
actionGroupId This property is required. String
Action group to trigger if action rule matches
createdAt This property is required. String
Creation time of action rule. Date-Time in ISO-8601 format.
createdBy This property is required. String
Created by user name.
lastModifiedAt This property is required. String
Last updated time of action rule. Date-Time in ISO-8601 format.
lastModifiedBy This property is required. String
Last modified by user name.
conditions ConditionsResponse
conditions on which alerts will be filtered
description String
Description of action rule
scope ScopeResponse
scope on which action rule will apply
status String
Indicates if the given action rule is enabled or disabled
actionGroupId This property is required. string
Action group to trigger if action rule matches
createdAt This property is required. string
Creation time of action rule. Date-Time in ISO-8601 format.
createdBy This property is required. string
Created by user name.
lastModifiedAt This property is required. string
Last updated time of action rule. Date-Time in ISO-8601 format.
lastModifiedBy This property is required. string
Last modified by user name.
conditions ConditionsResponse
conditions on which alerts will be filtered
description string
Description of action rule
scope ScopeResponse
scope on which action rule will apply
status string
Indicates if the given action rule is enabled or disabled
action_group_id This property is required. str
Action group to trigger if action rule matches
created_at This property is required. str
Creation time of action rule. Date-Time in ISO-8601 format.
created_by This property is required. str
Created by user name.
last_modified_at This property is required. str
Last updated time of action rule. Date-Time in ISO-8601 format.
last_modified_by This property is required. str
Last modified by user name.
conditions ConditionsResponse
conditions on which alerts will be filtered
description str
Description of action rule
scope ScopeResponse
scope on which action rule will apply
status str
Indicates if the given action rule is enabled or disabled
actionGroupId This property is required. String
Action group to trigger if action rule matches
createdAt This property is required. String
Creation time of action rule. Date-Time in ISO-8601 format.
createdBy This property is required. String
Created by user name.
lastModifiedAt This property is required. String
Last updated time of action rule. Date-Time in ISO-8601 format.
lastModifiedBy This property is required. String
Last modified by user name.
conditions Property Map
conditions on which alerts will be filtered
description String
Description of action rule
scope Property Map
scope on which action rule will apply
status String
Indicates if the given action rule is enabled or disabled

ActionRuleStatus
, ActionRuleStatusArgs

Enabled
Enabled
Disabled
Disabled
ActionRuleStatusEnabled
Enabled
ActionRuleStatusDisabled
Disabled
Enabled
Enabled
Disabled
Disabled
Enabled
Enabled
Disabled
Disabled
ENABLED
Enabled
DISABLED
Disabled
"Enabled"
Enabled
"Disabled"
Disabled

Condition
, ConditionArgs

Operator string | Pulumi.AzureNative.AlertsManagement.Operator
operator for a given condition
Values List<string>
list of values to match for a given condition.
Operator string | Operator
operator for a given condition
Values []string
list of values to match for a given condition.
operator String | Operator
operator for a given condition
values List<String>
list of values to match for a given condition.
operator string | Operator
operator for a given condition
values string[]
list of values to match for a given condition.
operator str | Operator
operator for a given condition
values Sequence[str]
list of values to match for a given condition.
operator String | "Equals" | "NotEquals" | "Contains" | "DoesNotContain"
operator for a given condition
values List<String>
list of values to match for a given condition.

ConditionResponse
, ConditionResponseArgs

Operator string
operator for a given condition
Values List<string>
list of values to match for a given condition.
Operator string
operator for a given condition
Values []string
list of values to match for a given condition.
operator String
operator for a given condition
values List<String>
list of values to match for a given condition.
operator string
operator for a given condition
values string[]
list of values to match for a given condition.
operator str
operator for a given condition
values Sequence[str]
list of values to match for a given condition.
operator String
operator for a given condition
values List<String>
list of values to match for a given condition.

Conditions
, ConditionsArgs

AlertContext Condition
filter alerts by alert context (payload)
AlertRuleId Condition
filter alerts by alert rule id
AlertRuleName Condition
filter alerts by alert rule name
Description Condition
filter alerts by alert rule description
MonitorCondition Condition
filter alerts by monitor condition
MonitorService Condition
filter alerts by monitor service
Severity Condition
filter alerts by severity
TargetResourceType Condition
filter alerts by target resource type
alertContext Condition
filter alerts by alert context (payload)
alertRuleId Condition
filter alerts by alert rule id
alertRuleName Condition
filter alerts by alert rule name
description Condition
filter alerts by alert rule description
monitorCondition Condition
filter alerts by monitor condition
monitorService Condition
filter alerts by monitor service
severity Condition
filter alerts by severity
targetResourceType Condition
filter alerts by target resource type
alertContext Condition
filter alerts by alert context (payload)
alertRuleId Condition
filter alerts by alert rule id
alertRuleName Condition
filter alerts by alert rule name
description Condition
filter alerts by alert rule description
monitorCondition Condition
filter alerts by monitor condition
monitorService Condition
filter alerts by monitor service
severity Condition
filter alerts by severity
targetResourceType Condition
filter alerts by target resource type
alert_context Condition
filter alerts by alert context (payload)
alert_rule_id Condition
filter alerts by alert rule id
alert_rule_name Condition
filter alerts by alert rule name
description Condition
filter alerts by alert rule description
monitor_condition Condition
filter alerts by monitor condition
monitor_service Condition
filter alerts by monitor service
severity Condition
filter alerts by severity
target_resource_type Condition
filter alerts by target resource type
alertContext Property Map
filter alerts by alert context (payload)
alertRuleId Property Map
filter alerts by alert rule id
alertRuleName Property Map
filter alerts by alert rule name
description Property Map
filter alerts by alert rule description
monitorCondition Property Map
filter alerts by monitor condition
monitorService Property Map
filter alerts by monitor service
severity Property Map
filter alerts by severity
targetResourceType Property Map
filter alerts by target resource type

ConditionsResponse
, ConditionsResponseArgs

AlertContext Pulumi.AzureNative.AlertsManagement.Inputs.ConditionResponse
filter alerts by alert context (payload)
AlertRuleId Pulumi.AzureNative.AlertsManagement.Inputs.ConditionResponse
filter alerts by alert rule id
AlertRuleName Pulumi.AzureNative.AlertsManagement.Inputs.ConditionResponse
filter alerts by alert rule name
Description Pulumi.AzureNative.AlertsManagement.Inputs.ConditionResponse
filter alerts by alert rule description
MonitorCondition Pulumi.AzureNative.AlertsManagement.Inputs.ConditionResponse
filter alerts by monitor condition
MonitorService Pulumi.AzureNative.AlertsManagement.Inputs.ConditionResponse
filter alerts by monitor service
Severity Pulumi.AzureNative.AlertsManagement.Inputs.ConditionResponse
filter alerts by severity
TargetResourceType Pulumi.AzureNative.AlertsManagement.Inputs.ConditionResponse
filter alerts by target resource type
AlertContext ConditionResponse
filter alerts by alert context (payload)
AlertRuleId ConditionResponse
filter alerts by alert rule id
AlertRuleName ConditionResponse
filter alerts by alert rule name
Description ConditionResponse
filter alerts by alert rule description
MonitorCondition ConditionResponse
filter alerts by monitor condition
MonitorService ConditionResponse
filter alerts by monitor service
Severity ConditionResponse
filter alerts by severity
TargetResourceType ConditionResponse
filter alerts by target resource type
alertContext ConditionResponse
filter alerts by alert context (payload)
alertRuleId ConditionResponse
filter alerts by alert rule id
alertRuleName ConditionResponse
filter alerts by alert rule name
description ConditionResponse
filter alerts by alert rule description
monitorCondition ConditionResponse
filter alerts by monitor condition
monitorService ConditionResponse
filter alerts by monitor service
severity ConditionResponse
filter alerts by severity
targetResourceType ConditionResponse
filter alerts by target resource type
alertContext ConditionResponse
filter alerts by alert context (payload)
alertRuleId ConditionResponse
filter alerts by alert rule id
alertRuleName ConditionResponse
filter alerts by alert rule name
description ConditionResponse
filter alerts by alert rule description
monitorCondition ConditionResponse
filter alerts by monitor condition
monitorService ConditionResponse
filter alerts by monitor service
severity ConditionResponse
filter alerts by severity
targetResourceType ConditionResponse
filter alerts by target resource type
alert_context ConditionResponse
filter alerts by alert context (payload)
alert_rule_id ConditionResponse
filter alerts by alert rule id
alert_rule_name ConditionResponse
filter alerts by alert rule name
description ConditionResponse
filter alerts by alert rule description
monitor_condition ConditionResponse
filter alerts by monitor condition
monitor_service ConditionResponse
filter alerts by monitor service
severity ConditionResponse
filter alerts by severity
target_resource_type ConditionResponse
filter alerts by target resource type
alertContext Property Map
filter alerts by alert context (payload)
alertRuleId Property Map
filter alerts by alert rule id
alertRuleName Property Map
filter alerts by alert rule name
description Property Map
filter alerts by alert rule description
monitorCondition Property Map
filter alerts by monitor condition
monitorService Property Map
filter alerts by monitor service
severity Property Map
filter alerts by severity
targetResourceType Property Map
filter alerts by target resource type

Diagnostics
, DiagnosticsArgs

Conditions Pulumi.AzureNative.AlertsManagement.Inputs.Conditions
conditions on which alerts will be filtered
Description string
Description of action rule
Scope Pulumi.AzureNative.AlertsManagement.Inputs.Scope
scope on which action rule will apply
Status string | Pulumi.AzureNative.AlertsManagement.ActionRuleStatus
Indicates if the given action rule is enabled or disabled
Conditions Conditions
conditions on which alerts will be filtered
Description string
Description of action rule
Scope Scope
scope on which action rule will apply
Status string | ActionRuleStatus
Indicates if the given action rule is enabled or disabled
conditions Conditions
conditions on which alerts will be filtered
description String
Description of action rule
scope Scope
scope on which action rule will apply
status String | ActionRuleStatus
Indicates if the given action rule is enabled or disabled
conditions Conditions
conditions on which alerts will be filtered
description string
Description of action rule
scope Scope
scope on which action rule will apply
status string | ActionRuleStatus
Indicates if the given action rule is enabled or disabled
conditions Conditions
conditions on which alerts will be filtered
description str
Description of action rule
scope Scope
scope on which action rule will apply
status str | ActionRuleStatus
Indicates if the given action rule is enabled or disabled
conditions Property Map
conditions on which alerts will be filtered
description String
Description of action rule
scope Property Map
scope on which action rule will apply
status String | "Enabled" | "Disabled"
Indicates if the given action rule is enabled or disabled

DiagnosticsResponse
, DiagnosticsResponseArgs

CreatedAt This property is required. string
Creation time of action rule. Date-Time in ISO-8601 format.
CreatedBy This property is required. string
Created by user name.
LastModifiedAt This property is required. string
Last updated time of action rule. Date-Time in ISO-8601 format.
LastModifiedBy This property is required. string
Last modified by user name.
Conditions Pulumi.AzureNative.AlertsManagement.Inputs.ConditionsResponse
conditions on which alerts will be filtered
Description string
Description of action rule
Scope Pulumi.AzureNative.AlertsManagement.Inputs.ScopeResponse
scope on which action rule will apply
Status string
Indicates if the given action rule is enabled or disabled
CreatedAt This property is required. string
Creation time of action rule. Date-Time in ISO-8601 format.
CreatedBy This property is required. string
Created by user name.
LastModifiedAt This property is required. string
Last updated time of action rule. Date-Time in ISO-8601 format.
LastModifiedBy This property is required. string
Last modified by user name.
Conditions ConditionsResponse
conditions on which alerts will be filtered
Description string
Description of action rule
Scope ScopeResponse
scope on which action rule will apply
Status string
Indicates if the given action rule is enabled or disabled
createdAt This property is required. String
Creation time of action rule. Date-Time in ISO-8601 format.
createdBy This property is required. String
Created by user name.
lastModifiedAt This property is required. String
Last updated time of action rule. Date-Time in ISO-8601 format.
lastModifiedBy This property is required. String
Last modified by user name.
conditions ConditionsResponse
conditions on which alerts will be filtered
description String
Description of action rule
scope ScopeResponse
scope on which action rule will apply
status String
Indicates if the given action rule is enabled or disabled
createdAt This property is required. string
Creation time of action rule. Date-Time in ISO-8601 format.
createdBy This property is required. string
Created by user name.
lastModifiedAt This property is required. string
Last updated time of action rule. Date-Time in ISO-8601 format.
lastModifiedBy This property is required. string
Last modified by user name.
conditions ConditionsResponse
conditions on which alerts will be filtered
description string
Description of action rule
scope ScopeResponse
scope on which action rule will apply
status string
Indicates if the given action rule is enabled or disabled
created_at This property is required. str
Creation time of action rule. Date-Time in ISO-8601 format.
created_by This property is required. str
Created by user name.
last_modified_at This property is required. str
Last updated time of action rule. Date-Time in ISO-8601 format.
last_modified_by This property is required. str
Last modified by user name.
conditions ConditionsResponse
conditions on which alerts will be filtered
description str
Description of action rule
scope ScopeResponse
scope on which action rule will apply
status str
Indicates if the given action rule is enabled or disabled
createdAt This property is required. String
Creation time of action rule. Date-Time in ISO-8601 format.
createdBy This property is required. String
Created by user name.
lastModifiedAt This property is required. String
Last updated time of action rule. Date-Time in ISO-8601 format.
lastModifiedBy This property is required. String
Last modified by user name.
conditions Property Map
conditions on which alerts will be filtered
description String
Description of action rule
scope Property Map
scope on which action rule will apply
status String
Indicates if the given action rule is enabled or disabled

Operator
, OperatorArgs

EqualsValue
Equals
NotEquals
NotEquals
Contains
Contains
DoesNotContain
DoesNotContain
OperatorEquals
Equals
OperatorNotEquals
NotEquals
OperatorContains
Contains
OperatorDoesNotContain
DoesNotContain
Equals
Equals
NotEquals
NotEquals
Contains
Contains
DoesNotContain
DoesNotContain
Equals
Equals
NotEquals
NotEquals
Contains
Contains
DoesNotContain
DoesNotContain
EQUALS
Equals
NOT_EQUALS
NotEquals
CONTAINS
Contains
DOES_NOT_CONTAIN
DoesNotContain
"Equals"
Equals
"NotEquals"
NotEquals
"Contains"
Contains
"DoesNotContain"
DoesNotContain

Scope
, ScopeArgs

ScopeType string | Pulumi.AzureNative.AlertsManagement.ScopeType
type of target scope
Values List<string>
list of ARM IDs of the given scope type which will be the target of the given action rule.
ScopeType string | ScopeType
type of target scope
Values []string
list of ARM IDs of the given scope type which will be the target of the given action rule.
scopeType String | ScopeType
type of target scope
values List<String>
list of ARM IDs of the given scope type which will be the target of the given action rule.
scopeType string | ScopeType
type of target scope
values string[]
list of ARM IDs of the given scope type which will be the target of the given action rule.
scope_type str | ScopeType
type of target scope
values Sequence[str]
list of ARM IDs of the given scope type which will be the target of the given action rule.
scopeType String | "ResourceGroup" | "Resource" | "Subscription"
type of target scope
values List<String>
list of ARM IDs of the given scope type which will be the target of the given action rule.

ScopeResponse
, ScopeResponseArgs

ScopeType string
type of target scope
Values List<string>
list of ARM IDs of the given scope type which will be the target of the given action rule.
ScopeType string
type of target scope
Values []string
list of ARM IDs of the given scope type which will be the target of the given action rule.
scopeType String
type of target scope
values List<String>
list of ARM IDs of the given scope type which will be the target of the given action rule.
scopeType string
type of target scope
values string[]
list of ARM IDs of the given scope type which will be the target of the given action rule.
scope_type str
type of target scope
values Sequence[str]
list of ARM IDs of the given scope type which will be the target of the given action rule.
scopeType String
type of target scope
values List<String>
list of ARM IDs of the given scope type which will be the target of the given action rule.

ScopeType
, ScopeTypeArgs

ResourceGroup
ResourceGroup
Resource
Resource
Subscription
Subscription
ScopeTypeResourceGroup
ResourceGroup
ScopeTypeResource
Resource
ScopeTypeSubscription
Subscription
ResourceGroup
ResourceGroup
Resource
Resource
Subscription
Subscription
ResourceGroup
ResourceGroup
Resource
Resource
Subscription
Subscription
RESOURCE_GROUP
ResourceGroup
RESOURCE
Resource
SUBSCRIPTION
Subscription
"ResourceGroup"
ResourceGroup
"Resource"
Resource
"Subscription"
Subscription

Suppression
, SuppressionArgs

SuppressionConfig This property is required. Pulumi.AzureNative.AlertsManagement.Inputs.SuppressionConfig
suppression configuration for the action rule
Conditions Pulumi.AzureNative.AlertsManagement.Inputs.Conditions
conditions on which alerts will be filtered
Description string
Description of action rule
Scope Pulumi.AzureNative.AlertsManagement.Inputs.Scope
scope on which action rule will apply
Status string | Pulumi.AzureNative.AlertsManagement.ActionRuleStatus
Indicates if the given action rule is enabled or disabled
SuppressionConfig This property is required. SuppressionConfig
suppression configuration for the action rule
Conditions Conditions
conditions on which alerts will be filtered
Description string
Description of action rule
Scope Scope
scope on which action rule will apply
Status string | ActionRuleStatus
Indicates if the given action rule is enabled or disabled
suppressionConfig This property is required. SuppressionConfig
suppression configuration for the action rule
conditions Conditions
conditions on which alerts will be filtered
description String
Description of action rule
scope Scope
scope on which action rule will apply
status String | ActionRuleStatus
Indicates if the given action rule is enabled or disabled
suppressionConfig This property is required. SuppressionConfig
suppression configuration for the action rule
conditions Conditions
conditions on which alerts will be filtered
description string
Description of action rule
scope Scope
scope on which action rule will apply
status string | ActionRuleStatus
Indicates if the given action rule is enabled or disabled
suppression_config This property is required. SuppressionConfig
suppression configuration for the action rule
conditions Conditions
conditions on which alerts will be filtered
description str
Description of action rule
scope Scope
scope on which action rule will apply
status str | ActionRuleStatus
Indicates if the given action rule is enabled or disabled
suppressionConfig This property is required. Property Map
suppression configuration for the action rule
conditions Property Map
conditions on which alerts will be filtered
description String
Description of action rule
scope Property Map
scope on which action rule will apply
status String | "Enabled" | "Disabled"
Indicates if the given action rule is enabled or disabled

SuppressionConfig
, SuppressionConfigArgs

RecurrenceType This property is required. string | Pulumi.AzureNative.AlertsManagement.SuppressionType
Specifies when the suppression should be applied
Schedule Pulumi.AzureNative.AlertsManagement.Inputs.SuppressionSchedule
suppression schedule configuration
RecurrenceType This property is required. string | SuppressionType
Specifies when the suppression should be applied
Schedule SuppressionSchedule
suppression schedule configuration
recurrenceType This property is required. String | SuppressionType
Specifies when the suppression should be applied
schedule SuppressionSchedule
suppression schedule configuration
recurrenceType This property is required. string | SuppressionType
Specifies when the suppression should be applied
schedule SuppressionSchedule
suppression schedule configuration
recurrence_type This property is required. str | SuppressionType
Specifies when the suppression should be applied
schedule SuppressionSchedule
suppression schedule configuration
recurrenceType This property is required. String | "Always" | "Once" | "Daily" | "Weekly" | "Monthly"
Specifies when the suppression should be applied
schedule Property Map
suppression schedule configuration

SuppressionConfigResponse
, SuppressionConfigResponseArgs

RecurrenceType This property is required. string
Specifies when the suppression should be applied
Schedule Pulumi.AzureNative.AlertsManagement.Inputs.SuppressionScheduleResponse
suppression schedule configuration
RecurrenceType This property is required. string
Specifies when the suppression should be applied
Schedule SuppressionScheduleResponse
suppression schedule configuration
recurrenceType This property is required. String
Specifies when the suppression should be applied
schedule SuppressionScheduleResponse
suppression schedule configuration
recurrenceType This property is required. string
Specifies when the suppression should be applied
schedule SuppressionScheduleResponse
suppression schedule configuration
recurrence_type This property is required. str
Specifies when the suppression should be applied
schedule SuppressionScheduleResponse
suppression schedule configuration
recurrenceType This property is required. String
Specifies when the suppression should be applied
schedule Property Map
suppression schedule configuration

SuppressionResponse
, SuppressionResponseArgs

CreatedAt This property is required. string
Creation time of action rule. Date-Time in ISO-8601 format.
CreatedBy This property is required. string
Created by user name.
LastModifiedAt This property is required. string
Last updated time of action rule. Date-Time in ISO-8601 format.
LastModifiedBy This property is required. string
Last modified by user name.
SuppressionConfig This property is required. Pulumi.AzureNative.AlertsManagement.Inputs.SuppressionConfigResponse
suppression configuration for the action rule
Conditions Pulumi.AzureNative.AlertsManagement.Inputs.ConditionsResponse
conditions on which alerts will be filtered
Description string
Description of action rule
Scope Pulumi.AzureNative.AlertsManagement.Inputs.ScopeResponse
scope on which action rule will apply
Status string
Indicates if the given action rule is enabled or disabled
CreatedAt This property is required. string
Creation time of action rule. Date-Time in ISO-8601 format.
CreatedBy This property is required. string
Created by user name.
LastModifiedAt This property is required. string
Last updated time of action rule. Date-Time in ISO-8601 format.
LastModifiedBy This property is required. string
Last modified by user name.
SuppressionConfig This property is required. SuppressionConfigResponse
suppression configuration for the action rule
Conditions ConditionsResponse
conditions on which alerts will be filtered
Description string
Description of action rule
Scope ScopeResponse
scope on which action rule will apply
Status string
Indicates if the given action rule is enabled or disabled
createdAt This property is required. String
Creation time of action rule. Date-Time in ISO-8601 format.
createdBy This property is required. String
Created by user name.
lastModifiedAt This property is required. String
Last updated time of action rule. Date-Time in ISO-8601 format.
lastModifiedBy This property is required. String
Last modified by user name.
suppressionConfig This property is required. SuppressionConfigResponse
suppression configuration for the action rule
conditions ConditionsResponse
conditions on which alerts will be filtered
description String
Description of action rule
scope ScopeResponse
scope on which action rule will apply
status String
Indicates if the given action rule is enabled or disabled
createdAt This property is required. string
Creation time of action rule. Date-Time in ISO-8601 format.
createdBy This property is required. string
Created by user name.
lastModifiedAt This property is required. string
Last updated time of action rule. Date-Time in ISO-8601 format.
lastModifiedBy This property is required. string
Last modified by user name.
suppressionConfig This property is required. SuppressionConfigResponse
suppression configuration for the action rule
conditions ConditionsResponse
conditions on which alerts will be filtered
description string
Description of action rule
scope ScopeResponse
scope on which action rule will apply
status string
Indicates if the given action rule is enabled or disabled
created_at This property is required. str
Creation time of action rule. Date-Time in ISO-8601 format.
created_by This property is required. str
Created by user name.
last_modified_at This property is required. str
Last updated time of action rule. Date-Time in ISO-8601 format.
last_modified_by This property is required. str
Last modified by user name.
suppression_config This property is required. SuppressionConfigResponse
suppression configuration for the action rule
conditions ConditionsResponse
conditions on which alerts will be filtered
description str
Description of action rule
scope ScopeResponse
scope on which action rule will apply
status str
Indicates if the given action rule is enabled or disabled
createdAt This property is required. String
Creation time of action rule. Date-Time in ISO-8601 format.
createdBy This property is required. String
Created by user name.
lastModifiedAt This property is required. String
Last updated time of action rule. Date-Time in ISO-8601 format.
lastModifiedBy This property is required. String
Last modified by user name.
suppressionConfig This property is required. Property Map
suppression configuration for the action rule
conditions Property Map
conditions on which alerts will be filtered
description String
Description of action rule
scope Property Map
scope on which action rule will apply
status String
Indicates if the given action rule is enabled or disabled

SuppressionSchedule
, SuppressionScheduleArgs

EndDate string
End date for suppression
EndTime string
End date for suppression
RecurrenceValues List<int>
Specifies the values for recurrence pattern
StartDate string
Start date for suppression
StartTime string
Start time for suppression
EndDate string
End date for suppression
EndTime string
End date for suppression
RecurrenceValues []int
Specifies the values for recurrence pattern
StartDate string
Start date for suppression
StartTime string
Start time for suppression
endDate String
End date for suppression
endTime String
End date for suppression
recurrenceValues List<Integer>
Specifies the values for recurrence pattern
startDate String
Start date for suppression
startTime String
Start time for suppression
endDate string
End date for suppression
endTime string
End date for suppression
recurrenceValues number[]
Specifies the values for recurrence pattern
startDate string
Start date for suppression
startTime string
Start time for suppression
end_date str
End date for suppression
end_time str
End date for suppression
recurrence_values Sequence[int]
Specifies the values for recurrence pattern
start_date str
Start date for suppression
start_time str
Start time for suppression
endDate String
End date for suppression
endTime String
End date for suppression
recurrenceValues List<Number>
Specifies the values for recurrence pattern
startDate String
Start date for suppression
startTime String
Start time for suppression

SuppressionScheduleResponse
, SuppressionScheduleResponseArgs

EndDate string
End date for suppression
EndTime string
End date for suppression
RecurrenceValues List<int>
Specifies the values for recurrence pattern
StartDate string
Start date for suppression
StartTime string
Start time for suppression
EndDate string
End date for suppression
EndTime string
End date for suppression
RecurrenceValues []int
Specifies the values for recurrence pattern
StartDate string
Start date for suppression
StartTime string
Start time for suppression
endDate String
End date for suppression
endTime String
End date for suppression
recurrenceValues List<Integer>
Specifies the values for recurrence pattern
startDate String
Start date for suppression
startTime String
Start time for suppression
endDate string
End date for suppression
endTime string
End date for suppression
recurrenceValues number[]
Specifies the values for recurrence pattern
startDate string
Start date for suppression
startTime string
Start time for suppression
end_date str
End date for suppression
end_time str
End date for suppression
recurrence_values Sequence[int]
Specifies the values for recurrence pattern
start_date str
Start date for suppression
start_time str
Start time for suppression
endDate String
End date for suppression
endTime String
End date for suppression
recurrenceValues List<Number>
Specifies the values for recurrence pattern
startDate String
Start date for suppression
startTime String
Start time for suppression

SuppressionType
, SuppressionTypeArgs

Always
Always
Once
Once
Daily
Daily
Weekly
Weekly
Monthly
Monthly
SuppressionTypeAlways
Always
SuppressionTypeOnce
Once
SuppressionTypeDaily
Daily
SuppressionTypeWeekly
Weekly
SuppressionTypeMonthly
Monthly
Always
Always
Once
Once
Daily
Daily
Weekly
Weekly
Monthly
Monthly
Always
Always
Once
Once
Daily
Daily
Weekly
Weekly
Monthly
Monthly
ALWAYS
Always
ONCE
Once
DAILY
Daily
WEEKLY
Weekly
MONTHLY
Monthly
"Always"
Always
"Once"
Once
"Daily"
Daily
"Weekly"
Weekly
"Monthly"
Monthly

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:alertsmanagement:ActionRuleByName DailySuppression /subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.AlertsManagement/actionRules/DailySuppression 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v1 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi