cloudflare.ZeroTrustDlpPredefinedEntry
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDlpPredefinedEntry = new cloudflare.ZeroTrustDlpPredefinedEntry("example_zero_trust_dlp_predefined_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_predefined_entry = cloudflare.ZeroTrustDlpPredefinedEntry("example_zero_trust_dlp_predefined_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.NewZeroTrustDlpPredefinedEntry(ctx, "example_zero_trust_dlp_predefined_entry", &cloudflare.ZeroTrustDlpPredefinedEntryArgs{
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 exampleZeroTrustDlpPredefinedEntry = new Cloudflare.ZeroTrustDlpPredefinedEntry("example_zero_trust_dlp_predefined_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.ZeroTrustDlpPredefinedEntry;
import com.pulumi.cloudflare.ZeroTrustDlpPredefinedEntryArgs;
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 exampleZeroTrustDlpPredefinedEntry = new ZeroTrustDlpPredefinedEntry("exampleZeroTrustDlpPredefinedEntry", ZeroTrustDlpPredefinedEntryArgs.builder()
.accountId("account_id")
.enabled(true)
.entryId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.profileId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.build());
}
}
resources:
exampleZeroTrustDlpPredefinedEntry:
type: cloudflare:ZeroTrustDlpPredefinedEntry
name: example_zero_trust_dlp_predefined_entry
properties:
accountId: account_id
enabled: true
entryId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
profileId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
Create ZeroTrustDlpPredefinedEntry Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZeroTrustDlpPredefinedEntry(name: string, args: ZeroTrustDlpPredefinedEntryArgs, opts?: CustomResourceOptions);
@overload
def ZeroTrustDlpPredefinedEntry(resource_name: str,
args: ZeroTrustDlpPredefinedEntryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ZeroTrustDlpPredefinedEntry(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 NewZeroTrustDlpPredefinedEntry(ctx *Context, name string, args ZeroTrustDlpPredefinedEntryArgs, opts ...ResourceOption) (*ZeroTrustDlpPredefinedEntry, error)
public ZeroTrustDlpPredefinedEntry(string name, ZeroTrustDlpPredefinedEntryArgs args, CustomResourceOptions? opts = null)
public ZeroTrustDlpPredefinedEntry(String name, ZeroTrustDlpPredefinedEntryArgs args)
public ZeroTrustDlpPredefinedEntry(String name, ZeroTrustDlpPredefinedEntryArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustDlpPredefinedEntry
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 ZeroTrustDlpPredefinedEntryArgs
- 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 ZeroTrustDlpPredefinedEntryArgs
- 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 ZeroTrustDlpPredefinedEntryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZeroTrustDlpPredefinedEntryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZeroTrustDlpPredefinedEntryArgs
- 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 zeroTrustDlpPredefinedEntryResource = new Cloudflare.ZeroTrustDlpPredefinedEntry("zeroTrustDlpPredefinedEntryResource", new()
{
AccountId = "string",
Enabled = false,
EntryId = "string",
ProfileId = "string",
});
example, err := cloudflare.NewZeroTrustDlpPredefinedEntry(ctx, "zeroTrustDlpPredefinedEntryResource", &cloudflare.ZeroTrustDlpPredefinedEntryArgs{
AccountId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
EntryId: pulumi.String("string"),
ProfileId: pulumi.String("string"),
})
var zeroTrustDlpPredefinedEntryResource = new ZeroTrustDlpPredefinedEntry("zeroTrustDlpPredefinedEntryResource", ZeroTrustDlpPredefinedEntryArgs.builder()
.accountId("string")
.enabled(false)
.entryId("string")
.profileId("string")
.build());
zero_trust_dlp_predefined_entry_resource = cloudflare.ZeroTrustDlpPredefinedEntry("zeroTrustDlpPredefinedEntryResource",
account_id="string",
enabled=False,
entry_id="string",
profile_id="string")
const zeroTrustDlpPredefinedEntryResource = new cloudflare.ZeroTrustDlpPredefinedEntry("zeroTrustDlpPredefinedEntryResource", {
accountId: "string",
enabled: false,
entryId: "string",
profileId: "string",
});
type: cloudflare:ZeroTrustDlpPredefinedEntry
properties:
accountId: string
enabled: false
entryId: string
profileId: string
ZeroTrustDlpPredefinedEntry 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 ZeroTrustDlpPredefinedEntry resource accepts the following input properties:
- 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
Outputs
All input properties are implicitly available as output properties. Additionally, the ZeroTrustDlpPredefinedEntry resource produces the following output properties:
- Case
Sensitive bool - 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
Zero
Trust Dlp Predefined Entry Confidence - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Pattern
Zero
Trust Dlp Predefined Entry Pattern - Secret bool
- Type string
- Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", "word_list".
- Updated
At string - Variant
Zero
Trust Dlp Predefined Entry Variant - Word
List string
- Case
Sensitive bool - 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
Zero
Trust Dlp Predefined Entry Confidence - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Pattern
Zero
Trust Dlp Predefined Entry Pattern - Secret bool
- Type string
- Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", "word_list".
- Updated
At string - Variant
Zero
Trust Dlp Predefined Entry Variant - Word
List string
- case
Sensitive Boolean - 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
Zero
Trust Dlp Predefined Entry Confidence - created
At String - id String
- The provider-assigned unique ID for this managed resource.
- name String
- pattern
Zero
Trust Dlp Predefined Entry Pattern - secret Boolean
- type String
- Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", "word_list".
- updated
At String - variant
Zero
Trust Dlp Predefined Entry Variant - word
List String
- case
Sensitive boolean - 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
Zero
Trust Dlp Predefined Entry Confidence - created
At string - id string
- The provider-assigned unique ID for this managed resource.
- name string
- pattern
Zero
Trust Dlp Predefined Entry Pattern - secret boolean
- type string
- Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", "word_list".
- updated
At string - variant
Zero
Trust Dlp Predefined Entry Variant - word
List string
- case_
sensitive bool - 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
Zero
Trust Dlp Predefined Entry Confidence - created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- name str
- pattern
Zero
Trust Dlp Predefined Entry Pattern - secret bool
- type str
- Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", "word_list".
- updated_
at str - variant
Zero
Trust Dlp Predefined Entry Variant - word_
list str
- case
Sensitive Boolean - 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 - id String
- The provider-assigned unique ID for this managed resource.
- name String
- pattern Property Map
- secret Boolean
- type String
- Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", "word_list".
- updated
At String - variant Property Map
- word
List String
Look up Existing ZeroTrustDlpPredefinedEntry Resource
Get an existing ZeroTrustDlpPredefinedEntry 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?: ZeroTrustDlpPredefinedEntryState, opts?: CustomResourceOptions): ZeroTrustDlpPredefinedEntry
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
case_sensitive: Optional[bool] = None,
confidence: Optional[ZeroTrustDlpPredefinedEntryConfidenceArgs] = None,
created_at: Optional[str] = None,
enabled: Optional[bool] = None,
entry_id: Optional[str] = None,
name: Optional[str] = None,
pattern: Optional[ZeroTrustDlpPredefinedEntryPatternArgs] = None,
profile_id: Optional[str] = None,
secret: Optional[bool] = None,
type: Optional[str] = None,
updated_at: Optional[str] = None,
variant: Optional[ZeroTrustDlpPredefinedEntryVariantArgs] = None,
word_list: Optional[str] = None) -> ZeroTrustDlpPredefinedEntry
func GetZeroTrustDlpPredefinedEntry(ctx *Context, name string, id IDInput, state *ZeroTrustDlpPredefinedEntryState, opts ...ResourceOption) (*ZeroTrustDlpPredefinedEntry, error)
public static ZeroTrustDlpPredefinedEntry Get(string name, Input<string> id, ZeroTrustDlpPredefinedEntryState? state, CustomResourceOptions? opts = null)
public static ZeroTrustDlpPredefinedEntry get(String name, Output<String> id, ZeroTrustDlpPredefinedEntryState state, CustomResourceOptions options)
resources: _: type: cloudflare:ZeroTrustDlpPredefinedEntry 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.
- Account
Id string - Case
Sensitive bool - 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
Zero
Trust Dlp Predefined Entry Confidence - Created
At string - Enabled bool
- Entry
Id string - Name string
- Pattern
Zero
Trust Dlp Predefined Entry Pattern - Profile
Id string - This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
- Secret bool
- Type string
- Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", "word_list".
- Updated
At string - Variant
Zero
Trust Dlp Predefined Entry Variant - Word
List string
- Account
Id string - Case
Sensitive bool - 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
Zero
Trust Dlp Predefined Entry Confidence Args - Created
At string - Enabled bool
- Entry
Id string - Name string
- Pattern
Zero
Trust Dlp Predefined Entry Pattern Args - Profile
Id string - This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
- Secret bool
- Type string
- Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", "word_list".
- Updated
At string - Variant
Zero
Trust Dlp Predefined Entry Variant Args - Word
List string
- account
Id String - case
Sensitive Boolean - 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
Zero
Trust Dlp Predefined Entry Confidence - created
At String - enabled Boolean
- entry
Id String - name String
- pattern
Zero
Trust Dlp Predefined Entry Pattern - profile
Id String - This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
- secret Boolean
- type String
- Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", "word_list".
- updated
At String - variant
Zero
Trust Dlp Predefined Entry Variant - word
List String
- account
Id string - case
Sensitive boolean - 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
Zero
Trust Dlp Predefined Entry Confidence - created
At string - enabled boolean
- entry
Id string - name string
- pattern
Zero
Trust Dlp Predefined Entry Pattern - profile
Id string - This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
- secret boolean
- type string
- Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", "word_list".
- updated
At string - variant
Zero
Trust Dlp Predefined Entry Variant - word
List string
- account_
id str - case_
sensitive bool - 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
Zero
Trust Dlp Predefined Entry Confidence Args - created_
at str - enabled bool
- entry_
id str - name str
- pattern
Zero
Trust Dlp Predefined Entry Pattern Args - profile_
id str - This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
- secret bool
- type str
- Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", "word_list".
- updated_
at str - variant
Zero
Trust Dlp Predefined Entry Variant Args - word_
list str
- account
Id String - case
Sensitive Boolean - 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 - enabled Boolean
- entry
Id String - name String
- pattern Property Map
- profile
Id String - This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
- secret Boolean
- type String
- Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint", "word_list".
- updated
At String - variant Property Map
- word
List String
Supporting Types
ZeroTrustDlpPredefinedEntryConfidence, ZeroTrustDlpPredefinedEntryConfidenceArgs
- 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.
ZeroTrustDlpPredefinedEntryPattern, ZeroTrustDlpPredefinedEntryPatternArgs
- 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".
ZeroTrustDlpPredefinedEntryVariant, ZeroTrustDlpPredefinedEntryVariantArgs
- Description string
- Topic
Type string - Available values: "Intent", "Content".
- Type string
- Available values: "PromptTopic".
- Description string
- Topic
Type string - Available values: "Intent", "Content".
- Type string
- Available values: "PromptTopic".
- description String
- topic
Type String - Available values: "Intent", "Content".
- type String
- Available values: "PromptTopic".
- description string
- topic
Type string - Available values: "Intent", "Content".
- type string
- Available values: "PromptTopic".
- description str
- topic_
type str - Available values: "Intent", "Content".
- type str
- Available values: "PromptTopic".
- description String
- topic
Type String - Available values: "Intent", "Content".
- type String
- Available values: "PromptTopic".
Import
$ pulumi import cloudflare:index/zeroTrustDlpPredefinedEntry:ZeroTrustDlpPredefinedEntry example '<account_id>/<entry_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.