1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. ZeroTrustDlpIntegrationEntry
Cloudflare v6.5.0 published on Thursday, Aug 14, 2025 by Pulumi

cloudflare.ZeroTrustDlpIntegrationEntry

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.5.0 published on Thursday, Aug 14, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustDlpIntegrationEntry = new cloudflare.ZeroTrustDlpIntegrationEntry("example_zero_trust_dlp_integration_entry", {
        accountId: "account_id",
        enabled: true,
        entryId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
        profileId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_dlp_integration_entry = cloudflare.ZeroTrustDlpIntegrationEntry("example_zero_trust_dlp_integration_entry",
        account_id="account_id",
        enabled=True,
        entry_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
        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.NewZeroTrustDlpIntegrationEntry(ctx, "example_zero_trust_dlp_integration_entry", &cloudflare.ZeroTrustDlpIntegrationEntryArgs{
    			AccountId: pulumi.String("account_id"),
    			Enabled:   pulumi.Bool(true),
    			EntryId:   pulumi.String("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
    			ProfileId: pulumi.String("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
    		})
    		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 exampleZeroTrustDlpIntegrationEntry = new Cloudflare.ZeroTrustDlpIntegrationEntry("example_zero_trust_dlp_integration_entry", new()
        {
            AccountId = "account_id",
            Enabled = true,
            EntryId = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            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.ZeroTrustDlpIntegrationEntry;
    import com.pulumi.cloudflare.ZeroTrustDlpIntegrationEntryArgs;
    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) {
            var exampleZeroTrustDlpIntegrationEntry = new ZeroTrustDlpIntegrationEntry("exampleZeroTrustDlpIntegrationEntry", ZeroTrustDlpIntegrationEntryArgs.builder()
                .accountId("account_id")
                .enabled(true)
                .entryId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
                .profileId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
                .build());
    
        }
    }
    
    resources:
      exampleZeroTrustDlpIntegrationEntry:
        type: cloudflare:ZeroTrustDlpIntegrationEntry
        name: example_zero_trust_dlp_integration_entry
        properties:
          accountId: account_id
          enabled: true
          entryId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
          profileId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
    

    Create ZeroTrustDlpIntegrationEntry Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ZeroTrustDlpIntegrationEntry(name: string, args: ZeroTrustDlpIntegrationEntryArgs, opts?: CustomResourceOptions);
    @overload
    def ZeroTrustDlpIntegrationEntry(resource_name: str,
                                     args: ZeroTrustDlpIntegrationEntryArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ZeroTrustDlpIntegrationEntry(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     account_id: Optional[str] = None,
                                     enabled: Optional[bool] = None,
                                     entry_id: Optional[str] = None,
                                     profile_id: Optional[str] = None)
    func NewZeroTrustDlpIntegrationEntry(ctx *Context, name string, args ZeroTrustDlpIntegrationEntryArgs, opts ...ResourceOption) (*ZeroTrustDlpIntegrationEntry, error)
    public ZeroTrustDlpIntegrationEntry(string name, ZeroTrustDlpIntegrationEntryArgs args, CustomResourceOptions? opts = null)
    public ZeroTrustDlpIntegrationEntry(String name, ZeroTrustDlpIntegrationEntryArgs args)
    public ZeroTrustDlpIntegrationEntry(String name, ZeroTrustDlpIntegrationEntryArgs args, CustomResourceOptions options)
    
    type: cloudflare:ZeroTrustDlpIntegrationEntry
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ZeroTrustDlpIntegrationEntryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ZeroTrustDlpIntegrationEntryArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ZeroTrustDlpIntegrationEntryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZeroTrustDlpIntegrationEntryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ZeroTrustDlpIntegrationEntryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var zeroTrustDlpIntegrationEntryResource = new Cloudflare.ZeroTrustDlpIntegrationEntry("zeroTrustDlpIntegrationEntryResource", new()
    {
        AccountId = "string",
        Enabled = false,
        EntryId = "string",
        ProfileId = "string",
    });
    
    example, err := cloudflare.NewZeroTrustDlpIntegrationEntry(ctx, "zeroTrustDlpIntegrationEntryResource", &cloudflare.ZeroTrustDlpIntegrationEntryArgs{
    	AccountId: pulumi.String("string"),
    	Enabled:   pulumi.Bool(false),
    	EntryId:   pulumi.String("string"),
    	ProfileId: pulumi.String("string"),
    })
    
    var zeroTrustDlpIntegrationEntryResource = new ZeroTrustDlpIntegrationEntry("zeroTrustDlpIntegrationEntryResource", ZeroTrustDlpIntegrationEntryArgs.builder()
        .accountId("string")
        .enabled(false)
        .entryId("string")
        .profileId("string")
        .build());
    
    zero_trust_dlp_integration_entry_resource = cloudflare.ZeroTrustDlpIntegrationEntry("zeroTrustDlpIntegrationEntryResource",
        account_id="string",
        enabled=False,
        entry_id="string",
        profile_id="string")
    
    const zeroTrustDlpIntegrationEntryResource = new cloudflare.ZeroTrustDlpIntegrationEntry("zeroTrustDlpIntegrationEntryResource", {
        accountId: "string",
        enabled: false,
        entryId: "string",
        profileId: "string",
    });
    
    type: cloudflare:ZeroTrustDlpIntegrationEntry
    properties:
        accountId: string
        enabled: false
        entryId: string
        profileId: string
    

    ZeroTrustDlpIntegrationEntry Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ZeroTrustDlpIntegrationEntry resource accepts the following input properties:

    AccountId string
    Enabled bool
    EntryId string
    ProfileId string
    This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
    AccountId string
    Enabled bool
    EntryId string
    ProfileId string
    This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
    accountId String
    enabled Boolean
    entryId String
    profileId String
    This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
    accountId string
    enabled boolean
    entryId string
    profileId string
    This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
    account_id str
    enabled bool
    entry_id str
    profile_id str
    This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
    accountId String
    enabled Boolean
    entryId String
    profileId String
    This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ZeroTrustDlpIntegrationEntry resource produces the following output properties:

    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    UpdatedAt string
    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    UpdatedAt string
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    updatedAt String
    createdAt string
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    updatedAt string
    created_at str
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    updated_at str
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    updatedAt String

    Look up Existing ZeroTrustDlpIntegrationEntry Resource

    Get an existing ZeroTrustDlpIntegrationEntry resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ZeroTrustDlpIntegrationEntryState, opts?: CustomResourceOptions): ZeroTrustDlpIntegrationEntry
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            created_at: Optional[str] = None,
            enabled: Optional[bool] = None,
            entry_id: Optional[str] = None,
            name: Optional[str] = None,
            profile_id: Optional[str] = None,
            updated_at: Optional[str] = None) -> ZeroTrustDlpIntegrationEntry
    func GetZeroTrustDlpIntegrationEntry(ctx *Context, name string, id IDInput, state *ZeroTrustDlpIntegrationEntryState, opts ...ResourceOption) (*ZeroTrustDlpIntegrationEntry, error)
    public static ZeroTrustDlpIntegrationEntry Get(string name, Input<string> id, ZeroTrustDlpIntegrationEntryState? state, CustomResourceOptions? opts = null)
    public static ZeroTrustDlpIntegrationEntry get(String name, Output<String> id, ZeroTrustDlpIntegrationEntryState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:ZeroTrustDlpIntegrationEntry    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    CreatedAt string
    Enabled bool
    EntryId string
    Name string
    ProfileId string
    This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
    UpdatedAt string
    AccountId string
    CreatedAt string
    Enabled bool
    EntryId string
    Name string
    ProfileId string
    This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
    UpdatedAt string
    accountId String
    createdAt String
    enabled Boolean
    entryId String
    name String
    profileId String
    This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
    updatedAt String
    accountId string
    createdAt string
    enabled boolean
    entryId string
    name string
    profileId string
    This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
    updatedAt string
    account_id str
    created_at str
    enabled bool
    entry_id str
    name str
    profile_id str
    This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
    updated_at str
    accountId String
    createdAt String
    enabled Boolean
    entryId String
    name String
    profileId String
    This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
    updatedAt String

    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.5.0 published on Thursday, Aug 14, 2025 by Pulumi