import * as pulumi from "@pulumi/pulumi"; /** * The zia_dlp_notification_templates resource manages DLP (Data Loss Prevention) notification templates in the Zscaler Internet Access (ZIA) cloud service. DLP notification templates define the email notifications sent to users or auditors when a DLP policy rule is triggered. * * For more information, see the [ZIA Data Loss Prevention documentation](https://help.zscaler.com/zia/data-loss-prevention). * * ## Example Usage * ### Basic DLP Notification Template * * ```typescript * import * as zia from "@bdzscaler/pulumi-zia"; * * const example = new zia.DlpNotificationTemplate("example", { * name: "Example DLP Notification", * subject: "DLP Policy Violation Detected", * attachContent: false, * plainTextMessage: "A DLP policy violation was detected.", * tlsEnabled: true, * }); * ``` * * ## Import * * An existing DLP Notification Template can be imported using its resource ID, e.g. * * ```sh * $ pulumi import zia:index:DlpNotificationTemplate example 12345 * ``` */ export declare class DlpNotificationTemplate extends pulumi.CustomResource { /** * Get an existing DlpNotificationTemplate resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DlpNotificationTemplate; /** * Returns true if the given object is an instance of DlpNotificationTemplate. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DlpNotificationTemplate; /** * If true, the content that triggered the DLP violation is attached to the notification email. */ readonly attachContent: pulumi.Output; /** * The HTML message body of the DLP notification email. */ readonly htmlMessage: pulumi.Output; /** * The name of the DLP notification template. Must be unique. */ readonly name: pulumi.Output; /** * The plain text message body of the DLP notification email. */ readonly plainTextMessage: pulumi.Output; /** * The subject line of the DLP notification email. */ readonly subject: pulumi.Output; /** * The system-generated ID of the DLP notification template. */ readonly templateId: pulumi.Output; /** * If true, TLS is enabled for delivering the DLP notification email. */ readonly tlsEnabled: pulumi.Output; /** * Create a DlpNotificationTemplate resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: DlpNotificationTemplateArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DlpNotificationTemplate resource. */ export interface DlpNotificationTemplateArgs { /** * If true, the content that triggered the DLP violation is attached to the notification email. */ attachContent?: pulumi.Input; /** * The HTML message body of the DLP notification email. */ htmlMessage?: pulumi.Input; /** * The name of the DLP notification template. Must be unique. */ name?: pulumi.Input; /** * The plain text message body of the DLP notification email. */ plainTextMessage?: pulumi.Input; /** * The subject line of the DLP notification email. */ subject?: pulumi.Input; /** * If true, TLS is enabled for delivering the DLP notification email. */ tlsEnabled?: pulumi.Input; } //# sourceMappingURL=dlpNotificationTemplate.d.ts.map