@bdzscaler/pulumi-zia
Version:
A Pulumi package for creating and managing zia cloud resources.
145 lines (144 loc) • 5.46 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* * [Official documentation](https://help.zscaler.com/zia/about-dlp-notification-templates)
* * [API documentation](https://help.zscaler.com/zia/data-loss-prevention#/dlpNotificationTemplates-get)
*
* The **zia_dlp_notification_templates** resource allows the creation and management of ZIA DLP Notification Templates in the Zscaler Internet Access cloud or via the API.
*
* ## Example Usage
*
* ## Import
*
* Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZIA configurations into Terraform-compliant HashiCorp Configuration Language.
*
* Visit
*
* **zia_dlp_notification_templates** can be imported by using `<TEMPLATE ID>` or `<TEMPLATE NAME>` as the import ID.
*
* For example:
*
* ```sh
* $ pulumi import zia:index/dLPNotificationTemplates:DLPNotificationTemplates example <template_id>
* ```
*
* or
*
* ```sh
* $ pulumi import zia:index/dLPNotificationTemplates:DLPNotificationTemplates example <template_name>
* ```
*/
export declare class DLPNotificationTemplates extends pulumi.CustomResource {
/**
* Get an existing DLPNotificationTemplates 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 state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DLPNotificationTemplatesState, opts?: pulumi.CustomResourceOptions): DLPNotificationTemplates;
/**
* Returns true if the given object is an instance of DLPNotificationTemplates. 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 DLPNotificationTemplates;
/**
* f set to true, the content that is violation is attached to the DLP notification email
*/
readonly attachContent: pulumi.Output<boolean | undefined>;
/**
* The template for the HTML message body that must be displayed in the DLP notification email
*/
readonly htmlMessage: pulumi.Output<string>;
/**
* The DLP notification template name
*/
readonly name: pulumi.Output<string>;
/**
* The template for the plain text UTF-8 message body that must be displayed in the DLP notification email
*/
readonly plainTextMessage: pulumi.Output<string>;
/**
* The Subject line that is displayed within the DLP notification email
*/
readonly subject: pulumi.Output<string>;
/**
* The unique identifier for a DLP notification template
*/
readonly templateId: pulumi.Output<number>;
/**
* If set to true, TLS will be enabled
*/
readonly tlsEnabled: pulumi.Output<boolean | undefined>;
/**
* Create a DLPNotificationTemplates 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: DLPNotificationTemplatesArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering DLPNotificationTemplates resources.
*/
export interface DLPNotificationTemplatesState {
/**
* f set to true, the content that is violation is attached to the DLP notification email
*/
attachContent?: pulumi.Input<boolean>;
/**
* The template for the HTML message body that must be displayed in the DLP notification email
*/
htmlMessage?: pulumi.Input<string>;
/**
* The DLP notification template name
*/
name?: pulumi.Input<string>;
/**
* The template for the plain text UTF-8 message body that must be displayed in the DLP notification email
*/
plainTextMessage?: pulumi.Input<string>;
/**
* The Subject line that is displayed within the DLP notification email
*/
subject?: pulumi.Input<string>;
/**
* The unique identifier for a DLP notification template
*/
templateId?: pulumi.Input<number>;
/**
* If set to true, TLS will be enabled
*/
tlsEnabled?: pulumi.Input<boolean>;
}
/**
* The set of arguments for constructing a DLPNotificationTemplates resource.
*/
export interface DLPNotificationTemplatesArgs {
/**
* f set to true, the content that is violation is attached to the DLP notification email
*/
attachContent?: pulumi.Input<boolean>;
/**
* The template for the HTML message body that must be displayed in the DLP notification email
*/
htmlMessage: pulumi.Input<string>;
/**
* The DLP notification template name
*/
name?: pulumi.Input<string>;
/**
* The template for the plain text UTF-8 message body that must be displayed in the DLP notification email
*/
plainTextMessage: pulumi.Input<string>;
/**
* The Subject line that is displayed within the DLP notification email
*/
subject: pulumi.Input<string>;
/**
* If set to true, TLS will be enabled
*/
tlsEnabled?: pulumi.Input<boolean>;
}