1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectDlpDictionaryEntries
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectDlpDictionaryEntries

Explore with Pulumi AI

DLP dictionary entries.

This resource is a sub resource for variable entries of resource fortimanager.ObjectDlpDictionary. Conflict and overwrite may occur if use both of them.

Create ObjectDlpDictionaryEntries Resource

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

Constructor syntax

new ObjectDlpDictionaryEntries(name: string, args: ObjectDlpDictionaryEntriesArgs, opts?: CustomResourceOptions);
@overload
def ObjectDlpDictionaryEntries(resource_name: str,
                               args: ObjectDlpDictionaryEntriesArgs,
                               opts: Optional[ResourceOptions] = None)

@overload
def ObjectDlpDictionaryEntries(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               dictionary: Optional[str] = None,
                               adom: Optional[str] = None,
                               comment: Optional[str] = None,
                               fosid: Optional[float] = None,
                               ignore_case: Optional[str] = None,
                               object_dlp_dictionary_entries_id: Optional[str] = None,
                               pattern: Optional[str] = None,
                               repeat: Optional[str] = None,
                               scopetype: Optional[str] = None,
                               status: Optional[str] = None,
                               type: Optional[str] = None)
func NewObjectDlpDictionaryEntries(ctx *Context, name string, args ObjectDlpDictionaryEntriesArgs, opts ...ResourceOption) (*ObjectDlpDictionaryEntries, error)
public ObjectDlpDictionaryEntries(string name, ObjectDlpDictionaryEntriesArgs args, CustomResourceOptions? opts = null)
public ObjectDlpDictionaryEntries(String name, ObjectDlpDictionaryEntriesArgs args)
public ObjectDlpDictionaryEntries(String name, ObjectDlpDictionaryEntriesArgs args, CustomResourceOptions options)
type: fortimanager:ObjectDlpDictionaryEntries
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ObjectDlpDictionaryEntriesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ObjectDlpDictionaryEntriesArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectDlpDictionaryEntriesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectDlpDictionaryEntriesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectDlpDictionaryEntriesArgs
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 objectDlpDictionaryEntriesResource = new Fortimanager.ObjectDlpDictionaryEntries("objectDlpDictionaryEntriesResource", new()
{
    Dictionary = "string",
    Adom = "string",
    Comment = "string",
    Fosid = 0,
    IgnoreCase = "string",
    ObjectDlpDictionaryEntriesId = "string",
    Pattern = "string",
    Repeat = "string",
    Scopetype = "string",
    Status = "string",
    Type = "string",
});
Copy
example, err := fortimanager.NewObjectDlpDictionaryEntries(ctx, "objectDlpDictionaryEntriesResource", &fortimanager.ObjectDlpDictionaryEntriesArgs{
Dictionary: pulumi.String("string"),
Adom: pulumi.String("string"),
Comment: pulumi.String("string"),
Fosid: pulumi.Float64(0),
IgnoreCase: pulumi.String("string"),
ObjectDlpDictionaryEntriesId: pulumi.String("string"),
Pattern: pulumi.String("string"),
Repeat: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Status: pulumi.String("string"),
Type: pulumi.String("string"),
})
Copy
var objectDlpDictionaryEntriesResource = new ObjectDlpDictionaryEntries("objectDlpDictionaryEntriesResource", ObjectDlpDictionaryEntriesArgs.builder()
    .dictionary("string")
    .adom("string")
    .comment("string")
    .fosid(0)
    .ignoreCase("string")
    .objectDlpDictionaryEntriesId("string")
    .pattern("string")
    .repeat("string")
    .scopetype("string")
    .status("string")
    .type("string")
    .build());
Copy
object_dlp_dictionary_entries_resource = fortimanager.ObjectDlpDictionaryEntries("objectDlpDictionaryEntriesResource",
    dictionary="string",
    adom="string",
    comment="string",
    fosid=0,
    ignore_case="string",
    object_dlp_dictionary_entries_id="string",
    pattern="string",
    repeat="string",
    scopetype="string",
    status="string",
    type="string")
