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

130 lines (129 loc) 4.81 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get an action group. * * 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 function getActionGroup(args: GetActionGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetActionGroupResult>; export interface GetActionGroupArgs { /** * The name of the action group. */ actionGroupName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * An action group resource. */ export interface GetActionGroupResult { /** * 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?: outputs.monitor.ArmRoleReceiverResponse[]; /** * The list of AutomationRunbook receivers that are part of this action group. */ readonly automationRunbookReceivers?: outputs.monitor.AutomationRunbookReceiverResponse[]; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The list of AzureAppPush receivers that are part of this action group. */ readonly azureAppPushReceivers?: outputs.monitor.AzureAppPushReceiverResponse[]; /** * The list of azure function receivers that are part of this action group. */ readonly azureFunctionReceivers?: outputs.monitor.AzureFunctionReceiverResponse[]; /** * The list of email receivers that are part of this action group. */ readonly emailReceivers?: outputs.monitor.EmailReceiverResponse[]; /** * Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. */ readonly enabled: boolean; /** * The list of event hub receivers that are part of this action group. */ readonly eventHubReceivers?: outputs.monitor.EventHubReceiverResponse[]; /** * The short name of the action group. This will be used in SMS messages. */ readonly groupShortName: string; /** * Azure resource Id */ readonly id: string; /** * Managed service identity (system assigned and/or user assigned identities) */ readonly identity?: outputs.monitor.ManagedServiceIdentityResponse; /** * The list of incident receivers that are part of this action group. */ readonly incidentReceivers?: outputs.monitor.IncidentReceiverResponse[]; /** * The list of ITSM receivers that are part of this action group. */ readonly itsmReceivers?: outputs.monitor.ItsmReceiverResponse[]; /** * Resource location */ readonly location: string; /** * The list of logic app receivers that are part of this action group. */ readonly logicAppReceivers?: outputs.monitor.LogicAppReceiverResponse[]; /** * Azure resource name */ readonly name: string; /** * The list of SMS receivers that are part of this action group. */ readonly smsReceivers?: outputs.monitor.SmsReceiverResponse[]; /** * Resource tags */ readonly tags?: { [key: string]: string; }; /** * Azure resource type */ readonly type: string; /** * The list of voice receivers that are part of this action group. */ readonly voiceReceivers?: outputs.monitor.VoiceReceiverResponse[]; /** * The list of webhook receivers that are part of this action group. */ readonly webhookReceivers?: outputs.monitor.WebhookReceiverResponse[]; } /** * Get an action group. * * 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 function getActionGroupOutput(args: GetActionGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetActionGroupResult>; export interface GetActionGroupOutputArgs { /** * The name of the action group. */ actionGroupName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }