Viewing docs for Cloudflare v6.24.0
published on Thursday, Nov 12, 2026 by Pulumi
published on Thursday, Nov 12, 2026 by Pulumi
Viewing docs for Cloudflare v6.24.0
published on Thursday, Nov 12, 2026 by Pulumi
published on Thursday, Nov 12, 2026 by Pulumi
Accepted Permissions
Zero Trust ReadZero Trust Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDlpEntry = cloudflare.getZeroTrustDlpEntry({
accountId: "account_id",
entryId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_dlp_entry = cloudflare.get_zero_trust_dlp_entry(account_id="account_id",
entry_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.GetZeroTrustDlpEntry(ctx, &cloudflare.LookupZeroTrustDlpEntryArgs{
AccountId: pulumi.StringRef("account_id"),
EntryId: "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 exampleZeroTrustDlpEntry = Cloudflare.GetZeroTrustDlpEntry.Invoke(new()
{
AccountId = "account_id",
EntryId = "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.GetZeroTrustDlpEntryArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 exampleZeroTrustDlpEntry = CloudflareFunctions.getZeroTrustDlpEntry(GetZeroTrustDlpEntryArgs.builder()
.accountId("account_id")
.entryId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.build());
}
}
variables:
exampleZeroTrustDlpEntry:
fn::invoke:
function: cloudflare:getZeroTrustDlpEntry
arguments:
accountId: account_id
entryId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
terraform {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_zero_trust_dlp_entry" "exampleZeroTrustDlpEntry" {
account_id = "account_id"
entry_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}
Using getZeroTrustDlpEntry
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 getZeroTrustDlpEntry(args: GetZeroTrustDlpEntryArgs, opts?: InvokeOptions): Promise<GetZeroTrustDlpEntryResult>
function getZeroTrustDlpEntryOutput(args: GetZeroTrustDlpEntryOutputArgs, opts?: InvokeOutputOptions): Output<GetZeroTrustDlpEntryResult>def get_zero_trust_dlp_entry(account_id: Optional[str] = None,
entry_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustDlpEntryResult
def get_zero_trust_dlp_entry_output(account_id: pulumi.Input[Optional[str]] = None,
entry_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetZeroTrustDlpEntryResult]func LookupZeroTrustDlpEntry(ctx *Context, args *LookupZeroTrustDlpEntryArgs, opts ...InvokeOption) (*LookupZeroTrustDlpEntryResult, error)
func LookupZeroTrustDlpEntryOutput(ctx *Context, args *LookupZeroTrustDlpEntryOutputArgs, opts ...InvokeOption) LookupZeroTrustDlpEntryResultOutput> Note: This function is named LookupZeroTrustDlpEntry in the Go SDK.
public static class GetZeroTrustDlpEntry
{
public static Task<GetZeroTrustDlpEntryResult> InvokeAsync(GetZeroTrustDlpEntryArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustDlpEntryResult> Invoke(GetZeroTrustDlpEntryInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustDlpEntryResult> Invoke(GetZeroTrustDlpEntryInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetZeroTrustDlpEntryResult> getZeroTrustDlpEntry(GetZeroTrustDlpEntryArgs args, InvokeOptions options)
public static Output<GetZeroTrustDlpEntryResult> getZeroTrustDlpEntry(GetZeroTrustDlpEntryArgs args, InvokeOptions options)
public static Output<GetZeroTrustDlpEntryResult> getZeroTrustDlpEntry(GetZeroTrustDlpEntryArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustDlpEntry:getZeroTrustDlpEntry
arguments:
# arguments dictionarydata "cloudflare_get_zero_trust_dlp_entry" "name" {
# arguments
}The following arguments are supported:
- entry_
id string - account_
id string
- entry_
id str - account_
id str
getZeroTrustDlpEntry Result
The following output properties are available:
- Case
Sensitive bool - For
type: exactData: 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
Get
Zero Trust Dlp Entry Confidence - Created
At string - Deprecated bool
- For
type: predefined: Whether this entry is deprecated for new use. This is computed from the static catalog and emitted only when true. - Description string
- For
type: customPromptTopic: The optional description of the custom prompt topic entry. - Enabled bool
- Entry
Id string - Id string
- Name string
- Pattern
Get
Zero Trust Dlp Entry Pattern - Profile
Id string - Profiles
List<Get
Zero Trust Dlp Entry Profile> - Secret bool
- Type string
- Updated
At string - Upload
Status string - Validator
Ids List<string> - Variant
Get
Zero Trust Dlp Entry Variant - Word
Lists List<string> - Account
Id string
- Case
Sensitive bool - For
type: exactData: 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
Get
Zero Trust Dlp Entry Confidence - Created
At string - Deprecated bool
- For
type: predefined: Whether this entry is deprecated for new use. This is computed from the static catalog and emitted only when true. - Description string
- For
type: customPromptTopic: The optional description of the custom prompt topic entry. - Enabled bool
- Entry
Id string - Id string
- Name string
- Pattern
Get
Zero Trust Dlp Entry Pattern - Profile
Id string - Profiles
[]Get
Zero Trust Dlp Entry Profile - Secret bool
- Type string
- Updated
At string - Upload
Status string - Validator
Ids []string - Variant
Get
Zero Trust Dlp Entry Variant - Word
Lists []string - Account
Id string
- case_
sensitive bool - For
type: exactData: 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 object
- created_
at string - deprecated bool
- For
type: predefined: Whether this entry is deprecated for new use. This is computed from the static catalog and emitted only when true. - description string
- For
type: customPromptTopic: The optional description of the custom prompt topic entry. - enabled bool
- entry_
id string - id string
- name string
- pattern object
- profile_
id string - profiles list(object)
- secret bool
- type string
- updated_
at string - upload_
status string - validator_
ids list(string) - variant object
- word_
lists list(string) - account_
id string
- case
Sensitive Boolean - For
type: exactData: 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
Get
Zero Trust Dlp Entry Confidence - created
At String - deprecated Boolean
- For
type: predefined: Whether this entry is deprecated for new use. This is computed from the static catalog and emitted only when true. - description String
- For
type: customPromptTopic: The optional description of the custom prompt topic entry. - enabled Boolean
- entry
Id String - id String
- name String
- pattern
Get
Zero Trust Dlp Entry Pattern - profile
Id String - profiles
List<Get
Zero Trust Dlp Entry Profile> - secret Boolean
- type String
- updated
At String - upload
Status String - validator
Ids List<String> - variant
Get
Zero Trust Dlp Entry Variant - word
Lists List<String> - account
Id String
- case
Sensitive boolean - For
type: exactData: 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
Get
Zero Trust Dlp Entry Confidence - created
At string - deprecated boolean
- For
type: predefined: Whether this entry is deprecated for new use. This is computed from the static catalog and emitted only when true. - description string
- For
type: customPromptTopic: The optional description of the custom prompt topic entry. - enabled boolean
- entry
Id string - id string
- name string
- pattern
Get
Zero Trust Dlp Entry Pattern - profile
Id string - profiles
Get
Zero Trust Dlp Entry Profile[] - secret boolean
- type string
- updated
At string - upload
Status string - validator
Ids string[] - variant
Get
Zero Trust Dlp Entry Variant - word
Lists string[] - account
Id string
- case_
sensitive bool - For
type: exactData: 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
Get
Zero Trust Dlp Entry Confidence - created_
at str - deprecated bool
- For
type: predefined: Whether this entry is deprecated for new use. This is computed from the static catalog and emitted only when true. - description str
- For
type: customPromptTopic: The optional description of the custom prompt topic entry. - enabled bool
- entry_
id str - id str
- name str
- pattern
Get
Zero Trust Dlp Entry Pattern - profile_
id str - profiles
Sequence[Get
Zero Trust Dlp Entry Profile] - secret bool
- type str
- updated_
at str - upload_
status str - validator_
ids Sequence[str] - variant
Get
Zero Trust Dlp Entry Variant - word_
lists Sequence[str] - account_
id str
- case
Sensitive Boolean - For
type: exactData: 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
- created
At String - deprecated Boolean
- For
type: predefined: Whether this entry is deprecated for new use. This is computed from the static catalog and emitted only when true. - description String
- For
type: customPromptTopic: The optional description of the custom prompt topic entry. - enabled Boolean
- entry
Id String - id String
- name String
- pattern Property Map
- profile
Id String - profiles List<Property Map>
- secret Boolean
- type String
- updated
At String - upload
Status String - validator
Ids List<String> - variant Property Map
- word
Lists List<String> - account
Id String
Supporting Types
GetZeroTrustDlpEntryConfidence
- 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_ 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.
GetZeroTrustDlpEntryPattern
- 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 string
- validation string
- Available values: "luhn".
- regex str
- validation str
- Available values: "luhn".
- regex String
- validation String
- Available values: "luhn".
GetZeroTrustDlpEntryProfile
GetZeroTrustDlpEntryVariant
- Description string
- For
type: PromptTopic: A customer-facing explanation of what this predefined AI prompt topic represents. - Topic
Type string - Available values: "Intent", "Content".
- Type string
- Available values: "PromptTopic", "General".
- Description string
- For
type: PromptTopic: A customer-facing explanation of what this predefined AI prompt topic represents. - Topic
Type string - Available values: "Intent", "Content".
- Type string
- Available values: "PromptTopic", "General".
- description string
- For
type: PromptTopic: A customer-facing explanation of what this predefined AI prompt topic represents. - topic_
type string - Available values: "Intent", "Content".
- type string
- Available values: "PromptTopic", "General".
- description String
- For
type: PromptTopic: A customer-facing explanation of what this predefined AI prompt topic represents. - topic
Type String - Available values: "Intent", "Content".
- type String
- Available values: "PromptTopic", "General".
- description string
- For
type: PromptTopic: A customer-facing explanation of what this predefined AI prompt topic represents. - topic
Type string - Available values: "Intent", "Content".
- type string
- Available values: "PromptTopic", "General".
- description str
- For
type: PromptTopic: A customer-facing explanation of what this predefined AI prompt topic represents. - topic_
type str - Available values: "Intent", "Content".
- type str
- Available values: "PromptTopic", "General".
- description String
- For
type: PromptTopic: A customer-facing explanation of what this predefined AI prompt topic represents. - topic
Type String - Available values: "Intent", "Content".
- type String
- Available values: "PromptTopic", "General".
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.24.0
published on Thursday, Nov 12, 2026 by Pulumi
published on Thursday, Nov 12, 2026 by Pulumi