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: 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=[{
"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,
},
])
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.
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=[{
"emailAddress": "string",
"name": "string",
}],
email_receivers=[{
"emailAddress": "string",
"name": "string",
"useCommonAlertSchema": False,
}],
location="string",
sms_receivers=[{
"countryCode": "string",
"name": "string",
"phoneNumber": "string",
}],
tags={
"string": "string",
},
tenant_action_group_name="string",
voice_receivers=[{
"countryCode": "string",
"name": "string",
"phoneNumber": "string",
}],
webhook_receivers=[{
"name": "string",
"serviceUri": "string",
"identifierUri": "string",
"objectId": "string",
"tenantId": "string",
"useAadAuth": False,
"useCommonAlertSchema": False,
}])
const 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.
- Group
Short stringName - The short name of the action group. This will be used in SMS messages.
- Management
Group stringId - The management group id.
- Azure
App 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.
- Email
Receivers 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
- Sms
Receivers 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
- Tenant
Action stringGroup Name - The name of the action group.
- Voice
Receivers List<Pulumi.Azure Native. Insights. Inputs. Voice Receiver> - The list of voice receivers that are part of this tenant action group.
- Webhook
Receivers 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.
- Group
Short stringName - The short name of the action group. This will be used in SMS messages.
- Management
Group stringId - The management group id.
- Azure
App []AzurePush Receivers App Push Receiver Args - The list of AzureAppPush receivers that are part of this tenant action group.
- Email
Receivers []EmailReceiver Args - The list of email receivers that are part of this tenant action group.
- Location string
- Resource location
- Sms
Receivers []SmsReceiver Args - The list of SMS receivers that are part of this tenant action group.
- map[string]string
- Resource tags
- Tenant
Action stringGroup Name - The name of the action group.
- Voice
Receivers []VoiceReceiver Args - The list of voice receivers that are part of this tenant action group.
- Webhook
Receivers []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.
- group
Short StringName - The short name of the action group. This will be used in SMS messages.
- management
Group StringId - The management group id.
- azure
App List<AzurePush Receivers App Push Receiver> - The list of AzureAppPush receivers that are part of this tenant action group.
- email
Receivers List<EmailReceiver> - The list of email receivers that are part of this tenant action group.
- location String
- Resource location
- sms
Receivers List<SmsReceiver> - The list of SMS receivers that are part of this tenant action group.
- Map<String,String>
- Resource tags
- tenant
Action StringGroup Name - The name of the action group.
- voice
Receivers List<VoiceReceiver> - The list of voice receivers that are part of this tenant action group.
- webhook
Receivers 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.
- group
Short stringName - The short name of the action group. This will be used in SMS messages.
- management
Group stringId - The management group id.
- azure
App AzurePush Receivers App Push Receiver[] - The list of AzureAppPush receivers that are part of this tenant action group.
- email
Receivers EmailReceiver[] - The list of email receivers that are part of this tenant action group.
- location string
- Resource location
- sms
Receivers SmsReceiver[] - The list of SMS receivers that are part of this tenant action group.
- {[key: string]: string}
- Resource tags
- tenant
Action stringGroup Name - The name of the action group.
- voice
Receivers VoiceReceiver[] - The list of voice receivers that are part of this tenant action group.
- webhook
Receivers 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.
- group
Short StringName - The short name of the action group. This will be used in SMS messages.
- management
Group StringId - The management group id.
- azure
App List<Property Map>Push Receivers - The list of AzureAppPush receivers that are part of this tenant action group.
- email
Receivers List<Property Map> - The list of email receivers that are part of this tenant action group.
- location String
- Resource location
- sms
Receivers List<Property Map> - The list of SMS receivers that are part of this tenant action group.
- Map<String>
- Resource tags
- tenant
Action StringGroup Name - The name of the action group.
- voice
Receivers List<Property Map> - The list of voice receivers that are part of this tenant action group.
- webhook
Receivers 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
- Email
Address string - The email address registered for the Azure mobile app.
- Name string
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within a tenant action group.
- Email
Address string - The email address registered for the Azure mobile app.
- Name string
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within a tenant action group.
- email
Address String - The email address registered for the Azure mobile app.
- name String
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within a tenant action group.
- email
Address string - The email address registered for the Azure mobile app.
- name string
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within 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.
- email
Address String - The email address registered for the Azure mobile app.
- name String
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within a tenant action group.
AzureAppPushReceiverResponse, AzureAppPushReceiverResponseArgs
- Email
Address string - The email address registered for the Azure mobile app.
- Name string
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within a tenant action group.
- Email
Address string - The email address registered for the Azure mobile app.
- Name string
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within a tenant action group.
- email
Address String - The email address registered for the Azure mobile app.
- name String
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within a tenant action group.
- email
Address string - The email address registered for the Azure mobile app.
- name string
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within 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.
- email
Address String - The email address registered for the Azure mobile app.
- name String
- The name of the Azure mobile app push receiver. Names must be unique across all receivers within a tenant action group.
EmailReceiver, EmailReceiverArgs
- Email
Address string - The email address of this receiver.
- Name string
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Email
Address string - The email address of this receiver.
- Name string
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- email
Address String - The email address of this receiver.
- name String
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- email
Address string - The email address of this receiver.
- name string
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- email_
address str - The email address of this receiver.
- name str
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- email
Address String - The email address of this receiver.
- name String
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
EmailReceiverResponse, EmailReceiverResponseArgs
- Email
Address string - The email address of this receiver.
- Name string
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- Status string
- The receiver status of the e-mail.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Email
Address string - The email address of this receiver.
- Name string
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- Status string
- The receiver status of the e-mail.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- email
Address String - The email address of this receiver.
- name String
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- status String
- The receiver status of the e-mail.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- email
Address string - The email address of this receiver.
- name string
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- status string
- The receiver status of the e-mail.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- email_
address str - The email address of this receiver.
- name str
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- status str
- The receiver status of the e-mail.
- use_
common_ boolalert_ schema - Indicates whether to use common alert schema.
- email
Address String - The email address of this receiver.
- name String
- The name of the email receiver. Names must be unique across all receivers within a tenant action group.
- status String
- The receiver status of the e-mail.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
SmsReceiver, SmsReceiverArgs
- Country
Code string - The country code of the SMS receiver.
- Name string
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- Phone
Number string - The phone number of the SMS receiver.
- Country
Code string - The country code of the SMS receiver.
- Name string
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- Phone
Number string - The phone number of the SMS receiver.
- country
Code String - The country code of the SMS receiver.
- name String
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phone
Number String - The phone number of the SMS receiver.
- country
Code string - The country code of the SMS receiver.
- name string
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phone
Number string - The phone number of the SMS receiver.
- country_
code str - The country code of the SMS receiver.
- name str
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phone_
number str - The phone number of the SMS receiver.
- country
Code String - The country code of the SMS receiver.
- name String
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phone
Number String - The phone number of the SMS receiver.
SmsReceiverResponse, SmsReceiverResponseArgs
- Country
Code string - The country code of the SMS receiver.
- Name string
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- Phone
Number string - The phone number of the SMS receiver.
- Status string
- The status of the receiver.
- Country
Code string - The country code of the SMS receiver.
- Name string
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- Phone
Number string - The phone number of the SMS receiver.
- Status string
- The status of the receiver.
- country
Code String - The country code of the SMS receiver.
- name String
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phone
Number String - The phone number of the SMS receiver.
- status String
- The status of the receiver.
- country
Code string - The country code of the SMS receiver.
- name string
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phone
Number string - The phone number of the SMS receiver.
- status string
- The status of the receiver.
- country_
code str - The country code of the SMS receiver.
- name str
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phone_
number str - The phone number of the SMS receiver.
- status str
- The status of the receiver.
- country
Code String - The country code of the SMS receiver.
- name String
- The name of the SMS receiver. Names must be unique across all receivers within a tenant action group.
- phone
Number String - The phone number of the SMS receiver.
- status String
- The status of the receiver.
VoiceReceiver, VoiceReceiverArgs
- Country
Code string - The country code of the voice receiver.
- Name string
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- Phone
Number string - The phone number of the voice receiver.
- Country
Code string - The country code of the voice receiver.
- Name string
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- Phone
Number string - The phone number of the voice receiver.
- country
Code String - The country code of the voice receiver.
- name String
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phone
Number String - The phone number of the voice receiver.
- country
Code string - The country code of the voice receiver.
- name string
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phone
Number string - The phone number of the voice receiver.
- country_
code str - The country code of the voice receiver.
- name str
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phone_
number str - The phone number of the voice receiver.
- country
Code String - The country code of the voice receiver.
- name String
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phone
Number String - The phone number of the voice receiver.
VoiceReceiverResponse, VoiceReceiverResponseArgs
- Country
Code string - The country code of the voice receiver.
- Name string
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- Phone
Number string - The phone number of the voice receiver.
- Country
Code string - The country code of the voice receiver.
- Name string
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- Phone
Number string - The phone number of the voice receiver.
- country
Code String - The country code of the voice receiver.
- name String
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phone
Number String - The phone number of the voice receiver.
- country
Code string - The country code of the voice receiver.
- name string
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phone
Number string - The phone number of the voice receiver.
- country_
code str - The country code of the voice receiver.
- name str
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phone_
number str - The phone number of the voice receiver.
- country
Code String - The country code of the voice receiver.
- name String
- The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
- phone
Number String - The phone number of the voice receiver.
WebhookReceiver, WebhookReceiverArgs
- Name string
- The name of the webhook receiver. Names must be unique across all receivers within a tenant action group.
- Service
Uri string - The URI where webhooks should be sent.
- Identifier
Uri string - Indicates the identifier uri for aad auth.
- Object
Id string - Indicates the webhook app object Id for aad auth.
- Tenant
Id string - Indicates the tenant id for aad auth.
- Use
Aad boolAuth - Indicates whether or not use AAD authentication.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Name string
- The name of the webhook receiver. Names must be unique across all receivers within a tenant action group.
- Service
Uri string - The URI where webhooks should be sent.
- Identifier
Uri string - Indicates the identifier uri for aad auth.
- Object
Id string - Indicates the webhook app object Id for aad auth.
- Tenant
Id string - Indicates the tenant id for aad auth.
- Use
Aad boolAuth - Indicates whether or not use AAD authentication.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- name String
- The name of the webhook receiver. Names must be unique across all receivers within a tenant action group.
- service
Uri String - The URI where webhooks should be sent.
- identifier
Uri String - Indicates the identifier uri for aad auth.
- object
Id String - Indicates the webhook app object Id for aad auth.
- tenant
Id String - Indicates the tenant id for aad auth.
- use
Aad BooleanAuth - Indicates whether or not use AAD authentication.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- name string
- The name of the webhook receiver. Names must be unique across all receivers within a tenant action group.
- service
Uri string - The URI where webhooks should be sent.
- identifier
Uri string - Indicates the identifier uri for aad auth.
- object
Id string - Indicates the webhook app object Id for aad auth.
- tenant
Id string - Indicates the tenant id for aad auth.
- use
Aad booleanAuth - Indicates whether or not use AAD authentication.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- name str
- The name of the webhook receiver. Names must be unique across all receivers within 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.
- service
Uri String - The URI where webhooks should be sent.
- identifier
Uri String - Indicates the identifier uri for aad auth.
- object
Id String - Indicates the webhook app object Id for aad auth.
- tenant
Id String - Indicates the tenant id for aad auth.
- use
Aad BooleanAuth - Indicates whether or not use AAD authentication.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
WebhookReceiverResponse, WebhookReceiverResponseArgs
- Name string
- The name of the webhook receiver. Names must be unique across all receivers within a tenant action group.
- Service
Uri string - The URI where webhooks should be sent.
- Identifier
Uri string - Indicates the identifier uri for aad auth.
- Object
Id string - Indicates the webhook app object Id for aad auth.
- Tenant
Id string - Indicates the tenant id for aad auth.
- Use
Aad boolAuth - Indicates whether or not use AAD authentication.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- Name string
- The name of the webhook receiver. Names must be unique across all receivers within a tenant action group.
- Service
Uri string - The URI where webhooks should be sent.
- Identifier
Uri string - Indicates the identifier uri for aad auth.
- Object
Id string - Indicates the webhook app object Id for aad auth.
- Tenant
Id string - Indicates the tenant id for aad auth.
- Use
Aad boolAuth - Indicates whether or not use AAD authentication.
- Use
Common boolAlert Schema - Indicates whether to use common alert schema.
- name String
- The name of the webhook receiver. Names must be unique across all receivers within a tenant action group.
- service
Uri String - The URI where webhooks should be sent.
- identifier
Uri String - Indicates the identifier uri for aad auth.
- object
Id String - Indicates the webhook app object Id for aad auth.
- tenant
Id String - Indicates the tenant id for aad auth.
- use
Aad BooleanAuth - Indicates whether or not use AAD authentication.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
- name string
- The name of the webhook receiver. Names must be unique across all receivers within a tenant action group.
- service
Uri string - The URI where webhooks should be sent.
- identifier
Uri string - Indicates the identifier uri for aad auth.
- object
Id string - Indicates the webhook app object Id for aad auth.
- tenant
Id string - Indicates the tenant id for aad auth.
- use
Aad booleanAuth - Indicates whether or not use AAD authentication.
- use
Common booleanAlert Schema - Indicates whether to use common alert schema.
- name str
- The name of the webhook receiver. Names must be unique across all receivers within 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.
- service
Uri String - The URI where webhooks should be sent.
- identifier
Uri String - Indicates the identifier uri for aad auth.
- object
Id String - Indicates the webhook app object Id for aad auth.
- tenant
Id String - Indicates the tenant id for aad auth.
- use
Aad BooleanAuth - Indicates whether or not use AAD authentication.
- use
Common BooleanAlert Schema - Indicates whether to use common alert schema.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:insights: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