1. Packages
  2. Azure Native
  3. API Docs
  4. insights
  5. TenantActionGroup
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.38.0 published on Monday, Apr 22, 2024 by Pulumi

azure-native.insights.TenantActionGroup

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.38.0 published on Monday, Apr 22, 2024 by Pulumi

    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 (
    	"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:                  nil,
    			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 pulumi
    import pulumi_azure_native as azure_native
    
    tenant_action_group = azure_native.insights.TenantActionGroup("tenantActionGroup",
        azure_app_push_receivers=[azure_native.insights.AzureAppPushReceiverArgs(
            email_address="johndoe@email.com",
            name="Sample azureAppPush",
        )],
        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",
        location="Global",
        management_group_id="72f988bf-86f1-41af-91ab-2d7cd011db47",
        sms_receivers=[
            azure_native.insights.SmsReceiverArgs(
                country_code="1",
                name="John Doe's mobile",
                phone_number="2062022299",
            ),
            azure_native.insights.SmsReceiverArgs(
                country_code="1",
                name="Jane Smith's mobile",
                phone_number="0987654321",
            ),
        ],
        tags={},
        tenant_action_group_name="testTenantActionGroup",
        voice_receivers=[azure_native.insights.VoiceReceiverArgs(
            country_code="1",
            name="Sample voice",
            phone_number="2062022299",
        )],
        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 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,
            },
        ],
    });
    
    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.

    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=[azure_native.insights.AzureAppPushReceiverArgs(
            email_address="string",
            name="string",
        )],
        email_receivers=[azure_native.insights.EmailReceiverArgs(
            email_address="string",
            name="string",
            use_common_alert_schema=False,
        )],
        location="string",
        sms_receivers=[azure_native.insights.SmsReceiverArgs(
            country_code="string",
            name="string",
            phone_number="string",
        )],
        tags={
            "string": "string",
        },
        tenant_action_group_name="string",
        voice_receivers=[azure_native.insights.VoiceReceiverArgs(
            country_code="string",
            name="string",
            phone_number="string",
        )],
        webhook_receivers=[azure_native.insights.WebhookReceiverArgs(
            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

    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.
    GroupShortName string
    The short name of the action group. This will be used in SMS messages.
    ManagementGroupId string
    The management group id.
    AzureAppPushReceivers List<Pulumi.AzureNative.Insights.Inputs.AzureAppPushReceiver>
    The list of AzureAppPush receivers that are part of this tenant action group.
    EmailReceivers List<Pulumi.AzureNative.Insights.Inputs.EmailReceiver>
    The list of email receivers that are part of this tenant action group.
    Location string
    Resource location
    SmsReceivers List<Pulumi.AzureNative.Insights.Inputs.SmsReceiver>
    The list of SMS receivers that are part of this tenant action group.
    Tags Dictionary<string, string>
    Resource tags
    TenantActionGroupName string
    The name of the action group.
    VoiceReceivers List<Pulumi.AzureNative.Insights.Inputs.VoiceReceiver>
    The list of voice receivers that are part of this tenant action group.
    WebhookReceivers List<Pulumi.AzureNative.Insights.Inputs.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.
    GroupShortName string
    The short name of the action group. This will be used in SMS messages.
    ManagementGroupId string
    The management group id.
    AzureAppPushReceivers []AzureAppPushReceiverArgs
    The list of AzureAppPush receivers that are part of this tenant action group.
    EmailReceivers []EmailReceiverArgs
    The list of email receivers that are part of this tenant action group.
    Location string
    Resource location
    SmsReceivers []SmsReceiverArgs
    The list of SMS receivers that are part of this tenant action group.
    Tags map[string]string
    Resource tags
    TenantActionGroupName string
    The name of the action group.
    VoiceReceivers []VoiceReceiverArgs
    The list of voice receivers that are part of this tenant action group.
    WebhookReceivers []WebhookReceiverArgs
    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.
    groupShortName String
    The short name of the action group. This will be used in SMS messages.
    managementGroupId String
    The management group id.
    azureAppPushReceivers List<AzureAppPushReceiver>
    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.
    tags Map<String,String>
    Resource tags
    tenantActionGroupName String
    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.
    groupShortName string
    The short name of the action group. This will be used in SMS messages.
    managementGroupId string
    The management group id.
    azureAppPushReceivers AzureAppPushReceiver[]
    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.
    tags {[key: string]: string}
    Resource tags
    tenantActionGroupName string
    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_name str
    The short name of the action group. This will be used in SMS messages.
    management_group_id str
    The management group id.
    azure_app_push_receivers Sequence[AzureAppPushReceiverArgs]
    The list of AzureAppPush receivers that are part of this tenant action group.
    email_receivers Sequence[EmailReceiverArgs]
    The list of email receivers that are part of this tenant action group.
    location str
    Resource location
    sms_receivers Sequence[SmsReceiverArgs]
    The list of SMS receivers that are part of this tenant action group.
    tags Mapping[str, str]
    Resource tags
    tenant_action_group_name str
    The name of the action group.
    voice_receivers Sequence[VoiceReceiverArgs]
    The list of voice receivers that are part of this tenant action group.
    webhook_receivers Sequence[WebhookReceiverArgs]
    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.
    groupShortName String
    The short name of the action group. This will be used in SMS messages.
    managementGroupId String
    The management group id.
    azureAppPushReceivers List<Property Map>
    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.
    tags Map<String>
    Resource tags
    tenantActionGroupName String
    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:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Azure resource name
    Type string
    Azure resource type
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Azure resource name
    Type string
    Azure resource type
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Azure resource name
    type String
    Azure resource type
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Azure resource name
    type string
    Azure resource type
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Azure resource name
    type str
    Azure resource type
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Azure resource name
    type String
    Azure resource type

    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.
    UseCommonAlertSchema bool
    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.
    UseCommonAlertSchema bool
    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.
    useCommonAlertSchema Boolean
    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.
    useCommonAlertSchema boolean
    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_alert_schema bool
    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.
    useCommonAlertSchema Boolean
    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.
    UseCommonAlertSchema bool
    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.
    UseCommonAlertSchema bool
    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.
    useCommonAlertSchema Boolean
    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.
    useCommonAlertSchema boolean
    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_alert_schema bool
    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.
    useCommonAlertSchema Boolean
    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.
    UseAadAuth bool
    Indicates whether or not use AAD authentication.
    UseCommonAlertSchema bool
    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.
    UseAadAuth bool
    Indicates whether or not use AAD authentication.
    UseCommonAlertSchema bool
    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.
    useAadAuth Boolean
    Indicates whether or not use AAD authentication.
    useCommonAlertSchema Boolean
    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.
    useAadAuth boolean
    Indicates whether or not use AAD authentication.
    useCommonAlertSchema boolean
    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_auth bool
    Indicates whether or not use AAD authentication.
    use_common_alert_schema bool
    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.
    useAadAuth Boolean
    Indicates whether or not use AAD authentication.
    useCommonAlertSchema Boolean
    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.
    UseAadAuth bool
    Indicates whether or not use AAD authentication.
    UseCommonAlertSchema bool
    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.
    UseAadAuth bool
    Indicates whether or not use AAD authentication.
    UseCommonAlertSchema bool
    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.
    useAadAuth Boolean
    Indicates whether or not use AAD authentication.
    useCommonAlertSchema Boolean
    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.
    useAadAuth boolean
    Indicates whether or not use AAD authentication.
    useCommonAlertSchema boolean
    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_auth bool
    Indicates whether or not use AAD authentication.
    use_common_alert_schema bool
    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.
    useAadAuth Boolean
    Indicates whether or not use AAD authentication.
    useCommonAlertSchema Boolean
    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.38.0 published on Monday, Apr 22, 2024 by Pulumi