Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getZeroTrustDlpPredefinedProfile
Explore with Pulumi AI
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:
- account_
id str - profile_
id str
getZeroTrustDlpPredefinedProfile Result
The following output properties are available:
- Account
Id string - Ai
Context boolEnabled - Allowed
Match intCount - Related DLP policies will trigger when the match count exceeds the number set.
- Confidence
Threshold string - Available values: "low", "medium", "high", "very_high".
- Context
Awareness GetZero Trust Dlp Predefined Profile Context Awareness - Scan the context of predefined entries to only return matches surrounded by keywords.
- Created
At string - When the profile was created
- Description string
- The description of the profile
- Entries
List<Get
Zero Trust Dlp Predefined Profile Entry> - Id string
- The id of the profile (uuid)
- Name string
- The name of the profile
- Ocr
Enabled bool - Open
Access bool - Whether this profile can be accessed by anyone
- Profile
Id string - Type string
- Available values: "custom".
- Updated
At string - When the profile was lasted updated
- Account
Id string - Ai
Context boolEnabled - Allowed
Match intCount - Related DLP policies will trigger when the match count exceeds the number set.
- Confidence
Threshold string - Available values: "low", "medium", "high", "very_high".
- Context
Awareness GetZero Trust Dlp Predefined Profile Context Awareness - Scan the context of predefined entries to only return matches surrounded by keywords.
- Created
At string - When the profile was created
- Description string
- The description of the profile
- Entries
[]Get
Zero Trust Dlp Predefined Profile Entry - Id string
- The id of the profile (uuid)
- Name string
- The name of the profile
- Ocr
Enabled bool - Open
Access bool - Whether this profile can be accessed by anyone
- Profile
Id string - Type string
- Available values: "custom".
- Updated
At string - When the profile was lasted updated
- account
Id String - ai
Context BooleanEnabled - allowed
Match IntegerCount - Related DLP policies will trigger when the match count exceeds the number set.
- confidence
Threshold String - Available values: "low", "medium", "high", "very_high".
- context
Awareness GetZero Trust Dlp Predefined Profile Context Awareness - Scan the context of predefined entries to only return matches surrounded by keywords.
- created
At String - When the profile was created
- description String
- The description of the profile
- entries
List<Get
Zero Trust Dlp Predefined Profile Entry> - id String
- The id of the profile (uuid)
- name String
- The name of the profile
- ocr
Enabled Boolean - open
Access Boolean - Whether this profile can be accessed by anyone
- profile
Id String - type String
- Available values: "custom".
- updated
At String - When the profile was lasted updated
- account
Id string - ai
Context booleanEnabled - allowed
Match numberCount - Related DLP policies will trigger when the match count exceeds the number set.
- confidence
Threshold string - Available values: "low", "medium", "high", "very_high".
- context
Awareness GetZero Trust Dlp Predefined Profile Context Awareness - Scan the context of predefined entries to only return matches surrounded by keywords.
- created
At string - When the profile was created
- description string
- The description of the profile
- entries
Get
Zero Trust Dlp Predefined Profile Entry[] - id string
- The id of the profile (uuid)
- name string
- The name of the profile
- ocr
Enabled boolean - open
Access boolean - Whether this profile can be accessed by anyone
- profile
Id string - type string
- Available values: "custom".
- updated
At string - When the profile was lasted updated
- account_
id str - ai_
context_ boolenabled - allowed_
match_ intcount - 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 GetZero Trust Dlp Predefined Profile Context Awareness - 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[Get
Zero Trust Dlp Predefined Profile Entry] - 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
- account
Id String - ai
Context BooleanEnabled - allowed
Match NumberCount - Related DLP policies will trigger when the match count exceeds the number set.
- confidence
Threshold String - Available values: "low", "medium", "high", "very_high".
- context
Awareness Property Map - Scan the context of predefined entries to only return matches surrounded by keywords.
- created
At 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
- ocr
Enabled Boolean - open
Access Boolean - Whether this profile can be accessed by anyone
- profile
Id String - type String
- Available values: "custom".
- updated
At 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
Get
Zero Trust Dlp Predefined Profile Context Awareness Skip - 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
Get
Zero Trust Dlp Predefined Profile Context Awareness Skip - 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
Get
Zero Trust Dlp Predefined Profile Context Awareness Skip - 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
Get
Zero Trust Dlp Predefined Profile Context Awareness Skip - 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
Get
Zero Trust Dlp Predefined Profile Context Awareness Skip - 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
- Confidence
Get
Zero Trust Dlp Predefined Profile Entry Confidence - Created
At string - Enabled bool
- Id string
- Name string
- Pattern
Get
Zero Trust Dlp Predefined Profile Entry Pattern - Profile
Id string - Secret bool
- Type string
- Available values: "custom".
- Updated
At string - Word
List string
- Confidence
Get
Zero Trust Dlp Predefined Profile Entry Confidence - Created
At string - Enabled bool
- Id string
- Name string
- Pattern
Get
Zero Trust Dlp Predefined Profile Entry Pattern - Profile
Id string - Secret bool
- Type string
- Available values: "custom".
- Updated
At string - Word
List string
- confidence
Get
Zero Trust Dlp Predefined Profile Entry Confidence - created
At String - enabled Boolean
- id String
- name String
- pattern
Get
Zero Trust Dlp Predefined Profile Entry Pattern - profile
Id String - secret Boolean
- type String
- Available values: "custom".
- updated
At String - word
List String
- confidence
Get
Zero Trust Dlp Predefined Profile Entry Confidence - created
At string - enabled boolean
- id string
- name string
- pattern
Get
Zero Trust Dlp Predefined Profile Entry Pattern - profile
Id string - secret boolean
- type string
- Available values: "custom".
- updated
At string - word
List string
- confidence
Get
Zero Trust Dlp Predefined Profile Entry Confidence - created_
at str - enabled bool
- id str
- name str
- pattern
Get
Zero Trust Dlp Predefined Profile Entry Pattern - profile_
id str - secret bool
- type str
- Available values: "custom".
- updated_
at str - word_
list str
- confidence Property Map
- created
At String - enabled Boolean
- id String
- name String
- pattern Property Map
- profile
Id String - secret Boolean
- type String
- Available values: "custom".
- updated
At String - word
List String
GetZeroTrustDlpPredefinedProfileEntryConfidence
- Ai
Context boolAvailable - 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
- Ai
Context boolAvailable - 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
- ai
Context BooleanAvailable - 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 booleanAvailable - 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_ boolavailable - 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
- ai
Context BooleanAvailable - 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".
- Regex string
- Validation string
- Available values: "luhn".
- regex String
- validation String
- Available values: "luhn".
- regex string
- validation string
- Available values: "luhn".
- regex str
- validation str
- Available values: "luhn".
- regex String
- validation String
- Available values: "luhn".
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.