1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustDlpEntries
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getZeroTrustDlpEntries

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustDlpEntries = cloudflare.getZeroTrustDlpEntries({
        accountId: "account_id",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_dlp_entries = cloudflare.get_zero_trust_dlp_entries(account_id="account_id")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.LookupZeroTrustDlpEntries(ctx, &cloudflare.LookupZeroTrustDlpEntriesArgs{
    			AccountId: "account_id",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleZeroTrustDlpEntries = Cloudflare.GetZeroTrustDlpEntries.Invoke(new()
        {
            AccountId = "account_id",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetZeroTrustDlpEntriesArgs;
    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 exampleZeroTrustDlpEntries = CloudflareFunctions.getZeroTrustDlpEntries(GetZeroTrustDlpEntriesArgs.builder()
                .accountId("account_id")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustDlpEntries:
        fn::invoke:
          function: cloudflare:getZeroTrustDlpEntries
          arguments:
            accountId: account_id
    

    Using getZeroTrustDlpEntries

    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 getZeroTrustDlpEntries(args: GetZeroTrustDlpEntriesArgs, opts?: InvokeOptions): Promise<GetZeroTrustDlpEntriesResult>
    function getZeroTrustDlpEntriesOutput(args: GetZeroTrustDlpEntriesOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDlpEntriesResult>
    def get_zero_trust_dlp_entries(account_id: Optional[str] = None,
                                   max_items: Optional[int] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetZeroTrustDlpEntriesResult
    def get_zero_trust_dlp_entries_output(account_id: Optional[pulumi.Input[str]] = None,
                                   max_items: Optional[pulumi.Input[int]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDlpEntriesResult]
    func LookupZeroTrustDlpEntries(ctx *Context, args *LookupZeroTrustDlpEntriesArgs, opts ...InvokeOption) (*LookupZeroTrustDlpEntriesResult, error)
    func LookupZeroTrustDlpEntriesOutput(ctx *Context, args *LookupZeroTrustDlpEntriesOutputArgs, opts ...InvokeOption) LookupZeroTrustDlpEntriesResultOutput

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

    public static class GetZeroTrustDlpEntries 
    {
        public static Task<GetZeroTrustDlpEntriesResult> InvokeAsync(GetZeroTrustDlpEntriesArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustDlpEntriesResult> Invoke(GetZeroTrustDlpEntriesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZeroTrustDlpEntriesResult> getZeroTrustDlpEntries(GetZeroTrustDlpEntriesArgs args, InvokeOptions options)
    public static Output<GetZeroTrustDlpEntriesResult> getZeroTrustDlpEntries(GetZeroTrustDlpEntriesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustDlpEntries:getZeroTrustDlpEntries
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    accountId String
    maxItems Integer
    Max items to fetch, default: 1000
    accountId string
    maxItems number
    Max items to fetch, default: 1000
    account_id str
    max_items int
    Max items to fetch, default: 1000
    accountId String
    maxItems Number
    Max items to fetch, default: 1000

    getZeroTrustDlpEntries Result

    The following output properties are available:

    AccountId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetZeroTrustDlpEntriesResult>
    The items returned by the data source
    MaxItems int
    Max items to fetch, default: 1000
    AccountId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Results []GetZeroTrustDlpEntriesResult
    The items returned by the data source
    MaxItems int
    Max items to fetch, default: 1000
    accountId String
    id String
    The provider-assigned unique ID for this managed resource.
    results List<GetZeroTrustDlpEntriesResult>
    The items returned by the data source
    maxItems Integer
    Max items to fetch, default: 1000
    accountId string
    id string
    The provider-assigned unique ID for this managed resource.
    results GetZeroTrustDlpEntriesResult[]
    The items returned by the data source
    maxItems number
    Max items to fetch, default: 1000
    account_id str
    id str
    The provider-assigned unique ID for this managed resource.
    results Sequence[GetZeroTrustDlpEntriesResult]
    The items returned by the data source
    max_items int
    Max items to fetch, default: 1000
    accountId String
    id String
    The provider-assigned unique ID for this managed resource.
    results List<Property Map>
    The items returned by the data source
    maxItems Number
    Max items to fetch, default: 1000

    Supporting Types

    GetZeroTrustDlpEntriesResult

    confidence Property Map
    createdAt String
    enabled Boolean
    id String
    name String
    pattern Property Map
    profileId String
    secret Boolean
    type String
    Available values: "custom".
    updatedAt String
    wordList String

    GetZeroTrustDlpEntriesResultConfidence

    AiContextAvailable bool
    Indicates whether this entry has AI remote service validation
    Available bool
    Indicates whether this entry has any form of validation that is not an AI remote service
    AiContextAvailable bool
    Indicates whether this entry has AI remote service validation
    Available bool
    Indicates whether this entry has any form of validation that is not an AI remote service
    aiContextAvailable Boolean
    Indicates whether this entry has AI remote service validation
    available Boolean
    Indicates whether this entry has any form of validation that is not an AI remote service
    aiContextAvailable boolean
    Indicates whether this entry has AI remote service validation
    available boolean
    Indicates whether this entry has any form of validation that is not an AI remote service
    ai_context_available bool
    Indicates whether this entry has AI remote service validation
    available bool
    Indicates whether this entry has any form of validation that is not an AI remote service
    aiContextAvailable Boolean
    Indicates whether this entry has AI remote service validation
    available Boolean
    Indicates whether this entry has any form of validation that is not an AI remote service

    GetZeroTrustDlpEntriesResultPattern

    Regex string
    Validation string
    Available values: "luhn".

    Deprecated: This attribute is deprecated.

    Regex string
    Validation string
    Available values: "luhn".

    Deprecated: This attribute is deprecated.

    regex String
    validation String
    Available values: "luhn".

    Deprecated: This attribute is deprecated.

    regex string
    validation string
    Available values: "luhn".

    Deprecated: This attribute is deprecated.

    regex str
    validation str
    Available values: "luhn".

    Deprecated: This attribute is deprecated.

    regex String
    validation String
    Available values: "luhn".

    Deprecated: This attribute is deprecated.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi