1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getDLPEDMSchema
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

zia.getDLPEDMSchema

Explore with Pulumi AI

Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

Use the zia_dlp_edm_schema data source to get information about a the list of DLP Exact Data Match (EDM) templates 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.getDLPEDMSchema({
    projectName: "Example",
});
Copy
import pulumi
import pulumi_zia as zia

this = zia.get_dlpedm_schema(project_name="Example")
Copy
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.GetDLPEDMSchema(ctx, &zia.GetDLPEDMSchemaArgs{
			ProjectName: pulumi.StringRef("Example"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zia = Pulumi.Zia;

return await Deployment.RunAsync(() => 
{
    var @this = Zia.GetDLPEDMSchema.Invoke(new()
    {
        ProjectName = "Example",
    });

});
Copy
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.GetDLPEDMSchemaArgs;
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.getDLPEDMSchema(GetDLPEDMSchemaArgs.builder()
            .projectName("Example")
            .build());

    }
}
Copy
variables:
  this:
    fn::invoke:
      Function: zia:getDLPEDMSchema
      Arguments:
        projectName: Example
Copy
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.GetDLPEDMSchemaArgs;
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 = ZiaFunctions.getDLPEDMSchema(GetDLPEDMSchemaArgs.builder()
            .schemaId(1234567890)
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      Function: zia:getDLPEDMSchema
      Arguments:
        schemaId: 1.23456789e+09
Copy

Using getDLPEDMSchema

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 getDLPEDMSchema(args: GetDLPEDMSchemaArgs, opts?: InvokeOptions): Promise<GetDLPEDMSchemaResult>
function getDLPEDMSchemaOutput(args: GetDLPEDMSchemaOutputArgs, opts?: InvokeOptions): Output<GetDLPEDMSchemaResult>
Copy
def get_dlpedm_schema(project_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetDLPEDMSchemaResult
def get_dlpedm_schema_output(project_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetDLPEDMSchemaResult]
Copy
func GetDLPEDMSchema(ctx *Context, args *GetDLPEDMSchemaArgs, opts ...InvokeOption) (*GetDLPEDMSchemaResult, error)
func GetDLPEDMSchemaOutput(ctx *Context, args *GetDLPEDMSchemaOutputArgs, opts ...InvokeOption) GetDLPEDMSchemaResultOutput
Copy

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

public static class GetDLPEDMSchema 
{
    public static Task<GetDLPEDMSchemaResult> InvokeAsync(GetDLPEDMSchemaArgs args, InvokeOptions? opts = null)
    public static Output<GetDLPEDMSchemaResult> Invoke(GetDLPEDMSchemaInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDLPEDMSchemaResult> getDLPEDMSchema(GetDLPEDMSchemaArgs args, InvokeOptions options)
public static Output<GetDLPEDMSchemaResult> getDLPEDMSchema(GetDLPEDMSchemaArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: zia:index/getDLPEDMSchema:getDLPEDMSchema
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

getDLPEDMSchema Result

The following output properties are available:

Supporting Types

GetDLPEDMSchemaCreatedBy

Extensions This property is required. Dictionary<string, string>
Id This property is required. int
Identifier that uniquely identifies an entity
Name This property is required. string
The configured name of the entity
Extensions This property is required. map[string]string
Id This property is required. int
Identifier that uniquely identifies an entity
Name This property is required. string
The configured name of the entity
extensions This property is required. Map<String,String>
id This property is required. Integer
Identifier that uniquely identifies an entity
name This property is required. String
The configured name of the entity
extensions This property is required. {[key: string]: string}
id This property is required. number
Identifier that uniquely identifies an entity
name This property is required. string
The configured name of the entity
extensions This property is required. Mapping[str, str]
id This property is required. int
Identifier that uniquely identifies an entity
name This property is required. str
The configured name of the entity
extensions This property is required. Map<String>
id This property is required. Number
Identifier that uniquely identifies an entity
name This property is required. String
The configured name of the entity

GetDLPEDMSchemaEdmClient

Extensions This property is required. Dictionary<string, string>
Id This property is required. int
Identifier that uniquely identifies an entity
Name This property is required. string
The configured name of the entity
Extensions This property is required. map[string]string
Id This property is required. int
Identifier that uniquely identifies an entity
Name This property is required. string
The configured name of the entity
extensions This property is required. Map<String,String>
id This property is required. Integer
Identifier that uniquely identifies an entity
name This property is required. String
The configured name of the entity
extensions This property is required. {[key: string]: string}
id This property is required. number
Identifier that uniquely identifies an entity
name This property is required. string
The configured name of the entity
extensions This property is required. Mapping[str, str]
id This property is required. int
Identifier that uniquely identifies an entity
name This property is required. str
The configured name of the entity
extensions This property is required. Map<String>
id This property is required. Number
Identifier that uniquely identifies an entity
name This property is required. String
The configured name of the entity

GetDLPEDMSchemaLastModifiedBy

Extensions This property is required. Dictionary<string, string>
Id This property is required. int
Identifier that uniquely identifies an entity
Name This property is required. string
The configured name of the entity
Extensions This property is required. map[string]string
Id This property is required. int
Identifier that uniquely identifies an entity
Name This property is required. string
The configured name of the entity
extensions This property is required. Map<String,String>
id This property is required. Integer
Identifier that uniquely identifies an entity
name This property is required. String
The configured name of the entity
extensions This property is required. {[key: string]: string}
id This property is required. number
Identifier that uniquely identifies an entity
name This property is required. string
The configured name of the entity
extensions This property is required. Mapping[str, str]
id This property is required. int
Identifier that uniquely identifies an entity
name This property is required. str
The configured name of the entity
extensions This property is required. Map<String>
id This property is required. Number
Identifier that uniquely identifies an entity
name This property is required. String
The configured name of the entity

GetDLPEDMSchemaSchedule

ScheduleDayOfMonths This property is required. List<string>
The day of the month that the IDM template is scheduled for. This attribute is required by PUT and POST requests, and when scheduleType is set to MONTHLY.
ScheduleDayOfWeeks This property is required. List<string>
The day of the week the IDM template is scheduled for. This attribute is required by PUT and POST requests, and when scheduleType is set to WEEKLY.
ScheduleDisabled This property is required. bool
If set to true, the schedule for the IDM template is temporarily in a disabled state. This attribute is required by PUT requests in order to disable or enable a schedule.
ScheduleTime This property is required. int
The time of the day (in minutes) that the IDM template is scheduled for. For example: at 3am= 180 mins. This attribute is required by PUT and POST requests.
ScheduleType This property is required. string
The schedule type for the IDM template's schedule (i.e., Monthly, Weekly, Daily, or None). This attribute is required by PUT and POST requests.
ScheduleDayOfMonths This property is required. []string
The day of the month that the IDM template is scheduled for. This attribute is required by PUT and POST requests, and when scheduleType is set to MONTHLY.
ScheduleDayOfWeeks This property is required. []string
The day of the week the IDM template is scheduled for. This attribute is required by PUT and POST requests, and when scheduleType is set to WEEKLY.
ScheduleDisabled This property is required. bool
If set to true, the schedule for the IDM template is temporarily in a disabled state. This attribute is required by PUT requests in order to disable or enable a schedule.
ScheduleTime This property is required. int
The time of the day (in minutes) that the IDM template is scheduled for. For example: at 3am= 180 mins. This attribute is required by PUT and POST requests.
ScheduleType This property is required. string
The schedule type for the IDM template's schedule (i.e., Monthly, Weekly, Daily, or None). This attribute is required by PUT and POST requests.
scheduleDayOfMonths This property is required. List<String>
The day of the month that the IDM template is scheduled for. This attribute is required by PUT and POST requests, and when scheduleType is set to MONTHLY.
scheduleDayOfWeeks This property is required. List<String>
The day of the week the IDM template is scheduled for. This attribute is required by PUT and POST requests, and when scheduleType is set to WEEKLY.
scheduleDisabled This property is required. Boolean
If set to true, the schedule for the IDM template is temporarily in a disabled state. This attribute is required by PUT requests in order to disable or enable a schedule.
scheduleTime This property is required. Integer
The time of the day (in minutes) that the IDM template is scheduled for. For example: at 3am= 180 mins. This attribute is required by PUT and POST requests.
scheduleType This property is required. String
The schedule type for the IDM template's schedule (i.e., Monthly, Weekly, Daily, or None). This attribute is required by PUT and POST requests.
scheduleDayOfMonths This property is required. string[]
The day of the month that the IDM template is scheduled for. This attribute is required by PUT and POST requests, and when scheduleType is set to MONTHLY.
scheduleDayOfWeeks This property is required. string[]
The day of the week the IDM template is scheduled for. This attribute is required by PUT and POST requests, and when scheduleType is set to WEEKLY.
scheduleDisabled This property is required. boolean
If set to true, the schedule for the IDM template is temporarily in a disabled state. This attribute is required by PUT requests in order to disable or enable a schedule.
scheduleTime This property is required. number
The time of the day (in minutes) that the IDM template is scheduled for. For example: at 3am= 180 mins. This attribute is required by PUT and POST requests.
scheduleType This property is required. string
The schedule type for the IDM template's schedule (i.e., Monthly, Weekly, Daily, or None). This attribute is required by PUT and POST requests.
schedule_day_of_months This property is required. Sequence[str]
The day of the month that the IDM template is scheduled for. This attribute is required by PUT and POST requests, and when scheduleType is set to MONTHLY.
schedule_day_of_weeks This property is required. Sequence[str]
The day of the week the IDM template is scheduled for. This attribute is required by PUT and POST requests, and when scheduleType is set to WEEKLY.
schedule_disabled This property is required. bool
If set to true, the schedule for the IDM template is temporarily in a disabled state. This attribute is required by PUT requests in order to disable or enable a schedule.
schedule_time This property is required. int
The time of the day (in minutes) that the IDM template is scheduled for. For example: at 3am= 180 mins. This attribute is required by PUT and POST requests.
schedule_type This property is required. str
The schedule type for the IDM template's schedule (i.e., Monthly, Weekly, Daily, or None). This attribute is required by PUT and POST requests.
scheduleDayOfMonths This property is required. List<String>
The day of the month that the IDM template is scheduled for. This attribute is required by PUT and POST requests, and when scheduleType is set to MONTHLY.
scheduleDayOfWeeks This property is required. List<String>
The day of the week the IDM template is scheduled for. This attribute is required by PUT and POST requests, and when scheduleType is set to WEEKLY.
scheduleDisabled This property is required. Boolean
If set to true, the schedule for the IDM template is temporarily in a disabled state. This attribute is required by PUT requests in order to disable or enable a schedule.
scheduleTime This property is required. Number
The time of the day (in minutes) that the IDM template is scheduled for. For example: at 3am= 180 mins. This attribute is required by PUT and POST requests.
scheduleType This property is required. String
The schedule type for the IDM template's schedule (i.e., Monthly, Weekly, Daily, or None). This attribute is required by PUT and POST requests.

GetDLPEDMSchemaTokenList

ColLengthBitmap This property is required. int
The length of the column bitmap in the hashed file.
HashFileColumnOrder This property is required. int
The column position for the token in the hashed file, starting from 1.
Name This property is required. string
The token (i.e., criteria) name. This attribute is required by PUT and POST requests.
OriginalColumn This property is required. int
The column position for the token in the original CSV file uploaded to the Index Tool, starting from 1. This attribue required by PUT and POST requests.
PrimaryKey This property is required. bool
Indicates whether the token is a primary key.
Type This property is required. string
The token (i.e., criteria) name. This attribute is required by PUT and POST requests.
ColLengthBitmap This property is required. int
The length of the column bitmap in the hashed file.
HashFileColumnOrder This property is required. int
The column position for the token in the hashed file, starting from 1.
Name This property is required. string
The token (i.e., criteria) name. This attribute is required by PUT and POST requests.
OriginalColumn This property is required. int
The column position for the token in the original CSV file uploaded to the Index Tool, starting from 1. This attribue required by PUT and POST requests.
PrimaryKey This property is required. bool
Indicates whether the token is a primary key.
Type This property is required. string
The token (i.e., criteria) name. This attribute is required by PUT and POST requests.
colLengthBitmap This property is required. Integer
The length of the column bitmap in the hashed file.
hashFileColumnOrder This property is required. Integer
The column position for the token in the hashed file, starting from 1.
name This property is required. String
The token (i.e., criteria) name. This attribute is required by PUT and POST requests.
originalColumn This property is required. Integer
The column position for the token in the original CSV file uploaded to the Index Tool, starting from 1. This attribue required by PUT and POST requests.
primaryKey This property is required. Boolean
Indicates whether the token is a primary key.
type This property is required. String
The token (i.e., criteria) name. This attribute is required by PUT and POST requests.
colLengthBitmap This property is required. number
The length of the column bitmap in the hashed file.
hashFileColumnOrder This property is required. number
The column position for the token in the hashed file, starting from 1.
name This property is required. string
The token (i.e., criteria) name. This attribute is required by PUT and POST requests.
originalColumn This property is required. number
The column position for the token in the original CSV file uploaded to the Index Tool, starting from 1. This attribue required by PUT and POST requests.
primaryKey This property is required. boolean
Indicates whether the token is a primary key.
type This property is required. string
The token (i.e., criteria) name. This attribute is required by PUT and POST requests.
col_length_bitmap This property is required. int
The length of the column bitmap in the hashed file.
hash_file_column_order This property is required. int
The column position for the token in the hashed file, starting from 1.
name This property is required. str
The token (i.e., criteria) name. This attribute is required by PUT and POST requests.
original_column This property is required. int
The column position for the token in the original CSV file uploaded to the Index Tool, starting from 1. This attribue required by PUT and POST requests.
primary_key This property is required. bool
Indicates whether the token is a primary key.
type This property is required. str
The token (i.e., criteria) name. This attribute is required by PUT and POST requests.
colLengthBitmap This property is required. Number
The length of the column bitmap in the hashed file.
hashFileColumnOrder This property is required. Number
The column position for the token in the hashed file, starting from 1.
name This property is required. String
The token (i.e., criteria) name. This attribute is required by PUT and POST requests.
originalColumn This property is required. Number
The column position for the token in the original CSV file uploaded to the Index Tool, starting from 1. This attribue required by PUT and POST requests.
primaryKey This property is required. Boolean
Indicates whether the token is a primary key.
type This property is required. String
The token (i.e., criteria) name. This attribute is required by PUT and POST requests.

Package Details

Repository
zia zscaler/pulumi-zia
License
MIT
Notes
This Pulumi package is based on the zia Terraform Provider.
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler