azure-native.insights.ActionGroup
Explore with Pulumi AI
An action group resource. API Version: 2019-06-01.
Example Usage
Create or update an action group
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var actionGroup = new AzureNative.Insights.ActionGroup("actionGroup", new()
{
ActionGroupName = "SampleActionGroup",
ArmRoleReceivers = new[]
{
new AzureNative.Insights.Inputs.ArmRoleReceiverArgs
{
Name = "Sample armRole",
RoleId = "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
UseCommonAlertSchema = true,
},
},
AutomationRunbookReceivers = new[]
{
new AzureNative.Insights.Inputs.AutomationRunbookReceiverArgs
{
AutomationAccountId = "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
IsGlobalRunbook = false,
Name = "testRunbook",
RunbookName = "Sample runbook",
ServiceUri = "<serviceUri>",
UseCommonAlertSchema = true,
WebhookResourceId = "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
},
},
AzureAppPushReceivers = new[]
{
new AzureNative.Insights.Inputs.AzureAppPushReceiverArgs
{
EmailAddress = "johndoe@email.com",
Name = "Sample azureAppPush",
},
},
AzureFunctionReceivers = new[]
{
new AzureNative.Insights.Inputs.AzureFunctionReceiverArgs
{
FunctionAppResourceId = "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
FunctionName = "HttpTriggerCSharp1",
HttpTriggerUrl = "<httpTriggerUrl>",
Name = "Sample azureFunction",
UseCommonAlertSchema = true,
},
},
EmailReceivers = new[]
{
new AzureNative.Insights.Inputs.EmailReceiverArgs
{
EmailAddress = "johndoe@email.com",
Name = "John Doe's email",
UseCommonAlertSchema = false,
},
new AzureNative.Insights.Inputs.EmailReceiverArgs
{
EmailAddress = "janesmith@email.com",
Name = "Jane Smith's email",
UseCommonAlertSchema = true,
},
},
Enabled = true,
GroupShortName = "sample",
ItsmReceivers = new[]
{
new AzureNative.Insights.Inputs.ItsmReceiverArgs
{
ConnectionId = "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
Name = "Sample itsm",
Region = "westcentralus",
TicketConfiguration = "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
WorkspaceId = "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
},
},
Location = "Global",
LogicAppReceivers = new[]
{
new AzureNative.Insights.Inputs.LogicAppReceiverArgs
{
CallbackUrl = "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
Name = "Sample logicApp",
ResourceId = "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
UseCommonAlertSchema = false,
},
},
ResourceGroupName = "Default-NotificationRules",
SmsReceivers = new[]
{
new AzureNative.Insights.Inputs.SmsReceiverArgs
{
CountryCode = "1",
Name = "John Doe's mobile",
PhoneNumber = "1234567890",
},
new AzureNative.Insights.Inputs.SmsReceiverArgs
{
CountryCode = "1",
Name = "Jane Smith's mobile",
PhoneNumber = "0987654321",
},
},
Tags = null,
VoiceReceivers = new[]
{
new AzureNative.Insights.Inputs.VoiceReceiverArgs
{
CountryCode = "1",
Name = "Sample voice",
PhoneNumber = "1234567890",
},
},
WebhookReceivers = new[]
{
new AzureNative.Insights.Inputs.WebhookReceiverArgs
{
Name = "Sample webhook 1",
ServiceUri = "http://www.example.com/webhook1",
UseCommonAlertSchema = true,
},
new AzureNative.Insights.Inputs.WebhookReceiverArgs
{
IdentifierUri = "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a",
Name = "Sample webhook 2",
ObjectId = "d3bb868c-fe44-452c-aa26-769a6538c808",
ServiceUri = "http://www.example.com/webhook2",
TenantId = "68a4459a-ccb8-493c-b9da-dd30457d1b84",
UseAadAuth = true,
UseCommonAlertSchema = true,
},
},
});
});
package main
import (
insights "github.com/pulumi/pulumi-azure-native-sdk/insights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := insights.NewActionGroup(ctx, "actionGroup", &insights.ActionGroupArgs{
ActionGroupName: pulumi.String("SampleActionGroup"),
ArmRoleReceivers: []insights.ArmRoleReceiverArgs{
{
Name: pulumi.String("Sample armRole"),
RoleId: pulumi.String("8e3af657-a8ff-443c-a75c-2fe8c4bcb635"),
UseCommonAlertSchema: pulumi.Bool(true),
},
},
AutomationRunbookReceivers: []insights.AutomationRunbookReceiverArgs{
{
AutomationAccountId: pulumi.String("/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest"),
IsGlobalRunbook: pulumi.Bool(false),
Name: pulumi.String("testRunbook"),
RunbookName: pulumi.String("Sample runbook"),
ServiceUri: pulumi.String("<serviceUri>"),
UseCommonAlertSchema: pulumi.Bool(true),
WebhookResourceId: pulumi.String("/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084"),
},
},
AzureAppPushReceivers: []insights.AzureAppPushReceiverArgs{
{
EmailAddress: pulumi.String("johndoe@email.com"),
Name: pulumi.String("Sample azureAppPush"),
},
},
AzureFunctionReceivers: []insights.AzureFunctionReceiverArgs{
{
FunctionAppResourceId: pulumi.String("/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp"),
FunctionName: pulumi.String("HttpTriggerCSharp1"),
HttpTriggerUrl: pulumi.String("<httpTriggerUrl>"),
Name: pulumi.String("Sample azureFunction"),
UseCommonAlertSchema: pulumi.Bool(true),
},
},
EmailReceivers: []insights.EmailReceiverArgs{
{
EmailAddress: pulumi.String("johndoe@email.com"),
Name: pulumi.String("John Doe's email"),
UseCommonAlertSchema: pulumi.Bool(false),
},
{
EmailAddress: pulumi.String("janesmith@email.com"),
Name: pulumi.String("Jane Smith's email"),
UseCommonAlertSchema: pulumi.Bool(true),
},
},
Enabled: pulumi.Bool(true),
GroupShortName: pulumi.String("sample"),
ItsmReceivers: []insights.ItsmReceiverArgs{
{
ConnectionId: pulumi.String("a3b9076c-ce8e-434e-85b4-aff10cb3c8f1"),
Name: pulumi.String("Sample itsm"),
Region: pulumi.String("westcentralus"),
TicketConfiguration: pulumi.String("{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}"),
WorkspaceId: pulumi.String("5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c"),
},
},
Location: pulumi.String("Global"),
LogicAppReceivers: []insights.LogicAppReceiverArgs{
{
CallbackUrl: pulumi.String("https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"),
Name: pulumi.String("Sample logicApp"),
ResourceId: pulumi.String("/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp"),
UseCommonAlertSchema: pulumi.Bool(false),
},
},
ResourceGroupName: pulumi.String("Default-NotificationRules"),
SmsReceivers: []insights.SmsReceiverArgs{
{
CountryCode: pulumi.String("1"),
Name: pulumi.String("John Doe's mobile"),
PhoneNumber: pulumi.String("1234567890"),
},
{
CountryCode: pulumi.String("1"),
Name: pulumi.String("Jane Smith's mobile"),
PhoneNumber: pulumi.String("0987654321"),
},
},
Tags: nil,
VoiceReceivers: []insights.VoiceReceiverArgs{
{
CountryCode: pulumi.String("1"),
Name: pulumi.String("Sample voice"),
PhoneNumber: pulumi.String("1234567890"),
},
},
WebhookReceivers: []insights.WebhookReceiverArgs{
{
Name: pulumi.String("Sample webhook 1"),
ServiceUri: pulumi.String("http://www.example.com/webhook1"),
UseCommonAlertSchema: pulumi.Bool(true),
},
{
IdentifierUri: pulumi.String("http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a"),
Name: pulumi.String("Sample webhook 2"),
ObjectId: pulumi.String("d3bb868c-fe44-452c-aa26-769a6538c808"),
ServiceUri: pulumi.String("http://www.example.com/webhook2"),
TenantId: pulumi.String("68a4459a-ccb8-493c-b9da-dd30457d1b84"),
UseAadAuth: pulumi.Bool(true),
UseCommonAlertSchema: pulumi.Bool(true),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.insights.ActionGroup;
import com.pulumi.azurenative.insights.ActionGroupArgs;
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 actionGroup = new ActionGroup("actionGroup", ActionGroupArgs.builder()
.actionGroupName("SampleActionGroup")
.armRoleReceivers(Map.ofEntries(
Map.entry("name", "Sample armRole"),
Map.entry("roleId", "8e3af657-a8ff-443c-a75c-2fe8c4bcb635"),
Map.entry("useCommonAlertSchema", true)
))
.automationRunbookReceivers(Map.ofEntries(
Map.entry("automationAccountId", "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest"),
Map.entry("isGlobalRunbook", false),
Map.entry("name", "testRunbook"),
Map.entry("runbookName", "Sample runbook"),
Map.entry("serviceUri", "<serviceUri>"),
Map.entry("useCommonAlertSchema", true),
Map.entry("webhookResourceId", "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084")
))
.azureAppPushReceivers(Map.ofEntries(
Map.entry("emailAddress", "johndoe@email.com"),
Map.entry("name", "Sample azureAppPush")
))
.azureFunctionReceivers(Map.ofEntries(
Map.entry("functionAppResourceId", "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp"),
Map.entry("functionName", "HttpTriggerCSharp1"),
Map.entry("httpTriggerUrl", "<httpTriggerUrl>"),
Map.entry("name", "Sample azureFunction"),
Map.entry("useCommonAlertSchema", true)
))
.emailReceivers(
Map.ofEntries(
Map.entry("emailAddress", "johndoe@email.com"),
Map.entry("name", "John Doe's email"),
Map.entry("useCommonAlertSchema", false)
),
Map.ofEntries(
Map.entry("emailAddress", "janesmith@email.com"),
Map.entry("name", "Jane Smith's email"),
Map.entry("useCommonAlertSchema", true)
))
.enabled(true)
.groupShortName("sample")
.itsmReceivers(Map.ofEntries(
Map.entry("connectionId", "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1"),
Map.entry("name", "Sample itsm"),
Map.entry("region", "westcentralus"),
Map.entry("ticketConfiguration", "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}"),
Map.entry("workspaceId", "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c")
))
.location("Global")
.logicAppReceivers(Map.ofEntries(
Map.entry("callbackUrl", "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"),
Map.entry("name", "Sample logicApp"),
Map.entry("resourceId", "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp"),
Map.entry("useCommonAlertSchema", false)
))
.resourceGroupName("Default-NotificationRules")
.smsReceivers(
Map.ofEntries(
Map.entry("countryCode", "1"),
Map.entry("name", "John Doe's mobile"),
Map.entry("phoneNumber", "1234567890")
),
Map.ofEntries(
Map.entry("countryCode", "1"),
Map.entry("name", "Jane Smith's mobile"),
Map.entry("phoneNumber", "0987654321")
))
.tags()
.voiceReceivers(Map.ofEntries(
Map.entry("countryCode", "1"),
Map.entry("name", "Sample voice"),
Map.entry("phoneNumber", "1234567890")
))
.webhookReceivers(
Map.ofEntries(
Map.entry("name", "Sample webhook 1"),
Map.entry("serviceUri", "http://www.example.com/webhook1"),
Map.entry("useCommonAlertSchema", true)
),
Map.ofEntries(
Map.entry("identifierUri", "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a"),
Map.entry("name", "Sample webhook 2"),
Map.entry("objectId", "d3bb868c-fe44-452c-aa26-769a6538c808"),
Map.entry("serviceUri", "http://www.example.com/webhook2"),
Map.entry("tenantId", "68a4459a-ccb8-493c-b9da-dd30457d1b84"),
Map.entry("useAadAuth", true),
Map.entry("useCommonAlertSchema", true)
))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
action_group = azure_native.insights.ActionGroup("actionGroup",
action_group_name="SampleActionGroup",
arm_role_receivers=[azure_native.insights.ArmRoleReceiverArgs(
name="Sample armRole",
role_id="8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
use_common_alert_schema=True,
)],
automation_runbook_receivers=[azure_native.insights.AutomationRunbookReceiverArgs(
automation_account_id="/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
is_global_runbook=False,
name="testRunbook",
runbook_name="Sample runbook",
service_uri="<serviceUri>",
use_common_alert_schema=True,
webhook_resource_id="/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
)],
azure_app_push_receivers=[azure_native.insights.AzureAppPushReceiverArgs(
email_address="johndoe@email.com",
name="Sample azureAppPush",
)],
azure_function_receivers=[azure_native.insights.AzureFunctionReceiverArgs(
function_app_resource_id="/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
function_name="HttpTriggerCSharp1",
http_trigger_url="<httpTriggerUrl>",
name="Sample azureFunction",
use_common_alert_schema=True,
)],
email_receivers=[
azure_native.insights.EmailReceiverArgs(
email_address="johndoe@email.com",
name="John Doe's email",
use_common_alert_schema=False,
),
azure_native.insights.EmailReceiverArgs(
email_address="janesmith@email.com",
name="Jane Smith's email",
use_common_alert_schema=True,
),
],
enabled=True,
group_short_name="sample",
itsm_receivers=[azure_native.insights.ItsmReceiverArgs(
connection_id="a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
name="Sample itsm",
region="westcentralus",
ticket_configuration="{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
workspace_id="5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
)],
location="Global",
logic_app_receivers=[azure_native.insights.LogicAppReceiverArgs(
callback_url="https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
name="Sample logicApp",
resource_id="/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
use_common_alert_schema=False,
)],
resource_group_name="Default-NotificationRules",
sms_receivers=[
azure_native.insights.SmsReceiverArgs(
country_code="1",
name="John Doe's mobile",
phone_number="1234567890",
),
azure_native.insights.SmsReceiverArgs(
country_code="1",
name="Jane Smith's mobile",
phone_number="0987654321",
),
],
tags={},
voice_receivers=[azure_native.insights.VoiceReceiverArgs(
country_code="1",
name="Sample voice",
phone_number="1234567890",
)],
webhook_receivers=[
azure_native.insights.WebhookReceiverArgs(
name="Sample webhook 1",
service_uri="http://www.example.com/webhook1",
use_common_alert_schema=True,
),
azure_native.insights.WebhookReceiverArgs(
identifier_uri="http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a",
name="Sample webhook 2",
object_id="d3bb868c-fe44-452c-aa26-769a6538c808",
service_uri="http://www.example.com/webhook2",
tenant_id="68a4459a-ccb8-493c-b9da-dd30457d1b84",
use_aad_auth=True,
use_common_alert_schema=True,
),
])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const actionGroup = new azure_native.insights.ActionGroup("actionGroup", {
actionGroupName: "SampleActionGroup",
armRoleReceivers: [{
name: "Sample armRole",
roleId: "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
useCommonAlertSchema: true,
}],
automationRunbookReceivers: [{
automationAccountId: "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
isGlobalRunbook: false,
name: "testRunbook",
runbookName: "Sample runbook",
serviceUri: "<serviceUri>",
useCommonAlertSchema: true,
webhookResourceId: "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
}],
azureAppPushReceivers: [{
emailAddress: "johndoe@email.com",
name: "Sample azureAppPush",
}],
azureFunctionReceivers: [{
functionAppResourceId: "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
functionName: "HttpTriggerCSharp1",
httpTriggerUrl: "<httpTriggerUrl>",
name: "Sample azureFunction",
useCommonAlertSchema: true,
}],
emailReceivers: [
{
emailAddress: "johndoe@email.com",
name: "John Doe's email",
useCommonAlertSchema: false,
},
{
emailAddress: "janesmith@email.com",
name: "Jane Smith's email",
useCommonAlertSchema: true,
},
],
enabled: true,
groupShortName: "sample",
itsmReceivers: [{
connectionId: "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
name: "Sample itsm",
region: "westcentralus",
ticketConfiguration: "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
workspaceId: "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
}],
location: "Global",
logicAppReceivers: [{
callbackUrl: "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
name: "Sample logicApp",
resourceId: "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
useCommonAlertSchema: false,
}],
resourceGroupName: "Default-NotificationRules",
smsReceivers: [
{
countryCode: "1",
name: "John Doe's mobile",
phoneNumber: "1234567890",
},
{
countryCode: "1",
name: "Jane Smith's mobile",
phoneNumber: "0987654321",
},
],
tags: {},
voiceReceivers: [{
countryCode: "1",
name: "Sample voice",
phoneNumber: "1234567890",
}],
webhookReceivers: [
{
name: "Sample webhook 1",
serviceUri: "http://www.example.com/webhook1",
useCommonAlertSchema: true,
},
{
identifierUri: "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a",
name: "Sample webhook 2",
objectId: "d3bb868c-fe44-452c-aa26-769a6538c808",
serviceUri: "http://www.example.com/webhook2",
tenantId: "68a4459a-ccb8-493c-b9da-dd30457d1b84",
useAadAuth: true,
useCommonAlertSchema: true,
},
],
});
resources:
actionGroup:
type: azure-native:insights:ActionGroup
properties:
actionGroupName: SampleActionGroup
armRoleReceivers:
- name: Sample armRole
roleId: 8e3af657-a8ff-443c-a75c-2fe8c4bcb635
useCommonAlertSchema: true
automationRunbookReceivers:
- automationAccountId: /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest
isGlobalRunbook: false
name: testRunbook
runbookName: Sample runbook
serviceUri: <serviceUri>
useCommonAlertSchema: true
webhookResourceId: /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084
azureAppPushReceivers:
- emailAddress: johndoe@email.com
name: Sample azureAppPush
azureFunctionReceivers:
- functionAppResourceId: /subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp
functionName: HttpTriggerCSharp1
httpTriggerUrl: <httpTriggerUrl>
name: Sample azureFunction
useCommonAlertSchema: true
emailReceivers:
- emailAddress: johndoe@email.com
name: John Doe's email
useCommonAlertSchema: false
- emailAddress: janesmith@email.com
name: Jane Smith's email
useCommonAlertSchema: true
enabled: true
groupShortName: sample
itsmReceivers:
- connectionId: a3b9076c-ce8e-434e-85b4-aff10cb3c8f1
name: Sample itsm
region: westcentralus
ticketConfiguration: '{"PayloadRevision":0,"WorkItemType":"Incident","UseTemplate":false,"WorkItemData":"{}","CreateOneWIPerCI":false}'
workspaceId: 5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c
location: Global
logicAppReceivers:
- callbackUrl: https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w
name: Sample logicApp
resourceId: /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp
useCommonAlertSchema: false
resourceGroupName: Default-NotificationRules
smsReceivers:
- countryCode: '1'
name: John Doe's mobile
phoneNumber: '1234567890'
- countryCode: '1'
name: Jane Smith's mobile
phoneNumber: '0987654321'
tags: {}
voiceReceivers:
- countryCode: '1'
name: Sample voice
phoneNumber: '1234567890'
webhookReceivers:
- name: Sample webhook 1
serviceUri: http://www.example.com/webhook1
useCommonAlertSchema: true
- identifierUri: http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a
name: Sample webhook 2
objectId: d3bb868c-fe44-452c-aa26-769a6538c808
serviceUri: http://www.example.com/webhook2
tenantId: 68a4459a-ccb8-493c-b9da-dd30457d1b84
useAadAuth: true
useCommonAlertSchema: true
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: ActionGroupInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ActionGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
resource_group_name: Optional[str] = None,
group_short_name: Optional[str] = None,
itsm_receivers: Optional[Sequence[ItsmReceiverArgs]] = None,
azure_function_receivers: Optional[Sequence[AzureFunctionReceiverArgs]] = None,
email_receivers: Optional[Sequence[EmailReceiverArgs]] = None,
azure_app_push_receivers: Optional[Sequence[AzureAppPushReceiverArgs]] = None,
automation_runbook_receivers: Optional[Sequence[AutomationRunbookReceiverArgs]] = None,
action_group_name: Optional[str] = None,
location: Optional[str] = None,
logic_app_receivers: Optional[Sequence[LogicAppReceiverArgs]] = None,
arm_role_receivers: Optional[Sequence[ArmRoleReceiverArgs]] = None,
sms_receivers: Optional[Sequence[SmsReceiverArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
voice_receivers: Optional[Sequence[VoiceReceiverArgs]] = None,
webhook_receivers: Optional[Sequence[WebhookReceiverArgs]] = 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-native:insights:ActionGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ActionGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ActionGroupInitArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ActionGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ActionGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ActionGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var actionGroupResource = new AzureNative.Insights.ActionGroup("actionGroupResource", new()
{
Enabled = false,
ResourceGroupName = "string",
GroupShortName = "string",
ItsmReceivers = new[]
{
{
{ "connectionId", "string" },
{ "name", "string" },
{ "region", "string" },
{ "ticketConfiguration", "string" },
{ "workspaceId", "string" },
},
},
AzureFunctionReceivers = new[]
{
{
{ "functionAppResourceId", "string" },
{ "functionName", "string" },
{ "httpTriggerUrl", "string" },
{ "name", "string" },
{ "useCommonAlertSchema", false },
},
},
EmailReceivers = new[]
{
{
{ "emailAddress", "string" },
{ "name", "string" },
{ "useCommonAlertSchema", false },
},
},
AzureAppPushReceivers = new[]
{
{
{ "emailAddress", "string" },
{ "name", "string" },
},
},
AutomationRunbookReceivers = new[]
{
{
{ "automationAccountId", "string" },
{ "isGlobalRunbook", false },
{ "runbookName", "string" },
{ "webhookResourceId", "string" },
{ "name", "string" },
{ "serviceUri", "string" },
{ "useCommonAlertSchema", false },
},
},
ActionGroupName = "string",
Location = "string",
LogicAppReceivers = new[]
{
{
{ "callbackUrl", "string" },
{ "name", "string" },
{ "resourceId", "string" },
{ "useCommonAlertSchema", false },
},
},
ArmRoleReceivers = new[]
{
{
{ "name", "string" },
{ "roleId", "string" },
{ "useCommonAlertSchema", false },
},
},
SmsReceivers = new[]
{
{
{ "countryCode", "string" },
{ "name", "string" },
{ "phoneNumber", "string" },
},
},
Tags =
{
{ "string", "string" },
},
VoiceReceivers = new[]
{
{
{ "countryCode", "string" },
{ "name", "string" },
{ "phoneNumber", "string" },
},
},
WebhookReceivers = new[]
{
{
{ "name", "string" },
{ "serviceUri", "string" },
{ "identifierUri", "string" },
{ "objectId", "string" },
{ "tenantId", "string" },
{ "useAadAuth", false },
{ "useCommonAlertSchema", false },
},
},
});
example, err := insights.NewActionGroup(ctx, "actionGroupResource", &insights.ActionGroupArgs{
Enabled: false,
ResourceGroupName: "string",
GroupShortName: "string",
ItsmReceivers: []map[string]interface{}{
map[string]interface{}{
"connectionId": "string",
"name": "string",
"region": "string",
"ticketConfiguration": "string",
"workspaceId": "string",
},
},
AzureFunctionReceivers: []map[string]interface{}{
map[string]interface{}{
"functionAppResourceId": "string",
"functionName": "string",
"httpTriggerUrl": "string",
"name": "string",
"useCommonAlertSchema": false,
},
},
EmailReceivers: []map[string]interface{}{
map[string]interface{}{
"emailAddress": "string",
"name": "string",
"useCommonAlertSchema": false,
},
},
AzureAppPushReceivers: []map[string]interface{}{
map[string]interface{}{
"emailAddress": "string",
"name": "string",
},
},
AutomationRunbookReceivers: []map[string]interface{}{
map[string]interface{}{
"automationAccountId": "string",
"isGlobalRunbook": false,
"runbookName": "string",
"webhookResourceId": "string",
"name": "string",
"serviceUri": "string",
"useCommonAlertSchema": false,
},
},
ActionGroupName: "string",
Location: "string",
LogicAppReceivers: []map[string]interface{}{
map[string]interface{}{
"callbackUrl": "string",
"name": "string",
"resourceId": "string",
"useCommonAlertSchema": false,
},
},
ArmRoleReceivers: []map[string]interface{}{
map[string]interface{}{
"name": "string",
"roleId": "string",
"useCommonAlertSchema": false,
},
},
SmsReceivers: []map[string]interface{}{
map[string]interface{}{
"countryCode": "string",
"name": "string",
"phoneNumber": "string",
},
},
Tags: map[string]interface{}{
"string": "string",
},
VoiceReceivers: []map[string]interface{}{
map[string]interface{}{
"countryCode": "string",
"name": "string",
"phoneNumber": "string",
},
},
WebhookReceivers: []map[string]interface{}{
map[string]interface{}{
"name": "string",
"serviceUri": "string",
"identifierUri": "string",
"objectId": "string",
"tenantId": "string",
"useAadAuth": false,
"useCommonAlertSchema": false,
},
},
})
var actionGroupResource = new ActionGroup("actionGroupResource", ActionGroupArgs.builder()
.enabled(false)
.resourceGroupName("string")
.groupShortName("string")
.itsmReceivers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.azureFunctionReceivers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.emailReceivers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.azureAppPushReceivers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.automationRunbookReceivers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.actionGroupName("string")
.location("string")
.logicAppReceivers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.armRoleReceivers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.smsReceivers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.voiceReceivers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.webhookReceivers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
action_group_resource = azure_native.insights.ActionGroup("actionGroupResource",
enabled=False,
resource_group_name=string,
group_short_name=string,
itsm_receivers=[{
connectionId: string,
name: string,
region: string,
ticketConfiguration: string,
workspaceId: string,
}],
azure_function_receivers=[{
functionAppResourceId: string,
functionName: string,
httpTriggerUrl: string,
name: string,
useCommonAlertSchema: False,
}],
email_receivers=[{
emailAddress: string,
name: string,
useCommonAlertSchema: False,
}],
azure_app_push_receivers=[{
emailAddress: string,
name: string,
}],
automation_runbook_receivers=[{
automationAccountId: string,
isGlobalRunbook: False,
runbookName: string,
webhookResourceId: string,
name: string,
serviceUri: string,
useCommonAlertSchema: False,
}],
action_group_name=string,
location=string,
logic_app_receivers=[{
callbackUrl: string,
name: string,
resourceId: string,
useCommonAlertSchema: False,
}],
arm_role_receivers=[{
name: string,
roleId: string,
useCommonAlertSchema: False,
}],
sms_receivers=[{
countryCode: string,
name: string,
phoneNumber: string,
}],
tags={
string: string,
},
voice_receivers=[{
countryCode: string,
name: string,
phoneNumber: string,
}],
webhook_receivers=[{
name: string,
serviceUri: string,
identifierUri: string,
objectId: string,
tenantId: string,
useAadAuth: False,
useCommonAlertSchema: False,
}])
const actionGroupResource = new azure_native.insights.ActionGroup("actionGroupResource", {
enabled: false,
resourceGroupName: "string",
groupShortName: "string",
itsmReceivers: [{
connectionId: "string",
name: "string",
region: "string",
ticketConfiguration: "string",
workspaceId: "string",
}],
azureFunctionReceivers: [{
functionAppResourceId: "string",
functionName: "string",
httpTriggerUrl: "string",
name: "string",
useCommonAlertSchema: false,
}],
emailReceivers: [{
emailAddress: "string",
name: "string",
useCommonAlertSchema: false,
}],
azureAppPushReceivers: [{
emailAddress: "string",
name: "string",
}],
automationRunbookReceivers: [{
automationAccountId: "string",
isGlobalRunbook: false,
runbookName: "string",
webhookResourceId: "string",
name: "string",
serviceUri: "string",
useCommonAlertSchema: false,
}],
actionGroupName: "string",
location: "string",
logicAppReceivers: [{
callbackUrl: "string",
name: "string",
resourceId: "string",
useCommonAlertSchema: false,
}],
armRoleReceivers: [{
name: "string",
roleId: "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",
identifierUri: "string",
objectId: "string",
tenantId: "string",
useAadAuth: false,
useCommonAlertSchema: false,
}],
});
type: azure-native:insights:ActionGroup
properties:
actionGroupName: string
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
groupShortName: string
itsmReceivers:
- connectionId: string
name: string
region: string
ticketConfiguration: string
workspaceId: string
location: string
logicAppReceivers:
- callbackUrl: string
name: string
resourceId: string
useCommonAlertSchema: false
resourceGroupName: string
smsReceivers:
- countryCode: string
name: string
phoneNumber: string
tags:
string: string
voiceReceivers:
- countryCode: string
name: string
phoneNumber: string
webhookReceivers:
- identifierUri: string
name: string
objectId: string
serviceUri: string
tenantId: string
useAadAuth: false
useCommonAlertSchema: false
ActionGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ActionGroup resource accepts the following input properties:
- Enabled bool
- Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
- Group
Short stringName - The short name of the action group. This will be used in SMS messages.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Action
Group stringName - The name of the action group.
- Arm
Role List<Pulumi.Receivers Azure Native. Insights. Inputs. Arm Role Receiver> - The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
- Automation
Runbook List<Pulumi.Receivers Azure Native. Insights. Inputs. Automation Runbook Receiver> - The list of AutomationRunbook receivers that are part of this action group.
- Azure
App List<Pulumi.Push Receivers Azure Native. Insights. Inputs. Azure App Push Receiver> - The list of AzureAppPush receivers that are part of this action group.
- Azure
Function List<Pulumi.Receivers Azure Native. Insights. Inputs. Azure Function Receiver> - The list of azure function receivers that are part of this action group.
- Email
Receivers List<Pulumi.Azure Native. Insights. Inputs. Email Receiver> - The list of email receivers that are part of this action group.
- Itsm
Receivers List<Pulumi.Azure Native. Insights. Inputs. Itsm Receiver> - The list of ITSM receivers that are part of this action group.
- Location string
- Resource location
- Logic
App List<Pulumi.Receivers Azure Native. Insights. Inputs. Logic App Receiver> - The list of logic app receivers that are part of this action group.
- Sms
Receivers List<Pulumi.Azure Native. Insights. Inputs. Sms Receiver> - The list of SMS receivers that are part of this action group.
- Dictionary<string, string>
- Resource tags
- Voice
Receivers List<Pulumi.Azure Native. Insights. Inputs. Voice Receiver> - The list of voice receivers that are part of this action group.
- Webhook
Receivers List<Pulumi.Azure Native. Insights. Inputs. Webhook Receiver> - The list of webhook receivers that are part of this action group.
- Enabled bool
- Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
- Group
Short stringName - The short name of the action group. This will be used in SMS messages.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Action
Group stringName - The name of the action group.
- Arm
Role []ArmReceivers Role Receiver Args - The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
- Automation
Runbook []AutomationReceivers Runbook Receiver Args - The list of AutomationRunbook receivers that are part of this action group.
- Azure
App []AzurePush Receivers App Push Receiver Args - The list of AzureAppPush receivers that are part of this action group.
- Azure
Function []AzureReceivers Function Receiver Args - The list of azure function receivers that are part of this action group.
- Email
Receivers []EmailReceiver Args - The list of email receivers that are part of this action group.
- Itsm
Receivers []ItsmReceiver Args - The list of ITSM receivers that are part of this action group.
- Location string
- Resource location
- Logic
App []LogicReceivers App Receiver Args - The list of logic app receivers that are part of this action group.
- Sms
Receivers []SmsReceiver Args - The list of SMS receivers that are part of this action group.
- map[string]string
- Resource tags
- Voice
Receivers []VoiceReceiver Args - The list of voice receivers that are part of this action group.
- Webhook
Receivers []WebhookReceiver Args - The list of webhook receivers that are part of this action group.
- enabled Boolean
- Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
- group
Short StringName - The short name of the action group. This will be used in SMS messages.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- action
Group StringName - The name of the action group.
- arm
Role List<ArmReceivers Role Receiver> - The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
- automation
Runbook List<AutomationReceivers Runbook Receiver> - The list of AutomationRunbook receivers that are part of this action group.
- azure
App List<AzurePush Receivers App Push Receiver> - The list of AzureAppPush receivers that are part of this action group.
- azure
Function List<AzureReceivers Function Receiver> - The list of azure function receivers that are part of this action group.
- email
Receivers List<EmailReceiver> - The list of email receivers that are part of this action group.
- itsm
Receivers List<ItsmReceiver> - The list of ITSM receivers that are part of this action group.
- location String
- Resource location
- logic
App List<LogicReceivers App Receiver> - The list of logic app receivers that are part of this action group.
- sms
Receivers List<SmsReceiver> - The list of SMS receivers that are part of this action group.
- Map<String,String>
- Resource tags
- voice
Receivers List<VoiceReceiver> - The list of voice receivers that are part of this action group.
- webhook
Receivers List<WebhookReceiver> - The list of webhook receivers that are part of this action group.
- enabled boolean
- Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
- group
Short stringName - The short name of the action group. This will be used in SMS messages.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- action
Group stringName - The name of the action group.
- arm
Role ArmReceivers Role Receiver[] - The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
- automation
Runbook AutomationReceivers Runbook Receiver[] - The list of AutomationRunbook receivers that are part of this action group.
- azure
App AzurePush Receivers App Push Receiver[] - The list of AzureAppPush receivers that are part of this action group.
- azure
Function AzureReceivers Function Receiver[] - The list of azure function receivers that are part of this action group.
- email
Receivers EmailReceiver[] - The list of email receivers that are part of this action group.
- itsm
Receivers ItsmReceiver[] - The list of ITSM receivers that are part of this action group.
- location string
- Resource location
- logic
App LogicReceivers App Receiver[] - The list of logic app receivers that are part of this action group.
- sms
Receivers SmsReceiver[] - The list of SMS receivers that are part of this action group.
- {[key: string]: string}
- Resource tags
- voice
Receivers VoiceReceiver[] - The list of voice receivers that are part of this action group.
- webhook
Receivers WebhookReceiver[] - The list of webhook receivers that are part of this action group.
- enabled bool
- Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
- group_
short_ strname - The short name of the action group. This will be used in SMS messages.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- action_
group_ strname - The name of the action group.
- arm_
role_ Sequence[Armreceivers Role Receiver Args] - The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
- automation_
runbook_ Sequence[Automationreceivers Runbook Receiver Args] - The list of AutomationRunbook receivers that are part of this action group.
- azure_
app_ Sequence[Azurepush_ receivers App Push Receiver Args] - The list of AzureAppPush receivers that are part of this action group.
- azure_
function_ Sequence[Azurereceivers Function Receiver Args] - The list of azure function receivers that are part of this action group.
- email_
receivers Sequence[EmailReceiver Args] - The list of email receivers that are part of this action group.
- itsm_
receivers Sequence[ItsmReceiver Args] - The list of ITSM receivers that are part of this action group.
- location str
- Resource location
- logic_
app_ Sequence[Logicreceivers App Receiver Args] - The list of logic app receivers that are part of this action group.
- sms_
receivers Sequence[SmsReceiver Args] - The list of SMS receivers that are part of this action group.
- Mapping[str, str]
- Resource tags
- voice_
receivers Sequence[VoiceReceiver Args] - The list of voice receivers that are part of this action group.
- webhook_
receivers Sequence[WebhookReceiver Args] - The list of webhook receivers that are part of this action group.
- enabled Boolean
- Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
- group
Short StringName - The short name of the action group. This will be used in SMS messages.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- action
Group StringName - The name of the action group.
- arm
Role List<Property Map>Receivers - The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported.
- automation
Runbook List<Property Map>Receivers - The list of AutomationRunbook receivers that are part of this action group.
- azure
App List<Property Map>Push Receivers - The list of AzureAppPush receivers that are part of this action group.
- azure
Function List<Property Map>Receivers - The list of azure function receivers that are part of this action group.
- email
Receivers List<Property Map> - The list of email receivers that are part of this action group.
- itsm
Receivers List<Property Map> - The list of ITSM receivers that are part of this action group.
- location String
- Resource location
- logic
App List<Property Map>Receivers - The list of logic app receivers that are part of this action group.
- sms
Receivers List<Property Map> - The list of SMS receivers that are part of this action group.
- Map<String>
- Resource tags
- voice
Receivers List<Property Map> - The list of voice receivers that are part of this action group.
- webhook
Receivers List<Property Map> - The list of webhook receivers that are part of this action group.
Outputs
All input properties are implicitly available as output properties. Additionally, the ActionGroup resource produces the following output properties:
Supporting Types
ArmRoleReceiver, ArmRoleReceiverArgs
- Name string
- The name of the arm role receiver. Names must be unique across all receivers within an action group.
- Role
Id string - The arm role id.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Name string
- The name of the arm role receiver. Names must be unique across all receivers within an action group.
- Role
Id string - The arm role id.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- name String
- The name of the arm role receiver. Names must be unique across all receivers within an action group.
- role
Id String - The arm role id.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- name string
- The name of the arm role receiver. Names must be unique across all receivers within an action group.
- role
Id string - The arm role id.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- name str
- The name of the arm role receiver. Names must be unique across all receivers within an action group.
- role_
id str - The arm role id.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- name String
- The name of the arm role receiver. Names must be unique across all receivers within an action group.
- role
Id String - The arm role id.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
ArmRoleReceiverResponse, ArmRoleReceiverResponseArgs
- Name string
- The name of the arm role receiver. Names must be unique across all receivers within an action group.
- Role
Id string - The arm role id.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Name string
- The name of the arm role receiver. Names must be unique across all receivers within an action group.
- Role
Id string - The arm role id.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- name String
- The name of the arm role receiver. Names must be unique across all receivers within an action group.
- role
Id String - The arm role id.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- name string
- The name of the arm role receiver. Names must be unique across all receivers within an action group.
- role
Id string - The arm role id.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- name str
- The name of the arm role receiver. Names must be unique across all receivers within an action group.
- role_
id str - The arm role id.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- name String
- The name of the arm role receiver. Names must be unique across all receivers within an action group.
- role
Id String - The arm role id.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
AutomationRunbookReceiver, AutomationRunbookReceiverArgs
- Automation
Account stringId - The Azure automation account Id which holds this runbook and authenticate to Azure resource.
- Is
Global boolRunbook - Indicates whether this instance is global runbook.
- Runbook
Name string - The name for this runbook.
- Webhook
Resource stringId - The resource id for webhook linked to this runbook.
- Name string
- Indicates name of the webhook.
- Service
Uri string - The URI where webhooks should be sent.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Automation
Account stringId - The Azure automation account Id which holds this runbook and authenticate to Azure resource.
- Is
Global boolRunbook - Indicates whether this instance is global runbook.
- Runbook
Name string - The name for this runbook.
- Webhook
Resource stringId - The resource id for webhook linked to this runbook.
- Name string
- Indicates name of the webhook.
- Service
Uri string - The URI where webhooks should be sent.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- automation
Account StringId - The Azure automation account Id which holds this runbook and authenticate to Azure resource.
- is
Global BooleanRunbook - Indicates whether this instance is global runbook.
- runbook
Name String - The name for this runbook.
- webhook
Resource StringId - The resource id for webhook linked to this runbook.
- name String
- Indicates name of the webhook.
- service
Uri String - The URI where webhooks should be sent.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- automation
Account stringId - The Azure automation account Id which holds this runbook and authenticate to Azure resource.
- is
Global booleanRunbook - Indicates whether this instance is global runbook.
- runbook
Name string - The name for this runbook.
- webhook
Resource stringId - The resource id for webhook linked to this runbook.
- name string
- Indicates name of the webhook.
- service
Uri string - The URI where webhooks should be sent.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- automation_
account_ strid - The Azure automation account Id which holds this runbook and authenticate to Azure resource.
- is_
global_ boolrunbook - Indicates whether this instance is global runbook.
- runbook_
name str - The name for this runbook.
- webhook_
resource_ strid - The resource id for webhook linked to this runbook.
- name str
- Indicates name of the webhook.
- service_
uri str - The URI where webhooks should be sent.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- automation
Account StringId - The Azure automation account Id which holds this runbook and authenticate to Azure resource.
- is
Global BooleanRunbook - Indicates whether this instance is global runbook.
- runbook
Name String - The name for this runbook.
- webhook
Resource StringId - The resource id for webhook linked to this runbook.
- name String
- Indicates name of the webhook.
- service
Uri String - The URI where webhooks should be sent.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
AutomationRunbookReceiverResponse, AutomationRunbookReceiverResponseArgs
- Automation
Account stringId - The Azure automation account Id which holds this runbook and authenticate to Azure resource.
- Is
Global boolRunbook - Indicates whether this instance is global runbook.
- Runbook
Name string - The name for this runbook.
- Webhook
Resource stringId - The resource id for webhook linked to this runbook.
- Name string
- Indicates name of the webhook.
- Service
Uri string - The URI where webhooks should be sent.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Automation
Account stringId - The Azure automation account Id which holds this runbook and authenticate to Azure resource.
- Is
Global boolRunbook - Indicates whether this instance is global runbook.
- Runbook
Name string - The name for this runbook.
- Webhook
Resource stringId - The resource id for webhook linked to this runbook.
- Name string
- Indicates name of the webhook.
- Service
Uri string - The URI where webhooks should be sent.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- automation
Account StringId - The Azure automation account Id which holds this runbook and authenticate to Azure resource.
- is
Global BooleanRunbook - Indicates whether this instance is global runbook.
- runbook
Name String - The name for this runbook.
- webhook
Resource StringId - The resource id for webhook linked to this runbook.
- name String
- Indicates name of the webhook.
- service
Uri String - The URI where webhooks should be sent.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- automation
Account stringId - The Azure automation account Id which holds this runbook and authenticate to Azure resource.
- is
Global booleanRunbook - Indicates whether this instance is global runbook.
- runbook
Name string - The name for this runbook.
- webhook
Resource stringId - The resource id for webhook linked to this runbook.
- name string
- Indicates name of the webhook.
- service
Uri string - The URI where webhooks should be sent.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- automation_
account_ strid - The Azure automation account Id which holds this runbook and authenticate to Azure resource.
- is_
global_ boolrunbook - Indicates whether this instance is global runbook.
- runbook_
name str - The name for this runbook.
- webhook_
resource_ strid - The resource id for webhook linked to this runbook.
- name str
- Indicates name of the webhook.
- service_
uri str - The URI where webhooks should be sent.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- automation
Account StringId - The Azure automation account Id which holds this runbook and authenticate to Azure resource.
- is
Global BooleanRunbook - Indicates whether this instance is global runbook.
- runbook
Name String - The name for this runbook.
- webhook
Resource StringId - The resource id for webhook linked to this runbook.
- name String
- Indicates name of the webhook.
- service
Uri String - The URI where webhooks should be sent.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
AzureAppPushReceiver, AzureAppPushReceiverArgs
- Email
Address string - The email address registered for the Azure mobile app.
- Name string
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
- Email
Address string - The email address registered for the Azure mobile app.
- Name string
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
- email
Address String - The email address registered for the Azure mobile app.
- name String
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
- email
Address string - The email address registered for the Azure mobile app.
- name string
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
- email_
address str - The email address registered for the Azure mobile app.
- name str
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
- email
Address String - The email address registered for the Azure mobile app.
- name String
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
AzureAppPushReceiverResponse, AzureAppPushReceiverResponseArgs
- Email
Address string - The email address registered for the Azure mobile app.
- Name string
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
- Email
Address string - The email address registered for the Azure mobile app.
- Name string
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
- email
Address String - The email address registered for the Azure mobile app.
- name String
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
- email
Address string - The email address registered for the Azure mobile app.
- name string
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
- email_
address str - The email address registered for the Azure mobile app.
- name str
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
- email
Address String - The email address registered for the Azure mobile app.
- name String
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group.
AzureFunctionReceiver, AzureFunctionReceiverArgs
- Function
App stringResource Id - The azure resource id of the function app.
- Function
Name string - The function name in the function app.
- Http
Trigger stringUrl - The http trigger url where http request sent to.
- Name string
- The name of the azure function receiver. Names must be unique across all receivers within an action group.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Function
App stringResource Id - The azure resource id of the function app.
- Function
Name string - The function name in the function app.
- Http
Trigger stringUrl - The http trigger url where http request sent to.
- Name string
- The name of the azure function receiver. Names must be unique across all receivers within an action group.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- function
App StringResource Id - The azure resource id of the function app.
- function
Name String - The function name in the function app.
- http
Trigger StringUrl - The http trigger url where http request sent to.
- name String
- The name of the azure function receiver. Names must be unique across all receivers within an action group.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- function
App stringResource Id - The azure resource id of the function app.
- function
Name string - The function name in the function app.
- http
Trigger stringUrl - The http trigger url where http request sent to.
- name string
- The name of the azure function receiver. Names must be unique across all receivers within an action group.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- function_
app_ strresource_ id - The azure resource id of the function app.
- function_
name str - The function name in the function app.
- http_
trigger_ strurl - The http trigger url where http request sent to.
- name str
- The name of the azure function receiver. Names must be unique across all receivers within an action group.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- function
App StringResource Id - The azure resource id of the function app.
- function
Name String - The function name in the function app.
- http
Trigger StringUrl - The http trigger url where http request sent to.
- name String
- The name of the azure function receiver. Names must be unique across all receivers within an action group.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
AzureFunctionReceiverResponse, AzureFunctionReceiverResponseArgs
- Function
App stringResource Id - The azure resource id of the function app.
- Function
Name string - The function name in the function app.
- Http
Trigger stringUrl - The http trigger url where http request sent to.
- Name string
- The name of the azure function receiver. Names must be unique across all receivers within an action group.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Function
App stringResource Id - The azure resource id of the function app.
- Function
Name string - The function name in the function app.
- Http
Trigger stringUrl - The http trigger url where http request sent to.
- Name string
- The name of the azure function receiver. Names must be unique across all receivers within an action group.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- function
App StringResource Id - The azure resource id of the function app.
- function
Name String - The function name in the function app.
- http
Trigger StringUrl - The http trigger url where http request sent to.
- name String
- The name of the azure function receiver. Names must be unique across all receivers within an action group.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- function
App stringResource Id - The azure resource id of the function app.
- function
Name string - The function name in the function app.
- http
Trigger stringUrl - The http trigger url where http request sent to.
- name string
- The name of the azure function receiver. Names must be unique across all receivers within an action group.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- function_
app_ strresource_ id - The azure resource id of the function app.
- function_
name str - The function name in the function app.
- http_
trigger_ strurl - The http trigger url where http request sent to.
- name str
- The name of the azure function receiver. Names must be unique across all receivers within an action group.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- function
App StringResource Id - The azure resource id of the function app.
- function
Name String - The function name in the function app.
- http
Trigger StringUrl - The http trigger url where http request sent to.
- name String
- The name of the azure function receiver. Names must be unique across all receivers within an action group.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
EmailReceiver, EmailReceiverArgs
- Email
Address string - The email address of this receiver.
- Name string
- The name of the email receiver. Names must be unique across all receivers within an action group.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Email
Address string - The email address of this receiver.
- Name string
- The name of the email receiver. Names must be unique across all receivers within an action group.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- email
Address String - The email address of this receiver.
- name String
- The name of the email receiver. Names must be unique across all receivers within an action group.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- email
Address string - The email address of this receiver.
- name string
- The name of the email receiver. Names must be unique across all receivers within an action group.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- email_
address str - The email address of this receiver.
- name str
- The name of the email receiver. Names must be unique across all receivers within an action group.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- email
Address String - The email address of this receiver.
- name String
- The name of the email receiver. Names must be unique across all receivers within an action group.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
EmailReceiverResponse, EmailReceiverResponseArgs
- Email
Address string - The email address of this receiver.
- Name string
- The name of the email receiver. Names must be unique across all receivers within an action group.
- Status string
- The receiver status of the e-mail.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Email
Address string - The email address of this receiver.
- Name string
- The name of the email receiver. Names must be unique across all receivers within an action group.
- Status string
- The receiver status of the e-mail.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- email
Address String - The email address of this receiver.
- name String
- The name of the email receiver. Names must be unique across all receivers within an action group.
- status String
- The receiver status of the e-mail.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- email
Address string - The email address of this receiver.
- name string
- The name of the email receiver. Names must be unique across all receivers within an action group.
- status string
- The receiver status of the e-mail.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- email_
address str - The email address of this receiver.
- name str
- The name of the email receiver. Names must be unique across all receivers within an action group.
- status str
- The receiver status of the e-mail.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- email
Address String - The email address of this receiver.
- name String
- The name of the email receiver. Names must be unique across all receivers within an action group.
- status String
- The receiver status of the e-mail.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
ItsmReceiver, ItsmReceiverArgs
- Connection
Id string - Unique identification of ITSM connection among multiple defined in above workspace.
- Name string
- The name of the Itsm receiver. Names must be unique across all receivers within an action group.
- Region string
- Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
- Ticket
Configuration string - JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
- Workspace
Id string - OMS LA instance identifier.
- Connection
Id string - Unique identification of ITSM connection among multiple defined in above workspace.
- Name string
- The name of the Itsm receiver. Names must be unique across all receivers within an action group.
- Region string
- Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
- Ticket
Configuration string - JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
- Workspace
Id string - OMS LA instance identifier.
- connection
Id String - Unique identification of ITSM connection among multiple defined in above workspace.
- name String
- The name of the Itsm receiver. Names must be unique across all receivers within an action group.
- region String
- Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
- ticket
Configuration String - JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
- workspace
Id String - OMS LA instance identifier.
- connection
Id string - Unique identification of ITSM connection among multiple defined in above workspace.
- name string
- The name of the Itsm receiver. Names must be unique across all receivers within an action group.
- region string
- Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
- ticket
Configuration string - JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
- workspace
Id string - OMS LA instance identifier.
- connection_
id str - Unique identification of ITSM connection among multiple defined in above workspace.
- name str
- The name of the Itsm receiver. Names must be unique across all receivers within an action group.
- region str
- Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
- ticket_
configuration str - JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
- workspace_
id str - OMS LA instance identifier.
- connection
Id String - Unique identification of ITSM connection among multiple defined in above workspace.
- name String
- The name of the Itsm receiver. Names must be unique across all receivers within an action group.
- region String
- Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
- ticket
Configuration String - JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
- workspace
Id String - OMS LA instance identifier.
ItsmReceiverResponse, ItsmReceiverResponseArgs
- Connection
Id string - Unique identification of ITSM connection among multiple defined in above workspace.
- Name string
- The name of the Itsm receiver. Names must be unique across all receivers within an action group.
- Region string
- Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
- Ticket
Configuration string - JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
- Workspace
Id string - OMS LA instance identifier.
- Connection
Id string - Unique identification of ITSM connection among multiple defined in above workspace.
- Name string
- The name of the Itsm receiver. Names must be unique across all receivers within an action group.
- Region string
- Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
- Ticket
Configuration string - JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
- Workspace
Id string - OMS LA instance identifier.
- connection
Id String - Unique identification of ITSM connection among multiple defined in above workspace.
- name String
- The name of the Itsm receiver. Names must be unique across all receivers within an action group.
- region String
- Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
- ticket
Configuration String - JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
- workspace
Id String - OMS LA instance identifier.
- connection
Id string - Unique identification of ITSM connection among multiple defined in above workspace.
- name string
- The name of the Itsm receiver. Names must be unique across all receivers within an action group.
- region string
- Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
- ticket
Configuration string - JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
- workspace
Id string - OMS LA instance identifier.
- connection_
id str - Unique identification of ITSM connection among multiple defined in above workspace.
- name str
- The name of the Itsm receiver. Names must be unique across all receivers within an action group.
- region str
- Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
- ticket_
configuration str - JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
- workspace_
id str - OMS LA instance identifier.
- connection
Id String - Unique identification of ITSM connection among multiple defined in above workspace.
- name String
- The name of the Itsm receiver. Names must be unique across all receivers within an action group.
- region String
- Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'
- ticket
Configuration String - JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
- workspace
Id String - OMS LA instance identifier.
LogicAppReceiver, LogicAppReceiverArgs
- Callback
Url string - The callback url where http request sent to.
- Name string
- The name of the logic app receiver. Names must be unique across all receivers within an action group.
- Resource
Id string - The azure resource id of the logic app receiver.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Callback
Url string - The callback url where http request sent to.
- Name string
- The name of the logic app receiver. Names must be unique across all receivers within an action group.
- Resource
Id string - The azure resource id of the logic app receiver.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- callback
Url String - The callback url where http request sent to.
- name String
- The name of the logic app receiver. Names must be unique across all receivers within an action group.
- resource
Id String - The azure resource id of the logic app receiver.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- callback
Url string - The callback url where http request sent to.
- name string
- The name of the logic app receiver. Names must be unique across all receivers within an action group.
- resource
Id string - The azure resource id of the logic app receiver.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- callback_
url str - The callback url where http request sent to.
- name str
- The name of the logic app receiver. Names must be unique across all receivers within an action group.
- resource_
id str - The azure resource id of the logic app receiver.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- callback
Url String - The callback url where http request sent to.
- name String
- The name of the logic app receiver. Names must be unique across all receivers within an action group.
- resource
Id String - The azure resource id of the logic app receiver.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
LogicAppReceiverResponse, LogicAppReceiverResponseArgs
- Callback
Url string - The callback url where http request sent to.
- Name string
- The name of the logic app receiver. Names must be unique across all receivers within an action group.
- Resource
Id string - The azure resource id of the logic app receiver.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Callback
Url string - The callback url where http request sent to.
- Name string
- The name of the logic app receiver. Names must be unique across all receivers within an action group.
- Resource
Id string - The azure resource id of the logic app receiver.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- callback
Url String - The callback url where http request sent to.
- name String
- The name of the logic app receiver. Names must be unique across all receivers within an action group.
- resource
Id String - The azure resource id of the logic app receiver.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- callback
Url string - The callback url where http request sent to.
- name string
- The name of the logic app receiver. Names must be unique across all receivers within an action group.
- resource
Id string - The azure resource id of the logic app receiver.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- callback_
url str - The callback url where http request sent to.
- name str
- The name of the logic app receiver. Names must be unique across all receivers within an action group.
- resource_
id str - The azure resource id of the logic app receiver.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- callback
Url String - The callback url where http request sent to.
- name String
- The name of the logic app receiver. Names must be unique across all receivers within an action group.
- resource
Id String - The azure resource id of the logic app receiver.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
SmsReceiver, SmsReceiverArgs
- Country
Code string - The country code of the SMS receiver.
- Name string
- The name of the SMS receiver. Names must be unique across all receivers within an action group.
- Phone
Number string - The phone number of the SMS receiver.
- Country
Code string - The country code of the SMS receiver.
- Name string
- The name of the SMS receiver. Names must be unique across all receivers within an action group.
- Phone
Number string - The phone number of the SMS receiver.
- country
Code String - The country code of the SMS receiver.
- name String
- The name of the SMS receiver. Names must be unique across all receivers within an action group.
- phone
Number String - The phone number of the SMS receiver.
- country
Code string - The country code of the SMS receiver.
- name string
- The name of the SMS receiver. Names must be unique across all receivers within an action group.
- phone
Number string - The phone number of the SMS receiver.
- country_
code str - The country code of the SMS receiver.
- name str
- The name of the SMS receiver. Names must be unique across all receivers within an action group.
- phone_
number str - The phone number of the SMS receiver.
- country
Code String - The country code of the SMS receiver.
- name String
- The name of the SMS receiver. Names must be unique across all receivers within an action group.
- phone
Number String - The phone number of the SMS receiver.
SmsReceiverResponse, SmsReceiverResponseArgs
- Country
Code string - The country code of the SMS receiver.
- Name string
- The name of the SMS receiver. Names must be unique across all receivers within an action group.
- Phone
Number string - The phone number of the SMS receiver.
- Status string
- The status of the receiver.
- Country
Code string - The country code of the SMS receiver.
- Name string
- The name of the SMS receiver. Names must be unique across all receivers within an action group.
- Phone
Number string - The phone number of the SMS receiver.
- Status string
- The status of the receiver.
- country
Code String - The country code of the SMS receiver.
- name String
- The name of the SMS receiver. Names must be unique across all receivers within an action group.
- phone
Number String - The phone number of the SMS receiver.
- status String
- The status of the receiver.
- country
Code string - The country code of the SMS receiver.
- name string
- The name of the SMS receiver. Names must be unique across all receivers within an action group.
- phone
Number string - The phone number of the SMS receiver.
- status string
- The status of the receiver.
- country_
code str - The country code of the SMS receiver.
- name str
- The name of the SMS receiver. Names must be unique across all receivers within an action group.
- phone_
number str - The phone number of the SMS receiver.
- status str
- The status of the receiver.
- country
Code String - The country code of the SMS receiver.
- name String
- The name of the SMS receiver. Names must be unique across all receivers within an action group.
- phone
Number String - The phone number of the SMS receiver.
- status String
- The status of the receiver.
VoiceReceiver, VoiceReceiverArgs
- Country
Code string - The country code of the voice receiver.
- Name string
- The name of the voice receiver. Names must be unique across all receivers within an action group.
- Phone
Number string - The phone number of the voice receiver.
- Country
Code string - The country code of the voice receiver.
- Name string
- The name of the voice receiver. Names must be unique across all receivers within an action group.
- Phone
Number string - The phone number of the voice receiver.
- country
Code String - The country code of the voice receiver.
- name String
- The name of the voice receiver. Names must be unique across all receivers within an action group.
- phone
Number String - The phone number of the voice receiver.
- country
Code string - The country code of the voice receiver.
- name string
- The name of the voice receiver. Names must be unique across all receivers within an action group.
- phone
Number string - The phone number of the voice receiver.
- country_
code str - The country code of the voice receiver.
- name str
- The name of the voice receiver. Names must be unique across all receivers within an action group.
- phone_
number str - The phone number of the voice receiver.
- country
Code String - The country code of the voice receiver.
- name String
- The name of the voice receiver. Names must be unique across all receivers within an action group.
- phone
Number String - The phone number of the voice receiver.
VoiceReceiverResponse, VoiceReceiverResponseArgs
- Country
Code string - The country code of the voice receiver.
- Name string
- The name of the voice receiver. Names must be unique across all receivers within an action group.
- Phone
Number string - The phone number of the voice receiver.
- Country
Code string - The country code of the voice receiver.
- Name string
- The name of the voice receiver. Names must be unique across all receivers within an action group.
- Phone
Number string - The phone number of the voice receiver.
- country
Code String - The country code of the voice receiver.
- name String
- The name of the voice receiver. Names must be unique across all receivers within an action group.
- phone
Number String - The phone number of the voice receiver.
- country
Code string - The country code of the voice receiver.
- name string
- The name of the voice receiver. Names must be unique across all receivers within an action group.
- phone
Number string - The phone number of the voice receiver.
- country_
code str - The country code of the voice receiver.
- name str
- The name of the voice receiver. Names must be unique across all receivers within an action group.
- phone_
number str - The phone number of the voice receiver.
- country
Code String - The country code of the voice receiver.
- name String
- The name of the voice receiver. Names must be unique across all receivers within an action group.
- phone
Number String - The phone number of the voice receiver.
WebhookReceiver, WebhookReceiverArgs
- Name string
- The name of the webhook receiver. Names must be unique across all receivers within an action group.
- Service
Uri string - The URI where webhooks should be sent.
- Identifier
Uri string - Indicates the identifier uri for aad auth.
- Object
Id string - Indicates the webhook app object Id for aad auth.
- Tenant
Id string - Indicates the tenant id for aad auth.
- Use
Aad boolAuth - Indicates whether or not use AAD authentication.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Name string
- The name of the webhook receiver. Names must be unique across all receivers within an action group.
- Service
Uri string - The URI where webhooks should be sent.
- Identifier
Uri string - Indicates the identifier uri for aad auth.
- Object
Id string - Indicates the webhook app object Id for aad auth.
- Tenant
Id string - Indicates the tenant id for aad auth.
- Use
Aad boolAuth - Indicates whether or not use AAD authentication.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- name String
- The name of the webhook receiver. Names must be unique across all receivers within an action group.
- service
Uri String - The URI where webhooks should be sent.
- identifier
Uri String - Indicates the identifier uri for aad auth.
- object
Id String - Indicates the webhook app object Id for aad auth.
- tenant
Id String - Indicates the tenant id for aad auth.
- use
Aad BooleanAuth - Indicates whether or not use AAD authentication.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- name string
- The name of the webhook receiver. Names must be unique across all receivers within an action group.
- service
Uri string - The URI where webhooks should be sent.
- identifier
Uri string - Indicates the identifier uri for aad auth.
- object
Id string - Indicates the webhook app object Id for aad auth.
- tenant
Id string - Indicates the tenant id for aad auth.
- use
Aad booleanAuth - Indicates whether or not use AAD authentication.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- name str
- The name of the webhook receiver. Names must be unique across all receivers within an action group.
- service_
uri str - The URI where webhooks should be sent.
- identifier_
uri str - Indicates the identifier uri for aad auth.
- object_
id str - Indicates the webhook app object Id for aad auth.
- tenant_
id str - Indicates the tenant id for aad auth.
- use_
aad_ boolauth - Indicates whether or not use AAD authentication.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- name String
- The name of the webhook receiver. Names must be unique across all receivers within an action group.
- service
Uri String - The URI where webhooks should be sent.
- identifier
Uri String - Indicates the identifier uri for aad auth.
- object
Id String - Indicates the webhook app object Id for aad auth.
- tenant
Id String - Indicates the tenant id for aad auth.
- use
Aad BooleanAuth - Indicates whether or not use AAD authentication.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
WebhookReceiverResponse, WebhookReceiverResponseArgs
- Name string
- The name of the webhook receiver. Names must be unique across all receivers within an action group.
- Service
Uri string - The URI where webhooks should be sent.
- Identifier
Uri string - Indicates the identifier uri for aad auth.
- Object
Id string - Indicates the webhook app object Id for aad auth.
- Tenant
Id string - Indicates the tenant id for aad auth.
- Use
Aad boolAuth - Indicates whether or not use AAD authentication.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Name string
- The name of the webhook receiver. Names must be unique across all receivers within an action group.
- Service
Uri string - The URI where webhooks should be sent.
- Identifier
Uri string - Indicates the identifier uri for aad auth.
- Object
Id string - Indicates the webhook app object Id for aad auth.
- Tenant
Id string - Indicates the tenant id for aad auth.
- Use
Aad boolAuth - Indicates whether or not use AAD authentication.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- name String
- The name of the webhook receiver. Names must be unique across all receivers within an action group.
- service
Uri String - The URI where webhooks should be sent.
- identifier
Uri String - Indicates the identifier uri for aad auth.
- object
Id String - Indicates the webhook app object Id for aad auth.
- tenant
Id String - Indicates the tenant id for aad auth.
- use
Aad BooleanAuth - Indicates whether or not use AAD authentication.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- name string
- The name of the webhook receiver. Names must be unique across all receivers within an action group.
- service
Uri string - The URI where webhooks should be sent.
- identifier
Uri string - Indicates the identifier uri for aad auth.
- object
Id string - Indicates the webhook app object Id for aad auth.
- tenant
Id string - Indicates the tenant id for aad auth.
- use
Aad booleanAuth - Indicates whether or not use AAD authentication.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- name str
- The name of the webhook receiver. Names must be unique across all receivers within an action group.
- service_
uri str - The URI where webhooks should be sent.
- identifier_
uri str - Indicates the identifier uri for aad auth.
- object_
id str - Indicates the webhook app object Id for aad auth.
- tenant_
id str - Indicates the tenant id for aad auth.
- use_
aad_ boolauth - Indicates whether or not use AAD authentication.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- name String
- The name of the webhook receiver. Names must be unique across all receivers within an action group.
- service
Uri String - The URI where webhooks should be sent.
- identifier
Uri String - Indicates the identifier uri for aad auth.
- object
Id String - Indicates the webhook app object Id for aad auth.
- tenant
Id String - Indicates the tenant id for aad auth.
- use
Aad BooleanAuth - Indicates whether or not use AAD authentication.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:insights:ActionGroup SampleActionGroup /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0