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:
- Confidence
Zero
Trust Dlp Predefined Entry Confidence - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Confidence
Zero
Trust Dlp Predefined Entry Confidence - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- confidence
Zero
Trust Dlp Predefined Entry Confidence - id String
- The provider-assigned unique ID for this managed resource.
- name String
- confidence
Zero
Trust Dlp Predefined Entry Confidence - id string
- The provider-assigned unique ID for this managed resource.
- name string
- confidence
Zero
Trust Dlp Predefined Entry Confidence - id str
- The provider-assigned unique ID for this managed resource.
- name str
- confidence Property Map
- id String
- The provider-assigned unique ID for this managed resource.
- name 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,
confidence: Optional[ZeroTrustDlpPredefinedEntryConfidenceArgs] = None,
enabled: Optional[bool] = None,
entry_id: Optional[str] = None,
name: Optional[str] = None,
profile_id: 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 - Confidence
Zero
Trust Dlp Predefined Entry Confidence - Enabled bool
- Entry
Id string - Name string
- Profile
Id string - This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
- Account
Id string - Confidence
Zero
Trust Dlp Predefined Entry Confidence Args - Enabled bool
- Entry
Id string - Name string
- Profile
Id string - This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
- account
Id String - confidence
Zero
Trust Dlp Predefined Entry Confidence - enabled Boolean
- entry
Id String - name String
- profile
Id String - This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
- account
Id string - confidence
Zero
Trust Dlp Predefined Entry Confidence - enabled boolean
- entry
Id string - name string
- profile
Id 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 - confidence
Zero
Trust Dlp Predefined Entry Confidence Args - 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
- account
Id String - confidence Property Map
- enabled Boolean
- entry
Id String - name String
- profile
Id String - This field is not actually used as the owning profile for a predefined entry is already set to a predefined profile
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.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.