1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getDLPEDMSchema
Zscaler Internet Access v0.0.6 published on Wednesday, Apr 10, 2024 by Zscaler

zia.getDLPEDMSchema

Explore with Pulumi AI

zia logo
Zscaler Internet Access v0.0.6 published on Wednesday, Apr 10, 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",
    });
    
    import pulumi
    import pulumi_zia as zia
    
    this = zia.get_dlpedm_schema(project_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.GetDLPEDMSchema(ctx, &zia.GetDLPEDMSchemaArgs{
    			ProjectName: 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.GetDLPEDMSchema.Invoke(new()
        {
            ProjectName = "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.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());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          Function: zia:getDLPEDMSchema
          Arguments:
            projectName: Example
    
    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());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: zia:getDLPEDMSchema
          Arguments:
            schemaId: 1.23456789e+09
    

    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>
    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]
    func GetDLPEDMSchema(ctx *Context, args *GetDLPEDMSchemaArgs, opts ...InvokeOption) (*GetDLPEDMSchemaResult, error)
    func GetDLPEDMSchemaOutput(ctx *Context, args *GetDLPEDMSchemaOutputArgs, opts ...InvokeOption) GetDLPEDMSchemaResultOutput

    > 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)
    }
    public static CompletableFuture<GetDLPEDMSchemaResult> getDLPEDMSchema(GetDLPEDMSchemaArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: zia:index/getDLPEDMSchema:getDLPEDMSchema
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProjectName string
    The EDM schema (i.e., EDM template) name.
    ProjectName string
    The EDM schema (i.e., EDM template) name.
    projectName String
    The EDM schema (i.e., EDM template) name.
    projectName string
    The EDM schema (i.e., EDM template) name.
    project_name str
    The EDM schema (i.e., EDM template) name.
    projectName String
    The EDM schema (i.e., EDM template) name.

    getDLPEDMSchema Result

    The following output properties are available:

    Supporting Types

    GetDLPEDMSchemaCreatedBy

    Extensions Dictionary<string, string>
    Id int
    Identifier that uniquely identifies an entity
    Name string
    The token (i.e., criteria) name.
    Extensions map[string]string
    Id int
    Identifier that uniquely identifies an entity
    Name string
    The token (i.e., criteria) name.
    extensions Map<String,String>
    id Integer
    Identifier that uniquely identifies an entity
    name String
    The token (i.e., criteria) name.
    extensions {[key: string]: string}
    id number
    Identifier that uniquely identifies an entity
    name string
    The token (i.e., criteria) name.
    extensions Mapping[str, str]
    id int
    Identifier that uniquely identifies an entity
    name str
    The token (i.e., criteria) name.
    extensions Map<String>
    id Number
    Identifier that uniquely identifies an entity
    name String
    The token (i.e., criteria) name.

    GetDLPEDMSchemaEdmClient

    Extensions Dictionary<string, string>
    Id int
    Identifier that uniquely identifies an entity
    Name string
    The token (i.e., criteria) name.
    Extensions map[string]string
    Id int
    Identifier that uniquely identifies an entity
    Name string
    The token (i.e., criteria) name.
    extensions Map<String,String>
    id Integer
    Identifier that uniquely identifies an entity
    name String
    The token (i.e., criteria) name.
    extensions {[key: string]: string}
    id number
    Identifier that uniquely identifies an entity
    name string
    The token (i.e., criteria) name.
    extensions Mapping[str, str]
    id int
    Identifier that uniquely identifies an entity
    name str
    The token (i.e., criteria) name.
    extensions Map<String>
    id Number
    Identifier that uniquely identifies an entity
    name String
    The token (i.e., criteria) name.

    GetDLPEDMSchemaLastModifiedBy

    Extensions Dictionary<string, string>
    Id int
    Identifier that uniquely identifies an entity
    Name string
    The token (i.e., criteria) name.
    Extensions map[string]string
    Id int
    Identifier that uniquely identifies an entity
    Name string
    The token (i.e., criteria) name.
    extensions Map<String,String>
    id Integer
    Identifier that uniquely identifies an entity
    name String
    The token (i.e., criteria) name.
    extensions {[key: string]: string}
    id number
    Identifier that uniquely identifies an entity
    name string
    The token (i.e., criteria) name.
    extensions Mapping[str, str]
    id int
    Identifier that uniquely identifies an entity
    name str
    The token (i.e., criteria) name.
    extensions Map<String>
    id Number
    Identifier that uniquely identifies an entity
    name String
    The token (i.e., criteria) name.

    GetDLPEDMSchemaSchedule

    ScheduleDayOfMonths List<string>
    The day of the month the EDM schema (i.e., EDM template) is scheduled for.
    ScheduleDayOfWeeks List<string>
    The day of the week the EDM schema (i.e., EDM template) is scheduled for.
    ScheduleDisabled bool
    If set to true, the schedule for the EDM schema (i.e., EDM template) is temporarily in a disabled state.
    ScheduleTime int
    The time of the day (in minutes) that the EDM schema (i.e., EDM template) is scheduled for.
    ScheduleType string
    The schedule type for the EDM schema (i.e., EDM template), Monthly, Weekly, Daily, or None.
    ScheduleDayOfMonths []string
    The day of the month the EDM schema (i.e., EDM template) is scheduled for.
    ScheduleDayOfWeeks []string
    The day of the week the EDM schema (i.e., EDM template) is scheduled for.
    ScheduleDisabled bool
    If set to true, the schedule for the EDM schema (i.e., EDM template) is temporarily in a disabled state.
    ScheduleTime int
    The time of the day (in minutes) that the EDM schema (i.e., EDM template) is scheduled for.
    ScheduleType string
    The schedule type for the EDM schema (i.e., EDM template), Monthly, Weekly, Daily, or None.
    scheduleDayOfMonths List<String>
    The day of the month the EDM schema (i.e., EDM template) is scheduled for.
    scheduleDayOfWeeks List<String>
    The day of the week the EDM schema (i.e., EDM template) is scheduled for.
    scheduleDisabled Boolean
    If set to true, the schedule for the EDM schema (i.e., EDM template) is temporarily in a disabled state.
    scheduleTime Integer
    The time of the day (in minutes) that the EDM schema (i.e., EDM template) is scheduled for.
    scheduleType String
    The schedule type for the EDM schema (i.e., EDM template), Monthly, Weekly, Daily, or None.
    scheduleDayOfMonths string[]
    The day of the month the EDM schema (i.e., EDM template) is scheduled for.
    scheduleDayOfWeeks string[]
    The day of the week the EDM schema (i.e., EDM template) is scheduled for.
    scheduleDisabled boolean
    If set to true, the schedule for the EDM schema (i.e., EDM template) is temporarily in a disabled state.
    scheduleTime number
    The time of the day (in minutes) that the EDM schema (i.e., EDM template) is scheduled for.
    scheduleType string
    The schedule type for the EDM schema (i.e., EDM template), Monthly, Weekly, Daily, or None.
    schedule_day_of_months Sequence[str]
    The day of the month the EDM schema (i.e., EDM template) is scheduled for.
    schedule_day_of_weeks Sequence[str]
    The day of the week the EDM schema (i.e., EDM template) is scheduled for.
    schedule_disabled bool
    If set to true, the schedule for the EDM schema (i.e., EDM template) is temporarily in a disabled state.
    schedule_time int
    The time of the day (in minutes) that the EDM schema (i.e., EDM template) is scheduled for.
    schedule_type str
    The schedule type for the EDM schema (i.e., EDM template), Monthly, Weekly, Daily, or None.
    scheduleDayOfMonths List<String>
    The day of the month the EDM schema (i.e., EDM template) is scheduled for.
    scheduleDayOfWeeks List<String>
    The day of the week the EDM schema (i.e., EDM template) is scheduled for.
    scheduleDisabled Boolean
    If set to true, the schedule for the EDM schema (i.e., EDM template) is temporarily in a disabled state.
    scheduleTime Number
    The time of the day (in minutes) that the EDM schema (i.e., EDM template) is scheduled for.
    scheduleType String
    The schedule type for the EDM schema (i.e., EDM template), Monthly, Weekly, Daily, or None.

    GetDLPEDMSchemaTokenList

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

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v0.0.6 published on Wednesday, Apr 10, 2024 by Zscaler