Zscaler Internet Access v0.0.3, Jan 30 23
Zscaler Internet Access v0.0.3, Jan 30 23
zia.DLP.getDLPNotificationTemplates
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
using System.Collections.Generic;
using Pulumi;
using Zia = Pulumi.Zia;
return await Deployment.RunAsync(() =>
{
var example = Zia.DLP.GetDLPNotificationTemplates.Invoke(new()
{
Name = "DLP Auditor Template Test",
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zia/sdk/go/zia/DLP"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DLP.GetDLPNotificationTemplates(ctx, &dlp.GetDLPNotificationTemplatesArgs{
Name: pulumi.StringRef("DLP Auditor Template Test"),
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.DLP.DLPFunctions;
import com.pulumi.zia.DLP.inputs.GetDLPNotificationTemplatesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = DLPFunctions.getDLPNotificationTemplates(GetDLPNotificationTemplatesArgs.builder()
.name("DLP Auditor Template Test")
.build());
}
}
import pulumi
import pulumi_zia as zia
example = zia.DLP.get_dlp_notification_templates(name="DLP Auditor Template Test")
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";
const example = zia.DLP.getDLPNotificationTemplates({
name: "DLP Auditor Template Test",
});
variables:
example:
fn::invoke:
Function: zia:DLP:getDLPNotificationTemplates
Arguments:
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 GetDLPNotificationTemplates(ctx *Context, args *GetDLPNotificationTemplatesArgs, opts ...InvokeOption) (*GetDLPNotificationTemplatesResult, error)
func GetDLPNotificationTemplatesOutput(ctx *Context, args *GetDLPNotificationTemplatesOutputArgs, opts ...InvokeOption) GetDLPNotificationTemplatesResultOutput
> Note: This function is named GetDLPNotificationTemplates
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zia:DLP/getDLPNotificationTemplates:getDLPNotificationTemplates
arguments:
# arguments dictionary
The following arguments are supported:
getDLPNotificationTemplates Result
The following output properties are available:
- Attach
Content bool - Html
Message string - Id int
- Name string
- Plain
Test stringMessage - Subject string
- Tls
Enabled bool
- Attach
Content bool - Html
Message string - Id int
- Name string
- Plain
Test stringMessage - Subject string
- Tls
Enabled bool
- attach
Content Boolean - html
Message String - id Integer
- name String
- plain
Test StringMessage - subject String
- tls
Enabled Boolean
- attach
Content boolean - html
Message string - id number
- name string
- plain
Test stringMessage - subject string
- tls
Enabled boolean
- attach_
content bool - html_
message str - id int
- name str
- plain_
test_ strmessage - subject str
- tls_
enabled bool
- attach
Content Boolean - html
Message String - id Number
- name String
- plain
Test StringMessage - subject String
- tls
Enabled Boolean
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
This Pulumi package is based on the
zia
Terraform Provider.