1. Packages
  2. Azure Classic
  3. API Docs
  4. monitoring
  5. ActionGroup

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

azure.monitoring.ActionGroup

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

    Manages an Action Group within Azure Monitor.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "monitoring-resources",
        location: "West Europe",
    });
    const current = azure.core.getClientConfig({});
    const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", {
        name: "workspace-01",
        location: example.location,
        resourceGroupName: example.name,
    });
    const exampleActionGroup = new azure.monitoring.ActionGroup("example", {
        name: "CriticalAlertsAction",
        resourceGroupName: example.name,
        shortName: "p0action",
        armRoleReceivers: [{
            name: "armroleaction",
            roleId: "de139f84-1756-47ae-9be6-808fbbe84772",
            useCommonAlertSchema: true,
        }],
        automationRunbookReceivers: [{
            name: "action_name_1",
            automationAccountId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-runbooks/providers/Microsoft.Automation/automationAccounts/aaa001",
            runbookName: "my runbook",
            webhookResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-runbooks/providers/Microsoft.Automation/automationAccounts/aaa001/webHooks/webhook_alert",
            isGlobalRunbook: true,
            serviceUri: "https://s13events.azure-automation.net/webhooks?token=randomtoken",
            useCommonAlertSchema: true,
        }],
        azureAppPushReceivers: [{
            name: "pushtoadmin",
            emailAddress: "admin@contoso.com",
        }],
        azureFunctionReceivers: [{
            name: "funcaction",
            functionAppResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-funcapp/providers/Microsoft.Web/sites/funcapp",
            functionName: "myfunc",
            httpTriggerUrl: "https://example.com/trigger",
            useCommonAlertSchema: true,
        }],
        emailReceivers: [
            {
                name: "sendtoadmin",
                emailAddress: "admin@contoso.com",
            },
            {
                name: "sendtodevops",
                emailAddress: "devops@contoso.com",
                useCommonAlertSchema: true,
            },
        ],
        eventHubReceivers: [{
            name: "sendtoeventhub",
            eventHubNamespace: "eventhubnamespace",
            eventHubName: "eventhub1",
            subscriptionId: "00000000-0000-0000-0000-000000000000",
            useCommonAlertSchema: false,
        }],
        itsmReceivers: [{
            name: "createorupdateticket",
            workspaceId: pulumi.all([current, exampleAnalyticsWorkspace.workspaceId]).apply(([current, workspaceId]) => `${current.subscriptionId}|${workspaceId}`),
            connectionId: "53de6956-42b4-41ba-be3c-b154cdf17b13",
            ticketConfiguration: "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
            region: "southcentralus",
        }],
        logicAppReceivers: [{
            name: "logicappaction",
            resourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-logicapp/providers/Microsoft.Logic/workflows/logicapp",
            callbackUrl: "https://logicapptriggerurl/...",
            useCommonAlertSchema: true,
        }],
        smsReceivers: [{
            name: "oncallmsg",
            countryCode: "1",
            phoneNumber: "1231231234",
        }],
        voiceReceivers: [{
            name: "remotesupport",
            countryCode: "86",
            phoneNumber: "13888888888",
        }],
        webhookReceivers: [{
            name: "callmyapiaswell",
            serviceUri: "http://example.com/alert",
            useCommonAlertSchema: true,
        }],
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="monitoring-resources",
        location="West Europe")
    current = azure.core.get_client_config()
    example_analytics_workspace = azure.operationalinsights.AnalyticsWorkspace("example",
        name="workspace-01",
        location=example.location,
        resource_group_name=example.name)
    example_action_group = azure.monitoring.ActionGroup("example",
        name="CriticalAlertsAction",
        resource_group_name=example.name,
        short_name="p0action",
        arm_role_receivers=[azure.monitoring.ActionGroupArmRoleReceiverArgs(
            name="armroleaction",
            role_id="de139f84-1756-47ae-9be6-808fbbe84772",
            use_common_alert_schema=True,
        )],
        automation_runbook_receivers=[azure.monitoring.ActionGroupAutomationRunbookReceiverArgs(
            name="action_name_1",
            automation_account_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-runbooks/providers/Microsoft.Automation/automationAccounts/aaa001",
            runbook_name="my runbook",
            webhook_resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-runbooks/providers/Microsoft.Automation/automationAccounts/aaa001/webHooks/webhook_alert",
            is_global_runbook=True,
            service_uri="https://s13events.azure-automation.net/webhooks?token=randomtoken",
            use_common_alert_schema=True,
        )],
        azure_app_push_receivers=[azure.monitoring.ActionGroupAzureAppPushReceiverArgs(
            name="pushtoadmin",
            email_address="admin@contoso.com",
        )],
        azure_function_receivers=[azure.monitoring.ActionGroupAzureFunctionReceiverArgs(
            name="funcaction",
            function_app_resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-funcapp/providers/Microsoft.Web/sites/funcapp",
            function_name="myfunc",
            http_trigger_url="https://example.com/trigger",
            use_common_alert_schema=True,
        )],
        email_receivers=[
            azure.monitoring.ActionGroupEmailReceiverArgs(
                name="sendtoadmin",
                email_address="admin@contoso.com",
            ),
            azure.monitoring.ActionGroupEmailReceiverArgs(
                name="sendtodevops",
                email_address="devops@contoso.com",
                use_common_alert_schema=True,
            ),
        ],
        event_hub_receivers=[azure.monitoring.ActionGroupEventHubReceiverArgs(
            name="sendtoeventhub",
            event_hub_namespace="eventhubnamespace",
            event_hub_name="eventhub1",
            subscription_id="00000000-0000-0000-0000-000000000000",
            use_common_alert_schema=False,
        )],
        itsm_receivers=[azure.monitoring.ActionGroupItsmReceiverArgs(
            name="createorupdateticket",
            workspace_id=example_analytics_workspace.workspace_id.apply(lambda workspace_id: f"{current.subscription_id}|{workspace_id}"),
            connection_id="53de6956-42b4-41ba-be3c-b154cdf17b13",
            ticket_configuration="{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
            region="southcentralus",
        )],
        logic_app_receivers=[azure.monitoring.ActionGroupLogicAppReceiverArgs(
            name="logicappaction",
            resource_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-logicapp/providers/Microsoft.Logic/workflows/logicapp",
            callback_url="https://logicapptriggerurl/...",
            use_common_alert_schema=True,
        )],
        sms_receivers=[azure.monitoring.ActionGroupSmsReceiverArgs(
            name="oncallmsg",
            country_code="1",
            phone_number="1231231234",
        )],
        voice_receivers=[azure.monitoring.ActionGroupVoiceReceiverArgs(
            name="remotesupport",
            country_code="86",
            phone_number="13888888888",
        )],
        webhook_receivers=[azure.monitoring.ActionGroupWebhookReceiverArgs(
            name="callmyapiaswell",
            service_uri="http://example.com/alert",
            use_common_alert_schema=True,
        )])
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/monitoring"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/operationalinsights"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("monitoring-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		current, err := core.GetClientConfig(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "example", &operationalinsights.AnalyticsWorkspaceArgs{
    			Name:              pulumi.String("workspace-01"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = monitoring.NewActionGroup(ctx, "example", &monitoring.ActionGroupArgs{
    			Name:              pulumi.String("CriticalAlertsAction"),
    			ResourceGroupName: example.Name,
    			ShortName:         pulumi.String("p0action"),
    			ArmRoleReceivers: monitoring.ActionGroupArmRoleReceiverArray{
    				&monitoring.ActionGroupArmRoleReceiverArgs{
    					Name:                 pulumi.String("armroleaction"),
    					RoleId:               pulumi.String("de139f84-1756-47ae-9be6-808fbbe84772"),
    					UseCommonAlertSchema: pulumi.Bool(true),
    				},
    			},
    			AutomationRunbookReceivers: monitoring.ActionGroupAutomationRunbookReceiverArray{
    				&monitoring.ActionGroupAutomationRunbookReceiverArgs{
    					Name:                 pulumi.String("action_name_1"),
    					AutomationAccountId:  pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-runbooks/providers/Microsoft.Automation/automationAccounts/aaa001"),
    					RunbookName:          pulumi.String("my runbook"),
    					WebhookResourceId:    pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-runbooks/providers/Microsoft.Automation/automationAccounts/aaa001/webHooks/webhook_alert"),
    					IsGlobalRunbook:      pulumi.Bool(true),
    					ServiceUri:           pulumi.String("https://s13events.azure-automation.net/webhooks?token=randomtoken"),
    					UseCommonAlertSchema: pulumi.Bool(true),
    				},
    			},
    			AzureAppPushReceivers: monitoring.ActionGroupAzureAppPushReceiverArray{
    				&monitoring.ActionGroupAzureAppPushReceiverArgs{
    					Name:         pulumi.String("pushtoadmin"),
    					EmailAddress: pulumi.String("admin@contoso.com"),
    				},
    			},
    			AzureFunctionReceivers: monitoring.ActionGroupAzureFunctionReceiverArray{
    				&monitoring.ActionGroupAzureFunctionReceiverArgs{
    					Name:                  pulumi.String("funcaction"),
    					FunctionAppResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-funcapp/providers/Microsoft.Web/sites/funcapp"),
    					FunctionName:          pulumi.String("myfunc"),
    					HttpTriggerUrl:        pulumi.String("https://example.com/trigger"),
    					UseCommonAlertSchema:  pulumi.Bool(true),
    				},
    			},
    			EmailReceivers: monitoring.ActionGroupEmailReceiverArray{
    				&monitoring.ActionGroupEmailReceiverArgs{
    					Name:         pulumi.String("sendtoadmin"),
    					EmailAddress: pulumi.String("admin@contoso.com"),
    				},
    				&monitoring.ActionGroupEmailReceiverArgs{
    					Name:                 pulumi.String("sendtodevops"),
    					EmailAddress:         pulumi.String("devops@contoso.com"),
    					UseCommonAlertSchema: pulumi.Bool(true),
    				},
    			},
    			EventHubReceivers: monitoring.ActionGroupEventHubReceiverArray{
    				&monitoring.ActionGroupEventHubReceiverArgs{
    					Name:                 pulumi.String("sendtoeventhub"),
    					EventHubNamespace:    pulumi.String("eventhubnamespace"),
    					EventHubName:         pulumi.String("eventhub1"),
    					SubscriptionId:       pulumi.String("00000000-0000-0000-0000-000000000000"),
    					UseCommonAlertSchema: pulumi.Bool(false),
    				},
    			},
    			ItsmReceivers: monitoring.ActionGroupItsmReceiverArray{
    				&monitoring.ActionGroupItsmReceiverArgs{
    					Name: pulumi.String("createorupdateticket"),
    					WorkspaceId: exampleAnalyticsWorkspace.WorkspaceId.ApplyT(func(workspaceId string) (string, error) {
    						return fmt.Sprintf("%v|%v", current.SubscriptionId, workspaceId), nil
    					}).(pulumi.StringOutput),
    					ConnectionId:        pulumi.String("53de6956-42b4-41ba-be3c-b154cdf17b13"),
    					TicketConfiguration: pulumi.String("{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}"),
    					Region:              pulumi.String("southcentralus"),
    				},
    			},
    			LogicAppReceivers: monitoring.ActionGroupLogicAppReceiverArray{
    				&monitoring.ActionGroupLogicAppReceiverArgs{
    					Name:                 pulumi.String("logicappaction"),
    					ResourceId:           pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-logicapp/providers/Microsoft.Logic/workflows/logicapp"),
    					CallbackUrl:          pulumi.String("https://logicapptriggerurl/..."),
    					UseCommonAlertSchema: pulumi.Bool(true),
    				},
    			},
    			SmsReceivers: monitoring.ActionGroupSmsReceiverArray{
    				&monitoring.ActionGroupSmsReceiverArgs{
    					Name:        pulumi.String("oncallmsg"),
    					CountryCode: pulumi.String("1"),
    					PhoneNumber: pulumi.String("1231231234"),
    				},
    			},
    			VoiceReceivers: monitoring.ActionGroupVoiceReceiverArray{
    				&monitoring.ActionGroupVoiceReceiverArgs{
    					Name:        pulumi.String("remotesupport"),
    					CountryCode: pulumi.String("86"),
    					PhoneNumber: pulumi.String("13888888888"),
    				},
    			},
    			WebhookReceivers: monitoring.ActionGroupWebhookReceiverArray{
    				&monitoring.ActionGroupWebhookReceiverArgs{
    					Name:                 pulumi.String("callmyapiaswell"),
    					ServiceUri:           pulumi.String("http://example.com/alert"),
    					UseCommonAlertSchema: pulumi.Bool(true),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "monitoring-resources",
            Location = "West Europe",
        });
    
        var current = Azure.Core.GetClientConfig.Invoke();
    
        var exampleAnalyticsWorkspace = new Azure.OperationalInsights.AnalyticsWorkspace("example", new()
        {
            Name = "workspace-01",
            Location = example.Location,
            ResourceGroupName = example.Name,
        });
    
        var exampleActionGroup = new Azure.Monitoring.ActionGroup("example", new()
        {
            Name = "CriticalAlertsAction",
            ResourceGroupName = example.Name,
            ShortName = "p0action",
            ArmRoleReceivers = new[]
            {
                new Azure.Monitoring.Inputs.ActionGroupArmRoleReceiverArgs
                {
                    Name = "armroleaction",
                    RoleId = "de139f84-1756-47ae-9be6-808fbbe84772",
                    UseCommonAlertSchema = true,
                },
            },
            AutomationRunbookReceivers = new[]
            {
                new Azure.Monitoring.Inputs.ActionGroupAutomationRunbookReceiverArgs
                {
                    Name = "action_name_1",
                    AutomationAccountId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-runbooks/providers/Microsoft.Automation/automationAccounts/aaa001",
                    RunbookName = "my runbook",
                    WebhookResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-runbooks/providers/Microsoft.Automation/automationAccounts/aaa001/webHooks/webhook_alert",
                    IsGlobalRunbook = true,
                    ServiceUri = "https://s13events.azure-automation.net/webhooks?token=randomtoken",
                    UseCommonAlertSchema = true,
                },
            },
            AzureAppPushReceivers = new[]
            {
                new Azure.Monitoring.Inputs.ActionGroupAzureAppPushReceiverArgs
                {
                    Name = "pushtoadmin",
                    EmailAddress = "admin@contoso.com",
                },
            },
            AzureFunctionReceivers = new[]
            {
                new Azure.Monitoring.Inputs.ActionGroupAzureFunctionReceiverArgs
                {
                    Name = "funcaction",
                    FunctionAppResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-funcapp/providers/Microsoft.Web/sites/funcapp",
                    FunctionName = "myfunc",
                    HttpTriggerUrl = "https://example.com/trigger",
                    UseCommonAlertSchema = true,
                },
            },
            EmailReceivers = new[]
            {
                new Azure.Monitoring.Inputs.ActionGroupEmailReceiverArgs
                {
                    Name = "sendtoadmin",
                    EmailAddress = "admin@contoso.com",
                },
                new Azure.Monitoring.Inputs.ActionGroupEmailReceiverArgs
                {
                    Name = "sendtodevops",
                    EmailAddress = "devops@contoso.com",
                    UseCommonAlertSchema = true,
                },
            },
            EventHubReceivers = new[]
            {
                new Azure.Monitoring.Inputs.ActionGroupEventHubReceiverArgs
                {
                    Name = "sendtoeventhub",
                    EventHubNamespace = "eventhubnamespace",
                    EventHubName = "eventhub1",
                    SubscriptionId = "00000000-0000-0000-0000-000000000000",
                    UseCommonAlertSchema = false,
                },
            },
            ItsmReceivers = new[]
            {
                new Azure.Monitoring.Inputs.ActionGroupItsmReceiverArgs
                {
                    Name = "createorupdateticket",
                    WorkspaceId = Output.Tuple(current, exampleAnalyticsWorkspace.WorkspaceId).Apply(values =>
                    {
                        var current = values.Item1;
                        var workspaceId = values.Item2;
                        return $"{current.Apply(getClientConfigResult => getClientConfigResult.SubscriptionId)}|{workspaceId}";
                    }),
                    ConnectionId = "53de6956-42b4-41ba-be3c-b154cdf17b13",
                    TicketConfiguration = "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
                    Region = "southcentralus",
                },
            },
            LogicAppReceivers = new[]
            {
                new Azure.Monitoring.Inputs.ActionGroupLogicAppReceiverArgs
                {
                    Name = "logicappaction",
                    ResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-logicapp/providers/Microsoft.Logic/workflows/logicapp",
                    CallbackUrl = "https://logicapptriggerurl/...",
                    UseCommonAlertSchema = true,
                },
            },
            SmsReceivers = new[]
            {
                new Azure.Monitoring.Inputs.ActionGroupSmsReceiverArgs
                {
                    Name = "oncallmsg",
                    CountryCode = "1",
                    PhoneNumber = "1231231234",
                },
            },
            VoiceReceivers = new[]
            {
                new Azure.Monitoring.Inputs.ActionGroupVoiceReceiverArgs
                {
                    Name = "remotesupport",
                    CountryCode = "86",
                    PhoneNumber = "13888888888",
                },
            },
            WebhookReceivers = new[]
            {
                new Azure.Monitoring.Inputs.ActionGroupWebhookReceiverArgs
                {
                    Name = "callmyapiaswell",
                    ServiceUri = "http://example.com/alert",
                    UseCommonAlertSchema = true,
                },
            },
        });
    
    });
    
    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.core.CoreFunctions;
    import com.pulumi.azure.operationalinsights.AnalyticsWorkspace;
    import com.pulumi.azure.operationalinsights.AnalyticsWorkspaceArgs;
    import com.pulumi.azure.monitoring.ActionGroup;
    import com.pulumi.azure.monitoring.ActionGroupArgs;
    import com.pulumi.azure.monitoring.inputs.ActionGroupArmRoleReceiverArgs;
    import com.pulumi.azure.monitoring.inputs.ActionGroupAutomationRunbookReceiverArgs;
    import com.pulumi.azure.monitoring.inputs.ActionGroupAzureAppPushReceiverArgs;
    import com.pulumi.azure.monitoring.inputs.ActionGroupAzureFunctionReceiverArgs;
    import com.pulumi.azure.monitoring.inputs.ActionGroupEmailReceiverArgs;
    import com.pulumi.azure.monitoring.inputs.ActionGroupEventHubReceiverArgs;
    import com.pulumi.azure.monitoring.inputs.ActionGroupItsmReceiverArgs;
    import com.pulumi.azure.monitoring.inputs.ActionGroupLogicAppReceiverArgs;
    import com.pulumi.azure.monitoring.inputs.ActionGroupSmsReceiverArgs;
    import com.pulumi.azure.monitoring.inputs.ActionGroupVoiceReceiverArgs;
    import com.pulumi.azure.monitoring.inputs.ActionGroupWebhookReceiverArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("monitoring-resources")
                .location("West Europe")
                .build());
    
            final var current = CoreFunctions.getClientConfig();
    
            var exampleAnalyticsWorkspace = new AnalyticsWorkspace("exampleAnalyticsWorkspace", AnalyticsWorkspaceArgs.builder()        
                .name("workspace-01")
                .location(example.location())
                .resourceGroupName(example.name())
                .build());
    
            var exampleActionGroup = new ActionGroup("exampleActionGroup", ActionGroupArgs.builder()        
                .name("CriticalAlertsAction")
                .resourceGroupName(example.name())
                .shortName("p0action")
                .armRoleReceivers(ActionGroupArmRoleReceiverArgs.builder()
                    .name("armroleaction")
                    .roleId("de139f84-1756-47ae-9be6-808fbbe84772")
                    .useCommonAlertSchema(true)
                    .build())
                .automationRunbookReceivers(ActionGroupAutomationRunbookReceiverArgs.builder()
                    .name("action_name_1")
                    .automationAccountId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-runbooks/providers/Microsoft.Automation/automationAccounts/aaa001")
                    .runbookName("my runbook")
                    .webhookResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-runbooks/providers/Microsoft.Automation/automationAccounts/aaa001/webHooks/webhook_alert")
                    .isGlobalRunbook(true)
                    .serviceUri("https://s13events.azure-automation.net/webhooks?token=randomtoken")
                    .useCommonAlertSchema(true)
                    .build())
                .azureAppPushReceivers(ActionGroupAzureAppPushReceiverArgs.builder()
                    .name("pushtoadmin")
                    .emailAddress("admin@contoso.com")
                    .build())
                .azureFunctionReceivers(ActionGroupAzureFunctionReceiverArgs.builder()
                    .name("funcaction")
                    .functionAppResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-funcapp/providers/Microsoft.Web/sites/funcapp")
                    .functionName("myfunc")
                    .httpTriggerUrl("https://example.com/trigger")
                    .useCommonAlertSchema(true)
                    .build())
                .emailReceivers(            
                    ActionGroupEmailReceiverArgs.builder()
                        .name("sendtoadmin")
                        .emailAddress("admin@contoso.com")
                        .build(),
                    ActionGroupEmailReceiverArgs.builder()
                        .name("sendtodevops")
                        .emailAddress("devops@contoso.com")
                        .useCommonAlertSchema(true)
                        .build())
                .eventHubReceivers(ActionGroupEventHubReceiverArgs.builder()
                    .name("sendtoeventhub")
                    .eventHubNamespace("eventhubnamespace")
                    .eventHubName("eventhub1")
                    .subscriptionId("00000000-0000-0000-0000-000000000000")
                    .useCommonAlertSchema(false)
                    .build())
                .itsmReceivers(ActionGroupItsmReceiverArgs.builder()
                    .name("createorupdateticket")
                    .workspaceId(exampleAnalyticsWorkspace.workspaceId().applyValue(workspaceId -> String.format("%s|%s", current.applyValue(getClientConfigResult -> getClientConfigResult.subscriptionId()),workspaceId)))
                    .connectionId("53de6956-42b4-41ba-be3c-b154cdf17b13")
                    .ticketConfiguration("{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}")
                    .region("southcentralus")
                    .build())
                .logicAppReceivers(ActionGroupLogicAppReceiverArgs.builder()
                    .name("logicappaction")
                    .resourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-logicapp/providers/Microsoft.Logic/workflows/logicapp")
                    .callbackUrl("https://logicapptriggerurl/...")
                    .useCommonAlertSchema(true)
                    .build())
                .smsReceivers(ActionGroupSmsReceiverArgs.builder()
                    .name("oncallmsg")
                    .countryCode("1")
                    .phoneNumber("1231231234")
                    .build())
                .voiceReceivers(ActionGroupVoiceReceiverArgs.builder()
                    .name("remotesupport")
                    .countryCode("86")
                    .phoneNumber("13888888888")
                    .build())
                .webhookReceivers(ActionGroupWebhookReceiverArgs.builder()
                    .name("callmyapiaswell")
                    .serviceUri("http://example.com/alert")
                    .useCommonAlertSchema(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: monitoring-resources
          location: West Europe
      exampleAnalyticsWorkspace:
        type: azure:operationalinsights:AnalyticsWorkspace
        name: example
        properties:
          name: workspace-01
          location: ${example.location}
          resourceGroupName: ${example.name}
      exampleActionGroup:
        type: azure:monitoring:ActionGroup
        name: example
        properties:
          name: CriticalAlertsAction
          resourceGroupName: ${example.name}
          shortName: p0action
          armRoleReceivers:
            - name: armroleaction
              roleId: de139f84-1756-47ae-9be6-808fbbe84772
              useCommonAlertSchema: true
          automationRunbookReceivers:
            - name: action_name_1
              automationAccountId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-runbooks/providers/Microsoft.Automation/automationAccounts/aaa001
              runbookName: my runbook
              webhookResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-runbooks/providers/Microsoft.Automation/automationAccounts/aaa001/webHooks/webhook_alert
              isGlobalRunbook: true
              serviceUri: https://s13events.azure-automation.net/webhooks?token=randomtoken
              useCommonAlertSchema: true
          azureAppPushReceivers:
            - name: pushtoadmin
              emailAddress: admin@contoso.com
          azureFunctionReceivers:
            - name: funcaction
              functionAppResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-funcapp/providers/Microsoft.Web/sites/funcapp
              functionName: myfunc
              httpTriggerUrl: https://example.com/trigger
              useCommonAlertSchema: true
          emailReceivers:
            - name: sendtoadmin
              emailAddress: admin@contoso.com
            - name: sendtodevops
              emailAddress: devops@contoso.com
              useCommonAlertSchema: true
          eventHubReceivers:
            - name: sendtoeventhub
              eventHubNamespace: eventhubnamespace
              eventHubName: eventhub1
              subscriptionId: 00000000-0000-0000-0000-000000000000
              useCommonAlertSchema: false
          itsmReceivers:
            - name: createorupdateticket
              workspaceId: ${current.subscriptionId}|${exampleAnalyticsWorkspace.workspaceId}
              connectionId: 53de6956-42b4-41ba-be3c-b154cdf17b13
              ticketConfiguration: '{"PayloadRevision":0,"WorkItemType":"Incident","UseTemplate":false,"WorkItemData":"{}","CreateOneWIPerCI":false}'
              region: southcentralus
          logicAppReceivers:
            - name: logicappaction
              resourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-logicapp/providers/Microsoft.Logic/workflows/logicapp
              callbackUrl: https://logicapptriggerurl/...
              useCommonAlertSchema: true
          smsReceivers:
            - name: oncallmsg
              countryCode: '1'
              phoneNumber: '1231231234'
          voiceReceivers:
            - name: remotesupport
              countryCode: '86'
              phoneNumber: '13888888888'
          webhookReceivers:
            - name: callmyapiaswell
              serviceUri: http://example.com/alert
              useCommonAlertSchema: true
    variables:
      current:
        fn::invoke:
          Function: azure:core:getClientConfig
          Arguments: {}
    

    Create ActionGroup Resource

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

    Constructor syntax

    new ActionGroup(name: string, args: ActionGroupArgs, opts?: CustomResourceOptions);
    @overload
    def ActionGroup(resource_name: str,
                    args: ActionGroupArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ActionGroup(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    resource_group_name: Optional[str] = None,
                    short_name: Optional[str] = None,
                    email_receivers: Optional[Sequence[ActionGroupEmailReceiverArgs]] = None,
                    logic_app_receivers: Optional[Sequence[ActionGroupLogicAppReceiverArgs]] = None,
                    arm_role_receivers: Optional[Sequence[ActionGroupArmRoleReceiverArgs]] = None,
                    enabled: Optional[bool] = None,
                    event_hub_receivers: Optional[Sequence[ActionGroupEventHubReceiverArgs]] = None,
                    itsm_receivers: Optional[Sequence[ActionGroupItsmReceiverArgs]] = None,
                    location: Optional[str] = None,
                    azure_function_receivers: Optional[Sequence[ActionGroupAzureFunctionReceiverArgs]] = None,
                    name: Optional[str] = None,
                    azure_app_push_receivers: Optional[Sequence[ActionGroupAzureAppPushReceiverArgs]] = None,
                    automation_runbook_receivers: Optional[Sequence[ActionGroupAutomationRunbookReceiverArgs]] = None,
                    sms_receivers: Optional[Sequence[ActionGroupSmsReceiverArgs]] = None,
                    tags: Optional[Mapping[str, str]] = None,
                    voice_receivers: Optional[Sequence[ActionGroupVoiceReceiverArgs]] = None,
                    webhook_receivers: Optional[Sequence[ActionGroupWebhookReceiverArgs]] = None)
    func NewActionGroup(ctx *Context, name string, args ActionGroupArgs, opts ...ResourceOption) (*ActionGroup, error)
    public ActionGroup(string name, ActionGroupArgs args, CustomResourceOptions? opts = null)
    public ActionGroup(String name, ActionGroupArgs args)
    public ActionGroup(String name, ActionGroupArgs args, CustomResourceOptions options)
    
    type: azure:monitoring:ActionGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    Example

    The following reference example uses placeholder values for all input properties.

    var actionGroupResource = new Azure.Monitoring.ActionGroup("actionGroupResource", new()
    {
        ResourceGroupName = "string",
        ShortName = "string",
        EmailReceivers = new[]
        {
            new Azure.Monitoring.Inputs.ActionGroupEmailReceiverArgs
            {
                EmailAddress = "string",
                Name = "string",
                UseCommonAlertSchema = false,
            },
        },
        LogicAppReceivers = new[]
        {
            new Azure.Monitoring.Inputs.ActionGroupLogicAppReceiverArgs
            {
                CallbackUrl = "string",
                Name = "string",
                ResourceId = "string",
                UseCommonAlertSchema = false,
            },
        },
        ArmRoleReceivers = new[]
        {
            new Azure.Monitoring.Inputs.ActionGroupArmRoleReceiverArgs
            {
                Name = "string",
                RoleId = "string",
                UseCommonAlertSchema = false,
            },
        },
        Enabled = false,
        EventHubReceivers = new[]
        {
            new Azure.Monitoring.Inputs.ActionGroupEventHubReceiverArgs
            {
                Name = "string",
                EventHubName = "string",
                EventHubNamespace = "string",
                SubscriptionId = "string",
                TenantId = "string",
                UseCommonAlertSchema = false,
            },
        },
        ItsmReceivers = new[]
        {
            new Azure.Monitoring.Inputs.ActionGroupItsmReceiverArgs
            {
                ConnectionId = "string",
                Name = "string",
                Region = "string",
                TicketConfiguration = "string",
                WorkspaceId = "string",
            },
        },
        Location = "string",
        AzureFunctionReceivers = new[]
        {
            new Azure.Monitoring.Inputs.ActionGroupAzureFunctionReceiverArgs
            {
                FunctionAppResourceId = "string",
                FunctionName = "string",
                HttpTriggerUrl = "string",
                Name = "string",
                UseCommonAlertSchema = false,
            },
        },
        Name = "string",
        AzureAppPushReceivers = new[]
        {
            new Azure.Monitoring.Inputs.ActionGroupAzureAppPushReceiverArgs
            {
                EmailAddress = "string",
                Name = "string",
            },
        },
        AutomationRunbookReceivers = new[]
        {
            new Azure.Monitoring.Inputs.ActionGroupAutomationRunbookReceiverArgs
            {
                AutomationAccountId = "string",
                IsGlobalRunbook = false,
                Name = "string",
                RunbookName = "string",
                ServiceUri = "string",
                WebhookResourceId = "string",
                UseCommonAlertSchema = false,
            },
        },
        SmsReceivers = new[]
        {
            new Azure.Monitoring.Inputs.ActionGroupSmsReceiverArgs
            {
                CountryCode = "string",
                Name = "string",
                PhoneNumber = "string",
            },
        },
        Tags = 
        {
            { "string", "string" },
        },
        VoiceReceivers = new[]
        {
            new Azure.Monitoring.Inputs.ActionGroupVoiceReceiverArgs
            {
                CountryCode = "string",
                Name = "string",
                PhoneNumber = "string",
            },
        },
        WebhookReceivers = new[]
        {
            new Azure.Monitoring.Inputs.ActionGroupWebhookReceiverArgs
            {
                Name = "string",
                ServiceUri = "string",
                AadAuth = new Azure.Monitoring.Inputs.ActionGroupWebhookReceiverAadAuthArgs
                {
                    ObjectId = "string",
                    IdentifierUri = "string",
                    TenantId = "string",
                },
                UseCommonAlertSchema = false,
            },
        },
    });
    
    example, err := monitoring.NewActionGroup(ctx, "actionGroupResource", &monitoring.ActionGroupArgs{
    	ResourceGroupName: pulumi.String("string"),
    	ShortName:         pulumi.String("string"),
    	EmailReceivers: monitoring.ActionGroupEmailReceiverArray{
    		&monitoring.ActionGroupEmailReceiverArgs{
    			EmailAddress:         pulumi.String("string"),
    			Name:                 pulumi.String("string"),
    			UseCommonAlertSchema: pulumi.Bool(false),
    		},
    	},
    	LogicAppReceivers: monitoring.ActionGroupLogicAppReceiverArray{
    		&monitoring.ActionGroupLogicAppReceiverArgs{
    			CallbackUrl:          pulumi.String("string"),
    			Name:                 pulumi.String("string"),
    			ResourceId:           pulumi.String("string"),
    			UseCommonAlertSchema: pulumi.Bool(false),
    		},
    	},
    	ArmRoleReceivers: monitoring.ActionGroupArmRoleReceiverArray{
    		&monitoring.ActionGroupArmRoleReceiverArgs{
    			Name:                 pulumi.String("string"),
    			RoleId:               pulumi.String("string"),
    			UseCommonAlertSchema: pulumi.Bool(false),
    		},
    	},
    	Enabled: pulumi.Bool(false),
    	EventHubReceivers: monitoring.ActionGroupEventHubReceiverArray{
    		&monitoring.ActionGroupEventHubReceiverArgs{
    			Name:                 pulumi.String("string"),
    			EventHubName:         pulumi.String("string"),
    			EventHubNamespace:    pulumi.String("string"),
    			SubscriptionId:       pulumi.String("string"),
    			TenantId:             pulumi.String("string"),
    			UseCommonAlertSchema: pulumi.Bool(false),
    		},
    	},
    	ItsmReceivers: monitoring.ActionGroupItsmReceiverArray{
    		&monitoring.ActionGroupItsmReceiverArgs{
    			ConnectionId:        pulumi.String("string"),
    			Name:                pulumi.String("string"),
    			Region:              pulumi.String("string"),
    			TicketConfiguration: pulumi.String("string"),
    			WorkspaceId:         pulumi.String("string"),
    		},
    	},
    	Location: pulumi.String("string"),
    	AzureFunctionReceivers: monitoring.ActionGroupAzureFunctionReceiverArray{
    		&monitoring.ActionGroupAzureFunctionReceiverArgs{
    			FunctionAppResourceId: pulumi.String("string"),
    			FunctionName:          pulumi.String("string"),
    			HttpTriggerUrl:        pulumi.String("string"),
    			Name:                  pulumi.String("string"),
    			UseCommonAlertSchema:  pulumi.Bool(false),
    		},
    	},
    	Name: pulumi.String("string"),
    	AzureAppPushReceivers: monitoring.ActionGroupAzureAppPushReceiverArray{
    		&monitoring.ActionGroupAzureAppPushReceiverArgs{
    			EmailAddress: pulumi.String("string"),
    			Name:         pulumi.String("string"),
    		},
    	},
    	AutomationRunbookReceivers: monitoring.ActionGroupAutomationRunbookReceiverArray{
    		&monitoring.ActionGroupAutomationRunbookReceiverArgs{
    			AutomationAccountId:  pulumi.String("string"),
    			IsGlobalRunbook:      pulumi.Bool(false),
    			Name:                 pulumi.String("string"),
    			RunbookName:          pulumi.String("string"),
    			ServiceUri:           pulumi.String("string"),
    			WebhookResourceId:    pulumi.String("string"),
    			UseCommonAlertSchema: pulumi.Bool(false),
    		},
    	},
    	SmsReceivers: monitoring.ActionGroupSmsReceiverArray{
    		&monitoring.ActionGroupSmsReceiverArgs{
    			CountryCode: pulumi.String("string"),
    			Name:        pulumi.String("string"),
    			PhoneNumber: pulumi.String("string"),
    		},
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	VoiceReceivers: monitoring.ActionGroupVoiceReceiverArray{
    		&monitoring.ActionGroupVoiceReceiverArgs{
    			CountryCode: pulumi.String("string"),
    			Name:        pulumi.String("string"),
    			PhoneNumber: pulumi.String("string"),
    		},
    	},
    	WebhookReceivers: monitoring.ActionGroupWebhookReceiverArray{
    		&monitoring.ActionGroupWebhookReceiverArgs{
    			Name:       pulumi.String("string"),
    			ServiceUri: pulumi.String("string"),
    			AadAuth: &monitoring.ActionGroupWebhookReceiverAadAuthArgs{
    				ObjectId:      pulumi.String("string"),
    				IdentifierUri: pulumi.String("string"),
    				TenantId:      pulumi.String("string"),
    			},
    			UseCommonAlertSchema: pulumi.Bool(false),
    		},
    	},
    })
    
    var actionGroupResource = new ActionGroup("actionGroupResource", ActionGroupArgs.builder()        
        .resourceGroupName("string")
        .shortName("string")
        .emailReceivers(ActionGroupEmailReceiverArgs.builder()
            .emailAddress("string")
            .name("string")
            .useCommonAlertSchema(false)
            .build())
        .logicAppReceivers(ActionGroupLogicAppReceiverArgs.builder()
            .callbackUrl("string")
            .name("string")
            .resourceId("string")
            .useCommonAlertSchema(false)
            .build())
        .armRoleReceivers(ActionGroupArmRoleReceiverArgs.builder()
            .name("string")
            .roleId("string")
            .useCommonAlertSchema(false)
            .build())
        .enabled(false)
        .eventHubReceivers(ActionGroupEventHubReceiverArgs.builder()
            .name("string")
            .eventHubName("string")
            .eventHubNamespace("string")
            .subscriptionId("string")
            .tenantId("string")
            .useCommonAlertSchema(false)
            .build())
        .itsmReceivers(ActionGroupItsmReceiverArgs.builder()
            .connectionId("string")
            .name("string")
            .region("string")
            .ticketConfiguration("string")
            .workspaceId("string")
            .build())
        .location("string")
        .azureFunctionReceivers(ActionGroupAzureFunctionReceiverArgs.builder()
            .functionAppResourceId("string")
            .functionName("string")
            .httpTriggerUrl("string")
            .name("string")
            .useCommonAlertSchema(false)
            .build())
        .name("string")
        .azureAppPushReceivers(ActionGroupAzureAppPushReceiverArgs.builder()
            .emailAddress("string")
            .name("string")
            .build())
        .automationRunbookReceivers(ActionGroupAutomationRunbookReceiverArgs.builder()
            .automationAccountId("string")
            .isGlobalRunbook(false)
            .name("string")
            .runbookName("string")
            .serviceUri("string")
            .webhookResourceId("string")
            .useCommonAlertSchema(false)
            .build())
        .smsReceivers(ActionGroupSmsReceiverArgs.builder()
            .countryCode("string")
            .name("string")
            .phoneNumber("string")
            .build())
        .tags(Map.of("string", "string"))
        .voiceReceivers(ActionGroupVoiceReceiverArgs.builder()
            .countryCode("string")
            .name("string")
            .phoneNumber("string")
            .build())
        .webhookReceivers(ActionGroupWebhookReceiverArgs.builder()
            .name("string")
            .serviceUri("string")
            .aadAuth(ActionGroupWebhookReceiverAadAuthArgs.builder()
                .objectId("string")
                .identifierUri("string")
                .tenantId("string")
                .build())
            .useCommonAlertSchema(false)
            .build())
        .build());
    
    action_group_resource = azure.monitoring.ActionGroup("actionGroupResource",
        resource_group_name="string",
        short_name="string",
        email_receivers=[azure.monitoring.ActionGroupEmailReceiverArgs(
            email_address="string",
            name="string",
            use_common_alert_schema=False,
        )],
        logic_app_receivers=[azure.monitoring.ActionGroupLogicAppReceiverArgs(
            callback_url="string",
            name="string",
            resource_id="string",
            use_common_alert_schema=False,
        )],
        arm_role_receivers=[azure.monitoring.ActionGroupArmRoleReceiverArgs(
            name="string",
            role_id="string",
            use_common_alert_schema=False,
        )],
        enabled=False,
        event_hub_receivers=[azure.monitoring.ActionGroupEventHubReceiverArgs(
            name="string",
            event_hub_name="string",
            event_hub_namespace="string",
            subscription_id="string",
            tenant_id="string",
            use_common_alert_schema=False,
        )],
        itsm_receivers=[azure.monitoring.ActionGroupItsmReceiverArgs(
            connection_id="string",
            name="string",
            region="string",
            ticket_configuration="string",
            workspace_id="string",
        )],
        location="string",
        azure_function_receivers=[azure.monitoring.ActionGroupAzureFunctionReceiverArgs(
            function_app_resource_id="string",
            function_name="string",
            http_trigger_url="string",
            name="string",
            use_common_alert_schema=False,
        )],
        name="string",
        azure_app_push_receivers=[azure.monitoring.ActionGroupAzureAppPushReceiverArgs(
            email_address="string",
            name="string",
        )],
        automation_runbook_receivers=[azure.monitoring.ActionGroupAutomationRunbookReceiverArgs(
            automation_account_id="string",
            is_global_runbook=False,
            name="string",
            runbook_name="string",
            service_uri="string",
            webhook_resource_id="string",
            use_common_alert_schema=False,
        )],
        sms_receivers=[azure.monitoring.ActionGroupSmsReceiverArgs(
            country_code="string",
            name="string",
            phone_number="string",
        )],
        tags={
            "string": "string",
        },
        voice_receivers=[azure.monitoring.ActionGroupVoiceReceiverArgs(
            country_code="string",
            name="string",
            phone_number="string",
        )],
        webhook_receivers=[azure.monitoring.ActionGroupWebhookReceiverArgs(
            name="string",
            service_uri="string",
            aad_auth=azure.monitoring.ActionGroupWebhookReceiverAadAuthArgs(
                object_id="string",
                identifier_uri="string",
                tenant_id="string",
            ),
            use_common_alert_schema=False,
        )])
    
    const actionGroupResource = new azure.monitoring.ActionGroup("actionGroupResource", {
        resourceGroupName: "string",
        shortName: "string",
        emailReceivers: [{
            emailAddress: "string",
            name: "string",
            useCommonAlertSchema: false,
        }],
        logicAppReceivers: [{
            callbackUrl: "string",
            name: "string",
            resourceId: "string",
            useCommonAlertSchema: false,
        }],
        armRoleReceivers: [{
            name: "string",
            roleId: "string",
            useCommonAlertSchema: false,
        }],
        enabled: false,
        eventHubReceivers: [{
            name: "string",
            eventHubName: "string",
            eventHubNamespace: "string",
            subscriptionId: "string",
            tenantId: "string",
            useCommonAlertSchema: false,
        }],
        itsmReceivers: [{
            connectionId: "string",
            name: "string",
            region: "string",
            ticketConfiguration: "string",
            workspaceId: "string",
        }],
        location: "string",
        azureFunctionReceivers: [{
            functionAppResourceId: "string",
            functionName: "string",
            httpTriggerUrl: "string",
            name: "string",
            useCommonAlertSchema: false,
        }],
        name: "string",
        azureAppPushReceivers: [{
            emailAddress: "string",
            name: "string",
        }],
        automationRunbookReceivers: [{
            automationAccountId: "string",
            isGlobalRunbook: false,
            name: "string",
            runbookName: "string",
            serviceUri: "string",
            webhookResourceId: "string",
            useCommonAlertSchema: false,
        }],
        smsReceivers: [{
            countryCode: "string",
            name: "string",
            phoneNumber: "string",
        }],
        tags: {
            string: "string",
        },
        voiceReceivers: [{
            countryCode: "string",
            name: "string",
            phoneNumber: "string",
        }],
        webhookReceivers: [{
            name: "string",
            serviceUri: "string",
            aadAuth: {
                objectId: "string",
                identifierUri: "string",
                tenantId: "string",
            },
            useCommonAlertSchema: false,
        }],
    });
    
    type: azure:monitoring:ActionGroup
    properties:
        armRoleReceivers:
            - name: string
              roleId: string
              useCommonAlertSchema: false
        automationRunbookReceivers:
            - automationAccountId: string
              isGlobalRunbook: false
              name: string
              runbookName: string
              serviceUri: string
              useCommonAlertSchema: false
              webhookResourceId: string
        azureAppPushReceivers:
            - emailAddress: string
              name: string
        azureFunctionReceivers:
            - functionAppResourceId: string
              functionName: string
              httpTriggerUrl: string
              name: string
              useCommonAlertSchema: false
        emailReceivers:
            - emailAddress: string
              name: string
              useCommonAlertSchema: false
        enabled: false
        eventHubReceivers:
            - eventHubName: string
              eventHubNamespace: string
              name: string
              subscriptionId: string
              tenantId: string
              useCommonAlertSchema: false
        itsmReceivers:
            - connectionId: string
              name: string
              region: string
              ticketConfiguration: string
              workspaceId: string
        location: string
        logicAppReceivers:
            - callbackUrl: string
              name: string
              resourceId: string
              useCommonAlertSchema: false
        name: string
        resourceGroupName: string
        shortName: string
        smsReceivers:
            - countryCode: string
              name: string
              phoneNumber: string
        tags:
            string: string
        voiceReceivers:
            - countryCode: string
              name: string
              phoneNumber: string
        webhookReceivers:
            - aadAuth:
                identifierUri: string
                objectId: string
                tenantId: string
              name: string
              serviceUri: string
              useCommonAlertSchema: false
    

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

    ResourceGroupName string
    The name of the resource group in which to create the Action Group instance. Changing this forces a new resource to be created.
    ShortName string
    The short name of the action group. This will be used in SMS messages.
    ArmRoleReceivers List<ActionGroupArmRoleReceiver>
    One or more arm_role_receiver blocks as defined below.
    AutomationRunbookReceivers List<ActionGroupAutomationRunbookReceiver>
    One or more automation_runbook_receiver blocks as defined below.
    AzureAppPushReceivers List<ActionGroupAzureAppPushReceiver>
    One or more azure_app_push_receiver blocks as defined below.
    AzureFunctionReceivers List<ActionGroupAzureFunctionReceiver>
    One or more azure_function_receiver blocks as defined below.
    EmailReceivers List<ActionGroupEmailReceiver>
    One or more email_receiver blocks as defined below.
    Enabled bool
    Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to true.
    EventHubReceivers List<ActionGroupEventHubReceiver>
    One or more event_hub_receiver blocks as defined below.
    ItsmReceivers List<ActionGroupItsmReceiver>
    One or more itsm_receiver blocks as defined below.
    Location string
    The Azure Region where the Action Group should exist. Changing this forces a new Action Group to be created. Defaults to global.
    LogicAppReceivers List<ActionGroupLogicAppReceiver>
    One or more logic_app_receiver blocks as defined below.
    Name string
    The name of the Action Group. Changing this forces a new resource to be created.
    SmsReceivers List<ActionGroupSmsReceiver>
    One or more sms_receiver blocks as defined below.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    VoiceReceivers List<ActionGroupVoiceReceiver>
    One or more voice_receiver blocks as defined below.
    WebhookReceivers List<ActionGroupWebhookReceiver>
    One or more webhook_receiver blocks as defined below.
    ResourceGroupName string
    The name of the resource group in which to create the Action Group instance. Changing this forces a new resource to be created.
    ShortName string
    The short name of the action group. This will be used in SMS messages.
    ArmRoleReceivers []ActionGroupArmRoleReceiverArgs
    One or more arm_role_receiver blocks as defined below.
    AutomationRunbookReceivers []ActionGroupAutomationRunbookReceiverArgs
    One or more automation_runbook_receiver blocks as defined below.
    AzureAppPushReceivers []ActionGroupAzureAppPushReceiverArgs
    One or more azure_app_push_receiver blocks as defined below.
    AzureFunctionReceivers []ActionGroupAzureFunctionReceiverArgs
    One or more azure_function_receiver blocks as defined below.
    EmailReceivers []ActionGroupEmailReceiverArgs
    One or more email_receiver blocks as defined below.
    Enabled bool
    Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to true.
    EventHubReceivers []ActionGroupEventHubReceiverArgs
    One or more event_hub_receiver blocks as defined below.
    ItsmReceivers []ActionGroupItsmReceiverArgs
    One or more itsm_receiver blocks as defined below.
    Location string
    The Azure Region where the Action Group should exist. Changing this forces a new Action Group to be created. Defaults to global.
    LogicAppReceivers []ActionGroupLogicAppReceiverArgs
    One or more logic_app_receiver blocks as defined below.
    Name string
    The name of the Action Group. Changing this forces a new resource to be created.
    SmsReceivers []ActionGroupSmsReceiverArgs
    One or more sms_receiver blocks as defined below.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    VoiceReceivers []ActionGroupVoiceReceiverArgs
    One or more voice_receiver blocks as defined below.
    WebhookReceivers []ActionGroupWebhookReceiverArgs
    One or more webhook_receiver blocks as defined below.
    resourceGroupName String
    The name of the resource group in which to create the Action Group instance. Changing this forces a new resource to be created.
    shortName String
    The short name of the action group. This will be used in SMS messages.
    armRoleReceivers List<ActionGroupArmRoleReceiver>
    One or more arm_role_receiver blocks as defined below.
    automationRunbookReceivers List<ActionGroupAutomationRunbookReceiver>
    One or more automation_runbook_receiver blocks as defined below.
    azureAppPushReceivers List<ActionGroupAzureAppPushReceiver>
    One or more azure_app_push_receiver blocks as defined below.
    azureFunctionReceivers List<ActionGroupAzureFunctionReceiver>
    One or more azure_function_receiver blocks as defined below.
    emailReceivers List<ActionGroupEmailReceiver>
    One or more email_receiver blocks as defined below.
    enabled Boolean
    Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to true.
    eventHubReceivers List<ActionGroupEventHubReceiver>
    One or more event_hub_receiver blocks as defined below.
    itsmReceivers List<ActionGroupItsmReceiver>
    One or more itsm_receiver blocks as defined below.
    location String
    The Azure Region where the Action Group should exist. Changing this forces a new Action Group to be created. Defaults to global.
    logicAppReceivers List<ActionGroupLogicAppReceiver>
    One or more logic_app_receiver blocks as defined below.
    name String
    The name of the Action Group. Changing this forces a new resource to be created.
    smsReceivers List<ActionGroupSmsReceiver>
    One or more sms_receiver blocks as defined below.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    voiceReceivers List<ActionGroupVoiceReceiver>
    One or more voice_receiver blocks as defined below.
    webhookReceivers List<ActionGroupWebhookReceiver>
    One or more webhook_receiver blocks as defined below.
    resourceGroupName string
    The name of the resource group in which to create the Action Group instance. Changing this forces a new resource to be created.
    shortName string
    The short name of the action group. This will be used in SMS messages.
    armRoleReceivers ActionGroupArmRoleReceiver[]
    One or more arm_role_receiver blocks as defined below.
    automationRunbookReceivers ActionGroupAutomationRunbookReceiver[]
    One or more automation_runbook_receiver blocks as defined below.
    azureAppPushReceivers ActionGroupAzureAppPushReceiver[]
    One or more azure_app_push_receiver blocks as defined below.
    azureFunctionReceivers ActionGroupAzureFunctionReceiver[]
    One or more azure_function_receiver blocks as defined below.
    emailReceivers ActionGroupEmailReceiver[]
    One or more email_receiver blocks as defined below.
    enabled boolean
    Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to true.
    eventHubReceivers ActionGroupEventHubReceiver[]
    One or more event_hub_receiver blocks as defined below.
    itsmReceivers ActionGroupItsmReceiver[]
    One or more itsm_receiver blocks as defined below.
    location string
    The Azure Region where the Action Group should exist. Changing this forces a new Action Group to be created. Defaults to global.
    logicAppReceivers ActionGroupLogicAppReceiver[]
    One or more logic_app_receiver blocks as defined below.
    name string
    The name of the Action Group. Changing this forces a new resource to be created.
    smsReceivers ActionGroupSmsReceiver[]
    One or more sms_receiver blocks as defined below.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    voiceReceivers ActionGroupVoiceReceiver[]
    One or more voice_receiver blocks as defined below.
    webhookReceivers ActionGroupWebhookReceiver[]
    One or more webhook_receiver blocks as defined below.
    resource_group_name str
    The name of the resource group in which to create the Action Group instance. Changing this forces a new resource to be created.
    short_name str
    The short name of the action group. This will be used in SMS messages.
    arm_role_receivers Sequence[ActionGroupArmRoleReceiverArgs]
    One or more arm_role_receiver blocks as defined below.
    automation_runbook_receivers Sequence[ActionGroupAutomationRunbookReceiverArgs]
    One or more automation_runbook_receiver blocks as defined below.
    azure_app_push_receivers Sequence[ActionGroupAzureAppPushReceiverArgs]
    One or more azure_app_push_receiver blocks as defined below.
    azure_function_receivers Sequence[ActionGroupAzureFunctionReceiverArgs]
    One or more azure_function_receiver blocks as defined below.
    email_receivers Sequence[ActionGroupEmailReceiverArgs]
    One or more email_receiver blocks as defined below.
    enabled bool
    Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to true.
    event_hub_receivers Sequence[ActionGroupEventHubReceiverArgs]
    One or more event_hub_receiver blocks as defined below.
    itsm_receivers Sequence[ActionGroupItsmReceiverArgs]
    One or more itsm_receiver blocks as defined below.
    location str
    The Azure Region where the Action Group should exist. Changing this forces a new Action Group to be created. Defaults to global.
    logic_app_receivers Sequence[ActionGroupLogicAppReceiverArgs]
    One or more logic_app_receiver blocks as defined below.
    name str
    The name of the Action Group. Changing this forces a new resource to be created.
    sms_receivers Sequence[ActionGroupSmsReceiverArgs]
    One or more sms_receiver blocks as defined below.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    voice_receivers Sequence[ActionGroupVoiceReceiverArgs]
    One or more voice_receiver blocks as defined below.
    webhook_receivers Sequence[ActionGroupWebhookReceiverArgs]
    One or more webhook_receiver blocks as defined below.
    resourceGroupName String
    The name of the resource group in which to create the Action Group instance. Changing this forces a new resource to be created.
    shortName String
    The short name of the action group. This will be used in SMS messages.
    armRoleReceivers List<Property Map>
    One or more arm_role_receiver blocks as defined below.
    automationRunbookReceivers List<Property Map>
    One or more automation_runbook_receiver blocks as defined below.
    azureAppPushReceivers List<Property Map>
    One or more azure_app_push_receiver blocks as defined below.
    azureFunctionReceivers List<Property Map>
    One or more azure_function_receiver blocks as defined below.
    emailReceivers List<Property Map>
    One or more email_receiver blocks as defined below.
    enabled Boolean
    Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to true.
    eventHubReceivers List<Property Map>
    One or more event_hub_receiver blocks as defined below.
    itsmReceivers List<Property Map>
    One or more itsm_receiver blocks as defined below.
    location String
    The Azure Region where the Action Group should exist. Changing this forces a new Action Group to be created. Defaults to global.
    logicAppReceivers List<Property Map>
    One or more logic_app_receiver blocks as defined below.
    name String
    The name of the Action Group. Changing this forces a new resource to be created.
    smsReceivers List<Property Map>
    One or more sms_receiver blocks as defined below.
    tags Map<String>
    A mapping of tags to assign to the resource.
    voiceReceivers List<Property Map>
    One or more voice_receiver blocks as defined below.
    webhookReceivers List<Property Map>
    One or more webhook_receiver blocks as defined below.

    Outputs

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

    Get an existing ActionGroup 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?: ActionGroupState, opts?: CustomResourceOptions): ActionGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arm_role_receivers: Optional[Sequence[ActionGroupArmRoleReceiverArgs]] = None,
            automation_runbook_receivers: Optional[Sequence[ActionGroupAutomationRunbookReceiverArgs]] = None,
            azure_app_push_receivers: Optional[Sequence[ActionGroupAzureAppPushReceiverArgs]] = None,
            azure_function_receivers: Optional[Sequence[ActionGroupAzureFunctionReceiverArgs]] = None,
            email_receivers: Optional[Sequence[ActionGroupEmailReceiverArgs]] = None,
            enabled: Optional[bool] = None,
            event_hub_receivers: Optional[Sequence[ActionGroupEventHubReceiverArgs]] = None,
            itsm_receivers: Optional[Sequence[ActionGroupItsmReceiverArgs]] = None,
            location: Optional[str] = None,
            logic_app_receivers: Optional[Sequence[ActionGroupLogicAppReceiverArgs]] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            short_name: Optional[str] = None,
            sms_receivers: Optional[Sequence[ActionGroupSmsReceiverArgs]] = None,
            tags: Optional[Mapping[str, str]] = None,
            voice_receivers: Optional[Sequence[ActionGroupVoiceReceiverArgs]] = None,
            webhook_receivers: Optional[Sequence[ActionGroupWebhookReceiverArgs]] = None) -> ActionGroup
    func GetActionGroup(ctx *Context, name string, id IDInput, state *ActionGroupState, opts ...ResourceOption) (*ActionGroup, error)
    public static ActionGroup Get(string name, Input<string> id, ActionGroupState? state, CustomResourceOptions? opts = null)
    public static ActionGroup get(String name, Output<String> id, ActionGroupState 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:
    ArmRoleReceivers List<ActionGroupArmRoleReceiver>
    One or more arm_role_receiver blocks as defined below.
    AutomationRunbookReceivers List<ActionGroupAutomationRunbookReceiver>
    One or more automation_runbook_receiver blocks as defined below.
    AzureAppPushReceivers List<ActionGroupAzureAppPushReceiver>
    One or more azure_app_push_receiver blocks as defined below.
    AzureFunctionReceivers List<ActionGroupAzureFunctionReceiver>
    One or more azure_function_receiver blocks as defined below.
    EmailReceivers List<ActionGroupEmailReceiver>
    One or more email_receiver blocks as defined below.
    Enabled bool
    Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to true.
    EventHubReceivers List<ActionGroupEventHubReceiver>
    One or more event_hub_receiver blocks as defined below.
    ItsmReceivers List<ActionGroupItsmReceiver>
    One or more itsm_receiver blocks as defined below.
    Location string
    The Azure Region where the Action Group should exist. Changing this forces a new Action Group to be created. Defaults to global.
    LogicAppReceivers List<ActionGroupLogicAppReceiver>
    One or more logic_app_receiver blocks as defined below.
    Name string
    The name of the Action Group. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the resource group in which to create the Action Group instance. Changing this forces a new resource to be created.
    ShortName string
    The short name of the action group. This will be used in SMS messages.
    SmsReceivers List<ActionGroupSmsReceiver>
    One or more sms_receiver blocks as defined below.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    VoiceReceivers List<ActionGroupVoiceReceiver>
    One or more voice_receiver blocks as defined below.
    WebhookReceivers List<ActionGroupWebhookReceiver>
    One or more webhook_receiver blocks as defined below.
    ArmRoleReceivers []ActionGroupArmRoleReceiverArgs
    One or more arm_role_receiver blocks as defined below.
    AutomationRunbookReceivers []ActionGroupAutomationRunbookReceiverArgs
    One or more automation_runbook_receiver blocks as defined below.
    AzureAppPushReceivers []ActionGroupAzureAppPushReceiverArgs
    One or more azure_app_push_receiver blocks as defined below.
    AzureFunctionReceivers []ActionGroupAzureFunctionReceiverArgs
    One or more azure_function_receiver blocks as defined below.
    EmailReceivers []ActionGroupEmailReceiverArgs
    One or more email_receiver blocks as defined below.
    Enabled bool
    Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to true.
    EventHubReceivers []ActionGroupEventHubReceiverArgs
    One or more event_hub_receiver blocks as defined below.
    ItsmReceivers []ActionGroupItsmReceiverArgs
    One or more itsm_receiver blocks as defined below.
    Location string
    The Azure Region where the Action Group should exist. Changing this forces a new Action Group to be created. Defaults to global.
    LogicAppReceivers []ActionGroupLogicAppReceiverArgs
    One or more logic_app_receiver blocks as defined below.
    Name string
    The name of the Action Group. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the resource group in which to create the Action Group instance. Changing this forces a new resource to be created.
    ShortName string
    The short name of the action group. This will be used in SMS messages.
    SmsReceivers []ActionGroupSmsReceiverArgs
    One or more sms_receiver blocks as defined below.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    VoiceReceivers []ActionGroupVoiceReceiverArgs
    One or more voice_receiver blocks as defined below.
    WebhookReceivers []ActionGroupWebhookReceiverArgs
    One or more webhook_receiver blocks as defined below.
    armRoleReceivers List<ActionGroupArmRoleReceiver>
    One or more arm_role_receiver blocks as defined below.
    automationRunbookReceivers List<ActionGroupAutomationRunbookReceiver>
    One or more automation_runbook_receiver blocks as defined below.
    azureAppPushReceivers List<ActionGroupAzureAppPushReceiver>
    One or more azure_app_push_receiver blocks as defined below.
    azureFunctionReceivers List<ActionGroupAzureFunctionReceiver>
    One or more azure_function_receiver blocks as defined below.
    emailReceivers List<ActionGroupEmailReceiver>
    One or more email_receiver blocks as defined below.
    enabled Boolean
    Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to true.
    eventHubReceivers List<ActionGroupEventHubReceiver>
    One or more event_hub_receiver blocks as defined below.
    itsmReceivers List<ActionGroupItsmReceiver>
    One or more itsm_receiver blocks as defined below.
    location String
    The Azure Region where the Action Group should exist. Changing this forces a new Action Group to be created. Defaults to global.
    logicAppReceivers List<ActionGroupLogicAppReceiver>
    One or more logic_app_receiver blocks as defined below.
    name String
    The name of the Action Group. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group in which to create the Action Group instance. Changing this forces a new resource to be created.
    shortName String
    The short name of the action group. This will be used in SMS messages.
    smsReceivers List<ActionGroupSmsReceiver>
    One or more sms_receiver blocks as defined below.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    voiceReceivers List<ActionGroupVoiceReceiver>
    One or more voice_receiver blocks as defined below.
    webhookReceivers List<ActionGroupWebhookReceiver>
    One or more webhook_receiver blocks as defined below.
    armRoleReceivers ActionGroupArmRoleReceiver[]
    One or more arm_role_receiver blocks as defined below.
    automationRunbookReceivers ActionGroupAutomationRunbookReceiver[]
    One or more automation_runbook_receiver blocks as defined below.
    azureAppPushReceivers ActionGroupAzureAppPushReceiver[]
    One or more azure_app_push_receiver blocks as defined below.
    azureFunctionReceivers ActionGroupAzureFunctionReceiver[]
    One or more azure_function_receiver blocks as defined below.
    emailReceivers ActionGroupEmailReceiver[]
    One or more email_receiver blocks as defined below.
    enabled boolean
    Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to true.
    eventHubReceivers ActionGroupEventHubReceiver[]
    One or more event_hub_receiver blocks as defined below.
    itsmReceivers ActionGroupItsmReceiver[]
    One or more itsm_receiver blocks as defined below.
    location string
    The Azure Region where the Action Group should exist. Changing this forces a new Action Group to be created. Defaults to global.
    logicAppReceivers ActionGroupLogicAppReceiver[]
    One or more logic_app_receiver blocks as defined below.
    name string
    The name of the Action Group. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the resource group in which to create the Action Group instance. Changing this forces a new resource to be created.
    shortName string
    The short name of the action group. This will be used in SMS messages.
    smsReceivers ActionGroupSmsReceiver[]
    One or more sms_receiver blocks as defined below.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    voiceReceivers ActionGroupVoiceReceiver[]
    One or more voice_receiver blocks as defined below.
    webhookReceivers ActionGroupWebhookReceiver[]
    One or more webhook_receiver blocks as defined below.
    arm_role_receivers Sequence[ActionGroupArmRoleReceiverArgs]
    One or more arm_role_receiver blocks as defined below.
    automation_runbook_receivers Sequence[ActionGroupAutomationRunbookReceiverArgs]
    One or more automation_runbook_receiver blocks as defined below.
    azure_app_push_receivers Sequence[ActionGroupAzureAppPushReceiverArgs]
    One or more azure_app_push_receiver blocks as defined below.
    azure_function_receivers Sequence[ActionGroupAzureFunctionReceiverArgs]
    One or more azure_function_receiver blocks as defined below.
    email_receivers Sequence[ActionGroupEmailReceiverArgs]
    One or more email_receiver blocks as defined below.
    enabled bool
    Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to true.
    event_hub_receivers Sequence[ActionGroupEventHubReceiverArgs]
    One or more event_hub_receiver blocks as defined below.
    itsm_receivers Sequence[ActionGroupItsmReceiverArgs]
    One or more itsm_receiver blocks as defined below.
    location str
    The Azure Region where the Action Group should exist. Changing this forces a new Action Group to be created. Defaults to global.
    logic_app_receivers Sequence[ActionGroupLogicAppReceiverArgs]
    One or more logic_app_receiver blocks as defined below.
    name str
    The name of the Action Group. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the resource group in which to create the Action Group instance. Changing this forces a new resource to be created.
    short_name str
    The short name of the action group. This will be used in SMS messages.
    sms_receivers Sequence[ActionGroupSmsReceiverArgs]
    One or more sms_receiver blocks as defined below.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    voice_receivers Sequence[ActionGroupVoiceReceiverArgs]
    One or more voice_receiver blocks as defined below.
    webhook_receivers Sequence[ActionGroupWebhookReceiverArgs]
    One or more webhook_receiver blocks as defined below.
    armRoleReceivers List<Property Map>
    One or more arm_role_receiver blocks as defined below.
    automationRunbookReceivers List<Property Map>
    One or more automation_runbook_receiver blocks as defined below.
    azureAppPushReceivers List<Property Map>
    One or more azure_app_push_receiver blocks as defined below.
    azureFunctionReceivers List<Property Map>
    One or more azure_function_receiver blocks as defined below.
    emailReceivers List<Property Map>
    One or more email_receiver blocks as defined below.
    enabled Boolean
    Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to true.
    eventHubReceivers List<Property Map>
    One or more event_hub_receiver blocks as defined below.
    itsmReceivers List<Property Map>
    One or more itsm_receiver blocks as defined below.
    location String
    The Azure Region where the Action Group should exist. Changing this forces a new Action Group to be created. Defaults to global.
    logicAppReceivers List<Property Map>
    One or more logic_app_receiver blocks as defined below.
    name String
    The name of the Action Group. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group in which to create the Action Group instance. Changing this forces a new resource to be created.
    shortName String
    The short name of the action group. This will be used in SMS messages.
    smsReceivers List<Property Map>
    One or more sms_receiver blocks as defined below.
    tags Map<String>
    A mapping of tags to assign to the resource.
    voiceReceivers List<Property Map>
    One or more voice_receiver blocks as defined below.
    webhookReceivers List<Property Map>
    One or more webhook_receiver blocks as defined below.

    Supporting Types

    ActionGroupArmRoleReceiver, ActionGroupArmRoleReceiverArgs

    Name string
    The name of the ARM role receiver.
    RoleId string
    The arm role id.
    UseCommonAlertSchema bool
    Enables or disables the common alert schema.
    Name string
    The name of the ARM role receiver.
    RoleId string
    The arm role id.
    UseCommonAlertSchema bool
    Enables or disables the common alert schema.
    name String
    The name of the ARM role receiver.
    roleId String
    The arm role id.
    useCommonAlertSchema Boolean
    Enables or disables the common alert schema.
    name string
    The name of the ARM role receiver.
    roleId string
    The arm role id.
    useCommonAlertSchema boolean
    Enables or disables the common alert schema.
    name str
    The name of the ARM role receiver.
    role_id str
    The arm role id.
    use_common_alert_schema bool
    Enables or disables the common alert schema.
    name String
    The name of the ARM role receiver.
    roleId String
    The arm role id.
    useCommonAlertSchema Boolean
    Enables or disables the common alert schema.

    ActionGroupAutomationRunbookReceiver, ActionGroupAutomationRunbookReceiverArgs

    AutomationAccountId string
    The automation account ID which holds this runbook and authenticates to Azure resources.
    IsGlobalRunbook bool
    Indicates whether this instance is global runbook.
    Name string
    The name of the automation runbook receiver.
    RunbookName string
    The name for this runbook.
    ServiceUri string
    The URI where webhooks should be sent.
    WebhookResourceId string
    The resource id for webhook linked to this runbook.
    UseCommonAlertSchema bool
    Enables or disables the common alert schema.
    AutomationAccountId string
    The automation account ID which holds this runbook and authenticates to Azure resources.
    IsGlobalRunbook bool
    Indicates whether this instance is global runbook.
    Name string
    The name of the automation runbook receiver.
    RunbookName string
    The name for this runbook.
    ServiceUri string
    The URI where webhooks should be sent.
    WebhookResourceId string
    The resource id for webhook linked to this runbook.
    UseCommonAlertSchema bool
    Enables or disables the common alert schema.
    automationAccountId String
    The automation account ID which holds this runbook and authenticates to Azure resources.
    isGlobalRunbook Boolean
    Indicates whether this instance is global runbook.
    name String
    The name of the automation runbook receiver.
    runbookName String
    The name for this runbook.
    serviceUri String
    The URI where webhooks should be sent.
    webhookResourceId String
    The resource id for webhook linked to this runbook.
    useCommonAlertSchema Boolean
    Enables or disables the common alert schema.
    automationAccountId string
    The automation account ID which holds this runbook and authenticates to Azure resources.
    isGlobalRunbook boolean
    Indicates whether this instance is global runbook.
    name string
    The name of the automation runbook receiver.
    runbookName string
    The name for this runbook.
    serviceUri string
    The URI where webhooks should be sent.
    webhookResourceId string
    The resource id for webhook linked to this runbook.
    useCommonAlertSchema boolean
    Enables or disables the common alert schema.
    automation_account_id str
    The automation account ID which holds this runbook and authenticates to Azure resources.
    is_global_runbook bool
    Indicates whether this instance is global runbook.
    name str
    The name of the automation runbook receiver.
    runbook_name str
    The name for this runbook.
    service_uri str
    The URI where webhooks should be sent.
    webhook_resource_id str
    The resource id for webhook linked to this runbook.
    use_common_alert_schema bool
    Enables or disables the common alert schema.
    automationAccountId String
    The automation account ID which holds this runbook and authenticates to Azure resources.
    isGlobalRunbook Boolean
    Indicates whether this instance is global runbook.
    name String
    The name of the automation runbook receiver.
    runbookName String
    The name for this runbook.
    serviceUri String
    The URI where webhooks should be sent.
    webhookResourceId String
    The resource id for webhook linked to this runbook.
    useCommonAlertSchema Boolean
    Enables or disables the common alert schema.

    ActionGroupAzureAppPushReceiver, ActionGroupAzureAppPushReceiverArgs

    EmailAddress string
    The email address of the user signed into the mobile app who will receive push notifications from this receiver.
    Name string
    The name of the Azure app push receiver.
    EmailAddress string
    The email address of the user signed into the mobile app who will receive push notifications from this receiver.
    Name string
    The name of the Azure app push receiver.
    emailAddress String
    The email address of the user signed into the mobile app who will receive push notifications from this receiver.
    name String
    The name of the Azure app push receiver.
    emailAddress string
    The email address of the user signed into the mobile app who will receive push notifications from this receiver.
    name string
    The name of the Azure app push receiver.
    email_address str
    The email address of the user signed into the mobile app who will receive push notifications from this receiver.
    name str
    The name of the Azure app push receiver.
    emailAddress String
    The email address of the user signed into the mobile app who will receive push notifications from this receiver.
    name String
    The name of the Azure app push receiver.

    ActionGroupAzureFunctionReceiver, ActionGroupAzureFunctionReceiverArgs

    FunctionAppResourceId string
    The Azure resource ID of the function app.
    FunctionName string
    The function name in the function app.
    HttpTriggerUrl string
    The HTTP trigger url where HTTP request sent to.
    Name string
    The name of the Azure Function receiver.
    UseCommonAlertSchema bool
    Enables or disables the common alert schema.
    FunctionAppResourceId string
    The Azure resource ID of the function app.
    FunctionName string
    The function name in the function app.
    HttpTriggerUrl string
    The HTTP trigger url where HTTP request sent to.
    Name string
    The name of the Azure Function receiver.
    UseCommonAlertSchema bool
    Enables or disables the common alert schema.
    functionAppResourceId String
    The Azure resource ID of the function app.
    functionName String
    The function name in the function app.
    httpTriggerUrl String
    The HTTP trigger url where HTTP request sent to.
    name String
    The name of the Azure Function receiver.
    useCommonAlertSchema Boolean
    Enables or disables the common alert schema.
    functionAppResourceId string
    The Azure resource ID of the function app.
    functionName string
    The function name in the function app.
    httpTriggerUrl string
    The HTTP trigger url where HTTP request sent to.
    name string
    The name of the Azure Function receiver.
    useCommonAlertSchema boolean
    Enables or disables the common alert schema.
    function_app_resource_id str
    The Azure resource ID of the function app.
    function_name str
    The function name in the function app.
    http_trigger_url str
    The HTTP trigger url where HTTP request sent to.
    name str
    The name of the Azure Function receiver.
    use_common_alert_schema bool
    Enables or disables the common alert schema.
    functionAppResourceId String
    The Azure resource ID of the function app.
    functionName String
    The function name in the function app.
    httpTriggerUrl String
    The HTTP trigger url where HTTP request sent to.
    name String
    The name of the Azure Function receiver.
    useCommonAlertSchema Boolean
    Enables or disables the common alert schema.

    ActionGroupEmailReceiver, ActionGroupEmailReceiverArgs

    EmailAddress string
    The email address of this receiver.
    Name string
    The name of the email receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    UseCommonAlertSchema bool
    Enables or disables the common alert schema.
    EmailAddress string
    The email address of this receiver.
    Name string
    The name of the email receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    UseCommonAlertSchema bool
    Enables or disables the common alert schema.
    emailAddress String
    The email address of this receiver.
    name String
    The name of the email receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    useCommonAlertSchema Boolean
    Enables or disables the common alert schema.
    emailAddress string
    The email address of this receiver.
    name string
    The name of the email receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    useCommonAlertSchema boolean
    Enables or disables the common alert schema.
    email_address str
    The email address of this receiver.
    name str
    The name of the email receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    use_common_alert_schema bool
    Enables or disables the common alert schema.
    emailAddress String
    The email address of this receiver.
    name String
    The name of the email receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    useCommonAlertSchema Boolean
    Enables or disables the common alert schema.

    ActionGroupEventHubReceiver, ActionGroupEventHubReceiverArgs

    Name string
    The name of the EventHub Receiver, must be unique within action group.
    EventHubId string
    The resource ID of the respective Event Hub.

    Deprecated: This property is deprecated and will be removed in version 4.0 of the provider, please use 'event_hub_name' and 'event_hub_namespace' instead.

    EventHubName string
    The name of the specific Event Hub queue.
    EventHubNamespace string
    The namespace name of the Event Hub.
    SubscriptionId string

    The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.

    NOTE: event_hub_id is deprecated in version 3.0 and will be removed in version 4.0 of the AzureRM Provider. Please use event_hub_name, event_hub_name,and subscription_id instead. And event_hub_name, event_hub_name will be required properties in version 4.0.

    TenantId string
    The Tenant ID for the subscription containing this Event Hub.
    UseCommonAlertSchema bool
    Indicates whether to use common alert schema.
    Name string
    The name of the EventHub Receiver, must be unique within action group.
    EventHubId string
    The resource ID of the respective Event Hub.

    Deprecated: This property is deprecated and will be removed in version 4.0 of the provider, please use 'event_hub_name' and 'event_hub_namespace' instead.

    EventHubName string
    The name of the specific Event Hub queue.
    EventHubNamespace string
    The namespace name of the Event Hub.
    SubscriptionId string

    The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.

    NOTE: event_hub_id is deprecated in version 3.0 and will be removed in version 4.0 of the AzureRM Provider. Please use event_hub_name, event_hub_name,and subscription_id instead. And event_hub_name, event_hub_name will be required properties in version 4.0.

    TenantId string
    The Tenant ID for the subscription containing this Event Hub.
    UseCommonAlertSchema bool
    Indicates whether to use common alert schema.
    name String
    The name of the EventHub Receiver, must be unique within action group.
    eventHubId String
    The resource ID of the respective Event Hub.

    Deprecated: This property is deprecated and will be removed in version 4.0 of the provider, please use 'event_hub_name' and 'event_hub_namespace' instead.

    eventHubName String
    The name of the specific Event Hub queue.
    eventHubNamespace String
    The namespace name of the Event Hub.
    subscriptionId String

    The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.

    NOTE: event_hub_id is deprecated in version 3.0 and will be removed in version 4.0 of the AzureRM Provider. Please use event_hub_name, event_hub_name,and subscription_id instead. And event_hub_name, event_hub_name will be required properties in version 4.0.

    tenantId String
    The Tenant ID for the subscription containing this Event Hub.
    useCommonAlertSchema Boolean
    Indicates whether to use common alert schema.
    name string
    The name of the EventHub Receiver, must be unique within action group.
    eventHubId string
    The resource ID of the respective Event Hub.

    Deprecated: This property is deprecated and will be removed in version 4.0 of the provider, please use 'event_hub_name' and 'event_hub_namespace' instead.

    eventHubName string
    The name of the specific Event Hub queue.
    eventHubNamespace string
    The namespace name of the Event Hub.
    subscriptionId string

    The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.

    NOTE: event_hub_id is deprecated in version 3.0 and will be removed in version 4.0 of the AzureRM Provider. Please use event_hub_name, event_hub_name,and subscription_id instead. And event_hub_name, event_hub_name will be required properties in version 4.0.

    tenantId string
    The Tenant ID for the subscription containing this Event Hub.
    useCommonAlertSchema boolean
    Indicates whether to use common alert schema.
    name str
    The name of the EventHub Receiver, must be unique within action group.
    event_hub_id str
    The resource ID of the respective Event Hub.

    Deprecated: This property is deprecated and will be removed in version 4.0 of the provider, please use 'event_hub_name' and 'event_hub_namespace' instead.

    event_hub_name str
    The name of the specific Event Hub queue.
    event_hub_namespace str
    The namespace name of the Event Hub.
    subscription_id str

    The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.

    NOTE: event_hub_id is deprecated in version 3.0 and will be removed in version 4.0 of the AzureRM Provider. Please use event_hub_name, event_hub_name,and subscription_id instead. And event_hub_name, event_hub_name will be required properties in version 4.0.

    tenant_id str
    The Tenant ID for the subscription containing this Event Hub.
    use_common_alert_schema bool
    Indicates whether to use common alert schema.
    name String
    The name of the EventHub Receiver, must be unique within action group.
    eventHubId String
    The resource ID of the respective Event Hub.

    Deprecated: This property is deprecated and will be removed in version 4.0 of the provider, please use 'event_hub_name' and 'event_hub_namespace' instead.

    eventHubName String
    The name of the specific Event Hub queue.
    eventHubNamespace String
    The namespace name of the Event Hub.
    subscriptionId String

    The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.

    NOTE: event_hub_id is deprecated in version 3.0 and will be removed in version 4.0 of the AzureRM Provider. Please use event_hub_name, event_hub_name,and subscription_id instead. And event_hub_name, event_hub_name will be required properties in version 4.0.

    tenantId String
    The Tenant ID for the subscription containing this Event Hub.
    useCommonAlertSchema Boolean
    Indicates whether to use common alert schema.

    ActionGroupItsmReceiver, ActionGroupItsmReceiverArgs

    ConnectionId string
    The unique connection identifier of the ITSM connection.
    Name string
    The name of the ITSM receiver.
    Region string

    The region of the workspace.

    NOTE ticket_configuration should be JSON blob with PayloadRevision and WorkItemType keys (e.g., ticket_configuration="{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\"}"), and ticket_configuration="{}" will return an error, see more at this REST API issue

    TicketConfiguration string
    A JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
    WorkspaceId string
    The Azure Log Analytics workspace ID where this connection is defined. Format is <subscription id>|<workspace id>, for example 00000000-0000-0000-0000-000000000000|00000000-0000-0000-0000-000000000000.
    ConnectionId string
    The unique connection identifier of the ITSM connection.
    Name string
    The name of the ITSM receiver.
    Region string

    The region of the workspace.

    NOTE ticket_configuration should be JSON blob with PayloadRevision and WorkItemType keys (e.g., ticket_configuration="{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\"}"), and ticket_configuration="{}" will return an error, see more at this REST API issue

    TicketConfiguration string
    A JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
    WorkspaceId string
    The Azure Log Analytics workspace ID where this connection is defined. Format is <subscription id>|<workspace id>, for example 00000000-0000-0000-0000-000000000000|00000000-0000-0000-0000-000000000000.
    connectionId String
    The unique connection identifier of the ITSM connection.
    name String
    The name of the ITSM receiver.
    region String

    The region of the workspace.

    NOTE ticket_configuration should be JSON blob with PayloadRevision and WorkItemType keys (e.g., ticket_configuration="{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\"}"), and ticket_configuration="{}" will return an error, see more at this REST API issue

    ticketConfiguration String
    A JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
    workspaceId String
    The Azure Log Analytics workspace ID where this connection is defined. Format is <subscription id>|<workspace id>, for example 00000000-0000-0000-0000-000000000000|00000000-0000-0000-0000-000000000000.
    connectionId string
    The unique connection identifier of the ITSM connection.
    name string
    The name of the ITSM receiver.
    region string

    The region of the workspace.

    NOTE ticket_configuration should be JSON blob with PayloadRevision and WorkItemType keys (e.g., ticket_configuration="{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\"}"), and ticket_configuration="{}" will return an error, see more at this REST API issue

    ticketConfiguration string
    A JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
    workspaceId string
    The Azure Log Analytics workspace ID where this connection is defined. Format is <subscription id>|<workspace id>, for example 00000000-0000-0000-0000-000000000000|00000000-0000-0000-0000-000000000000.
    connection_id str
    The unique connection identifier of the ITSM connection.
    name str
    The name of the ITSM receiver.
    region str

    The region of the workspace.

    NOTE ticket_configuration should be JSON blob with PayloadRevision and WorkItemType keys (e.g., ticket_configuration="{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\"}"), and ticket_configuration="{}" will return an error, see more at this REST API issue

    ticket_configuration str
    A JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
    workspace_id str
    The Azure Log Analytics workspace ID where this connection is defined. Format is <subscription id>|<workspace id>, for example 00000000-0000-0000-0000-000000000000|00000000-0000-0000-0000-000000000000.
    connectionId String
    The unique connection identifier of the ITSM connection.
    name String
    The name of the ITSM receiver.
    region String

    The region of the workspace.

    NOTE ticket_configuration should be JSON blob with PayloadRevision and WorkItemType keys (e.g., ticket_configuration="{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\"}"), and ticket_configuration="{}" will return an error, see more at this REST API issue

    ticketConfiguration String
    A JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
    workspaceId String
    The Azure Log Analytics workspace ID where this connection is defined. Format is <subscription id>|<workspace id>, for example 00000000-0000-0000-0000-000000000000|00000000-0000-0000-0000-000000000000.

    ActionGroupLogicAppReceiver, ActionGroupLogicAppReceiverArgs

    CallbackUrl string
    The callback url where HTTP request sent to.
    Name string
    The name of the logic app receiver.
    ResourceId string
    The Azure resource ID of the logic app.
    UseCommonAlertSchema bool
    Enables or disables the common alert schema.
    CallbackUrl string
    The callback url where HTTP request sent to.
    Name string
    The name of the logic app receiver.
    ResourceId string
    The Azure resource ID of the logic app.
    UseCommonAlertSchema bool
    Enables or disables the common alert schema.
    callbackUrl String
    The callback url where HTTP request sent to.
    name String
    The name of the logic app receiver.
    resourceId String
    The Azure resource ID of the logic app.
    useCommonAlertSchema Boolean
    Enables or disables the common alert schema.
    callbackUrl string
    The callback url where HTTP request sent to.
    name string
    The name of the logic app receiver.
    resourceId string
    The Azure resource ID of the logic app.
    useCommonAlertSchema boolean
    Enables or disables the common alert schema.
    callback_url str
    The callback url where HTTP request sent to.
    name str
    The name of the logic app receiver.
    resource_id str
    The Azure resource ID of the logic app.
    use_common_alert_schema bool
    Enables or disables the common alert schema.
    callbackUrl String
    The callback url where HTTP request sent to.
    name String
    The name of the logic app receiver.
    resourceId String
    The Azure resource ID of the logic app.
    useCommonAlertSchema Boolean
    Enables or disables the common alert schema.

    ActionGroupSmsReceiver, ActionGroupSmsReceiverArgs

    CountryCode string
    The country code of the SMS receiver.
    Name string
    The name of the SMS receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    PhoneNumber string
    The phone number of the SMS receiver.
    CountryCode string
    The country code of the SMS receiver.
    Name string
    The name of the SMS receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    PhoneNumber string
    The phone number of the SMS receiver.
    countryCode String
    The country code of the SMS receiver.
    name String
    The name of the SMS receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    phoneNumber String
    The phone number of the SMS receiver.
    countryCode string
    The country code of the SMS receiver.
    name string
    The name of the SMS receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    phoneNumber string
    The phone number of the SMS receiver.
    country_code str
    The country code of the SMS receiver.
    name str
    The name of the SMS receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    phone_number str
    The phone number of the SMS receiver.
    countryCode String
    The country code of the SMS receiver.
    name String
    The name of the SMS receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    phoneNumber String
    The phone number of the SMS receiver.

    ActionGroupVoiceReceiver, ActionGroupVoiceReceiverArgs

    CountryCode string
    The country code of the voice receiver.
    Name string
    The name of the voice receiver.
    PhoneNumber string
    The phone number of the voice receiver.
    CountryCode string
    The country code of the voice receiver.
    Name string
    The name of the voice receiver.
    PhoneNumber string
    The phone number of the voice receiver.
    countryCode String
    The country code of the voice receiver.
    name String
    The name of the voice receiver.
    phoneNumber String
    The phone number of the voice receiver.
    countryCode string
    The country code of the voice receiver.
    name string
    The name of the voice receiver.
    phoneNumber string
    The phone number of the voice receiver.
    country_code str
    The country code of the voice receiver.
    name str
    The name of the voice receiver.
    phone_number str
    The phone number of the voice receiver.
    countryCode String
    The country code of the voice receiver.
    name String
    The name of the voice receiver.
    phoneNumber String
    The phone number of the voice receiver.

    ActionGroupWebhookReceiver, ActionGroupWebhookReceiverArgs

    Name string
    The name of the webhook receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    ServiceUri string
    The URI where webhooks should be sent.
    AadAuth ActionGroupWebhookReceiverAadAuth

    The aad_auth block as defined below.

    NOTE: Before adding a secure webhook receiver by setting aad_auth, please read the configuration instruction of the AAD application.

    UseCommonAlertSchema bool
    Enables or disables the common alert schema.
    Name string
    The name of the webhook receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    ServiceUri string
    The URI where webhooks should be sent.
    AadAuth ActionGroupWebhookReceiverAadAuth

    The aad_auth block as defined below.

    NOTE: Before adding a secure webhook receiver by setting aad_auth, please read the configuration instruction of the AAD application.

    UseCommonAlertSchema bool
    Enables or disables the common alert schema.
    name String
    The name of the webhook receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    serviceUri String
    The URI where webhooks should be sent.
    aadAuth ActionGroupWebhookReceiverAadAuth

    The aad_auth block as defined below.

    NOTE: Before adding a secure webhook receiver by setting aad_auth, please read the configuration instruction of the AAD application.

    useCommonAlertSchema Boolean
    Enables or disables the common alert schema.
    name string
    The name of the webhook receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    serviceUri string
    The URI where webhooks should be sent.
    aadAuth ActionGroupWebhookReceiverAadAuth

    The aad_auth block as defined below.

    NOTE: Before adding a secure webhook receiver by setting aad_auth, please read the configuration instruction of the AAD application.

    useCommonAlertSchema boolean
    Enables or disables the common alert schema.
    name str
    The name of the webhook receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    service_uri str
    The URI where webhooks should be sent.
    aad_auth ActionGroupWebhookReceiverAadAuth

    The aad_auth block as defined below.

    NOTE: Before adding a secure webhook receiver by setting aad_auth, please read the configuration instruction of the AAD application.

    use_common_alert_schema bool
    Enables or disables the common alert schema.
    name String
    The name of the webhook receiver. Names must be unique (case-insensitive) across all receivers within an action group.
    serviceUri String
    The URI where webhooks should be sent.
    aadAuth Property Map

    The aad_auth block as defined below.

    NOTE: Before adding a secure webhook receiver by setting aad_auth, please read the configuration instruction of the AAD application.

    useCommonAlertSchema Boolean
    Enables or disables the common alert schema.

    ActionGroupWebhookReceiverAadAuth, ActionGroupWebhookReceiverAadAuthArgs

    ObjectId string
    The webhook application object Id for AAD auth.
    IdentifierUri string
    The identifier URI for AAD auth.
    TenantId string
    The tenant id for AAD auth.
    ObjectId string
    The webhook application object Id for AAD auth.
    IdentifierUri string
    The identifier URI for AAD auth.
    TenantId string
    The tenant id for AAD auth.
    objectId String
    The webhook application object Id for AAD auth.
    identifierUri String
    The identifier URI for AAD auth.
    tenantId String
    The tenant id for AAD auth.
    objectId string
    The webhook application object Id for AAD auth.
    identifierUri string
    The identifier URI for AAD auth.
    tenantId string
    The tenant id for AAD auth.
    object_id str
    The webhook application object Id for AAD auth.
    identifier_uri str
    The identifier URI for AAD auth.
    tenant_id str
    The tenant id for AAD auth.
    objectId String
    The webhook application object Id for AAD auth.
    identifierUri String
    The identifier URI for AAD auth.
    tenantId String
    The tenant id for AAD auth.

    Import

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

    $ pulumi import azure:monitoring/actionGroup:ActionGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Insights/actionGroups/myagname
    

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

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi