1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustDlpEntry
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getZeroTrustDlpEntry

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    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:

    AccountId string
    EntryId string
    AccountId string
    EntryId string
    accountId String
    entryId String
    accountId string
    entryId string
    accountId String
    entryId String

    getZeroTrustDlpEntry Result

    The following output properties are available:

    AccountId string
    Confidence GetZeroTrustDlpEntryConfidence
    CreatedAt string
    Enabled bool
    Id string
    The ID of this resource.
    Name string
    Pattern GetZeroTrustDlpEntryPattern
    ProfileId string
    Secret bool
    Type string
    Available values: "custom".
    UpdatedAt string
    WordList string
    EntryId string
    AccountId string
    Confidence GetZeroTrustDlpEntryConfidence
    CreatedAt string
    Enabled bool
    Id string
    The ID of this resource.
    Name string
    Pattern GetZeroTrustDlpEntryPattern
    ProfileId string
    Secret bool
    Type string
    Available values: "custom".
    UpdatedAt string
    WordList string
    EntryId string
    accountId String
    confidence GetZeroTrustDlpEntryConfidence
    createdAt String
    enabled Boolean
    id String
    The ID of this resource.
    name String
    pattern GetZeroTrustDlpEntryPattern
    profileId String
    secret Boolean
    type String
    Available values: "custom".
    updatedAt String
    wordList String
    entryId String
    accountId string
    confidence GetZeroTrustDlpEntryConfidence
    createdAt string
    enabled boolean
    id string
    The ID of this resource.
    name string
    pattern GetZeroTrustDlpEntryPattern
    profileId string
    secret boolean
    type string
    Available values: "custom".
    updatedAt string
    wordList string
    entryId string
    accountId String
    confidence Property Map
    createdAt String
    enabled Boolean
    id String
    The ID of this resource.
    name String
    pattern Property Map
    profileId String
    secret Boolean
    type String
    Available values: "custom".
    updatedAt String
    wordList String
    entryId String

    Supporting Types

    GetZeroTrustDlpEntryConfidence

    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

    GetZeroTrustDlpEntryPattern

    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.1.2 published on Monday, Apr 28, 2025 by Pulumi