1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustDlpPredefinedProfile
Cloudflare v6.2.0 published on Tuesday, May 13, 2025 by Pulumi

cloudflare.getZeroTrustDlpPredefinedProfile

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.2.0 published on Tuesday, May 13, 2025 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
    Related DLP policies will trigger when the match count exceeds the number set.
    ConfidenceThreshold string
    Available values: "low", "medium", "high", "very_high".
    ContextAwareness GetZeroTrustDlpPredefinedProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    CreatedAt string
    When the profile was created.
    Description string
    The description of the profile.
    Entries List<GetZeroTrustDlpPredefinedProfileEntry>
    Id string
    The id of the profile (uuid).
    Name string
    The name of the profile.
    OcrEnabled bool
    OpenAccess bool
    Whether this profile can be accessed by anyone.
    ProfileId string
    Type string
    Available values: "custom".
    UpdatedAt string
    When the profile was lasted updated.
    AccountId string
    AiContextEnabled bool
    AllowedMatchCount int
    Related DLP policies will trigger when the match count exceeds the number set.
    ConfidenceThreshold string
    Available values: "low", "medium", "high", "very_high".
    ContextAwareness GetZeroTrustDlpPredefinedProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    CreatedAt string
    When the profile was created.
    Description string
    The description of the profile.
    Entries []GetZeroTrustDlpPredefinedProfileEntry
    Id string
    The id of the profile (uuid).
    Name string
    The name of the profile.
    OcrEnabled bool
    OpenAccess bool
    Whether this profile can be accessed by anyone.
    ProfileId string
    Type string
    Available values: "custom".
    UpdatedAt string
    When the profile was lasted updated.
    accountId String
    aiContextEnabled Boolean
    allowedMatchCount Integer
    Related DLP policies will trigger when the match count exceeds the number set.
    confidenceThreshold String
    Available values: "low", "medium", "high", "very_high".
    contextAwareness GetZeroTrustDlpPredefinedProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    createdAt String
    When the profile was created.
    description String
    The description of the profile.
    entries List<GetZeroTrustDlpPredefinedProfileEntry>
    id String
    The id of the profile (uuid).
    name String
    The name of the profile.
    ocrEnabled Boolean
    openAccess Boolean
    Whether this profile can be accessed by anyone.
    profileId String
    type String
    Available values: "custom".
    updatedAt String
    When the profile was lasted updated.
    accountId string
    aiContextEnabled boolean
    allowedMatchCount number
    Related DLP policies will trigger when the match count exceeds the number set.
    confidenceThreshold string
    Available values: "low", "medium", "high", "very_high".
    contextAwareness GetZeroTrustDlpPredefinedProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    createdAt string
    When the profile was created.
    description string
    The description of the profile.
    entries GetZeroTrustDlpPredefinedProfileEntry[]
    id string
    The id of the profile (uuid).
    name string
    The name of the profile.
    ocrEnabled boolean
    openAccess boolean
    Whether this profile can be accessed by anyone.
    profileId string
    type string
    Available values: "custom".
    updatedAt string
    When the profile was lasted updated.
    account_id str
    ai_context_enabled bool
    allowed_match_count int
    Related DLP policies will trigger when the match count exceeds the number set.
    confidence_threshold str
    Available values: "low", "medium", "high", "very_high".
    context_awareness GetZeroTrustDlpPredefinedProfileContextAwareness
    Scan the context of predefined entries to only return matches surrounded by keywords.
    created_at str
    When the profile was created.
    description str
    The description of the profile.
    entries Sequence[GetZeroTrustDlpPredefinedProfileEntry]
    id str
    The id of the profile (uuid).
    name str
    The name of the profile.
    ocr_enabled bool
    open_access bool
    Whether this profile can be accessed by anyone.
    profile_id str
    type str
    Available values: "custom".
    updated_at str
    When the profile was lasted updated.
    accountId String
    aiContextEnabled Boolean
    allowedMatchCount Number
    Related DLP policies will trigger when the match count exceeds the number set.
    confidenceThreshold String
    Available values: "low", "medium", "high", "very_high".
    contextAwareness Property Map
    Scan the context of predefined entries to only return matches surrounded by keywords.
    createdAt String
    When the profile was created.
    description String
    The description of the profile.
    entries List<Property Map>
    id String
    The id of the profile (uuid).
    name String
    The name of the profile.
    ocrEnabled Boolean
    openAccess Boolean
    Whether this profile can be accessed by anyone.
    profileId String
    type String
    Available values: "custom".
    updatedAt String
    When the profile was lasted updated.

    Supporting Types

    GetZeroTrustDlpPredefinedProfileContextAwareness

    Enabled bool
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    Skip GetZeroTrustDlpPredefinedProfileContextAwarenessSkip
    Content types to exclude from context analysis and return all matches.
    Enabled bool
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    Skip GetZeroTrustDlpPredefinedProfileContextAwarenessSkip
    Content types to exclude from context analysis and return all matches.
    enabled Boolean
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    skip GetZeroTrustDlpPredefinedProfileContextAwarenessSkip
    Content types to exclude from context analysis and return all matches.
    enabled boolean
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    skip GetZeroTrustDlpPredefinedProfileContextAwarenessSkip
    Content types to exclude from context analysis and return all matches.
    enabled bool
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    skip GetZeroTrustDlpPredefinedProfileContextAwarenessSkip
    Content types to exclude from context analysis and return all matches.
    enabled Boolean
    If true, scan the context of predefined entries to only return matches surrounded by keywords.
    skip Property Map
    Content types to exclude from context analysis and return all matches.

    GetZeroTrustDlpPredefinedProfileContextAwarenessSkip

    Files bool
    If the content type is a file, skip context analysis and return all matches.
    Files bool
    If the content type is a file, skip context analysis and return all matches.
    files Boolean
    If the content type is a file, skip context analysis and return all matches.
    files boolean
    If the content type is a file, skip context analysis and return all matches.
    files bool
    If the content type is a file, skip context analysis and return all matches.
    files Boolean
    If the content type is a file, skip context analysis and return all matches.

    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".
    UpdatedAt string
    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".
    UpdatedAt string
    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".
    updatedAt String
    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".
    updatedAt string
    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".
    updated_at str
    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".
    updatedAt String
    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.

    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.2.0 published on Tuesday, May 13, 2025 by Pulumi