import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Use this data source to retrieve information about a specific Datadog team notification rule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Get a specific notification rule for a team * const example = datadog.getTeamNotificationRule({ * teamId: "00000000-0000-0000-0000-000000000000", * ruleId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getTeamNotificationRule(args: GetTeamNotificationRuleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTeamNotificationRule. */ export interface GetTeamNotificationRuleArgs { /** * The email notification settings. */ email?: inputs.GetTeamNotificationRuleEmail; /** * The MS Teams notification settings. */ msTeams?: inputs.GetTeamNotificationRuleMsTeams; /** * The PagerDuty notification settings. */ pagerduty?: inputs.GetTeamNotificationRulePagerduty; /** * The notification rule ID to fetch. */ ruleId: string; /** * The Slack notification settings. */ slack?: inputs.GetTeamNotificationRuleSlack; /** * The team ID to fetch the notification rule for. */ teamId: string; } /** * A collection of values returned by getTeamNotificationRule. */ export interface GetTeamNotificationRuleResult { /** * The email notification settings. */ readonly email?: outputs.GetTeamNotificationRuleEmail; /** * The ID of this resource. */ readonly id: string; /** * The MS Teams notification settings. */ readonly msTeams?: outputs.GetTeamNotificationRuleMsTeams; /** * The PagerDuty notification settings. */ readonly pagerduty?: outputs.GetTeamNotificationRulePagerduty; /** * The notification rule ID to fetch. */ readonly ruleId: string; /** * The Slack notification settings. */ readonly slack?: outputs.GetTeamNotificationRuleSlack; /** * The team ID to fetch the notification rule for. */ readonly teamId: string; } /** * Use this data source to retrieve information about a specific Datadog team notification rule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Get a specific notification rule for a team * const example = datadog.getTeamNotificationRule({ * teamId: "00000000-0000-0000-0000-000000000000", * ruleId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getTeamNotificationRuleOutput(args: GetTeamNotificationRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTeamNotificationRule. */ export interface GetTeamNotificationRuleOutputArgs { /** * The email notification settings. */ email?: pulumi.Input; /** * The MS Teams notification settings. */ msTeams?: pulumi.Input; /** * The PagerDuty notification settings. */ pagerduty?: pulumi.Input; /** * The notification rule ID to fetch. */ ruleId: pulumi.Input; /** * The Slack notification settings. */ slack?: pulumi.Input; /** * The team ID to fetch the notification rule for. */ teamId: pulumi.Input; }