Copy
const objectDlpDictionaryEntriesResource = new fortimanager.ObjectDlpDictionaryEntries("objectDlpDictionaryEntriesResource", {
    dictionary: "string",
    adom: "string",
    comment: "string",
    fosid: 0,
    ignoreCase: "string",
    objectDlpDictionaryEntriesId: "string",
    pattern: "string",
    repeat: "string",
    scopetype: "string",
    status: "string",
    type: "string",
});
Copy
type: fortimanager:ObjectDlpDictionaryEntries
properties:
    adom: string
    comment: string
    dictionary: string
    fosid: 0
    ignoreCase: string
    objectDlpDictionaryEntriesId: string
    pattern: string
    repeat: string
    scopetype: string
    status: string
    type: string
Copy

ObjectDlpDictionaryEntries 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 ObjectDlpDictionaryEntries resource accepts the following input properties:

Dictionary This property is required. string
Dictionary.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Optional comments.
Fosid double
ID.
IgnoreCase string
Enable/disable ignore case. Valid values: disable, enable.
ObjectDlpDictionaryEntriesId string
an identifier for the resource with format {{fosid}}.
Pattern string
Pattern to match.
Repeat string
Enable/disable repeat match. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Status string
Enable/disable this pattern. Valid values: disable, enable.
Type string
Pattern type to match.
Dictionary This property is required. string
Dictionary.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Optional comments.
Fosid float64
ID.
IgnoreCase string
Enable/disable ignore case. Valid values: disable, enable.
ObjectDlpDictionaryEntriesId string
an identifier for the resource with format {{fosid}}.
Pattern string
Pattern to match.
Repeat string
Enable/disable repeat match. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Status string
Enable/disable this pattern. Valid values: disable, enable.
Type string
Pattern type to match.
dictionary This property is required. String
Dictionary.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Optional comments.
fosid Double
ID.
ignoreCase String
Enable/disable ignore case. Valid values: disable, enable.
objectDlpDictionaryEntriesId String
an identifier for the resource with format {{fosid}}.
pattern String
Pattern to match.
repeat String
Enable/disable repeat match. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status String
Enable/disable this pattern. Valid values: disable, enable.
type String
Pattern type to match.
dictionary This property is required. string
Dictionary.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Optional comments.
fosid number
ID.
ignoreCase string
Enable/disable ignore case. Valid values: disable, enable.
objectDlpDictionaryEntriesId string
an identifier for the resource with format {{fosid}}.
pattern string
Pattern to match.
repeat string
Enable/disable repeat match. Valid values: disable, enable.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status string
Enable/disable this pattern. Valid values: disable, enable.
type string
Pattern type to match.
dictionary This property is required. str
Dictionary.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Optional comments.
fosid float
ID.
ignore_case str
Enable/disable ignore case. Valid values: disable, enable.
object_dlp_dictionary_entries_id str
an identifier for the resource with format {{fosid}}.
pattern str
Pattern to match.
repeat str
Enable/disable repeat match. Valid values: disable, enable.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status str
Enable/disable this pattern. Valid values: disable, enable.
type str
Pattern type to match.
dictionary This property is required. String
Dictionary.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Optional comments.
fosid Number
ID.
ignoreCase String
Enable/disable ignore case. Valid values: disable, enable.
objectDlpDictionaryEntriesId String
an identifier for the resource with format {{fosid}}.
pattern String
Pattern to match.
repeat String
Enable/disable repeat match. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status String
Enable/disable this pattern. Valid values: disable, enable.
type String
Pattern type to match.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectDlpDictionaryEntries 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 str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ObjectDlpDictionaryEntries Resource

