Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler
zia.getDLPIncidentReceiverServers
Explore with Pulumi AI
Use the zia_dlp_incident_receiver_servers data source to get information about a ZIA DLP Incident Receiver Server 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.getDLPIncidentReceiverServers({
name: "ZS_Incident_Receiver",
});
import pulumi
import pulumi_zia as zia
this = zia.get_dlp_incident_receiver_servers(name="ZS_Incident_Receiver")
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.GetDLPIncidentReceiverServers(ctx, &zia.GetDLPIncidentReceiverServersArgs{
Name: pulumi.StringRef("ZS_Incident_Receiver"),
}, 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.GetDLPIncidentReceiverServers.Invoke(new()
{
Name = "ZS_Incident_Receiver",
});
});
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.GetDLPIncidentReceiverServersArgs;
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.getDLPIncidentReceiverServers(GetDLPIncidentReceiverServersArgs.builder()
.name("ZS_Incident_Receiver")
.build());
}
}
variables:
this:
fn::invoke:
Function: zia:getDLPIncidentReceiverServers
Arguments:
name: ZS_Incident_Receiver
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.GetDLPIncidentReceiverServersArgs;
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.getDLPIncidentReceiverServers(GetDLPIncidentReceiverServersArgs.builder()
.id(1234567890)
.build());
}
}
variables:
this:
fn::invoke:
Function: zia:getDLPIncidentReceiverServers
Arguments:
id: 1.23456789e+09
Using getDLPIncidentReceiverServers
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 getDLPIncidentReceiverServers(args: GetDLPIncidentReceiverServersArgs, opts?: InvokeOptions): Promise<GetDLPIncidentReceiverServersResult>
function getDLPIncidentReceiverServersOutput(args: GetDLPIncidentReceiverServersOutputArgs, opts?: InvokeOptions): Output<GetDLPIncidentReceiverServersResult>
def get_dlp_incident_receiver_servers(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDLPIncidentReceiverServersResult
def get_dlp_incident_receiver_servers_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDLPIncidentReceiverServersResult]
func GetDLPIncidentReceiverServers(ctx *Context, args *GetDLPIncidentReceiverServersArgs, opts ...InvokeOption) (*GetDLPIncidentReceiverServersResult, error)
func GetDLPIncidentReceiverServersOutput(ctx *Context, args *GetDLPIncidentReceiverServersOutputArgs, opts ...InvokeOption) GetDLPIncidentReceiverServersResultOutput
> Note: This function is named GetDLPIncidentReceiverServers
in the Go SDK.
public static class GetDLPIncidentReceiverServers
{
public static Task<GetDLPIncidentReceiverServersResult> InvokeAsync(GetDLPIncidentReceiverServersArgs args, InvokeOptions? opts = null)
public static Output<GetDLPIncidentReceiverServersResult> Invoke(GetDLPIncidentReceiverServersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDLPIncidentReceiverServersResult> getDLPIncidentReceiverServers(GetDLPIncidentReceiverServersArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zia:index/getDLPIncidentReceiverServers:getDLPIncidentReceiverServers
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name string
- name String
- name string
- name str
- name String
getDLPIncidentReceiverServers Result
The following output properties are available:
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.