Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getZeroTrustDlpEntry
Explore with Pulumi AI
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.LookupZeroTrustDlpEntry(ctx, &cloudflare.LookupZeroTrustDlpEntryArgs{
AccountId: "account_id",
EntryId: pulumi.StringRef("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.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 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
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?: InvokeOptions): 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: Optional[pulumi.Input[str]] = None,
entry_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = 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 CompletableFuture<GetZeroTrustDlpEntryResult> getZeroTrustDlpEntry(GetZeroTrustDlpEntryArgs args, InvokeOptions options)
public static Output<GetZeroTrustDlpEntryResult> getZeroTrustDlpEntry(GetZeroTrustDlpEntryArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustDlpEntry:getZeroTrustDlpEntry
arguments:
# arguments dictionary
The following arguments are supported:
- account_
id str - entry_
id str
getZeroTrustDlpEntry Result
The following output properties are available:
- Account
Id string - Confidence
Get
Zero Trust Dlp Entry Confidence - Created
At string - Enabled bool
- Id string
- The ID of this resource.
- Name string
- Pattern
Get
Zero Trust Dlp Entry Pattern - Profile
Id string - Secret bool
- Type string
- Available values: "custom".
- Updated
At string - Word
List string - Entry
Id string
- Account
Id string - Confidence
Get
Zero Trust Dlp Entry Confidence - Created
At string - Enabled bool
- Id string
- The ID of this resource.
- Name string
- Pattern
Get
Zero Trust Dlp Entry Pattern - Profile
Id string - Secret bool
- Type string
- Available values: "custom".
- Updated
At string - Word
List string - Entry
Id string
- account
Id String - confidence
Get
Zero Trust Dlp Entry Confidence - created
At String - enabled Boolean
- id String
- The ID of this resource.
- name String
- pattern
Get
Zero Trust Dlp Entry Pattern - profile
Id String - secret Boolean
- type String
- Available values: "custom".
- updated
At String - word
List String - entry
Id String
- account
Id string - confidence
Get
Zero Trust Dlp Entry Confidence - created
At string - enabled boolean
- id string
- The ID of this resource.
- name string
- pattern
Get
Zero Trust Dlp Entry Pattern - profile
Id string - secret boolean
- type string
- Available values: "custom".
- updated
At string - word
List string - entry
Id string
- account_
id str - confidence
Get
Zero Trust Dlp Entry Confidence - created_
at str - enabled bool
- id str
- The ID of this resource.
- name str
- pattern
Get
Zero Trust Dlp Entry Pattern - profile_
id str - secret bool
- type str
- Available values: "custom".
- updated_
at str - word_
list str - entry_
id str
- account
Id String - confidence Property Map
- created
At String - enabled Boolean
- id String
- The ID of this resource.
- name String
- pattern Property Map
- profile
Id String - secret Boolean
- type String
- Available values: "custom".
- updated
At String - word
List String - entry
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 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 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.