import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * > Deprecated: Please use `data.harness_platform_pipeline_central_notification_rule`. See the pipeline-specific data source docs. * * Data source for retrieving a Notification Rule. */ export declare function getCentralNotificationRule(args: GetCentralNotificationRuleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCentralNotificationRule. */ export interface GetCentralNotificationRuleArgs { customNotificationTemplateRef?: inputs.platform.GetCentralNotificationRuleCustomNotificationTemplateRef; /** * Identifier of the Notification Rule. */ identifier: string; name?: string; notificationChannelRefs?: string[]; notificationConditions?: inputs.platform.GetCentralNotificationRuleNotificationCondition[]; /** * Identifier of the organization in which the Notification Rule is configured. */ org?: string; /** * Identifier of the project in which the Notification Rule is configured. */ project?: string; status?: string; } /** * A collection of values returned by getCentralNotificationRule. */ export interface GetCentralNotificationRuleResult { /** * Account identifier associated with this notification channel. */ readonly account: string; /** * Timestamp when the notification rule was created. */ readonly created: number; readonly customNotificationTemplateRef?: outputs.platform.GetCentralNotificationRuleCustomNotificationTemplateRef; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Identifier of the Notification Rule. */ readonly identifier: string; /** * Timestamp when the notification rule was last modified. */ readonly lastModified: number; readonly name?: string; readonly notificationChannelRefs?: string[]; readonly notificationConditions?: outputs.platform.GetCentralNotificationRuleNotificationCondition[]; /** * Identifier of the organization in which the Notification Rule is configured. */ readonly org?: string; /** * Identifier of the project in which the Notification Rule is configured. */ readonly project?: string; readonly status?: string; } /** * > Deprecated: Please use `data.harness_platform_pipeline_central_notification_rule`. See the pipeline-specific data source docs. * * Data source for retrieving a Notification Rule. */ export declare function getCentralNotificationRuleOutput(args: GetCentralNotificationRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCentralNotificationRule. */ export interface GetCentralNotificationRuleOutputArgs { customNotificationTemplateRef?: pulumi.Input; /** * Identifier of the Notification Rule. */ identifier: pulumi.Input; name?: pulumi.Input; notificationChannelRefs?: pulumi.Input[] | undefined>; notificationConditions?: pulumi.Input[] | undefined>; /** * Identifier of the organization in which the Notification Rule is configured. */ org?: pulumi.Input; /** * Identifier of the project in which the Notification Rule is configured. */ project?: pulumi.Input; status?: pulumi.Input; } //# sourceMappingURL=getCentralNotificationRule.d.ts.map