azure-native.insights.TenantActionGroup
Explore with Pulumi AI
A tenant action group resource. Azure REST API version: 2023-05-01-preview.
Example Usage
Create or update a tenant action group
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var tenantActionGroup = new AzureNative.Insights.TenantActionGroup("tenantActionGroup", new()
    {
        AzureAppPushReceivers = new[]
        {
            new AzureNative.Insights.Inputs.AzureAppPushReceiverArgs
            {
                EmailAddress = "johndoe@email.com",
                Name = "Sample azureAppPush",
            },
        },
        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",
        Location = "Global",
        ManagementGroupId = "72f988bf-86f1-41af-91ab-2d7cd011db47",
        SmsReceivers = new[]
        {
            new AzureNative.Insights.Inputs.SmsReceiverArgs
            {
                CountryCode = "1",
                Name = "John Doe's mobile",
                PhoneNumber = "2062022299",
            },
            new AzureNative.Insights.Inputs.SmsReceiverArgs
            {
                CountryCode = "1",
                Name = "Jane Smith's mobile",
                PhoneNumber = "0987654321",
            },
        },
        Tags = null,
        TenantActionGroupName = "testTenantActionGroup",
        VoiceReceivers = new[]
        {
            new AzureNative.Insights.Inputs.VoiceReceiverArgs
            {
                CountryCode = "1",
                Name = "Sample voice",
                PhoneNumber = "2062022299",
            },
        },
        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/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := insights.NewTenantActionGroup(ctx, "tenantActionGroup", &insights.TenantActionGroupArgs{
			AzureAppPushReceivers: insights.AzureAppPushReceiverArray{
				&insights.AzureAppPushReceiverArgs{
					EmailAddress: pulumi.String("johndoe@email.com"),
					Name:         pulumi.String("Sample azureAppPush"),
				},
			},
			EmailReceivers: insights.EmailReceiverArray{
				&insights.EmailReceiverArgs{
					EmailAddress:         pulumi.String("johndoe@email.com"),
					Name:                 pulumi.String("John Doe's email"),
					UseCommonAlertSchema: pulumi.Bool(false),
				},
				&insights.EmailReceiverArgs{
					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"),
			Location:          pulumi.String("Global"),
			ManagementGroupId: pulumi.String("72f988bf-86f1-41af-91ab-2d7cd011db47"),
			SmsReceivers: insights.SmsReceiverArray{
				&insights.SmsReceiverArgs{
					CountryCode: pulumi.String("1"),
					Name:        pulumi.String("John Doe's mobile"),
					PhoneNumber: pulumi.String("2062022299"),
				},
				&insights.SmsReceiverArgs{
					CountryCode: pulumi.String("1"),
					Name:        pulumi.String("Jane Smith's mobile"),
					PhoneNumber: pulumi.String("0987654321"),
				},
			},
			Tags:                  pulumi.StringMap{},
			TenantActionGroupName: pulumi.String("testTenantActionGroup"),
			VoiceReceivers: insights.VoiceReceiverArray{
				&insights.VoiceReceiverArgs{
					CountryCode: pulumi.String("1"),
					Name:        pulumi.String("Sample voice"),
					PhoneNumber: pulumi.String("2062022299"),
				},
			},
			WebhookReceivers: insights.WebhookReceiverArray{
				&insights.WebhookReceiverArgs{
					Name:                 pulumi.String("Sample webhook 1"),
					ServiceUri:           pulumi.String("http://www.example.com/webhook1"),
					UseCommonAlertSchema: pulumi.Bool(true),
				},
				&insights.WebhookReceiverArgs{
					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.TenantActionGroup;
import com.pulumi.azurenative.insights.TenantActionGroupArgs;
import com.pulumi.azurenative.insights.inputs.AzureAppPushReceiverArgs;
import com.pulumi.azurenative.insights.inputs.EmailReceiverArgs;
import com.pulumi.azurenative.insights.inputs.SmsReceiverArgs;
import com.pulumi.azurenative.insights.inputs.VoiceReceiverArgs;
import com.pulumi.azurenative.insights.inputs.WebhookReceiverArgs;
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 tenantActionGroup = new TenantActionGroup("tenantActionGroup", TenantActionGroupArgs.builder()
            .azureAppPushReceivers(AzureAppPushReceiverArgs.builder()
                .emailAddress("johndoe@email.com")
                .name("Sample azureAppPush")
                .build())
            .emailReceivers(            
                EmailReceiverArgs.builder()
                    .emailAddress("johndoe@email.com")
                    .name("John Doe's email")
                    .useCommonAlertSchema(false)
                    .build(),
                EmailReceiverArgs.builder()
                    .emailAddress("janesmith@email.com")
                    .name("Jane Smith's email")
                    .useCommonAlertSchema(true)
                    .build())
            .enabled(true)
            .groupShortName("sample")
            .location("Global")
            .managementGroupId("72f988bf-86f1-41af-91ab-2d7cd011db47")
            .smsReceivers(            
                SmsReceiverArgs.builder()
                    .countryCode("1")
                    .name("John Doe's mobile")
                    .phoneNumber("2062022299")
                    .build(),
                SmsReceiverArgs.builder()
                    .countryCode("1")
                    .name("Jane Smith's mobile")
                    .phoneNumber("0987654321")
                    .build())
            .tags()
            .tenantActionGroupName("testTenantActionGroup")
            .voiceReceivers(VoiceReceiverArgs.builder()
                .countryCode("1")
                .name("Sample voice")
                .phoneNumber("2062022299")
                .build())
            .webhookReceivers(            
                WebhookReceiverArgs.builder()
                    .name("Sample webhook 1")
                    .serviceUri("http://www.example.com/webhook1")
                    .useCommonAlertSchema(true)
                    .build(),
                WebhookReceiverArgs.builder()
                    .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)
                    .build())
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const tenantActionGroup = new azure_native.insights.TenantActionGroup("tenantActionGroup", {
    azureAppPushReceivers: [{
        emailAddress: "johndoe@email.com",
        name: "Sample azureAppPush",
    }],
    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",
    location: "Global",
    managementGroupId: "72f988bf-86f1-41af-91ab-2d7cd011db47",
    smsReceivers: [
        {
            countryCode: "1",
            name: "John Doe's mobile",
            phoneNumber: "2062022299",
        },
        {
            countryCode: "1",
            name: "Jane Smith's mobile",
            phoneNumber: "0987654321",
        },
    ],
    tags: {},
    tenantActionGroupName: "testTenantActionGroup",
    voiceReceivers: [{
        countryCode: "1",
        name: "Sample voice",
        phoneNumber: "2062022299",
    }],
    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,
        },
    ],
});
import pulumi
import pulumi_azure_native as azure_native
tenant_action_group = azure_native.insights.TenantActionGroup("tenantActionGroup",
    azure_app_push_receivers=[{
        "email_address": "johndoe@email.com",
        "name": "Sample azureAppPush",
    }],
    email_receivers=[
        {
            "email_address": "johndoe@email.com",
            "name": "John Doe's email",
            "use_common_alert_schema": False,
        },
        {
            "email_address": "janesmith@email.com",
            "name": "Jane Smith's email",
            "use_common_alert_schema": True,
        },
    ],
    enabled=True,
    group_short_name="sample",
    location="Global",
    management_group_id="72f988bf-86f1-41af-91ab-2d7cd011db47",
    sms_receivers=[
        {
            "country_code": "1",
            "name": "John Doe's mobile",
            "phone_number": "2062022299",
        },
        {
            "country_code": "1",
            "name": "Jane Smith's mobile",
            "phone_number": "0987654321",
        },
    ],
    tags={},
    tenant_action_group_name="testTenantActionGroup",
    voice_receivers=[{
        "country_code": "1",
        "name": "Sample voice",
        "phone_number": "2062022299",
    }],
    webhook_receivers=[
        {
            "name": "Sample webhook 1",
            "service_uri": "http://www.example.com/webhook1",
            "use_common_alert_schema": True,
        },
        {
            "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,
        },
    ])
resources:
  tenantActionGroup:
    type: azure-native:insights:TenantActionGroup
    properties:
      azureAppPushReceivers:
        - emailAddress: johndoe@email.com
          name: Sample azureAppPush
      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
      location: Global
      managementGroupId: 72f988bf-86f1-41af-91ab-2d7cd011db47
      smsReceivers:
        - countryCode: '1'
          name: John Doe's mobile
          phoneNumber: '2062022299'
        - countryCode: '1'
          name: Jane Smith's mobile
          phoneNumber: '0987654321'
      tags: {}
      tenantActionGroupName: testTenantActionGroup
      voiceReceivers:
        - countryCode: '1'
          name: Sample voice
          phoneNumber: '2062022299'
      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 TenantActionGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TenantActionGroup(name: string, args: TenantActionGroupArgs, opts?: CustomResourceOptions);@overload
def TenantActionGroup(resource_name: str,
                      args: TenantActionGroupArgs,
                      opts: Optional[ResourceOptions] = None)
@overload
def TenantActionGroup(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      enabled: Optional[bool] = None,
                      group_short_name: Optional[str] = None,
                      management_group_id: Optional[str] = None,
                      azure_app_push_receivers: Optional[Sequence[AzureAppPushReceiverArgs]] = None,
                      email_receivers: Optional[Sequence[EmailReceiverArgs]] = None,
                      location: Optional[str] = None,
                      sms_receivers: Optional[Sequence[SmsReceiverArgs]] = None,
                      tags: Optional[Mapping[str, str]] = None,
                      tenant_action_group_name: Optional[str] = None,
                      voice_receivers: Optional[Sequence[VoiceReceiverArgs]] = None,
                      webhook_receivers: Optional[Sequence[WebhookReceiverArgs]] = None)func NewTenantActionGroup(ctx *Context, name string, args TenantActionGroupArgs, opts ...ResourceOption) (*TenantActionGroup, error)public TenantActionGroup(string name, TenantActionGroupArgs args, CustomResourceOptions? opts = null)
public TenantActionGroup(String name, TenantActionGroupArgs args)
public TenantActionGroup(String name, TenantActionGroupArgs args, CustomResourceOptions options)
type: azure-native:insights:TenantActionGroup
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 TenantActionGroupArgs
- 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 TenantActionGroupArgs
- 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 TenantActionGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TenantActionGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TenantActionGroupArgs
- 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 tenantActionGroupResource = new AzureNative.Insights.TenantActionGroup("tenantActionGroupResource", new()
{
    Enabled = false,
    GroupShortName = "string",
    ManagementGroupId = "string",
    AzureAppPushReceivers = new[]
    {
        new AzureNative.Insights.Inputs.AzureAppPushReceiverArgs
        {
            EmailAddress = "string",
            Name = "string",
        },
    },
    EmailReceivers = new[]
    {
        new AzureNative.Insights.Inputs.EmailReceiverArgs
        {
            EmailAddress = "string",
            Name = "string",
            UseCommonAlertSchema = false,
        },
    },
    Location = "string",
    SmsReceivers = new[]
    {
        new AzureNative.Insights.Inputs.SmsReceiverArgs
        {
            CountryCode = "string",
            Name = "string",
            PhoneNumber = "string",
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
    TenantActionGroupName = "string",
    VoiceReceivers = new[]
    {
        new AzureNative.Insights.Inputs.VoiceReceiverArgs
        {
            CountryCode = "string",
            Name = "string",
            PhoneNumber = "string",
        },
    },
    WebhookReceivers = new[]
    {
        new AzureNative.Insights.Inputs.WebhookReceiverArgs
        {
            Name = "string",
            ServiceUri = "string",
            IdentifierUri = "string",
            ObjectId = "string",
            TenantId = "string",
            UseAadAuth = false,
            UseCommonAlertSchema = false,
        },
    },
});
example, err := insights.NewTenantActionGroup(ctx, "tenantActionGroupResource", &insights.TenantActionGroupArgs{
	Enabled:           pulumi.Bool(false),
	GroupShortName:    pulumi.String("string"),
	ManagementGroupId: pulumi.String("string"),
	AzureAppPushReceivers: insights.AzureAppPushReceiverArray{
		&insights.AzureAppPushReceiverArgs{
			EmailAddress: pulumi.String("string"),
			Name:         pulumi.String("string"),
		},
	},
	EmailReceivers: insights.EmailReceiverArray{
		&insights.EmailReceiverArgs{
			EmailAddress:         pulumi.String("string"),
			Name:                 pulumi.String("string"),
			UseCommonAlertSchema: pulumi.Bool(false),
		},
	},
	Location: pulumi.String("string"),
	SmsReceivers: insights.SmsReceiverArray{
		&insights.SmsReceiverArgs{
			CountryCode: pulumi.String("string"),
			Name:        pulumi.String("string"),
			PhoneNumber: pulumi.String("string"),
		},
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TenantActionGroupName: pulumi.String("string"),
	VoiceReceivers: insights.VoiceReceiverArray{
		&insights.VoiceReceiverArgs{
			CountryCode: pulumi.String("string"),
			Name:        pulumi.String("string"),
			PhoneNumber: pulumi.String("string"),
		},
	},
	WebhookReceivers: insights.WebhookReceiverArray{
		&insights.WebhookReceiverArgs{
			Name:                 pulumi.String("string"),
			ServiceUri:           pulumi.String("string"),
			IdentifierUri:        pulumi.String("string"),
			ObjectId:             pulumi.String("string"),
			TenantId:             pulumi.String("string"),
			UseAadAuth:           pulumi.Bool(false),
			UseCommonAlertSchema: pulumi.Bool(false),
		},
	},
})
var tenantActionGroupResource = new TenantActionGroup("tenantActionGroupResource", TenantActionGroupArgs.builder()
    .enabled(false)
    .groupShortName("string")
    .managementGroupId("string")
    .azureAppPushReceivers(AzureAppPushReceiverArgs.builder()
        .emailAddress("string")
        .name("string")
        .build())
    .emailReceivers(EmailReceiverArgs.builder()
        .emailAddress("string")
        .name("string")
        .useCommonAlertSchema(false)
        .build())
    .location("string")
    .smsReceivers(SmsReceiverArgs.builder()
        .countryCode("string")
        .name("string")
        .phoneNumber("string")
        .build())
    .tags(Map.of("string", "string"))
    .tenantActionGroupName("string")
    .voiceReceivers(VoiceReceiverArgs.builder()
        .countryCode("string")
        .name("string")
        .phoneNumber("string")
        .build())
    .webhookReceivers(WebhookReceiverArgs.builder()
        .name("string")
        .serviceUri("string")
        .identifierUri("string")
        .objectId("string")
        .tenantId("string")
        .useAadAuth(false)
        .useCommonAlertSchema(false)
        .build())
    .build());
tenant_action_group_resource = azure_native.insights.TenantActionGroup("tenantActionGroupResource",
    enabled=False,
    group_short_name="string",
    management_group_id="string",
    azure_app_push_receivers=[{
        "email_address": "string",
        "name": "string",
    }],
    email_receivers=[{
        "email_address": "string",
        "name": "string",
        "use_common_alert_schema": False,
    }],
    location="string",
    sms_receivers=[{
        "country_code": "string",
        "name": "string",
        "phone_number": "string",
    }],
    tags={
        "string": "string",
    },
    tenant_action_group_name="string",
    voice_receivers=[{
        "country_code": "string",
        "name": "string",
        "phone_number": "string",
    }],
    webhook_receivers=[{
        "name": "string",
        "service_uri": "string",
        "identifier_uri": "string",
        "object_id": "string",
        "tenant_id": "string",
        "use_aad_auth": False,
        "use_common_alert_schema": False,
    }])
const tenantActionGroupResource = new azure_native.insights.TenantActionGroup("tenantActionGroupResource", {
    enabled: false,
    groupShortName: "string",
    managementGroupId: "string",
    azureAppPushReceivers: [{
        emailAddress: "string",
        name: "string",
    }],
    emailReceivers: [{
        emailAddress: "string",
        name: "string",
        useCommonAlertSchema: false,
    }],
    location: "string",
    smsReceivers: [{
        countryCode: "string",
        name: "string",
        phoneNumber: "string",
    }],
    tags: {
        string: "string",
    },
    tenantActionGroupName: "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:TenantActionGroup
properties:
    azureAppPushReceivers:
        - emailAddress: string
          name: string
    emailReceivers:
        - emailAddress: string
          name: string
          useCommonAlertSchema: false
    enabled: false
    groupShortName: string
    location: string
    managementGroupId: string
    smsReceivers:
        - countryCode: string
          name: string
          phoneNumber: string
    tags:
        string: string
    tenantActionGroupName: string
    voiceReceivers:
        - countryCode: string
          name: string
          phoneNumber: string
    webhookReceivers:
        - identifierUri: string
          name: string
          objectId: string
          serviceUri: string
          tenantId: string
          useAadAuth: false
          useCommonAlertSchema: false
TenantActionGroup 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 TenantActionGroup resource accepts the following input properties:
- Enabled bool
- Indicates whether this tenant action group is enabled. If a tenant action group is not enabled, then none of its receivers will receive communications.
- GroupShort stringName 
- The short name of the action group. This will be used in SMS messages.
- ManagementGroup stringId 
- The management group id.
- AzureApp List<Pulumi.Push Receivers Azure Native. Insights. Inputs. Azure App Push Receiver> 
- The list of AzureAppPush receivers that are part of this tenant action group.
- EmailReceivers List<Pulumi.Azure Native. Insights. Inputs. Email Receiver> 
- The list of email receivers that are part of this tenant action group.
- Location string
- Resource location
- SmsReceivers List<Pulumi.Azure Native. Insights. Inputs. Sms Receiver> 
- The list of SMS receivers that are part of this tenant action group.
- Dictionary<string, string>
- Resource tags
- TenantAction stringGroup Name 
- The name of the action group.
- VoiceReceivers List<Pulumi.Azure Native. Insights. Inputs. Voice Receiver> 
- The list of voice receivers that are part of this tenant action group.
- WebhookReceivers List<Pulumi.Azure Native. Insights. Inputs. Webhook Receiver> 
- The list of webhook receivers that are part of this tenant action group.
- Enabled bool
- Indicates whether this tenant action group is enabled. If a tenant action group is not enabled, then none of its receivers will receive communications.
- GroupShort stringName 
- The short name of the action group. This will be used in SMS messages.
- ManagementGroup stringId 
- The management group id.
- AzureApp []AzurePush Receivers App Push Receiver Args 
- The list of AzureAppPush receivers that are part of this tenant action group.
- EmailReceivers []EmailReceiver Args 
- The list of email receivers that are part of this tenant action group.
- Location string
- Resource location
- SmsReceivers []SmsReceiver Args 
- The list of SMS receivers that are part of this tenant action group.
- map[string]string
- Resource tags
- TenantAction stringGroup Name 
- The name of the action group.
- VoiceReceivers []VoiceReceiver Args 
- The list of voice receivers that are part of this tenant action group.
- WebhookReceivers []WebhookReceiver Args 
- The list of webhook receivers that are part of this tenant action group.
- enabled Boolean
- Indicates whether this tenant action group is enabled. If a tenant action group is not enabled, then none of its receivers will receive communications.
- groupShort StringName 
- The short name of the action group. This will be used in SMS messages.
- managementGroup StringId 
- The management group id.
- azureApp List<AzurePush Receivers App Push Receiver> 
- The list of AzureAppPush receivers that are part of this tenant action group.
- emailReceivers List<EmailReceiver> 
- The list of email receivers that are part of this tenant action group.
- location String
- Resource location
- smsReceivers List<SmsReceiver> 
- The list of SMS receivers that are part of this tenant action group.
- Map<String,String>
- Resource tags
- tenantAction StringGroup Name 
- The name of the action group.
- voiceReceivers List<VoiceReceiver> 
- The list of voice receivers that are part of this tenant action group.
- webhookReceivers List<WebhookReceiver> 
- The list of webhook receivers that are part of this tenant action group.
- enabled boolean
- Indicates whether this tenant action group is enabled. If a tenant action group is not enabled, then none of its receivers will receive communications.
- groupShort stringName 
- The short name of the action group. This will be used in SMS messages.
- managementGroup stringId 
- The management group id.
- azureApp AzurePush Receivers App Push Receiver[] 
- The list of AzureAppPush receivers that are part of this tenant action group.
- emailReceivers EmailReceiver[] 
- The list of email receivers that are part of this tenant action group.
- location string
- Resource location
- smsReceivers SmsReceiver[] 
- The list of SMS receivers that are part of this tenant action group.
- {[key: string]: string}
- Resource tags
- tenantAction stringGroup Name 
- The name of the action group.
- voiceReceivers VoiceReceiver[] 
- The list of voice receivers that are part of this tenant action group.
- webhookReceivers WebhookReceiver[] 
- The list of webhook receivers that are part of this tenant action group.
- enabled bool
- Indicates whether this tenant action group is enabled. If a tenant 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.
- management_group_ strid 
- The management group id.
- azure_app_ Sequence[Azurepush_ receivers App Push Receiver Args] 
- The list of AzureAppPush receivers that are part of this tenant action group.
- email_receivers Sequence[EmailReceiver Args] 
- The list of email receivers that are part of this tenant action group.
- location str
- Resource location
- sms_receivers Sequence[SmsReceiver Args] 
- The list of SMS receivers that are part of this tenant action group.
- Mapping[str, str]
- Resource tags
- tenant_action_ strgroup_ name 
- The name of the action group.
- voice_receivers Sequence[VoiceReceiver Args] 
- The list of voice receivers that are part of this tenant action group.
- webhook_receivers Sequence[WebhookReceiver Args] 
- The list of webhook receivers that are part of this tenant action group.
- enabled Boolean
- Indicates whether this tenant action group is enabled. If a tenant action group is not enabled, then none of its receivers will receive communications.
- groupShort StringName 
- The short name of the action group. This will be used in SMS messages.
- managementGroup StringId 
- The management group id.
- azureApp List<Property Map>Push Receivers 
- The list of AzureAppPush receivers that are part of this tenant action group.
- emailReceivers List<Property Map>
- The list of email receivers that are part of this tenant action group.
- location String
- Resource location
- smsReceivers List<Property Map>
- The list of SMS receivers that are part of this tenant action group.
- Map<String>
- Resource tags
- tenantAction StringGroup Name 
- The name of the action group.
- voiceReceivers List<Property Map>
- The list of voice receivers that are part of this tenant action group.
- webhookReceivers List<Property Map>
- The list of webhook receivers that are part of this tenant action group.
Outputs
All input properties are implicitly available as output properties. Additionally, the TenantActionGroup resource produces the following output properties:
Supporting Types
AzureAppPushReceiver, AzureAppPushReceiverArgs        
- EmailAddress 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 a tenant action group.
- EmailAddress 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 a tenant action group.
- emailAddress 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 a tenant action group.
- emailAddress 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 a tenant 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 a tenant action group.
- emailAddress 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 a tenant action group.
AzureAppPushReceiverResponse, AzureAppPushReceiverResponseArgs          
- EmailAddress 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 a tenant action group.
- EmailAddress 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 a tenant action group.
- emailAddress 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 a tenant action group.
- emailAddress 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 a tenant 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 a tenant action group.
- emailAddress 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 a tenant action group.
EmailReceiver, EmailReceiverArgs    
- EmailAddress string
- The email address of this receiver.
- Name string
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- UseCommon boolAlert Schema 
- Indicates whether to use common alert schema.
- EmailAddress string
- The email address of this receiver.
- Name string
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- UseCommon boolAlert Schema 
- Indicates whether to use common alert schema.
- emailAddress String
- The email address of this receiver.
- name String
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- useCommon BooleanAlert Schema 
- Indicates whether to use common alert schema.
- emailAddress string
- The email address of this receiver.
- name string
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- useCommon 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 a tenant action group.
- use_common_ boolalert_ schema 
- Indicates whether to use common alert schema.
- emailAddress String
- The email address of this receiver.
- name String
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- useCommon BooleanAlert Schema 
- Indicates whether to use common alert schema.
EmailReceiverResponse, EmailReceiverResponseArgs      
- EmailAddress string
- The email address of this receiver.
- Name string
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- Status string
- The receiver status of the e-mail.
- UseCommon boolAlert Schema 
- Indicates whether to use common alert schema.
- EmailAddress string
- The email address of this receiver.
- Name string
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- Status string
- The receiver status of the e-mail.
- UseCommon boolAlert Schema 
- Indicates whether to use common alert schema.
- emailAddress String
- The email address of this receiver.
- name String
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- status String
- The receiver status of the e-mail.
- useCommon BooleanAlert Schema 
- Indicates whether to use common alert schema.
- emailAddress string
- The email address of this receiver.
- name string
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- status string
- The receiver status of the e-mail.
- useCommon 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 a tenant action group.
- status str
- The receiver status of the e-mail.
- use_common_ boolalert_ schema 
- Indicates whether to use common alert schema.
- emailAddress String
- The email address of this receiver.
- name String
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- status String
- The receiver status of the e-mail.
- useCommon BooleanAlert Schema 
- Indicates whether to use common alert schema.
SmsReceiver, SmsReceiverArgs    
- CountryCode string
- The country code of the SMS receiver.
- Name string
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- PhoneNumber string
- The phone number of the SMS receiver.
- CountryCode string
- The country code of the SMS receiver.
- Name string
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- PhoneNumber string
- The phone number of the SMS receiver.
- countryCode String
- The country code of the SMS receiver.
- name String
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phoneNumber String
- The phone number of the SMS receiver.
- countryCode string
- The country code of the SMS receiver.
- name string
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phoneNumber string
- The phone number of the SMS receiver.
- country_code str
- The country code of the SMS receiver.
- name str
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phone_number str
- The phone number of the SMS receiver.
- countryCode String
- The country code of the SMS receiver.
- name String
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phoneNumber String
- The phone number of the SMS receiver.
SmsReceiverResponse, SmsReceiverResponseArgs      
- CountryCode string
- The country code of the SMS receiver.
- Name string
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- PhoneNumber string
- The phone number of the SMS receiver.
- Status string
- The status of the receiver.
- CountryCode string
- The country code of the SMS receiver.
- Name string
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- PhoneNumber string
- The phone number of the SMS receiver.
- Status string
- The status of the receiver.
- countryCode String
- The country code of the SMS receiver.
- name String
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phoneNumber String
- The phone number of the SMS receiver.
- status String
- The status of the receiver.
- countryCode string
- The country code of the SMS receiver.
- name string
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phoneNumber 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 a tenant action group.
- phone_number str
- The phone number of the SMS receiver.
- status str
- The status of the receiver.
- countryCode String
- The country code of the SMS receiver.
- name String
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phoneNumber String
- The phone number of the SMS receiver.
- status String
- The status of the receiver.
VoiceReceiver, VoiceReceiverArgs    
- CountryCode string
- The country code of the voice receiver.
- Name string
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- PhoneNumber string
- The phone number of the voice receiver.
- CountryCode string
- The country code of the voice receiver.
- Name string
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- PhoneNumber string
- The phone number of the voice receiver.
- countryCode String
- The country code of the voice receiver.
- name String
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phoneNumber String
- The phone number of the voice receiver.
- countryCode string
- The country code of the voice receiver.
- name string
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phoneNumber string
- The phone number of the voice receiver.
- country_code str
- The country code of the voice receiver.
- name str
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phone_number str
- The phone number of the voice receiver.
- countryCode String
- The country code of the voice receiver.
- name String
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phoneNumber String
- The phone number of the voice receiver.
VoiceReceiverResponse, VoiceReceiverResponseArgs      
- CountryCode string
- The country code of the voice receiver.
- Name string
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- PhoneNumber string
- The phone number of the voice receiver.
- CountryCode string
- The country code of the voice receiver.
- Name string
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- PhoneNumber string
- The phone number of the voice receiver.
- countryCode String
- The country code of the voice receiver.
- name String
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phoneNumber String
- The phone number of the voice receiver.
- countryCode string
- The country code of the voice receiver.
- name string
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phoneNumber string
- The phone number of the voice receiver.
- country_code str
- The country code of the voice receiver.
- name str
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phone_number str
- The phone number of the voice receiver.
- countryCode String
- The country code of the voice receiver.
- name String
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phoneNumber 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 a tenant action group.
- ServiceUri string
- The URI where webhooks should be sent.
- IdentifierUri string
- Indicates the identifier uri for aad auth.
- ObjectId string
- Indicates the webhook app object Id for aad auth.
- TenantId string
- Indicates the tenant id for aad auth.
- UseAad boolAuth 
- Indicates whether or not use AAD authentication.
- UseCommon 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 a tenant action group.
- ServiceUri string
- The URI where webhooks should be sent.
- IdentifierUri string
- Indicates the identifier uri for aad auth.
- ObjectId string
- Indicates the webhook app object Id for aad auth.
- TenantId string
- Indicates the tenant id for aad auth.
- UseAad boolAuth 
- Indicates whether or not use AAD authentication.
- UseCommon 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 a tenant action group.
- serviceUri String
- The URI where webhooks should be sent.
- identifierUri String
- Indicates the identifier uri for aad auth.
- objectId String
- Indicates the webhook app object Id for aad auth.
- tenantId String
- Indicates the tenant id for aad auth.
- useAad BooleanAuth 
- Indicates whether or not use AAD authentication.
- useCommon 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 a tenant action group.
- serviceUri string
- The URI where webhooks should be sent.
- identifierUri string
- Indicates the identifier uri for aad auth.
- objectId string
- Indicates the webhook app object Id for aad auth.
- tenantId string
- Indicates the tenant id for aad auth.
- useAad booleanAuth 
- Indicates whether or not use AAD authentication.
- useCommon 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 a tenant 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 a tenant action group.
- serviceUri String
- The URI where webhooks should be sent.
- identifierUri String
- Indicates the identifier uri for aad auth.
- objectId String
- Indicates the webhook app object Id for aad auth.
- tenantId String
- Indicates the tenant id for aad auth.
- useAad BooleanAuth 
- Indicates whether or not use AAD authentication.
- useCommon 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 a tenant action group.
- ServiceUri string
- The URI where webhooks should be sent.
- IdentifierUri string
- Indicates the identifier uri for aad auth.
- ObjectId string
- Indicates the webhook app object Id for aad auth.
- TenantId string
- Indicates the tenant id for aad auth.
- UseAad boolAuth 
- Indicates whether or not use AAD authentication.
- UseCommon 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 a tenant action group.
- ServiceUri string
- The URI where webhooks should be sent.
- IdentifierUri string
- Indicates the identifier uri for aad auth.
- ObjectId string
- Indicates the webhook app object Id for aad auth.
- TenantId string
- Indicates the tenant id for aad auth.
- UseAad boolAuth 
- Indicates whether or not use AAD authentication.
- UseCommon 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 a tenant action group.
- serviceUri String
- The URI where webhooks should be sent.
- identifierUri String
- Indicates the identifier uri for aad auth.
- objectId String
- Indicates the webhook app object Id for aad auth.
- tenantId String
- Indicates the tenant id for aad auth.
- useAad BooleanAuth 
- Indicates whether or not use AAD authentication.
- useCommon 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 a tenant action group.
- serviceUri string
- The URI where webhooks should be sent.
- identifierUri string
- Indicates the identifier uri for aad auth.
- objectId string
- Indicates the webhook app object Id for aad auth.
- tenantId string
- Indicates the tenant id for aad auth.
- useAad booleanAuth 
- Indicates whether or not use AAD authentication.
- useCommon 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 a tenant 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 a tenant action group.
- serviceUri String
- The URI where webhooks should be sent.
- identifierUri String
- Indicates the identifier uri for aad auth.
- objectId String
- Indicates the webhook app object Id for aad auth.
- tenantId String
- Indicates the tenant id for aad auth.
- useAad BooleanAuth 
- Indicates whether or not use AAD authentication.
- useCommon 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:TenantActionGroup testTenantActionGroup /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Insights/tenantActionGroups/{tenantActionGroupName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0