1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustDlpPredefinedProfile
Cloudflare v6.13.0 published on Wednesday, Jan 21, 2026 by Pulumi
cloudflare logo
Cloudflare v6.13.0 published on Wednesday, Jan 21, 2026 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustDlpPredefinedProfile = cloudflare.getZeroTrustDlpPredefinedProfile({
        accountId: "account_id",
        profileId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_dlp_predefined_profile = cloudflare.get_zero_trust_dlp_predefined_profile(account_id="account_id",
        profile_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
    
    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.LookupZeroTrustDlpPredefinedProfile(ctx, &cloudflare.LookupZeroTrustDlpPredefinedProfileArgs{
    			AccountId: "account_id",
    			ProfileId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    		}, 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 exampleZeroTrustDlpPredefinedProfile = Cloudflare.GetZeroTrustDlpPredefinedProfile.Invoke(new()
        {
            AccountId = "account_id",
            ProfileId = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
        });
    
    });
    
    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.GetZeroTrustDlpPredefinedProfileArgs;
    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 exampleZeroTrustDlpPredefinedProfile = CloudflareFunctions.getZeroTrustDlpPredefinedProfile(GetZeroTrustDlpPredefinedProfileArgs.builder()
                .accountId("account_id")
                .profileId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustDlpPredefinedProfile:
        fn::invoke:
          function: cloudflare:getZeroTrustDlpPredefinedProfile
          arguments:
            accountId: account_id
            profileId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
    

    Using getZeroTrustDlpPredefinedProfile

    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 getZeroTrustDlpPredefinedProfile(args: GetZeroTrustDlpPredefinedProfileArgs, opts?: InvokeOptions): Promise<GetZeroTrustDlpPredefinedProfileResult>
    function getZeroTrustDlpPredefinedProfileOutput(args: GetZeroTrustDlpPredefinedProfileOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDlpPredefinedProfileResult>
    def get_zero_trust_dlp_predefined_profile(account_id: Optional[str] = None,
                                              profile_id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetZeroTrustDlpPredefinedProfileResult
    def get_zero_trust_dlp_predefined_profile_output(account_id: Optional[pulumi.Input[str]] = None,
                                              profile_id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDlpPredefinedProfileResult]
    func LookupZeroTrustDlpPredefinedProfile(ctx *Context, args *LookupZeroTrustDlpPredefinedProfileArgs, opts ...InvokeOption) (*LookupZeroTrustDlpPredefinedProfileResult, error)
    func LookupZeroTrustDlpPredefinedProfileOutput(ctx *Context, args *LookupZeroTrustDlpPredefinedProfileOutputArgs, opts ...InvokeOption) LookupZeroTrustDlpPredefinedProfileResultOutput

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

    public static class GetZeroTrustDlpPredefinedProfile 
    {
        public static Task<GetZeroTrustDlpPredefinedProfileResult> InvokeAsync(GetZeroTrustDlpPredefinedProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustDlpPredefinedProfileResult> Invoke(GetZeroTrustDlpPredefinedProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZeroTrustDlpPredefinedProfileResult> getZeroTrustDlpPredefinedProfile(GetZeroTrustDlpPredefinedProfileArgs args, InvokeOptions options)
    public static Output<GetZeroTrustDlpPredefinedProfileResult> getZeroTrustDlpPredefinedProfile(GetZeroTrustDlpPredefinedProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustDlpPredefinedProfile:getZeroTrustDlpPredefinedProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    ProfileId string
    AccountId string
    ProfileId string
    accountId String
    profileId String
    accountId string
    profileId string
    accountId String
    profileId String

    getZeroTrustDlpPredefinedProfile Result

    The following output properties are available:

    AccountId string
    AiContextEnabled bool
    AllowedMatchCount int
    ConfidenceThreshold string
    EnabledEntries List<string>
    Entries List<GetZeroTrustDlpPredefinedProfileEntry>

    Deprecated: This attribute is deprecated.

    Id string
    The ID of this resource.
    Name string
    The name of the predefined profile.
    OcrEnabled bool
    OpenAccess bool
    Whether this profile can be accessed by anyone.
    ProfileId string
    AccountId string
    AiContextEnabled bool
    AllowedMatchCount int
    ConfidenceThreshold string
    EnabledEntries []string
    Entries []GetZeroTrustDlpPredefinedProfileEntry

    Deprecated: This attribute is deprecated.

    Id string
    The ID of this resource.
    Name string
    The name of the predefined profile.
    OcrEnabled bool
    OpenAccess bool
    Whether this profile can be accessed by anyone.
    ProfileId string
    accountId String
    aiContextEnabled Boolean
    allowedMatchCount Integer
    confidenceThreshold String
    enabledEntries List<String>
    entries List<GetZeroTrustDlpPredefinedProfileEntry>

    Deprecated: This attribute is deprecated.

    id String
    The ID of this resource.
    name String
    The name of the predefined profile.
    ocrEnabled Boolean
    openAccess Boolean
    Whether this profile can be accessed by anyone.
    profileId String
    accountId string
    aiContextEnabled boolean
    allowedMatchCount number
    confidenceThreshold string
    enabledEntries string[]
    entries GetZeroTrustDlpPredefinedProfileEntry[]

    Deprecated: This attribute is deprecated.

    id string
    The ID of this resource.
    name string
    The name of the predefined profile.
    ocrEnabled boolean
    openAccess boolean
    Whether this profile can be accessed by anyone.
    profileId string
    account_id str
    ai_context_enabled bool
    allowed_match_count int
    confidence_threshold str
    enabled_entries Sequence[str]
    entries Sequence[GetZeroTrustDlpPredefinedProfileEntry]

    Deprecated: This attribute is deprecated.

    id str
    The ID of this resource.
    name str
    The name of the predefined profile.
    ocr_enabled bool
    open_access bool
    Whether this profile can be accessed by anyone.
    profile_id str
    accountId String
    aiContextEnabled Boolean
    allowedMatchCount Number
    confidenceThreshold String
    enabledEntries List<String>
    entries List<Property Map>

    Deprecated: This attribute is deprecated.

    id String
    The ID of this resource.
    name String
    The name of the predefined profile.
    ocrEnabled Boolean
    openAccess Boolean
    Whether this profile can be accessed by anyone.
    profileId String

    Supporting Types

    GetZeroTrustDlpPredefinedProfileEntry

    CaseSensitive bool
    Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true
    Confidence GetZeroTrustDlpPredefinedProfileEntryConfidence
    CreatedAt string
    Enabled bool
    Id string
    Name string
    Pattern GetZeroTrustDlpPredefinedProfileEntryPattern
    ProfileId string
    Secret bool
    Type string
    Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", <span pulumi-lang-nodejs=""wordList"" pulumi-lang-dotnet=""WordList"" pulumi-lang-go=""wordList"" pulumi-lang-python=""word_list"" pulumi-lang-yaml=""wordList"" pulumi-lang-java=""wordList"">"word_list".
    UpdatedAt string
    Variant GetZeroTrustDlpPredefinedProfileEntryVariant
    WordList string
    CaseSensitive bool
    Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true
    Confidence GetZeroTrustDlpPredefinedProfileEntryConfidence
    CreatedAt string
    Enabled bool
    Id string
    Name string
    Pattern GetZeroTrustDlpPredefinedProfileEntryPattern
    ProfileId string
    Secret bool
    Type string
    Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", <span pulumi-lang-nodejs=""wordList"" pulumi-lang-dotnet=""WordList"" pulumi-lang-go=""wordList"" pulumi-lang-python=""word_list"" pulumi-lang-yaml=""wordList"" pulumi-lang-java=""wordList"">"word_list".
    UpdatedAt string
    Variant GetZeroTrustDlpPredefinedProfileEntryVariant
    WordList string
    caseSensitive Boolean
    Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true
    confidence GetZeroTrustDlpPredefinedProfileEntryConfidence
    createdAt String
    enabled Boolean
    id String
    name String
    pattern GetZeroTrustDlpPredefinedProfileEntryPattern
    profileId String
    secret Boolean
    type String
    Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", <span pulumi-lang-nodejs=""wordList"" pulumi-lang-dotnet=""WordList"" pulumi-lang-go=""wordList"" pulumi-lang-python=""word_list"" pulumi-lang-yaml=""wordList"" pulumi-lang-java=""wordList"">"word_list".
    updatedAt String
    variant GetZeroTrustDlpPredefinedProfileEntryVariant
    wordList String
    caseSensitive boolean
    Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true
    confidence GetZeroTrustDlpPredefinedProfileEntryConfidence
    createdAt string
    enabled boolean
    id string
    name string
    pattern GetZeroTrustDlpPredefinedProfileEntryPattern
    profileId string
    secret boolean
    type string
    Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", <span pulumi-lang-nodejs=""wordList"" pulumi-lang-dotnet=""WordList"" pulumi-lang-go=""wordList"" pulumi-lang-python=""word_list"" pulumi-lang-yaml=""wordList"" pulumi-lang-java=""wordList"">"word_list".
    updatedAt string
    variant GetZeroTrustDlpPredefinedProfileEntryVariant
    wordList string
    case_sensitive bool
    Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true
    confidence GetZeroTrustDlpPredefinedProfileEntryConfidence
    created_at str
    enabled bool
    id str
    name str
    pattern GetZeroTrustDlpPredefinedProfileEntryPattern
    profile_id str
    secret bool
    type str
    Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", <span pulumi-lang-nodejs=""wordList"" pulumi-lang-dotnet=""WordList"" pulumi-lang-go=""wordList"" pulumi-lang-python=""word_list"" pulumi-lang-yaml=""wordList"" pulumi-lang-java=""wordList"">"word_list".
    updated_at str
    variant GetZeroTrustDlpPredefinedProfileEntryVariant
    word_list str
    caseSensitive Boolean
    Only applies to custom word lists. Determines if the words should be matched in a case-sensitive manner Cannot be set to false if secret is true
    confidence Property Map
    createdAt String
    enabled Boolean
    id String
    name String
    pattern Property Map
    profileId String
    secret Boolean
    type String
    Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", <span pulumi-lang-nodejs=""wordList"" pulumi-lang-dotnet=""WordList"" pulumi-lang-go=""wordList"" pulumi-lang-python=""word_list"" pulumi-lang-yaml=""wordList"" pulumi-lang-java=""wordList"">"word_list".
    updatedAt String
    variant Property Map
    wordList String

    GetZeroTrustDlpPredefinedProfileEntryConfidence

    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.

    GetZeroTrustDlpPredefinedProfileEntryPattern

    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.

    GetZeroTrustDlpPredefinedProfileEntryVariant

    Description string
    TopicType string
    Available values: "Intent", "Content".
    Type string
    Available values: "PromptTopic".
    Description string
    TopicType string
    Available values: "Intent", "Content".
    Type string
    Available values: "PromptTopic".
    description String
    topicType String
    Available values: "Intent", "Content".
    type String
    Available values: "PromptTopic".
    description string
    topicType string
    Available values: "Intent", "Content".
    type string
    Available values: "PromptTopic".
    description str
    topic_type str
    Available values: "Intent", "Content".
    type str
    Available values: "PromptTopic".
    description String
    topicType String
    Available values: "Intent", "Content".
    type String
    Available values: "PromptTopic".

    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.13.0 published on Wednesday, Jan 21, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate