1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getDLPNotificationTemplates
Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler

zia.getDLPNotificationTemplates

Explore with Pulumi AI

zia logo
Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler

    Use the zia_dlp_notification_templates data source to get information about a ZIA DLP Notification Templates in the Zscaler Internet Access cloud or via the API.

    Example Usage

    # Retrieve a DLP Template by name
    data "zia_dlp_notification_templates" "example"{
        name = "DLP Auditor Template Test"
    }
    

    Using getDLPNotificationTemplates

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDLPNotificationTemplates(args: GetDLPNotificationTemplatesArgs, opts?: InvokeOptions): Promise<GetDLPNotificationTemplatesResult>
    function getDLPNotificationTemplatesOutput(args: GetDLPNotificationTemplatesOutputArgs, opts?: InvokeOptions): Output<GetDLPNotificationTemplatesResult>
    def get_dlp_notification_templates(id: Optional[int] = None,
                                       name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetDLPNotificationTemplatesResult
    def get_dlp_notification_templates_output(id: Optional[pulumi.Input[int]] = None,
                                       name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetDLPNotificationTemplatesResult]
    func LookupDLPNotificationTemplates(ctx *Context, args *LookupDLPNotificationTemplatesArgs, opts ...InvokeOption) (*LookupDLPNotificationTemplatesResult, error)
    func LookupDLPNotificationTemplatesOutput(ctx *Context, args *LookupDLPNotificationTemplatesOutputArgs, opts ...InvokeOption) LookupDLPNotificationTemplatesResultOutput

    > Note: This function is named LookupDLPNotificationTemplates in the Go SDK.

    public static class GetDLPNotificationTemplates 
    {
        public static Task<GetDLPNotificationTemplatesResult> InvokeAsync(GetDLPNotificationTemplatesArgs args, InvokeOptions? opts = null)
        public static Output<GetDLPNotificationTemplatesResult> Invoke(GetDLPNotificationTemplatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDLPNotificationTemplatesResult> getDLPNotificationTemplates(GetDLPNotificationTemplatesArgs args, InvokeOptions options)
    public static Output<GetDLPNotificationTemplatesResult> getDLPNotificationTemplates(GetDLPNotificationTemplatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: zia:index/getDLPNotificationTemplates:getDLPNotificationTemplates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id int
    Name string
    Id int
    Name string
    id Integer
    name String
    id number
    name string
    id int
    name str
    id Number
    name String

    getDLPNotificationTemplates Result

    The following output properties are available:

    AttachContent bool
    HtmlMessage string
    Id int
    Name string
    PlainTextMessage string
    Subject string
    TlsEnabled bool
    AttachContent bool
    HtmlMessage string
    Id int
    Name string
    PlainTextMessage string
    Subject string
    TlsEnabled bool
    attachContent Boolean
    htmlMessage String
    id Integer
    name String
    plainTextMessage String
    subject String
    tlsEnabled Boolean
    attachContent boolean
    htmlMessage string
    id number
    name string
    plainTextMessage string
    subject string
    tlsEnabled boolean
    attachContent Boolean
    htmlMessage String
    id Number
    name String
    plainTextMessage String
    subject String
    tlsEnabled Boolean

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler