published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Accepted Permissions
Zero Trust ReadZero Trust Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDlpSensitivityLevelOrder = new cloudflare.ZeroTrustDlpSensitivityLevelOrder("example_zero_trust_dlp_sensitivity_level_order", {
accountId: "account_id",
sensitivityGroupId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
levelIds: ["182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"],
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_dlp_sensitivity_level_order = cloudflare.ZeroTrustDlpSensitivityLevelOrder("example_zero_trust_dlp_sensitivity_level_order",
account_id="account_id",
sensitivity_group_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
level_ids=["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.NewZeroTrustDlpSensitivityLevelOrder(ctx, "example_zero_trust_dlp_sensitivity_level_order", &cloudflare.ZeroTrustDlpSensitivityLevelOrderArgs{
AccountId: pulumi.String("account_id"),
SensitivityGroupId: pulumi.String("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
LevelIds: pulumi.StringArray{
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 exampleZeroTrustDlpSensitivityLevelOrder = new Cloudflare.ZeroTrustDlpSensitivityLevelOrder("example_zero_trust_dlp_sensitivity_level_order", new()
{
AccountId = "account_id",
SensitivityGroupId = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
LevelIds = new[]
{
"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.ZeroTrustDlpSensitivityLevelOrder;
import com.pulumi.cloudflare.ZeroTrustDlpSensitivityLevelOrderArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 exampleZeroTrustDlpSensitivityLevelOrder = new ZeroTrustDlpSensitivityLevelOrder("exampleZeroTrustDlpSensitivityLevelOrder", ZeroTrustDlpSensitivityLevelOrderArgs.builder()
.accountId("account_id")
.sensitivityGroupId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.levelIds("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.build());
}
}
resources:
exampleZeroTrustDlpSensitivityLevelOrder:
type: cloudflare:ZeroTrustDlpSensitivityLevelOrder
name: example_zero_trust_dlp_sensitivity_level_order
properties:
accountId: account_id
sensitivityGroupId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
levelIds:
- 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
pulumi {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
resource "cloudflare_zerotrustdlpsensitivitylevelorder" "example_zero_trust_dlp_sensitivity_level_order" {
account_id = "account_id"
sensitivity_group_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
level_ids = ["182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"]
}
Create ZeroTrustDlpSensitivityLevelOrder Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZeroTrustDlpSensitivityLevelOrder(name: string, args: ZeroTrustDlpSensitivityLevelOrderArgs, opts?: CustomResourceOptions);@overload
def ZeroTrustDlpSensitivityLevelOrder(resource_name: str,
args: ZeroTrustDlpSensitivityLevelOrderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ZeroTrustDlpSensitivityLevelOrder(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
level_ids: Optional[Sequence[str]] = None,
sensitivity_group_id: Optional[str] = None)func NewZeroTrustDlpSensitivityLevelOrder(ctx *Context, name string, args ZeroTrustDlpSensitivityLevelOrderArgs, opts ...ResourceOption) (*ZeroTrustDlpSensitivityLevelOrder, error)public ZeroTrustDlpSensitivityLevelOrder(string name, ZeroTrustDlpSensitivityLevelOrderArgs args, CustomResourceOptions? opts = null)
public ZeroTrustDlpSensitivityLevelOrder(String name, ZeroTrustDlpSensitivityLevelOrderArgs args)
public ZeroTrustDlpSensitivityLevelOrder(String name, ZeroTrustDlpSensitivityLevelOrderArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustDlpSensitivityLevelOrder
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "cloudflare_zero_trust_dlp_sensitivity_level_order" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ZeroTrustDlpSensitivityLevelOrderArgs
- 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 ZeroTrustDlpSensitivityLevelOrderArgs
- 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 ZeroTrustDlpSensitivityLevelOrderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZeroTrustDlpSensitivityLevelOrderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZeroTrustDlpSensitivityLevelOrderArgs
- 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 zeroTrustDlpSensitivityLevelOrderResource = new Cloudflare.ZeroTrustDlpSensitivityLevelOrder("zeroTrustDlpSensitivityLevelOrderResource", new()
{
AccountId = "string",
LevelIds = new[]
{
"string",
},
SensitivityGroupId = "string",
});
example, err := cloudflare.NewZeroTrustDlpSensitivityLevelOrder(ctx, "zeroTrustDlpSensitivityLevelOrderResource", &cloudflare.ZeroTrustDlpSensitivityLevelOrderArgs{
AccountId: pulumi.String("string"),
LevelIds: pulumi.StringArray{
pulumi.String("string"),
},
SensitivityGroupId: pulumi.String("string"),
})
resource "cloudflare_zero_trust_dlp_sensitivity_level_order" "zeroTrustDlpSensitivityLevelOrderResource" {
lifecycle {
create_before_destroy = true
}
account_id = "string"
level_ids = ["string"]
sensitivity_group_id = "string"
}
var zeroTrustDlpSensitivityLevelOrderResource = new ZeroTrustDlpSensitivityLevelOrder("zeroTrustDlpSensitivityLevelOrderResource", ZeroTrustDlpSensitivityLevelOrderArgs.builder()
.accountId("string")
.levelIds("string")
.sensitivityGroupId("string")
.build());
zero_trust_dlp_sensitivity_level_order_resource = cloudflare.ZeroTrustDlpSensitivityLevelOrder("zeroTrustDlpSensitivityLevelOrderResource",
account_id="string",
level_ids=["string"],
sensitivity_group_id="string")
const zeroTrustDlpSensitivityLevelOrderResource = new cloudflare.ZeroTrustDlpSensitivityLevelOrder("zeroTrustDlpSensitivityLevelOrderResource", {
accountId: "string",
levelIds: ["string"],
sensitivityGroupId: "string",
});
type: cloudflare:ZeroTrustDlpSensitivityLevelOrder
properties:
accountId: string
levelIds:
- string
sensitivityGroupId: string
ZeroTrustDlpSensitivityLevelOrder 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 ZeroTrustDlpSensitivityLevelOrder resource accepts the following input properties:
- Account
Id string - Level
Ids List<string> - Sensitivity
Group stringId
- Account
Id string - Level
Ids []string - Sensitivity
Group stringId
- account_
id string - level_
ids list(string) - sensitivity_
group_ stringid
- account
Id String - level
Ids List<String> - sensitivity
Group StringId
- account
Id string - level
Ids string[] - sensitivity
Group stringId
- account_
id str - level_
ids Sequence[str] - sensitivity_
group_ strid
- account
Id String - level
Ids List<String> - sensitivity
Group StringId
Outputs
All input properties are implicitly available as output properties. Additionally, the ZeroTrustDlpSensitivityLevelOrder resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ZeroTrustDlpSensitivityLevelOrder Resource
Get an existing ZeroTrustDlpSensitivityLevelOrder 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?: ZeroTrustDlpSensitivityLevelOrderState, opts?: CustomResourceOptions): ZeroTrustDlpSensitivityLevelOrder@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
level_ids: Optional[Sequence[str]] = None,
sensitivity_group_id: Optional[str] = None) -> ZeroTrustDlpSensitivityLevelOrderfunc GetZeroTrustDlpSensitivityLevelOrder(ctx *Context, name string, id IDInput, state *ZeroTrustDlpSensitivityLevelOrderState, opts ...ResourceOption) (*ZeroTrustDlpSensitivityLevelOrder, error)public static ZeroTrustDlpSensitivityLevelOrder Get(string name, Input<string> id, ZeroTrustDlpSensitivityLevelOrderState? state, CustomResourceOptions? opts = null)public static ZeroTrustDlpSensitivityLevelOrder get(String name, Output<String> id, ZeroTrustDlpSensitivityLevelOrderState state, CustomResourceOptions options)resources: _: type: cloudflare:ZeroTrustDlpSensitivityLevelOrder get: id: ${id}import {
to = cloudflare_zero_trust_dlp_sensitivity_level_order.example
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 - Level
Ids List<string> - Sensitivity
Group stringId
- Account
Id string - Level
Ids []string - Sensitivity
Group stringId
- account_
id string - level_
ids list(string) - sensitivity_
group_ stringid
- account
Id String - level
Ids List<String> - sensitivity
Group StringId
- account
Id string - level
Ids string[] - sensitivity
Group stringId
- account_
id str - level_
ids Sequence[str] - sensitivity_
group_ strid
- account
Id String - level
Ids List<String> - sensitivity
Group StringId
Import
$ pulumi import cloudflare:index/zeroTrustDlpSensitivityLevelOrder:ZeroTrustDlpSensitivityLevelOrder example '<account_id>/<sensitivity_group_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
cloudflareTerraform Provider.
published on Thursday, Jul 16, 2026 by Pulumi