azure.monitoring.ActionRuleSuppression

Explore with Pulumi AI

Import

Monitor Action Rule can be imported using the resource id, e.g.

 $ pulumi import azure:monitoring/actionRuleSuppression:ActionRuleSuppression example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AlertsManagement/actionRules/actionRule1

Example Usage

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

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

    var exampleActionRuleSuppression = new Azure.Monitoring.ActionRuleSuppression("exampleActionRuleSuppression", new()
    {
        ResourceGroupName = exampleResourceGroup.Name,
        Scope = new Azure.Monitoring.Inputs.ActionRuleSuppressionScopeArgs
        {
            Type = "ResourceGroup",
            ResourceIds = new[]
            {
                exampleResourceGroup.Id,
            },
        },
        Suppression = new Azure.Monitoring.Inputs.ActionRuleSuppressionSuppressionArgs
        {
            RecurrenceType = "Weekly",
            Schedule = new Azure.Monitoring.Inputs.ActionRuleSuppressionSuppressionScheduleArgs
            {
                StartDateUtc = "2019-01-01T01:02:03Z",
                EndDateUtc = "2019-01-03T15:02:07Z",
                RecurrenceWeeklies = new[]
                {
                    "Sunday",
                    "Monday",
                    "Friday",
                    "Saturday",
                },
            },
        },
        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
		}
		_, err = monitoring.NewActionRuleSuppression(ctx, "exampleActionRuleSuppression", &monitoring.ActionRuleSuppressionArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Scope: &monitoring.ActionRuleSuppressionScopeArgs{
				Type: pulumi.String("ResourceGroup"),
				ResourceIds: pulumi.StringArray{
					exampleResourceGroup.ID(),
				},
			},
			Suppression: &monitoring.ActionRuleSuppressionSuppressionArgs{
				RecurrenceType: pulumi.String("Weekly"),
				Schedule: &monitoring.ActionRuleSuppressionSuppressionScheduleArgs{
					StartDateUtc: pulumi.String("2019-01-01T01:02:03Z"),
					EndDateUtc:   pulumi.String("2019-01-03T15:02:07Z"),
					RecurrenceWeeklies: pulumi.StringArray{
						pulumi.String("Sunday"),
						pulumi.String("Monday"),
						pulumi.String("Friday"),
						pulumi.String("Saturday"),
					},
				},
			},
			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.ActionRuleSuppression;
import com.pulumi.azure.monitoring.ActionRuleSuppressionArgs;
import com.pulumi.azure.monitoring.inputs.ActionRuleSuppressionScopeArgs;
import com.pulumi.azure.monitoring.inputs.ActionRuleSuppressionSuppressionArgs;
import com.pulumi.azure.monitoring.inputs.ActionRuleSuppressionSuppressionScheduleArgs;
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 exampleActionRuleSuppression = new ActionRuleSuppression("exampleActionRuleSuppression", ActionRuleSuppressionArgs.builder()        
            .resourceGroupName(exampleResourceGroup.name())
            .scope(ActionRuleSuppressionScopeArgs.builder()
                .type("ResourceGroup")
                .resourceIds(exampleResourceGroup.id())
                .build())
            .suppression(ActionRuleSuppressionSuppressionArgs.builder()
                .recurrenceType("Weekly")
                .schedule(ActionRuleSuppressionSuppressionScheduleArgs.builder()
                    .startDateUtc("2019-01-01T01:02:03Z")
                    .endDateUtc("2019-01-03T15:02:07Z")
                    .recurrenceWeeklies(                    
                        "Sunday",
                        "Monday",
                        "Friday",
                        "Saturday")
                    .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_rule_suppression = azure.monitoring.ActionRuleSuppression("exampleActionRuleSuppression",
    resource_group_name=example_resource_group.name,
    scope=azure.monitoring.ActionRuleSuppressionScopeArgs(
        type="ResourceGroup",
        resource_ids=[example_resource_group.id],
    ),
    suppression=azure.monitoring.ActionRuleSuppressionSuppressionArgs(
        recurrence_type="Weekly",
        schedule=azure.monitoring.ActionRuleSuppressionSuppressionScheduleArgs(
            start_date_utc="2019-01-01T01:02:03Z",
            end_date_utc="2019-01-03T15:02:07Z",
            recurrence_weeklies=[
                "Sunday",
                "Monday",
                "Friday",
                "Saturday",
            ],
        ),
    ),
    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 exampleActionRuleSuppression = new azure.monitoring.ActionRuleSuppression("exampleActionRuleSuppression", {
    resourceGroupName: exampleResourceGroup.name,
    scope: {
        type: "ResourceGroup",
        resourceIds: [exampleResourceGroup.id],
    },
    suppression: {
        recurrenceType: "Weekly",
        schedule: {
            startDateUtc: "2019-01-01T01:02:03Z",
            endDateUtc: "2019-01-03T15:02:07Z",
            recurrenceWeeklies: [
                "Sunday",
                "Monday",
                "Friday",
                "Saturday",
            ],
        },
    },
    tags: {
        foo: "bar",
    },
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleActionRuleSuppression:
    type: azure:monitoring:ActionRuleSuppression
    properties:
      resourceGroupName: ${exampleResourceGroup.name}
      scope:
        type: ResourceGroup
        resourceIds:
          - ${exampleResourceGroup.id}
      suppression:
        recurrenceType: Weekly
        schedule:
          startDateUtc: 2019-01-01T01:02:03Z
          endDateUtc: 2019-01-03T15:02:07Z
          recurrenceWeeklies:
            - Sunday
            - Monday
            - Friday
            - Saturday
      tags:
        foo: bar

Create ActionRuleSuppression Resource

new ActionRuleSuppression(name: string, args: ActionRuleSuppressionArgs, opts?: CustomResourceOptions);
@overload
def ActionRuleSuppression(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          condition: Optional[ActionRuleSuppressionConditionArgs] = None,
                          description: Optional[str] = None,
                          enabled: Optional[bool] = None,
                          name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          scope: Optional[ActionRuleSuppressionScopeArgs] = None,
                          suppression: Optional[ActionRuleSuppressionSuppressionArgs] = None,
                          tags: Optional[Mapping[str, str]] = None)
@overload
def ActionRuleSuppression(resource_name: str,
                          args: ActionRuleSuppressionArgs,
                          opts: Optional[ResourceOptions] = None)
func NewActionRuleSuppression(ctx *Context, name string, args ActionRuleSuppressionArgs, opts ...ResourceOption) (*ActionRuleSuppression, error)
public ActionRuleSuppression(string name, ActionRuleSuppressionArgs args, CustomResourceOptions? opts = null)
public ActionRuleSuppression(String name, ActionRuleSuppressionArgs args)
public ActionRuleSuppression(String name, ActionRuleSuppressionArgs args, CustomResourceOptions options)
type: azure:monitoring:ActionRuleSuppression
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ActionRuleSuppressionArgs
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 ActionRuleSuppressionArgs
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 ActionRuleSuppressionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ActionRuleSuppressionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ActionRuleSuppressionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

ResourceGroupName string

Specifies the name of the resource group in which the Monitor Action Rule should exist. Changing this forces a new resource to be created.

Suppression ActionRuleSuppressionSuppressionArgs

A suppression block as defined below.

Condition ActionRuleSuppressionConditionArgs

A condition block as defined below.

Description string

Specifies a description for the Action Rule.

Enabled bool

Is the Action Rule enabled? Defaults to true.

Name string

Specifies the name of the Monitor Action Rule. Changing this forces a new resource to be created.

Scope ActionRuleSuppressionScopeArgs

A scope block as defined below.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

ResourceGroupName string

Specifies the name of the resource group in which the Monitor Action Rule should exist. Changing this forces a new resource to be created.

Suppression ActionRuleSuppressionSuppressionArgs

A suppression block as defined below.

Condition ActionRuleSuppressionConditionArgs

A condition block as defined below.

Description string

Specifies a description for the Action Rule.

Enabled bool

Is the Action Rule enabled? Defaults to true.

Name string

Specifies the name of the Monitor Action Rule. Changing this forces a new resource to be created.

Scope ActionRuleSuppressionScopeArgs

A scope block as defined below.

Tags map[string]string

A mapping of tags to assign to the resource.

resourceGroupName String

Specifies the name of the resource group in which the Monitor Action Rule should exist. Changing this forces a new resource to be created.

suppression ActionRuleSuppressionSuppressionArgs

A suppression block as defined below.

condition ActionRuleSuppressionConditionArgs

A condition block as defined below.

description String

Specifies a description for the Action Rule.

enabled Boolean

Is the Action Rule enabled? Defaults to true.

name String

Specifies the name of the Monitor Action Rule. Changing this forces a new resource to be created.

scope ActionRuleSuppressionScopeArgs

A scope block as defined below.

tags Map<String,String>

A mapping of tags to assign to the resource.

resourceGroupName string

Specifies the name of the resource group in which the Monitor Action Rule should exist. Changing this forces a new resource to be created.

suppression ActionRuleSuppressionSuppressionArgs

A suppression block as defined below.

condition ActionRuleSuppressionConditionArgs

A condition block as defined below.

description string

Specifies a description for the Action Rule.

enabled boolean

Is the Action Rule enabled? Defaults to true.

name string

Specifies the name of the Monitor Action Rule. Changing this forces a new resource to be created.

scope ActionRuleSuppressionScopeArgs

A scope block as defined below.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

resource_group_name str

Specifies the name of the resource group in which the Monitor Action Rule should exist. Changing this forces a new resource to be created.

suppression ActionRuleSuppressionSuppressionArgs

A suppression block as defined below.

condition ActionRuleSuppressionConditionArgs

A condition block as defined below.

description str

Specifies a description for the Action Rule.

enabled bool

Is the Action Rule enabled? Defaults to true.

name str

Specifies the name of the Monitor Action Rule. Changing this forces a new resource to be created.

scope ActionRuleSuppressionScopeArgs

A scope block as defined below.

tags Mapping[str, str]

A mapping of tags to assign to the resource.

resourceGroupName String

Specifies the name of the resource group in which the Monitor Action Rule should exist. Changing this forces a new resource to be created.

suppression Property Map

A suppression block as defined below.

condition Property Map

A condition block as defined below.

description String

Specifies a description for the Action Rule.

enabled Boolean

Is the Action Rule enabled? Defaults to true.

name String

Specifies the name of the Monitor Action Rule. Changing this forces a new resource to be created.

scope Property Map

A scope block as defined below.

tags Map<String>

A mapping of tags to assign to the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the ActionRuleSuppression 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 ActionRuleSuppression Resource

Get an existing ActionRuleSuppression 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?: ActionRuleSuppressionState, opts?: CustomResourceOptions): ActionRuleSuppression
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        condition: Optional[ActionRuleSuppressionConditionArgs] = None,
        description: Optional[str] = None,
        enabled: Optional[bool] = None,
        name: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        scope: Optional[ActionRuleSuppressionScopeArgs] = None,
        suppression: Optional[ActionRuleSuppressionSuppressionArgs] = None,
        tags: Optional[Mapping[str, str]] = None) -> ActionRuleSuppression
func GetActionRuleSuppression(ctx *Context, name string, id IDInput, state *ActionRuleSuppressionState, opts ...ResourceOption) (*ActionRuleSuppression, error)
public static ActionRuleSuppression Get(string name, Input<string> id, ActionRuleSuppressionState? state, CustomResourceOptions? opts = null)
public static ActionRuleSuppression get(String name, Output<String> id, ActionRuleSuppressionState 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:
Condition ActionRuleSuppressionConditionArgs

A condition block as defined below.

Description string

Specifies a description for the Action Rule.

Enabled bool

Is the Action Rule enabled? Defaults to true.

Name string

Specifies the name of the Monitor Action Rule. Changing this forces a new resource to be created.

ResourceGroupName string

Specifies the name of the resource group in which the Monitor Action Rule should exist. Changing this forces a new resource to be created.

Scope ActionRuleSuppressionScopeArgs

A scope block as defined below.

Suppression ActionRuleSuppressionSuppressionArgs

A suppression block as defined below.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

Condition ActionRuleSuppressionConditionArgs

A condition block as defined below.

Description string

Specifies a description for the Action Rule.

Enabled bool

Is the Action Rule enabled? Defaults to true.

Name string

Specifies the name of the Monitor Action Rule. Changing this forces a new resource to be created.

ResourceGroupName string

Specifies the name of the resource group in which the Monitor Action Rule should exist. Changing this forces a new resource to be created.

Scope ActionRuleSuppressionScopeArgs

A scope block as defined below.

Suppression ActionRuleSuppressionSuppressionArgs

A suppression block as defined below.

Tags map[string]string

A mapping of tags to assign to the resource.

condition ActionRuleSuppressionConditionArgs

A condition block as defined below.

description String

Specifies a description for the Action Rule.

enabled Boolean

Is the Action Rule enabled? Defaults to true.

name String

Specifies the name of the Monitor Action Rule. Changing this forces a new resource to be created.

resourceGroupName String

Specifies the name of the resource group in which the Monitor Action Rule should exist. Changing this forces a new resource to be created.

scope ActionRuleSuppressionScopeArgs

A scope block as defined below.

suppression ActionRuleSuppressionSuppressionArgs

A suppression block as defined below.

tags Map<String,String>

A mapping of tags to assign to the resource.

condition ActionRuleSuppressionConditionArgs

A condition block as defined below.

description string

Specifies a description for the Action Rule.

enabled boolean

Is the Action Rule enabled? Defaults to true.

name string

Specifies the name of the Monitor Action Rule. Changing this forces a new resource to be created.

resourceGroupName string

Specifies the name of the resource group in which the Monitor Action Rule should exist. Changing this forces a new resource to be created.

scope ActionRuleSuppressionScopeArgs

A scope block as defined below.

suppression ActionRuleSuppressionSuppressionArgs

A suppression block as defined below.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

condition ActionRuleSuppressionConditionArgs

A condition block as defined below.

description str

Specifies a description for the Action Rule.

enabled bool

Is the Action Rule enabled? Defaults to true.

name str

Specifies the name of the Monitor Action Rule. Changing this forces a new resource to be created.

resource_group_name str

Specifies the name of the resource group in which the Monitor Action Rule should exist. Changing this forces a new resource to be created.

scope ActionRuleSuppressionScopeArgs

A scope block as defined below.

suppression ActionRuleSuppressionSuppressionArgs

A suppression block as defined below.

tags Mapping[str, str]

A mapping of tags to assign to the resource.

condition Property Map

A condition block as defined below.

description String

Specifies a description for the Action Rule.

enabled Boolean

Is the Action Rule enabled? Defaults to true.

name String

Specifies the name of the Monitor Action Rule. Changing this forces a new resource to be created.

resourceGroupName String

Specifies the name of the resource group in which the Monitor Action Rule should exist. Changing this forces a new resource to be created.

scope Property Map

A scope block as defined below.

suppression Property Map

A suppression block as defined below.

tags Map<String>

A mapping of tags to assign to the resource.

Supporting Types

ActionRuleSuppressionCondition

AlertContext ActionRuleSuppressionConditionAlertContext

A alert_context block as defined below.

AlertRuleId ActionRuleSuppressionConditionAlertRuleId

A alert_rule_id block as defined below.

Description ActionRuleSuppressionConditionDescription

A description block as defined below.

Monitor ActionRuleSuppressionConditionMonitor

A monitor block as defined below.

MonitorService ActionRuleSuppressionConditionMonitorService

A monitor_service as block defined below.

Severity ActionRuleSuppressionConditionSeverity

A severity block as defined below.

TargetResourceType ActionRuleSuppressionConditionTargetResourceType

A target_resource_type block as defined below.

AlertContext ActionRuleSuppressionConditionAlertContext

A alert_context block as defined below.

AlertRuleId ActionRuleSuppressionConditionAlertRuleId

A alert_rule_id block as defined below.

Description ActionRuleSuppressionConditionDescription

A description block as defined below.

Monitor ActionRuleSuppressionConditionMonitor

A monitor block as defined below.

MonitorService ActionRuleSuppressionConditionMonitorService

A monitor_service as block defined below.

Severity ActionRuleSuppressionConditionSeverity

A severity block as defined below.

TargetResourceType ActionRuleSuppressionConditionTargetResourceType

A target_resource_type block as defined below.

alertContext ActionRuleSuppressionConditionAlertContext

A alert_context block as defined below.

alertRuleId ActionRuleSuppressionConditionAlertRuleId

A alert_rule_id block as defined below.

description ActionRuleSuppressionConditionDescription

A description block as defined below.

monitor ActionRuleSuppressionConditionMonitor

A monitor block as defined below.

monitorService ActionRuleSuppressionConditionMonitorService

A monitor_service as block defined below.

severity ActionRuleSuppressionConditionSeverity

A severity block as defined below.

targetResourceType ActionRuleSuppressionConditionTargetResourceType

A target_resource_type block as defined below.

alertContext ActionRuleSuppressionConditionAlertContext

A alert_context block as defined below.

alertRuleId ActionRuleSuppressionConditionAlertRuleId

A alert_rule_id block as defined below.

description ActionRuleSuppressionConditionDescription

A description block as defined below.

monitor ActionRuleSuppressionConditionMonitor

A monitor block as defined below.

monitorService ActionRuleSuppressionConditionMonitorService

A monitor_service as block defined below.

severity ActionRuleSuppressionConditionSeverity

A severity block as defined below.

targetResourceType ActionRuleSuppressionConditionTargetResourceType

A target_resource_type block as defined below.

alert_context ActionRuleSuppressionConditionAlertContext

A alert_context block as defined below.

alert_rule_id ActionRuleSuppressionConditionAlertRuleId

A alert_rule_id block as defined below.

description ActionRuleSuppressionConditionDescription

A description block as defined below.

monitor ActionRuleSuppressionConditionMonitor

A monitor block as defined below.

monitor_service ActionRuleSuppressionConditionMonitorService

A monitor_service as block defined below.

severity ActionRuleSuppressionConditionSeverity

A severity block as defined below.

target_resource_type ActionRuleSuppressionConditionTargetResourceType

A target_resource_type block as defined below.

alertContext Property Map

A alert_context block as defined below.

alertRuleId Property Map

A alert_rule_id block as defined below.

description Property Map

A description block as defined below.

monitor Property Map

A monitor block as defined below.

monitorService Property Map

A monitor_service as block defined below.

severity Property Map

A severity block as defined below.

targetResourceType Property Map

A target_resource_type block as defined below.

ActionRuleSuppressionConditionAlertContext

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.

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.

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.

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.

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.

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.

ActionRuleSuppressionConditionAlertRuleId

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.

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.

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.

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.

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.

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.

ActionRuleSuppressionConditionDescription

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.

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.

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.

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.

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.

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.

ActionRuleSuppressionConditionMonitor

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 Fired and Resolved.

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 Fired and Resolved.

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 Fired and Resolved.

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 Fired and Resolved.

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 Fired and Resolved.

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 Fired and Resolved.

ActionRuleSuppressionConditionMonitorService

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

ActionRuleSuppressionConditionSeverity

Operator string

The operator for a given condition. Possible values are Equalsand NotEquals.

Values List<string>

A 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 Equalsand NotEquals.

Values []string

A 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 Equalsand NotEquals.

values List<String>

A 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 Equalsand NotEquals.

values string[]

A 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 Equalsand NotEquals.

values Sequence[str]

A 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 Equalsand NotEquals.

values List<String>

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

ActionRuleSuppressionConditionTargetResourceType

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. The values should be valid resource types.

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. The values should be valid resource types.

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. The values should be valid resource types.

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. The values should be valid resource types.

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. The values should be valid resource types.

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. The values should be valid resource types.

ActionRuleSuppressionScope

ResourceIds List<string>

A list of resource IDs of the given scope type which will be the target of action rule.

Type string

Specifies the type of target scope. Possible values are ResourceGroup and Resource.

ResourceIds []string

A list of resource IDs of the given scope type which will be the target of action rule.

Type string

Specifies the type of target scope. Possible values are ResourceGroup and Resource.

resourceIds List<String>

A list of resource IDs of the given scope type which will be the target of action rule.

type String

Specifies the type of target scope. Possible values are ResourceGroup and Resource.

resourceIds string[]

A list of resource IDs of the given scope type which will be the target of action rule.

type string

Specifies the type of target scope. Possible values are ResourceGroup and Resource.

resource_ids Sequence[str]

A list of resource IDs of the given scope type which will be the target of action rule.

type str

Specifies the type of target scope. Possible values are ResourceGroup and Resource.

resourceIds List<String>

A list of resource IDs of the given scope type which will be the target of action rule.

type String

Specifies the type of target scope. Possible values are ResourceGroup and Resource.

ActionRuleSuppressionSuppression

RecurrenceType string

Specifies the type of suppression. Possible values are Always, Daily, Monthly, Once, and Weekly.

Schedule ActionRuleSuppressionSuppressionSchedule

A schedule block as defined below. Required if recurrence_type is Daily, Monthly, Once or Weekly.

RecurrenceType string

Specifies the type of suppression. Possible values are Always, Daily, Monthly, Once, and Weekly.

Schedule ActionRuleSuppressionSuppressionSchedule

A schedule block as defined below. Required if recurrence_type is Daily, Monthly, Once or Weekly.

recurrenceType String

Specifies the type of suppression. Possible values are Always, Daily, Monthly, Once, and Weekly.

schedule ActionRuleSuppressionSuppressionSchedule

A schedule block as defined below. Required if recurrence_type is Daily, Monthly, Once or Weekly.

recurrenceType string

Specifies the type of suppression. Possible values are Always, Daily, Monthly, Once, and Weekly.

schedule ActionRuleSuppressionSuppressionSchedule

A schedule block as defined below. Required if recurrence_type is Daily, Monthly, Once or Weekly.

recurrence_type str

Specifies the type of suppression. Possible values are Always, Daily, Monthly, Once, and Weekly.

schedule ActionRuleSuppressionSuppressionSchedule

A schedule block as defined below. Required if recurrence_type is Daily, Monthly, Once or Weekly.

recurrenceType String

Specifies the type of suppression. Possible values are Always, Daily, Monthly, Once, and Weekly.

schedule Property Map

A schedule block as defined below. Required if recurrence_type is Daily, Monthly, Once or Weekly.

ActionRuleSuppressionSuppressionSchedule

EndDateUtc string

specifies the recurrence UTC end datetime (Y-m-d'T'H:M:S'Z').

StartDateUtc string

specifies the recurrence UTC start datetime (Y-m-d'T'H:M:S'Z').

RecurrenceMonthlies List<int>

specifies the list of dayOfMonth to recurrence. Possible values are between 1 - 31. Required if recurrence_type is Monthly.

RecurrenceWeeklies List<string>

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

EndDateUtc string

specifies the recurrence UTC end datetime (Y-m-d'T'H:M:S'Z').

StartDateUtc string

specifies the recurrence UTC start datetime (Y-m-d'T'H:M:S'Z').

RecurrenceMonthlies []int

specifies the list of dayOfMonth to recurrence. Possible values are between 1 - 31. Required if recurrence_type is Monthly.

RecurrenceWeeklies []string

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

endDateUtc String

specifies the recurrence UTC end datetime (Y-m-d'T'H:M:S'Z').

startDateUtc String

specifies the recurrence UTC start datetime (Y-m-d'T'H:M:S'Z').

recurrenceMonthlies List<Integer>

specifies the list of dayOfMonth to recurrence. Possible values are between 1 - 31. Required if recurrence_type is Monthly.

recurrenceWeeklies List<String>

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

endDateUtc string

specifies the recurrence UTC end datetime (Y-m-d'T'H:M:S'Z').

startDateUtc string

specifies the recurrence UTC start datetime (Y-m-d'T'H:M:S'Z').

recurrenceMonthlies number[]

specifies the list of dayOfMonth to recurrence. Possible values are between 1 - 31. Required if recurrence_type is Monthly.

recurrenceWeeklies string[]

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

end_date_utc str

specifies the recurrence UTC end datetime (Y-m-d'T'H:M:S'Z').

start_date_utc str

specifies the recurrence UTC start datetime (Y-m-d'T'H:M:S'Z').

recurrence_monthlies Sequence[int]

specifies the list of dayOfMonth to recurrence. Possible values are between 1 - 31. Required if recurrence_type is Monthly.

recurrence_weeklies Sequence[str]

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

endDateUtc String

specifies the recurrence UTC end datetime (Y-m-d'T'H:M:S'Z').

startDateUtc String

specifies the recurrence UTC start datetime (Y-m-d'T'H:M:S'Z').

recurrenceMonthlies List<Number>

specifies the list of dayOfMonth to recurrence. Possible values are between 1 - 31. Required if recurrence_type is Monthly.

recurrenceWeeklies List<String>

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

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.