We recommend using Azure Native.
azure.monitoring.ActionGroup
Explore with Pulumi AI
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=[{
        "name": "armroleaction",
        "role_id": "de139f84-1756-47ae-9be6-808fbbe84772",
        "use_common_alert_schema": True,
    }],
    automation_runbook_receivers=[{
        "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=[{
        "name": "pushtoadmin",
        "email_address": "admin@contoso.com",
    }],
    azure_function_receivers=[{
        "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=[
        {
            "name": "sendtoadmin",
            "email_address": "admin@contoso.com",
        },
        {
            "name": "sendtodevops",
            "email_address": "devops@contoso.com",
            "use_common_alert_schema": True,
        },
    ],
    event_hub_receivers=[{
        "name": "sendtoeventhub",
        "event_hub_namespace": "eventhubnamespace",
        "event_hub_name": "eventhub1",
        "subscription_id": "00000000-0000-0000-0000-000000000000",
        "use_common_alert_schema": False,
    }],
    itsm_receivers=[{
        "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=[{
        "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=[{
        "name": "oncallmsg",
        "country_code": "1",
        "phone_number": "1231231234",
    }],
    voice_receivers=[{
        "name": "remotesupport",
        "country_code": "86",
        "phone_number": "13888888888",
    }],
    webhook_receivers=[{
        "name": "callmyapiaswell",
        "service_uri": "http://example.com/alert",
        "use_common_alert_schema": True,
    }])
