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

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

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,
    }],
});
Copy
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,
    }])
Copy
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
	})
}
Copy
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,
            },
        },
    });

});
Copy
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());

    }
}
Copy
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: {}
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. ActionGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ActionGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ActionGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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,
        },
    },
});
Copy
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),
		},
	},
})
Copy
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());
Copy
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,
    }])
Copy
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,
    }],
});
Copy
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
Copy

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:

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

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ActionGroup Resource

Get an existing ActionGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

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

Supporting Types

ActionGroupArmRoleReceiver
, ActionGroupArmRoleReceiverArgs

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

ActionGroupAutomationRunbookReceiver
, ActionGroupAutomationRunbookReceiverArgs

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

ActionGroupAzureAppPushReceiver
, ActionGroupAzureAppPushReceiverArgs

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

ActionGroupAzureFunctionReceiver
, ActionGroupAzureFunctionReceiverArgs

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

ActionGroupEmailReceiver
, ActionGroupEmailReceiverArgs

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

ActionGroupEventHubReceiver
, ActionGroupEventHubReceiverArgs

EventHubName This property is required. string
The name of the specific Event Hub queue.
EventHubNamespace This property is required. string
The namespace name of the Event Hub.
Name This property is required. 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.
UseCommonAlertSchema bool
Indicates whether to use common alert schema.
EventHubName This property is required. string
The name of the specific Event Hub queue.
EventHubNamespace This property is required. string
The namespace name of the Event Hub.
Name This property is required. 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.
UseCommonAlertSchema bool
Indicates whether to use common alert schema.
eventHubName This property is required. String
The name of the specific Event Hub queue.
eventHubNamespace This property is required. String
The namespace name of the Event Hub.
name This property is required. 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.
useCommonAlertSchema Boolean
Indicates whether to use common alert schema.
eventHubName This property is required. string
The name of the specific Event Hub queue.
eventHubNamespace This property is required. string
The namespace name of the Event Hub.
name This property is required. 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.
useCommonAlertSchema boolean
Indicates whether to use common alert schema.
event_hub_name This property is required. str
The name of the specific Event Hub queue.
event_hub_namespace This property is required. str
The namespace name of the Event Hub.
name This property is required. 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_alert_schema bool
Indicates whether to use common alert schema.
eventHubName This property is required. String
The name of the specific Event Hub queue.
eventHubNamespace This property is required. String
The namespace name of the Event Hub.
name This property is required. 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.
useCommonAlertSchema Boolean
Indicates whether to use common alert schema.

ActionGroupItsmReceiver
, ActionGroupItsmReceiverArgs

ConnectionId This property is required. string
The unique connection identifier of the ITSM connection.
Name This property is required. string
The name of the ITSM receiver.
Region This property is required. string

The region of the workspace.

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

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

The region of the workspace.

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

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

The region of the workspace.

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

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

The region of the workspace.

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

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

The region of the workspace.

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

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

The region of the workspace.

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

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

ActionGroupLogicAppReceiver
, ActionGroupLogicAppReceiverArgs

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

ActionGroupSmsReceiver
, ActionGroupSmsReceiverArgs

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

ActionGroupVoiceReceiver
, ActionGroupVoiceReceiverArgs

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

ActionGroupWebhookReceiver
, ActionGroupWebhookReceiverArgs

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

The aad_auth block as defined below.

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

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

The aad_auth block as defined below.

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

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

The aad_auth block as defined below.

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

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

The aad_auth block as defined below.

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

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

The aad_auth block as defined below.

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

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

The aad_auth block as defined below.

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

useCommonAlertSchema Boolean
Enables or disables the common alert schema.

ActionGroupWebhookReceiverAadAuth
, ActionGroupWebhookReceiverAadAuthArgs

ObjectId This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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
Copy

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

Package Details

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