@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.79 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a tenant action group.
*
* Uses Azure REST API version 2023-05-01-preview.
*/
export declare function getTenantActionGroup(args: GetTenantActionGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetTenantActionGroupResult>;
export interface GetTenantActionGroupArgs {
/**
* The management group id.
*/
managementGroupId: string;
/**
* The name of the action group.
*/
tenantActionGroupName: string;
}
/**
* A tenant action group resource.
*/
export interface GetTenantActionGroupResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The list of AzureAppPush receivers that are part of this tenant action group.
*/
readonly azureAppPushReceivers?: outputs.monitor.AzureAppPushReceiverResponse[];
/**
* The list of email receivers that are part of this tenant action group.
*/
readonly emailReceivers?: outputs.monitor.EmailReceiverResponse[];
/**
* Indicates whether this tenant action group is enabled. If a tenant action group is not enabled, then none of its receivers will receive communications.
*/
readonly enabled: boolean;
/**
* The short name of the action group. This will be used in SMS messages.
*/
readonly groupShortName: string;
/**
* Azure resource Id
*/
readonly id: string;
/**
* Resource location
*/
readonly location: string;
/**
* Azure resource name
*/
readonly name: string;
/**
* The list of SMS receivers that are part of this tenant 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 tenant action group.
*/
readonly voiceReceivers?: outputs.monitor.VoiceReceiverResponse[];
/**
* The list of webhook receivers that are part of this tenant action group.
*/
readonly webhookReceivers?: outputs.monitor.WebhookReceiverResponse[];
}
/**
* Get a tenant action group.
*
* Uses Azure REST API version 2023-05-01-preview.
*/
export declare function getTenantActionGroupOutput(args: GetTenantActionGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTenantActionGroupResult>;
export interface GetTenantActionGroupOutputArgs {
/**
* The management group id.
*/
managementGroupId: pulumi.Input<string>;
/**
* The name of the action group.
*/
tenantActionGroupName: pulumi.Input<string>;
}