package main
import (
	"fmt"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/monitoring"
	"github.com/pulumi/pulumi-azure/sdk/v6/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, map[string]interface{}{}, 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.
Constructor 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
        {
            EventHubName = "string",
            EventHubNamespace = "string",
            Name = "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{
			EventHubName:         pulumi.String("string"),
			EventHubNamespace:    pulumi.String("string"),
			Name:                 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()
        .eventHubName("string")
        .eventHubNamespace("string")
        .name("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=[{
        "email_address": "string",
        "name": "string",
        "use_common_alert_schema": False,
    }],
    logic_app_receivers=[{
        "callback_url": "string",
        "name": "string",
        "resource_id": "string",
        "use_common_alert_schema": False,
    }],
    arm_role_receivers=[{
        "name": "string",
        "role_id": "string",
        "use_common_alert_schema": False,
    }],
    enabled=False,
    event_hub_receivers=[{
        "event_hub_name": "string",
        "event_hub_namespace": "string",
        "name": "string",
        "subscription_id": "string",
        "tenant_id": "string",
        "use_common_alert_schema": False,
    }],
    itsm_receivers=[{
        "connection_id": "string",
        "name": "string",
        "region": "string",
        "ticket_configuration": "string",
        "workspace_id": "string",
    }],
    location="string",
    azure_function_receivers=[{
        "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=[{
        "email_address": "string",
        "name": "string",
    }],
    automation_runbook_receivers=[{
        "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=[{
        "country_code": "string",
        "name": "string",
        "phone_number": "string",
    }],
    tags={
        "string": "string",
    },
    voice_receivers=[{
        "country_code": "string",
        "name": "string",
        "phone_number": "string",
    }],
    webhook_receivers=[{
        "name": "string",
        "service_uri": "string",
        "aad_auth": {
            "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: [{
        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",
    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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ActionGroup resource accepts the following input properties:
- ResourceGroup stringName 
- 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.
- ArmRole List<ActionReceivers Group Arm Role Receiver> 
- One or more arm_role_receiverblocks as defined below.
- AutomationRunbook List<ActionReceivers Group Automation Runbook Receiver> 
- One or more automation_runbook_receiverblocks as defined below.
- AzureApp List<ActionPush Receivers Group Azure App Push Receiver> 
- One or more azure_app_push_receiverblocks as defined below.
- AzureFunction List<ActionReceivers Group Azure Function Receiver> 
- One or more azure_function_receiverblocks as defined below.
- EmailReceivers List<ActionGroup Email Receiver> 
- One or more email_receiverblocks 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.
- EventHub List<ActionReceivers Group Event Hub Receiver> 
- One or more event_hub_receiverblocks as defined below.
- ItsmReceivers List<ActionGroup Itsm Receiver> 
- One or more itsm_receiverblocks 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.
- LogicApp List<ActionReceivers Group Logic App Receiver> 
- One or more logic_app_receiverblocks as defined below.
- Name string
- The name of the Action Group. Changing this forces a new resource to be created.
- SmsReceivers List<ActionGroup Sms Receiver> 
- One or more sms_receiverblocks as defined below.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- VoiceReceivers List<ActionGroup Voice Receiver> 
- One or more voice_receiverblocks as defined below.
- WebhookReceivers List<ActionGroup Webhook Receiver> 
- One or more webhook_receiverblocks as defined below.
- ResourceGroup stringName 
- 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.
- ArmRole []ActionReceivers Group Arm Role Receiver Args 
- One or more arm_role_receiverblocks as defined below.
- AutomationRunbook []ActionReceivers Group Automation Runbook Receiver Args 
- One or more automation_runbook_receiverblocks as defined below.
- AzureApp []ActionPush Receivers Group Azure App Push Receiver Args 
- One or more azure_app_push_receiverblocks as defined below.
- AzureFunction []ActionReceivers Group Azure Function Receiver Args 
- One or more azure_function_receiverblocks as defined below.
- EmailReceivers []ActionGroup Email Receiver Args 
- One or more email_receiverblocks 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.
- EventHub []ActionReceivers Group Event Hub Receiver Args 
- One or more event_hub_receiverblocks as defined below.
- ItsmReceivers []ActionGroup Itsm Receiver Args 
- One or more itsm_receiverblocks 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.
- LogicApp []ActionReceivers Group Logic App Receiver Args 
- One or more logic_app_receiverblocks as defined below.
- Name string
- The name of the Action Group. Changing this forces a new resource to be created.
- SmsReceivers []ActionGroup Sms Receiver Args 
- One or more sms_receiverblocks as defined below.
- map[string]string
- A mapping of tags to assign to the resource.
- VoiceReceivers []ActionGroup Voice Receiver Args 
- One or more voice_receiverblocks as defined below.
- WebhookReceivers []ActionGroup Webhook Receiver Args 
- One or more webhook_receiverblocks as defined below.
- resourceGroup StringName 
- 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.
- armRole List<ActionReceivers Group Arm Role Receiver> 
- One or more arm_role_receiverblocks as defined below.
- automationRunbook List<ActionReceivers Group Automation Runbook Receiver> 
- One or more automation_runbook_receiverblocks as defined below.
- azureApp List<ActionPush Receivers Group Azure App Push Receiver> 
- One or more azure_app_push_receiverblocks as defined below.
- azureFunction List<ActionReceivers Group Azure Function Receiver> 
- One or more azure_function_receiverblocks as defined below.
- emailReceivers List<ActionGroup Email Receiver> 
- One or more email_receiverblocks 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.
- eventHub List<ActionReceivers Group Event Hub Receiver> 
- One or more event_hub_receiverblocks as defined below.
- itsmReceivers List<ActionGroup Itsm Receiver> 
- One or more itsm_receiverblocks 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.
- logicApp List<ActionReceivers Group Logic App Receiver> 
- One or more logic_app_receiverblocks as defined below.
- name String
- The name of the Action Group. Changing this forces a new resource to be created.
- smsReceivers List<ActionGroup Sms Receiver> 
- One or more sms_receiverblocks as defined below.
- Map<String,String>
- A mapping of tags to assign to the resource.
- voiceReceivers List<ActionGroup Voice Receiver> 
- One or more voice_receiverblocks as defined below.
- webhookReceivers List<ActionGroup Webhook Receiver> 
- One or more webhook_receiverblocks as defined below.
- resourceGroup stringName 
- 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.
- armRole ActionReceivers Group Arm Role Receiver[] 
- One or more arm_role_receiverblocks as defined below.
- automationRunbook ActionReceivers Group Automation Runbook Receiver[] 
- One or more automation_runbook_receiverblocks as defined below.
- azureApp ActionPush Receivers Group Azure App Push Receiver[] 
- One or more azure_app_push_receiverblocks as defined below.
- azureFunction ActionReceivers Group Azure Function Receiver[] 
- One or more azure_function_receiverblocks as defined below.
- emailReceivers ActionGroup Email Receiver[] 
- One or more email_receiverblocks 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.
- eventHub ActionReceivers Group Event Hub Receiver[] 
- One or more event_hub_receiverblocks as defined below.
- itsmReceivers ActionGroup Itsm Receiver[] 
- One or more itsm_receiverblocks 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.
- logicApp ActionReceivers Group Logic App Receiver[] 
- One or more logic_app_receiverblocks as defined below.
- name string
- The name of the Action Group. Changing this forces a new resource to be created.
- smsReceivers ActionGroup Sms Receiver[] 
- One or more sms_receiverblocks as defined below.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- voiceReceivers ActionGroup Voice Receiver[] 
- One or more voice_receiverblocks as defined below.
- webhookReceivers ActionGroup Webhook Receiver[] 
- One or more webhook_receiverblocks as defined below.
- resource_group_ strname 
- 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_ Sequence[Actionreceivers Group Arm Role Receiver Args] 
- One or more arm_role_receiverblocks as defined below.
- automation_runbook_ Sequence[Actionreceivers Group Automation Runbook Receiver Args] 
- One or more automation_runbook_receiverblocks as defined below.
- azure_app_ Sequence[Actionpush_ receivers Group Azure App Push Receiver Args] 
- One or more azure_app_push_receiverblocks as defined below.
- azure_function_ Sequence[Actionreceivers Group Azure Function Receiver Args] 
- One or more azure_function_receiverblocks as defined below.
- email_receivers Sequence[ActionGroup Email Receiver Args] 
- One or more email_receiverblocks 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_ Sequence[Actionreceivers Group Event Hub Receiver Args] 
- One or more event_hub_receiverblocks as defined below.
- itsm_receivers Sequence[ActionGroup Itsm Receiver Args] 
- One or more itsm_receiverblocks 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_ Sequence[Actionreceivers Group Logic App Receiver Args] 
- One or more logic_app_receiverblocks as defined below.
- name str
- The name of the Action Group. Changing this forces a new resource to be created.
- sms_receivers Sequence[ActionGroup Sms Receiver Args] 
- One or more sms_receiverblocks as defined below.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- voice_receivers Sequence[ActionGroup Voice Receiver Args] 
- One or more voice_receiverblocks as defined below.
- webhook_receivers Sequence[ActionGroup Webhook Receiver Args] 
- One or more webhook_receiverblocks as defined below.
- resourceGroup StringName 
- 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.
- armRole List<Property Map>Receivers 
- One or more arm_role_receiverblocks as defined below.
- automationRunbook List<Property Map>Receivers 
- One or more automation_runbook_receiverblocks as defined below.
- azureApp List<Property Map>Push Receivers 
- One or more azure_app_push_receiverblocks as defined below.
- azureFunction List<Property Map>Receivers 
- One or more azure_function_receiverblocks as defined below.
- emailReceivers List<Property Map>
- One or more email_receiverblocks 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.
- eventHub List<Property Map>Receivers 
- One or more event_hub_receiverblocks as defined below.
- itsmReceivers List<Property Map>
- One or more itsm_receiverblocks 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.
- logicApp List<Property Map>Receivers 
- One or more logic_app_receiverblocks 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_receiverblocks as defined below.
- Map<String>
- A mapping of tags to assign to the resource.
- voiceReceivers List<Property Map>
- One or more voice_receiverblocks as defined below.
- webhookReceivers List<Property Map>
- One or more webhook_receiverblocks 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) -> ActionGroupfunc 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)resources:  _:    type: azure:monitoring:ActionGroup    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- ArmRole List<ActionReceivers Group Arm Role Receiver> 
- One or more arm_role_receiverblocks as defined below.
- AutomationRunbook List<ActionReceivers Group Automation Runbook Receiver> 
- One or more automation_runbook_receiverblocks as defined below.
- AzureApp List<ActionPush Receivers Group Azure App Push Receiver> 
- One or more azure_app_push_receiverblocks as defined below.
- AzureFunction List<ActionReceivers Group Azure Function Receiver> 
- One or more azure_function_receiverblocks as defined below.
- EmailReceivers List<ActionGroup Email Receiver> 
- One or more email_receiverblocks 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.
- EventHub List<ActionReceivers Group Event Hub Receiver> 
- One or more event_hub_receiverblocks as defined below.
- ItsmReceivers List<ActionGroup Itsm Receiver> 
- One or more itsm_receiverblocks 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.
- LogicApp List<ActionReceivers Group Logic App Receiver> 
- One or more logic_app_receiverblocks as defined below.
- Name string
- The name of the Action Group. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- 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<ActionGroup Sms Receiver> 
- One or more sms_receiverblocks as defined below.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- VoiceReceivers List<ActionGroup Voice Receiver> 
- One or more voice_receiverblocks as defined below.
- WebhookReceivers List<ActionGroup Webhook Receiver> 
- One or more webhook_receiverblocks as defined below.
- ArmRole []ActionReceivers Group Arm Role Receiver Args 
- One or more arm_role_receiverblocks as defined below.
- AutomationRunbook []ActionReceivers Group Automation Runbook Receiver Args 
- One or more automation_runbook_receiverblocks as defined below.
- AzureApp []ActionPush Receivers Group Azure App Push Receiver Args 
- One or more azure_app_push_receiverblocks as defined below.
- AzureFunction []ActionReceivers Group Azure Function Receiver Args 
- One or more azure_function_receiverblocks as defined below.
- EmailReceivers []ActionGroup Email Receiver Args 
- One or more email_receiverblocks 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.
- EventHub []ActionReceivers Group Event Hub Receiver Args 
- One or more event_hub_receiverblocks as defined below.
- ItsmReceivers []ActionGroup Itsm Receiver Args 
- One or more itsm_receiverblocks 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.
- LogicApp []ActionReceivers Group Logic App Receiver Args 
- One or more logic_app_receiverblocks as defined below.
- Name string
- The name of the Action Group. Changing this forces a new resource to be created.
- ResourceGroup stringName 
- 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 []ActionGroup Sms Receiver Args 
- One or more sms_receiverblocks as defined below.
- map[string]string
- A mapping of tags to assign to the resource.
- VoiceReceivers []ActionGroup Voice Receiver Args 
- One or more voice_receiverblocks as defined below.
- WebhookReceivers []ActionGroup Webhook Receiver Args 
- One or more webhook_receiverblocks as defined below.
- armRole List<ActionReceivers Group Arm Role Receiver> 
- One or more arm_role_receiverblocks as defined below.
- automationRunbook List<ActionReceivers Group Automation Runbook Receiver> 
- One or more automation_runbook_receiverblocks as defined below.
- azureApp List<ActionPush Receivers Group Azure App Push Receiver> 
- One or more azure_app_push_receiverblocks as defined below.
- azureFunction List<ActionReceivers Group Azure Function Receiver> 
- One or more azure_function_receiverblocks as defined below.
- emailReceivers List<ActionGroup Email Receiver> 
- One or more email_receiverblocks 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.
- eventHub List<ActionReceivers Group Event Hub Receiver> 
- One or more event_hub_receiverblocks as defined below.
- itsmReceivers List<ActionGroup Itsm Receiver> 
- One or more itsm_receiverblocks 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.
- logicApp List<ActionReceivers Group Logic App Receiver> 
- One or more logic_app_receiverblocks as defined below.
- name String
- The name of the Action Group. Changing this forces a new resource to be created.
- resourceGroup StringName 
- 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<ActionGroup Sms Receiver> 
- One or more sms_receiverblocks as defined below.
- Map<String,String>
- A mapping of tags to assign to the resource.
- voiceReceivers List<ActionGroup Voice Receiver> 
- One or more voice_receiverblocks as defined below.
- webhookReceivers List<ActionGroup Webhook Receiver> 
- One or more webhook_receiverblocks as defined below.
- armRole ActionReceivers Group Arm Role Receiver[] 
- One or more arm_role_receiverblocks as defined below.
- automationRunbook ActionReceivers Group Automation Runbook Receiver[] 
- One or more automation_runbook_receiverblocks as defined below.
- azureApp ActionPush Receivers Group Azure App Push Receiver[] 
- One or more azure_app_push_receiverblocks as defined below.
- azureFunction ActionReceivers Group Azure Function Receiver[] 
- One or more azure_function_receiverblocks as defined below.
- emailReceivers ActionGroup Email Receiver[] 
- One or more email_receiverblocks 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.
- eventHub ActionReceivers Group Event Hub Receiver[] 
- One or more event_hub_receiverblocks as defined below.
- itsmReceivers ActionGroup Itsm Receiver[] 
- One or more itsm_receiverblocks 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.
- logicApp ActionReceivers Group Logic App Receiver[] 
- One or more logic_app_receiverblocks as defined below.
- name string
- The name of the Action Group. Changing this forces a new resource to be created.
- resourceGroup stringName 
- 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 ActionGroup Sms Receiver[] 
- One or more sms_receiverblocks as defined below.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- voiceReceivers ActionGroup Voice Receiver[] 
- One or more voice_receiverblocks as defined below.
- webhookReceivers ActionGroup Webhook Receiver[] 
- One or more webhook_receiverblocks as defined below.
- arm_role_ Sequence[Actionreceivers Group Arm Role Receiver Args] 
- One or more arm_role_receiverblocks as defined below.
- automation_runbook_ Sequence[Actionreceivers Group Automation Runbook Receiver Args] 
- One or more automation_runbook_receiverblocks as defined below.
- azure_app_ Sequence[Actionpush_ receivers Group Azure App Push Receiver Args] 
- One or more azure_app_push_receiverblocks as defined below.
- azure_function_ Sequence[Actionreceivers Group Azure Function Receiver Args] 
- One or more azure_function_receiverblocks as defined below.
- email_receivers Sequence[ActionGroup Email Receiver Args] 
- One or more email_receiverblocks 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_ Sequence[Actionreceivers Group Event Hub Receiver Args] 
- One or more event_hub_receiverblocks as defined below.
- itsm_receivers Sequence[ActionGroup Itsm Receiver Args] 
- One or more itsm_receiverblocks 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_ Sequence[Actionreceivers Group Logic App Receiver Args] 
- One or more logic_app_receiverblocks as defined below.
- name str
- The name of the Action Group. Changing this forces a new resource to be created.
- resource_group_ strname 
- 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[ActionGroup Sms Receiver Args] 
- One or more sms_receiverblocks as defined below.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- voice_receivers Sequence[ActionGroup Voice Receiver Args] 
- One or more voice_receiverblocks as defined below.
- webhook_receivers Sequence[ActionGroup Webhook Receiver Args] 
- One or more webhook_receiverblocks as defined below.
- armRole List<Property Map>Receivers 
- One or more arm_role_receiverblocks as defined below.
- automationRunbook List<Property Map>Receivers 
- One or more automation_runbook_receiverblocks as defined below.
- azureApp List<Property Map>Push Receivers 
- One or more azure_app_push_receiverblocks as defined below.
- azureFunction List<Property Map>Receivers 
- One or more azure_function_receiverblocks as defined below.
- emailReceivers List<Property Map>
- One or more email_receiverblocks 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.
- eventHub List<Property Map>Receivers 
- One or more event_hub_receiverblocks as defined below.
- itsmReceivers List<Property Map>
- One or more itsm_receiverblocks 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.
- logicApp List<Property Map>Receivers 
- One or more logic_app_receiverblocks as defined below.
- name String
- The name of the Action Group. Changing this forces a new resource to be created.
- resourceGroup StringName 
- 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_receiverblocks as defined below.
- Map<String>
- A mapping of tags to assign to the resource.
- voiceReceivers List<Property Map>
- One or more voice_receiverblocks as defined below.
- webhookReceivers List<Property Map>
- One or more webhook_receiverblocks as defined below.
Supporting Types
ActionGroupArmRoleReceiver, ActionGroupArmRoleReceiverArgs          
- Name string
- The name of the ARM role receiver.
- RoleId string
- The arm role id.
- UseCommon boolAlert Schema 
- Enables or disables the common alert schema.
- Name string
- The name of the ARM role receiver.
- RoleId string
- The arm role id.
- UseCommon boolAlert Schema 
- Enables or disables the common alert schema.
- name String
- The name of the ARM role receiver.
- roleId String
- The arm role id.
- useCommon BooleanAlert Schema 
- Enables or disables the common alert schema.
- name string
- The name of the ARM role receiver.
- roleId string
- The arm role id.
- useCommon booleanAlert Schema 
- 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_ boolalert_ schema 
- Enables or disables the common alert schema.
- name String
- The name of the ARM role receiver.
- roleId String
- The arm role id.
- useCommon BooleanAlert Schema 
- Enables or disables the common alert schema.
ActionGroupAutomationRunbookReceiver, ActionGroupAutomationRunbookReceiverArgs          
- AutomationAccount stringId 
- The automation account ID which holds this runbook and authenticates to Azure resources.
- IsGlobal boolRunbook 
- 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.
- WebhookResource stringId 
- The resource id for webhook linked to this runbook.
- UseCommon boolAlert Schema 
- Enables or disables the common alert schema.
- AutomationAccount stringId 
- The automation account ID which holds this runbook and authenticates to Azure resources.
- IsGlobal boolRunbook 
- 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.
- WebhookResource stringId 
- The resource id for webhook linked to this runbook.
- UseCommon boolAlert Schema 
- Enables or disables the common alert schema.
- automationAccount StringId 
- The automation account ID which holds this runbook and authenticates to Azure resources.
- isGlobal BooleanRunbook 
- 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.
- webhookResource StringId 
- The resource id for webhook linked to this runbook.
- useCommon BooleanAlert Schema 
- Enables or disables the common alert schema.
- automationAccount stringId 
- The automation account ID which holds this runbook and authenticates to Azure resources.
- isGlobal booleanRunbook 
- 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.
- webhookResource stringId 
- The resource id for webhook linked to this runbook.
- useCommon booleanAlert Schema 
- Enables or disables the common alert schema.
- automation_account_ strid 
- The automation account ID which holds this runbook and authenticates to Azure resources.
- is_global_ boolrunbook 
- 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_ strid 
- The resource id for webhook linked to this runbook.
- use_common_ boolalert_ schema 
- Enables or disables the common alert schema.
- automationAccount StringId 
- The automation account ID which holds this runbook and authenticates to Azure resources.
- isGlobal BooleanRunbook 
- 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.
- webhookResource StringId 
- The resource id for webhook linked to this runbook.
- useCommon BooleanAlert Schema 
- 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          
- FunctionApp stringResource Id 
- The Azure resource ID of the function app.
- FunctionName string
- The function name in the function app.
- HttpTrigger stringUrl 
- The HTTP trigger url where HTTP request sent to.
- Name string
- The name of the Azure Function receiver.
- UseCommon boolAlert Schema 
- Enables or disables the common alert schema.
- FunctionApp stringResource Id 
- The Azure resource ID of the function app.
- FunctionName string
- The function name in the function app.
- HttpTrigger stringUrl 
- The HTTP trigger url where HTTP request sent to.
- Name string
- The name of the Azure Function receiver.
- UseCommon boolAlert Schema 
- Enables or disables the common alert schema.
- functionApp StringResource Id 
- The Azure resource ID of the function app.
- functionName String
- The function name in the function app.
- httpTrigger StringUrl 
- The HTTP trigger url where HTTP request sent to.
- name String
- The name of the Azure Function receiver.
- useCommon BooleanAlert Schema 
- Enables or disables the common alert schema.
- functionApp stringResource Id 
- The Azure resource ID of the function app.
- functionName string
- The function name in the function app.
- httpTrigger stringUrl 
- The HTTP trigger url where HTTP request sent to.
- name string
- The name of the Azure Function receiver.
- useCommon booleanAlert Schema 
- Enables or disables the common alert schema.
- function_app_ strresource_ id 
- The Azure resource ID of the function app.
- function_name str
- The function name in the function app.
- http_trigger_ strurl 
- The HTTP trigger url where HTTP request sent to.
- name str
- The name of the Azure Function receiver.
- use_common_ boolalert_ schema 
- Enables or disables the common alert schema.
- functionApp StringResource Id 
- The Azure resource ID of the function app.
- functionName String
- The function name in the function app.
- httpTrigger StringUrl 
- The HTTP trigger url where HTTP request sent to.
- name String
- The name of the Azure Function receiver.
- useCommon BooleanAlert Schema 
- 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.
- UseCommon boolAlert Schema 
- 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.
- UseCommon boolAlert Schema 
- 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.
- useCommon BooleanAlert Schema 
- 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.
- useCommon booleanAlert Schema 
- 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_ boolalert_ schema 
- 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.
- useCommon BooleanAlert Schema 
- Enables or disables the common alert schema.
ActionGroupEventHubReceiver, ActionGroupEventHubReceiverArgs          
- EventHub stringName 
- The name of the specific Event Hub queue.
- EventHub stringNamespace 
- The namespace name of the Event Hub.
- Name string
- The name of the EventHub Receiver, must be unique within action group.
- SubscriptionId string
- The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.
- TenantId string
- The Tenant ID for the subscription containing this Event Hub.
- UseCommon boolAlert Schema 
- Indicates whether to use common alert schema.
- EventHub stringName 
- The name of the specific Event Hub queue.
- EventHub stringNamespace 
- The namespace name of the Event Hub.
- Name string
- The name of the EventHub Receiver, must be unique within action group.
- SubscriptionId string
- The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.
- TenantId string
- The Tenant ID for the subscription containing this Event Hub.
- UseCommon boolAlert Schema 
- Indicates whether to use common alert schema.
- eventHub StringName 
- The name of the specific Event Hub queue.
- eventHub StringNamespace 
- The namespace name of the Event Hub.
- name String
- The name of the EventHub Receiver, must be unique within action group.
- subscriptionId String
- The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.
- tenantId String
- The Tenant ID for the subscription containing this Event Hub.
- useCommon BooleanAlert Schema 
- Indicates whether to use common alert schema.
- eventHub stringName 
- The name of the specific Event Hub queue.
- eventHub stringNamespace 
- The namespace name of the Event Hub.
- name string
- The name of the EventHub Receiver, must be unique within action group.
- subscriptionId string
- The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.
- tenantId string
- The Tenant ID for the subscription containing this Event Hub.
- useCommon booleanAlert Schema 
- Indicates whether to use common alert schema.
- event_hub_ strname 
- The name of the specific Event Hub queue.
- event_hub_ strnamespace 
- The namespace name of the Event Hub.
- name str
- The name of the EventHub Receiver, must be unique within action group.
- subscription_id str
- The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.
- tenant_id str
- The Tenant ID for the subscription containing this Event Hub.
- use_common_ boolalert_ schema 
- Indicates whether to use common alert schema.
- eventHub StringName 
- The name of the specific Event Hub queue.
- eventHub StringNamespace 
- The namespace name of the Event Hub.
- name String
- The name of the EventHub Receiver, must be unique within action group.
- subscriptionId String
- The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.
- tenantId String
- The Tenant ID for the subscription containing this Event Hub.
- useCommon BooleanAlert Schema 
- 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_configurationshould be JSON blob with- PayloadRevisionand- WorkItemTypekeys (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 example00000000-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_configurationshould be JSON blob with- PayloadRevisionand- WorkItemTypekeys (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 example00000000-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_configurationshould be JSON blob with- PayloadRevisionand- WorkItemTypekeys (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 example00000000-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_configurationshould be JSON blob with- PayloadRevisionand- WorkItemTypekeys (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 example00000000-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_configurationshould be JSON blob with- PayloadRevisionand- WorkItemTypekeys (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 example00000000-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_configurationshould be JSON blob with- PayloadRevisionand- WorkItemTypekeys (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 example00000000-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.
- UseCommon boolAlert Schema 
- 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.
- UseCommon boolAlert Schema 
- 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.
- useCommon BooleanAlert Schema 
- 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.
- useCommon booleanAlert Schema 
- 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_ boolalert_ schema 
- 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.
- useCommon BooleanAlert Schema 
- 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 ActionGroup Webhook Receiver Aad Auth 
- The - aad_authblock as defined below.- NOTE: Before adding a secure webhook receiver by setting - aad_auth, please read the configuration instruction of the AAD application.
- UseCommon boolAlert Schema 
- 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 ActionGroup Webhook Receiver Aad Auth 
- The - aad_authblock as defined below.- NOTE: Before adding a secure webhook receiver by setting - aad_auth, please read the configuration instruction of the AAD application.
- UseCommon boolAlert Schema 
- 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 ActionGroup Webhook Receiver Aad Auth 
- The - aad_authblock as defined below.- NOTE: Before adding a secure webhook receiver by setting - aad_auth, please read the configuration instruction of the AAD application.
- useCommon BooleanAlert Schema 
- 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 ActionGroup Webhook Receiver Aad Auth 
- The - aad_authblock as defined below.- NOTE: Before adding a secure webhook receiver by setting - aad_auth, please read the configuration instruction of the AAD application.
- useCommon booleanAlert Schema 
- 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 ActionGroup Webhook Receiver Aad Auth 
- The - aad_authblock 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_ boolalert_ schema 
- 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_authblock as defined below.- NOTE: Before adding a secure webhook receiver by setting - aad_auth, please read the configuration instruction of the AAD application.
- useCommon BooleanAlert Schema 
- 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 azurermTerraform Provider.