UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

200 lines (199 loc) 8.48 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * An action group resource. * * Uses Azure REST API version 2024-10-01-preview. * * Other available API versions: 2018-03-01, 2022-06-01, 2023-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native monitor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class ActionGroup extends pulumi.CustomResource { /** * Get an existing ActionGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ActionGroup; /** * Returns true if the given object is an instance of ActionGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ActionGroup; /** * The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported. */ readonly armRoleReceivers: pulumi.Output<outputs.monitor.ArmRoleReceiverResponse[] | undefined>; /** * The list of AutomationRunbook receivers that are part of this action group. */ readonly automationRunbookReceivers: pulumi.Output<outputs.monitor.AutomationRunbookReceiverResponse[] | undefined>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * The list of AzureAppPush receivers that are part of this action group. */ readonly azureAppPushReceivers: pulumi.Output<outputs.monitor.AzureAppPushReceiverResponse[] | undefined>; /** * The list of azure function receivers that are part of this action group. */ readonly azureFunctionReceivers: pulumi.Output<outputs.monitor.AzureFunctionReceiverResponse[] | undefined>; /** * The list of email receivers that are part of this action group. */ readonly emailReceivers: pulumi.Output<outputs.monitor.EmailReceiverResponse[] | undefined>; /** * Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. */ readonly enabled: pulumi.Output<boolean>; /** * The list of event hub receivers that are part of this action group. */ readonly eventHubReceivers: pulumi.Output<outputs.monitor.EventHubReceiverResponse[] | undefined>; /** * The short name of the action group. This will be used in SMS messages. */ readonly groupShortName: pulumi.Output<string>; /** * Managed service identity (system assigned and/or user assigned identities) */ readonly identity: pulumi.Output<outputs.monitor.ManagedServiceIdentityResponse | undefined>; /** * The list of incident receivers that are part of this action group. */ readonly incidentReceivers: pulumi.Output<outputs.monitor.IncidentReceiverResponse[] | undefined>; /** * The list of ITSM receivers that are part of this action group. */ readonly itsmReceivers: pulumi.Output<outputs.monitor.ItsmReceiverResponse[] | undefined>; /** * Resource location */ readonly location: pulumi.Output<string>; /** * The list of logic app receivers that are part of this action group. */ readonly logicAppReceivers: pulumi.Output<outputs.monitor.LogicAppReceiverResponse[] | undefined>; /** * Azure resource name */ readonly name: pulumi.Output<string>; /** * The list of SMS receivers that are part of this action group. */ readonly smsReceivers: pulumi.Output<outputs.monitor.SmsReceiverResponse[] | undefined>; /** * Resource tags */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Azure resource type */ readonly type: pulumi.Output<string>; /** * The list of voice receivers that are part of this action group. */ readonly voiceReceivers: pulumi.Output<outputs.monitor.VoiceReceiverResponse[] | undefined>; /** * The list of webhook receivers that are part of this action group. */ readonly webhookReceivers: pulumi.Output<outputs.monitor.WebhookReceiverResponse[] | undefined>; /** * Create a ActionGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ActionGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ActionGroup resource. */ export interface ActionGroupArgs { /** * The name of the action group. */ actionGroupName?: pulumi.Input<string>; /** * The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported. */ armRoleReceivers?: pulumi.Input<pulumi.Input<inputs.monitor.ArmRoleReceiverArgs>[]>; /** * The list of AutomationRunbook receivers that are part of this action group. */ automationRunbookReceivers?: pulumi.Input<pulumi.Input<inputs.monitor.AutomationRunbookReceiverArgs>[]>; /** * The list of AzureAppPush receivers that are part of this action group. */ azureAppPushReceivers?: pulumi.Input<pulumi.Input<inputs.monitor.AzureAppPushReceiverArgs>[]>; /** * The list of azure function receivers that are part of this action group. */ azureFunctionReceivers?: pulumi.Input<pulumi.Input<inputs.monitor.AzureFunctionReceiverArgs>[]>; /** * The list of email receivers that are part of this action group. */ emailReceivers?: pulumi.Input<pulumi.Input<inputs.monitor.EmailReceiverArgs>[]>; /** * Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. */ enabled: pulumi.Input<boolean>; /** * The list of event hub receivers that are part of this action group. */ eventHubReceivers?: pulumi.Input<pulumi.Input<inputs.monitor.EventHubReceiverArgs>[]>; /** * The short name of the action group. This will be used in SMS messages. */ groupShortName: pulumi.Input<string>; /** * Managed service identity (system assigned and/or user assigned identities) */ identity?: pulumi.Input<inputs.monitor.ManagedServiceIdentityArgs>; /** * The list of incident receivers that are part of this action group. */ incidentReceivers?: pulumi.Input<pulumi.Input<inputs.monitor.IncidentReceiverArgs>[]>; /** * The list of ITSM receivers that are part of this action group. */ itsmReceivers?: pulumi.Input<pulumi.Input<inputs.monitor.ItsmReceiverArgs>[]>; /** * Resource location */ location?: pulumi.Input<string>; /** * The list of logic app receivers that are part of this action group. */ logicAppReceivers?: pulumi.Input<pulumi.Input<inputs.monitor.LogicAppReceiverArgs>[]>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The list of SMS receivers that are part of this action group. */ smsReceivers?: pulumi.Input<pulumi.Input<inputs.monitor.SmsReceiverArgs>[]>; /** * Resource tags */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * The list of voice receivers that are part of this action group. */ voiceReceivers?: pulumi.Input<pulumi.Input<inputs.monitor.VoiceReceiverArgs>[]>; /** * The list of webhook receivers that are part of this action group. */ webhookReceivers?: pulumi.Input<pulumi.Input<inputs.monitor.WebhookReceiverArgs>[]>; }