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 exampleZeroTrustDlpDataTagCategory = new cloudflare.ZeroTrustDlpDataTagCategory("example_zero_trust_dlp_data_tag_category", {
accountId: "account_id",
name: "name",
description: "description",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_dlp_data_tag_category = cloudflare.ZeroTrustDlpDataTagCategory("example_zero_trust_dlp_data_tag_category",
account_id="account_id",
name="name",
description="description")
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.NewZeroTrustDlpDataTagCategory(ctx, "example_zero_trust_dlp_data_tag_category", &cloudflare.ZeroTrustDlpDataTagCategoryArgs{
AccountId: pulumi.String("account_id"),
Name: pulumi.String("name"),
Description: pulumi.String("description"),
})
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 exampleZeroTrustDlpDataTagCategory = new Cloudflare.ZeroTrustDlpDataTagCategory("example_zero_trust_dlp_data_tag_category", new()
{
AccountId = "account_id",
Name = "name",
Description = "description",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ZeroTrustDlpDataTagCategory;
import com.pulumi.cloudflare.ZeroTrustDlpDataTagCategoryArgs;
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 exampleZeroTrustDlpDataTagCategory = new ZeroTrustDlpDataTagCategory("exampleZeroTrustDlpDataTagCategory", ZeroTrustDlpDataTagCategoryArgs.builder()
.accountId("account_id")
.name("name")
.description("description")
.build());
}
}
resources:
exampleZeroTrustDlpDataTagCategory:
type: cloudflare:ZeroTrustDlpDataTagCategory
name: example_zero_trust_dlp_data_tag_category
properties:
accountId: account_id
name: name
description: description
pulumi {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
resource "cloudflare_zerotrustdlpdatatagcategory" "example_zero_trust_dlp_data_tag_category" {
account_id = "account_id"
name = "name"
description = "description"
}
Create ZeroTrustDlpDataTagCategory Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZeroTrustDlpDataTagCategory(name: string, args: ZeroTrustDlpDataTagCategoryArgs, opts?: CustomResourceOptions);@overload
def ZeroTrustDlpDataTagCategory(resource_name: str,
args: ZeroTrustDlpDataTagCategoryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ZeroTrustDlpDataTagCategory(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None)func NewZeroTrustDlpDataTagCategory(ctx *Context, name string, args ZeroTrustDlpDataTagCategoryArgs, opts ...ResourceOption) (*ZeroTrustDlpDataTagCategory, error)public ZeroTrustDlpDataTagCategory(string name, ZeroTrustDlpDataTagCategoryArgs args, CustomResourceOptions? opts = null)
public ZeroTrustDlpDataTagCategory(String name, ZeroTrustDlpDataTagCategoryArgs args)
public ZeroTrustDlpDataTagCategory(String name, ZeroTrustDlpDataTagCategoryArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustDlpDataTagCategory
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "cloudflare_zero_trust_dlp_data_tag_category" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ZeroTrustDlpDataTagCategoryArgs
- 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 ZeroTrustDlpDataTagCategoryArgs
- 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 ZeroTrustDlpDataTagCategoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZeroTrustDlpDataTagCategoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZeroTrustDlpDataTagCategoryArgs
- 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 zeroTrustDlpDataTagCategoryResource = new Cloudflare.ZeroTrustDlpDataTagCategory("zeroTrustDlpDataTagCategoryResource", new()
{
AccountId = "string",
Name = "string",
Description = "string",
});
example, err := cloudflare.NewZeroTrustDlpDataTagCategory(ctx, "zeroTrustDlpDataTagCategoryResource", &cloudflare.ZeroTrustDlpDataTagCategoryArgs{
AccountId: pulumi.String("string"),
Name: pulumi.String("string"),
Description: pulumi.String("string"),
})
resource "cloudflare_zero_trust_dlp_data_tag_category" "zeroTrustDlpDataTagCategoryResource" {
lifecycle {
create_before_destroy = true
}
account_id = "string"
name = "string"
description = "string"
}
var zeroTrustDlpDataTagCategoryResource = new ZeroTrustDlpDataTagCategory("zeroTrustDlpDataTagCategoryResource", ZeroTrustDlpDataTagCategoryArgs.builder()
.accountId("string")
.name("string")
.description("string")
.build());
zero_trust_dlp_data_tag_category_resource = cloudflare.ZeroTrustDlpDataTagCategory("zeroTrustDlpDataTagCategoryResource",
account_id="string",
name="string",
description="string")
const zeroTrustDlpDataTagCategoryResource = new cloudflare.ZeroTrustDlpDataTagCategory("zeroTrustDlpDataTagCategoryResource", {
accountId: "string",
name: "string",
description: "string",
});
type: cloudflare:ZeroTrustDlpDataTagCategory
properties:
accountId: string
description: string
name: string
ZeroTrustDlpDataTagCategory 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 ZeroTrustDlpDataTagCategory resource accepts the following input properties:
- Account
Id string - Name string
- Description string
- Account
Id string - Name string
- Description string
- account_
id string - name string
- description string
- account
Id String - name String
- description String
- account
Id string - name string
- description string
- account_
id str - name str
- description str
- account
Id String - name String
- description String
Outputs
All input properties are implicitly available as output properties. Additionally, the ZeroTrustDlpDataTagCategory resource produces the following output properties:
- Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
-
List<Zero
Trust Dlp Data Tag Category Tag> - Template
Id string - Updated
At string
- Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
-
[]Zero
Trust Dlp Data Tag Category Tag - Template
Id string - Updated
At string
- created_
at string - id string
- The provider-assigned unique ID for this managed resource.
- list(object)
- template_
id string - updated_
at string
- created
At String - id String
- The provider-assigned unique ID for this managed resource.
-
List<Zero
Trust Dlp Data Tag Category Tag> - template
Id String - updated
At String
- created
At string - id string
- The provider-assigned unique ID for this managed resource.
-
Zero
Trust Dlp Data Tag Category Tag[] - template
Id string - updated
At string
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
-
Sequence[Zero
Trust Dlp Data Tag Category Tag] - template_
id str - updated_
at str
- created
At String - id String
- The provider-assigned unique ID for this managed resource.
- List<Property Map>
- template
Id String - updated
At String
Look up Existing ZeroTrustDlpDataTagCategory Resource
Get an existing ZeroTrustDlpDataTagCategory 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?: ZeroTrustDlpDataTagCategoryState, opts?: CustomResourceOptions): ZeroTrustDlpDataTagCategory@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[ZeroTrustDlpDataTagCategoryTagArgs]] = None,
template_id: Optional[str] = None,
updated_at: Optional[str] = None) -> ZeroTrustDlpDataTagCategoryfunc GetZeroTrustDlpDataTagCategory(ctx *Context, name string, id IDInput, state *ZeroTrustDlpDataTagCategoryState, opts ...ResourceOption) (*ZeroTrustDlpDataTagCategory, error)public static ZeroTrustDlpDataTagCategory Get(string name, Input<string> id, ZeroTrustDlpDataTagCategoryState? state, CustomResourceOptions? opts = null)public static ZeroTrustDlpDataTagCategory get(String name, Output<String> id, ZeroTrustDlpDataTagCategoryState state, CustomResourceOptions options)resources: _: type: cloudflare:ZeroTrustDlpDataTagCategory get: id: ${id}import {
to = cloudflare_zero_trust_dlp_data_tag_category.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 - Created
At string - Description string
- Name string
-
List<Zero
Trust Dlp Data Tag Category Tag> - Template
Id string - Updated
At string
- Account
Id string - Created
At string - Description string
- Name string
-
[]Zero
Trust Dlp Data Tag Category Tag Args - Template
Id string - Updated
At string
- account_
id string - created_
at string - description string
- name string
- list(object)
- template_
id string - updated_
at string
- account
Id String - created
At String - description String
- name String
-
List<Zero
Trust Dlp Data Tag Category Tag> - template
Id String - updated
At String
- account
Id string - created
At string - description string
- name string
-
Zero
Trust Dlp Data Tag Category Tag[] - template
Id string - updated
At string
- account_
id str - created_
at str - description str
- name str
-
Sequence[Zero
Trust Dlp Data Tag Category Tag Args] - template_
id str - updated_
at str
- account
Id String - created
At String - description String
- name String
- List<Property Map>
- template
Id String - updated
At String
Supporting Types
ZeroTrustDlpDataTagCategoryTag, ZeroTrustDlpDataTagCategoryTagArgs
- Created
At string - Description string
- Id string
- Name string
- Updated
At string
- Created
At string - Description string
- Id string
- Name string
- Updated
At string
- created_
at string - description string
- id string
- name string
- updated_
at string
- created
At String - description String
- id String
- name String
- updated
At String
- created
At string - description string
- id string
- name string
- updated
At string
- created_
at str - description str
- id str
- name str
- updated_
at str
- created
At String - description String
- id String
- name String
- updated
At String
Import
$ pulumi import cloudflare:index/zeroTrustDlpDataTagCategory:ZeroTrustDlpDataTagCategory example '<account_id>/<category_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