Get an existing ObjectDlpDictionaryEntries 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?: ObjectDlpDictionaryEntriesState, opts?: CustomResourceOptions): ObjectDlpDictionaryEntries
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        comment: Optional[str] = None,
        dictionary: Optional[str] = None,
        fosid: Optional[float] = None,
        ignore_case: Optional[str] = None,
        object_dlp_dictionary_entries_id: Optional[str] = None,
        pattern: Optional[str] = None,
        repeat: Optional[str] = None,
        scopetype: Optional[str] = None,
        status: Optional[str] = None,
        type: Optional[str] = None) -> ObjectDlpDictionaryEntries
func GetObjectDlpDictionaryEntries(ctx *Context, name string, id IDInput, state *ObjectDlpDictionaryEntriesState, opts ...ResourceOption) (*ObjectDlpDictionaryEntries, error)
public static ObjectDlpDictionaryEntries Get(string name, Input<string> id, ObjectDlpDictionaryEntriesState? state, CustomResourceOptions? opts = null)
public static ObjectDlpDictionaryEntries get(String name, Output<String> id, ObjectDlpDictionaryEntriesState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectDlpDictionaryEntries    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Optional comments.
Dictionary string
Dictionary.
Fosid double
ID.
IgnoreCase string
Enable/disable ignore case. Valid values: disable, enable.
ObjectDlpDictionaryEntriesId string
an identifier for the resource with format {{fosid}}.
Pattern string
Pattern to match.
Repeat string
Enable/disable repeat match. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Status string
Enable/disable this pattern. Valid values: disable, enable.
Type string
Pattern type to match.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Optional comments.
Dictionary string
Dictionary.
Fosid float64
ID.
IgnoreCase string
Enable/disable ignore case. Valid values: disable, enable.
ObjectDlpDictionaryEntriesId string
an identifier for the resource with format {{fosid}}.
Pattern string
Pattern to match.
Repeat string
Enable/disable repeat match. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Status string
Enable/disable this pattern. Valid values: disable, enable.
Type string
Pattern type to match.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Optional comments.
dictionary String
Dictionary.
fosid Double
ID.
ignoreCase String
Enable/disable ignore case. Valid values: disable, enable.
objectDlpDictionaryEntriesId String
an identifier for the resource with format {{fosid}}.
pattern String
Pattern to match.
repeat String
Enable/disable repeat match. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status String
Enable/disable this pattern. Valid values: disable, enable.
type String
Pattern type to match.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Optional comments.
dictionary string
Dictionary.
fosid number
ID.
ignoreCase string
Enable/disable ignore case. Valid values: disable, enable.
objectDlpDictionaryEntriesId string
an identifier for the resource with format {{fosid}}.
pattern string
Pattern to match.
repeat string
Enable/disable repeat match. Valid values: disable, enable.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status string
Enable/disable this pattern. Valid values: disable, enable.
type string
Pattern type to match.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Optional comments.
dictionary str
Dictionary.
fosid float
ID.
ignore_case str
Enable/disable ignore case. Valid values: disable, enable.
object_dlp_dictionary_entries_id str
an identifier for the resource with format {{fosid}}.
pattern str
Pattern to match.
repeat str
Enable/disable repeat match. Valid values: disable, enable.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status str
Enable/disable this pattern. Valid values: disable, enable.
type str
Pattern type to match.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Optional comments.
dictionary String
Dictionary.
fosid Number
ID.
ignoreCase String
Enable/disable ignore case. Valid values: disable, enable.
objectDlpDictionaryEntriesId String
an identifier for the resource with format {{fosid}}.
pattern String
Pattern to match.
repeat String
Enable/disable repeat match. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
status String
Enable/disable this pattern. Valid values: disable, enable.
type String
Pattern type to match.

Import

ObjectDlp DictionaryEntries can be imported using any of these accepted formats:

Set import_options = [“dictionary=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectDlpDictionaryEntries:ObjectDlpDictionaryEntries labelname {{fosid}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.