import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access the properties of an Action Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.monitoring.getActionGroup({ * resourceGroupName: "example-rg", * name: "tfex-actiongroup", * }); * export const actionGroupId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Insights` - 2023-01-01 */ export declare function getActionGroup(args: GetActionGroupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getActionGroup. */ export interface GetActionGroupArgs { /** * Specifies the name of the Action Group. */ name: string; /** * Specifies the name of the resource group the Action Group is located in. */ resourceGroupName: string; } /** * A collection of values returned by getActionGroup. */ export interface GetActionGroupResult { /** * One or more `armRoleReceiver` blocks as defined below. */ readonly armRoleReceivers: outputs.monitoring.GetActionGroupArmRoleReceiver[]; /** * One or more `automationRunbookReceiver` blocks as defined below. */ readonly automationRunbookReceivers: outputs.monitoring.GetActionGroupAutomationRunbookReceiver[]; /** * One or more `azureAppPushReceiver` blocks as defined below. */ readonly azureAppPushReceivers: outputs.monitoring.GetActionGroupAzureAppPushReceiver[]; /** * One or more `azureFunctionReceiver` blocks as defined below. */ readonly azureFunctionReceivers: outputs.monitoring.GetActionGroupAzureFunctionReceiver[]; /** * One or more `emailReceiver` blocks as defined below. */ readonly emailReceivers: outputs.monitoring.GetActionGroupEmailReceiver[]; /** * Whether this action group is enabled. */ readonly enabled: boolean; /** * One or more `eventHubReceiver` blocks as defined below. */ readonly eventHubReceivers: outputs.monitoring.GetActionGroupEventHubReceiver[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * One or more `itsmReceiver` blocks as defined below. */ readonly itsmReceivers: outputs.monitoring.GetActionGroupItsmReceiver[]; /** * One or more `logicAppReceiver` blocks as defined below. */ readonly logicAppReceivers: outputs.monitoring.GetActionGroupLogicAppReceiver[]; /** * The name of the webhook receiver. */ readonly name: string; readonly resourceGroupName: string; /** * The short name of the action group. */ readonly shortName: string; /** * One or more `smsReceiver` blocks as defined below. */ readonly smsReceivers: outputs.monitoring.GetActionGroupSmsReceiver[]; /** * One or more `voiceReceiver` blocks as defined below. */ readonly voiceReceivers: outputs.monitoring.GetActionGroupVoiceReceiver[]; /** * One or more `webhookReceiver` blocks as defined below. */ readonly webhookReceivers: outputs.monitoring.GetActionGroupWebhookReceiver[]; } /** * Use this data source to access the properties of an Action Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.monitoring.getActionGroup({ * resourceGroupName: "example-rg", * name: "tfex-actiongroup", * }); * export const actionGroupId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Insights` - 2023-01-01 */ export declare function getActionGroupOutput(args: GetActionGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getActionGroup. */ export interface GetActionGroupOutputArgs { /** * Specifies the name of the Action Group. */ name: pulumi.Input; /** * Specifies the name of the resource group the Action Group is located in. */ resourceGroupName: pulumi.Input; }