Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler
zia.getDLPEngines
Explore with Pulumi AI
Use the zia_dlp_engines data source to get information about a ZIA DLP Engines in the Zscaler Internet Access cloud or via the API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";
const this = zia.getDLPEngines({
name: "Example",
});
import pulumi
import pulumi_zia as zia
this = zia.get_dlp_engines(name="Example")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zia/sdk/go/zia"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zia.LookupDLPEngines(ctx, &zia.LookupDLPEnginesArgs{
Name: pulumi.StringRef("Example"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zia = Pulumi.Zia;
return await Deployment.RunAsync(() =>
{
var @this = Zia.GetDLPEngines.Invoke(new()
{
Name = "Example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.ZiaFunctions;
import com.pulumi.zia.inputs.GetDLPEnginesArgs;
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 this = ZiaFunctions.getDLPEngines(GetDLPEnginesArgs.builder()
.name("Example")
.build());
}
}
variables:
this:
fn::invoke:
Function: zia:getDLPEngines
Arguments:
name: Example
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";
const this = zia.getDLPEngines({
id: 1234567890,
});
import pulumi
import pulumi_zia as zia
this = zia.get_dlp_engines(id=1234567890)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zia/sdk/go/zia"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zia.LookupDLPEngines(ctx, &zia.LookupDLPEnginesArgs{
Id: pulumi.IntRef(1234567890),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zia = Pulumi.Zia;
return await Deployment.RunAsync(() =>
{
var @this = Zia.GetDLPEngines.Invoke(new()
{
Id = 1234567890,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.ZiaFunctions;
import com.pulumi.zia.inputs.GetDLPEnginesArgs;
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 this = ZiaFunctions.getDLPEngines(GetDLPEnginesArgs.builder()
.id(1234567890)
.build());
}
}
variables:
this:
fn::invoke:
Function: zia:getDLPEngines
Arguments:
id: 1.23456789e+09
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.ZiaFunctions;
import com.pulumi.zia.inputs.GetDLPEnginesArgs;
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 this = ZiaFunctions.getDLPEngines(GetDLPEnginesArgs.builder()
.predefined("EXTERNAL")
.build());
}
}
variables:
this:
fn::invoke:
Function: zia:getDLPEngines
Arguments:
predefined: EXTERNAL
Using getDLPEngines
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 getDLPEngines(args: GetDLPEnginesArgs, opts?: InvokeOptions): Promise<GetDLPEnginesResult>
function getDLPEnginesOutput(args: GetDLPEnginesOutputArgs, opts?: InvokeOptions): Output<GetDLPEnginesResult>
def get_dlp_engines(id: Optional[int] = None,
name: Optional[str] = None,
predefined_engine_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDLPEnginesResult
def get_dlp_engines_output(id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
predefined_engine_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDLPEnginesResult]
func LookupDLPEngines(ctx *Context, args *LookupDLPEnginesArgs, opts ...InvokeOption) (*LookupDLPEnginesResult, error)
func LookupDLPEnginesOutput(ctx *Context, args *LookupDLPEnginesOutputArgs, opts ...InvokeOption) LookupDLPEnginesResultOutput
> Note: This function is named LookupDLPEngines
in the Go SDK.
public static class GetDLPEngines
{
public static Task<GetDLPEnginesResult> InvokeAsync(GetDLPEnginesArgs args, InvokeOptions? opts = null)
public static Output<GetDLPEnginesResult> Invoke(GetDLPEnginesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDLPEnginesResult> getDLPEngines(GetDLPEnginesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zia:index/getDLPEngines:getDLPEngines
arguments:
# arguments dictionary
The following arguments are supported:
- Id int
- Name string
- Predefined
Engine stringName
- Id int
- Name string
- Predefined
Engine stringName
- id Integer
- name String
- predefined
Engine StringName
- id number
- name string
- predefined
Engine stringName
- id int
- name str
- predefined_
engine_ strname
- id Number
- name String
- predefined
Engine StringName
getDLPEngines Result
The following output properties are available:
- Custom
Dlp boolEngine - Description string
- Engine
Expression string - Id int
- Name string
- Predefined
Engine stringName
- Custom
Dlp boolEngine - Description string
- Engine
Expression string - Id int
- Name string
- Predefined
Engine stringName
- custom
Dlp BooleanEngine - description String
- engine
Expression String - id Integer
- name String
- predefined
Engine StringName
- custom
Dlp booleanEngine - description string
- engine
Expression string - id number
- name string
- predefined
Engine stringName
- custom_
dlp_ boolengine - description str
- engine_
expression str - id int
- name str
- predefined_
engine_ strname
- custom
Dlp BooleanEngine - description String
- engine
Expression String - id Number
- name String
- predefined
Engine StringName
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.