zia.DLP.getDLPEngines
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
using System.Collections.Generic;
using Pulumi;
using Zia = Pulumi.Zia;
return await Deployment.RunAsync(() =>
{
var example = Zia.DLP.GetDLPEngines.Invoke(new()
{
Name = "Example",
});
});
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.GetDLPEngines(ctx, &dlp.GetDLPEnginesArgs{
Name: pulumi.StringRef("Example"),
}, 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.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 example = DLPFunctions.getDLPEngines(GetDLPEnginesArgs.builder()
.name("Example")
.build());
}
}
import pulumi
import pulumi_zia as zia
example = zia.DLP.get_dlp_engines(name="Example")
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";
const example = zia.DLP.getDLPEngines({
name: "Example",
});
variables:
example:
fn::invoke:
Function: zia:DLP:getDLPEngines
Arguments:
name: Example
Coming soon!
Coming soon!
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.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 example = DLPFunctions.getDLPEngines(GetDLPEnginesArgs.builder()
.id(1234567890)
.build());
}
}
Coming soon!
Coming soon!
variables:
example:
fn::invoke:
Function: zia:DLP:getDLPEngines
Arguments:
id: 1.23456789e+09
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(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDLPEnginesResult
def get_dlp_engines_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDLPEnginesResult]
func GetDLPEngines(ctx *Context, args *GetDLPEnginesArgs, opts ...InvokeOption) (*GetDLPEnginesResult, error)
func GetDLPEnginesOutput(ctx *Context, args *GetDLPEnginesOutputArgs, opts ...InvokeOption) GetDLPEnginesResultOutput
> Note: This function is named GetDLPEngines
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:DLP/getDLPEngines:getDLPEngines
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
The DLP engine name as configured by the admin. This attribute is required in POST and PUT requests for custom DLP engines.
- Name string
The DLP engine name as configured by the admin. This attribute is required in POST and PUT requests for custom DLP engines.
- name String
The DLP engine name as configured by the admin. This attribute is required in POST and PUT requests for custom DLP engines.
- name string
The DLP engine name as configured by the admin. This attribute is required in POST and PUT requests for custom DLP engines.
- name str
The DLP engine name as configured by the admin. This attribute is required in POST and PUT requests for custom DLP engines.
- name String
The DLP engine name as configured by the admin. This attribute is required in POST and PUT requests for custom DLP engines.
getDLPEngines Result
The following output properties are available:
- Custom
Dlp boolEngine - Description string
- Engine
Expression string - Id int
- Predefined
Engine stringName - Name string
- Custom
Dlp boolEngine - Description string
- Engine
Expression string - Id int
- Predefined
Engine stringName - Name string
- custom
Dlp BooleanEngine - description String
- engine
Expression String - id Integer
- predefined
Engine StringName - name String
- custom
Dlp booleanEngine - description string
- engine
Expression string - id number
- predefined
Engine stringName - name string
- custom_
dlp_ boolengine - description str
- engine_
expression str - id int
- predefined_
engine_ strname - name str
- custom
Dlp BooleanEngine - description String
- engine
Expression String - id Number
- predefined
Engine StringName - name String
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
This Pulumi package is based on the
zia
Terraform Provider.