1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectDlpFilepatternEntries
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectDlpFilepatternEntries

Explore with Pulumi AI

Configure file patterns used by DLP blocking.

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

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname2 = new fortimanager.ObjectDlpFilepattern("trname2", {fosid: 5});
const trname = new fortimanager.ObjectDlpFilepatternEntries("trname", {
    filepattern: trname2.fosid,
    fileType: "unknown",
    filterType: "pattern",
    pattern: "*.bat",
}, {
    dependsOn: [trname2],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname2 = fortimanager.ObjectDlpFilepattern("trname2", fosid=5)
trname = fortimanager.ObjectDlpFilepatternEntries("trname",
    filepattern=trname2.fosid,
    file_type="unknown",
    filter_type="pattern",
    pattern="*.bat",
    opts = pulumi.ResourceOptions(depends_on=[trname2]))
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		trname2, err := fortimanager.NewObjectDlpFilepattern(ctx, "trname2", &fortimanager.ObjectDlpFilepatternArgs{
			Fosid: pulumi.Float64(5),
		})
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectDlpFilepatternEntries(ctx, "trname", &fortimanager.ObjectDlpFilepatternEntriesArgs{
			Filepattern: trname2.Fosid,
			FileType:    pulumi.String("unknown"),
			FilterType:  pulumi.String("pattern"),
			Pattern:     pulumi.String("*.bat"),
		}, pulumi.DependsOn([]pulumi.Resource{
			trname2,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname2 = new Fortimanager.ObjectDlpFilepattern("trname2", new()
    {
        Fosid = 5,
    });

    var trname = new Fortimanager.ObjectDlpFilepatternEntries("trname", new()
    {
        Filepattern = trname2.Fosid,
        FileType = "unknown",
        FilterType = "pattern",
        Pattern = "*.bat",
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trname2,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectDlpFilepattern;
import com.pulumi.fortimanager.ObjectDlpFilepatternArgs;
import com.pulumi.fortimanager.ObjectDlpFilepatternEntries;
import com.pulumi.fortimanager.ObjectDlpFilepatternEntriesArgs;
import com.pulumi.resources.CustomResourceOptions;
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 trname2 = new ObjectDlpFilepattern("trname2", ObjectDlpFilepatternArgs.builder()
            .fosid(5)
            .build());

        var trname = new ObjectDlpFilepatternEntries("trname", ObjectDlpFilepatternEntriesArgs.builder()
            .filepattern(trname2.fosid())
            .fileType("unknown")
            .filterType("pattern")
            .pattern("*.bat")
            .build(), CustomResourceOptions.builder()
                .dependsOn(trname2)
                .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectDlpFilepatternEntries
    properties:
      filepattern: ${trname2.fosid}
      fileType: unknown
      filterType: pattern
      pattern: '*.bat'
    options:
      dependsOn:
        - ${trname2}
  trname2:
    type: fortimanager:ObjectDlpFilepattern
    properties:
      fosid: 5
Copy

Create ObjectDlpFilepatternEntries Resource

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

Constructor syntax

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

@overload
def ObjectDlpFilepatternEntries(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                filepattern: Optional[str] = None,
                                adom: Optional[str] = None,
                                file_type: Optional[str] = None,
                                filter_type: Optional[str] = None,
                                object_dlp_filepattern_entries_id: Optional[str] = None,
                                pattern: Optional[str] = None,
                                scopetype: Optional[str] = None)
func NewObjectDlpFilepatternEntries(ctx *Context, name string, args ObjectDlpFilepatternEntriesArgs, opts ...ResourceOption) (*ObjectDlpFilepatternEntries, error)
public ObjectDlpFilepatternEntries(string name, ObjectDlpFilepatternEntriesArgs args, CustomResourceOptions? opts = null)
public ObjectDlpFilepatternEntries(String name, ObjectDlpFilepatternEntriesArgs args)
public ObjectDlpFilepatternEntries(String name, ObjectDlpFilepatternEntriesArgs args, CustomResourceOptions options)
type: fortimanager:ObjectDlpFilepatternEntries
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. ObjectDlpFilepatternEntriesArgs
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. ObjectDlpFilepatternEntriesArgs
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. ObjectDlpFilepatternEntriesArgs
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. ObjectDlpFilepatternEntriesArgs
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. ObjectDlpFilepatternEntriesArgs
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 objectDlpFilepatternEntriesResource = new Fortimanager.ObjectDlpFilepatternEntries("objectDlpFilepatternEntriesResource", new()
{
    Filepattern = "string",
    Adom = "string",
    FileType = "string",
    FilterType = "string",
    ObjectDlpFilepatternEntriesId = "string",
    Pattern = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectDlpFilepatternEntries(ctx, "objectDlpFilepatternEntriesResource", &fortimanager.ObjectDlpFilepatternEntriesArgs{
Filepattern: pulumi.String("string"),
Adom: pulumi.String("string"),
FileType: pulumi.String("string"),
FilterType: pulumi.String("string"),
ObjectDlpFilepatternEntriesId: pulumi.String("string"),
Pattern: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectDlpFilepatternEntriesResource = new ObjectDlpFilepatternEntries("objectDlpFilepatternEntriesResource", ObjectDlpFilepatternEntriesArgs.builder()
    .filepattern("string")
    .adom("string")
    .fileType("string")
    .filterType("string")
    .objectDlpFilepatternEntriesId("string")
    .pattern("string")
    .scopetype("string")
    .build());
Copy
object_dlp_filepattern_entries_resource = fortimanager.ObjectDlpFilepatternEntries("objectDlpFilepatternEntriesResource",
    filepattern="string",
    adom="string",
    file_type="string",
    filter_type="string",
    object_dlp_filepattern_entries_id="string",
    pattern="string",
    scopetype="string")
Copy
const objectDlpFilepatternEntriesResource = new fortimanager.ObjectDlpFilepatternEntries("objectDlpFilepatternEntriesResource", {
    filepattern: "string",
    adom: "string",
    fileType: "string",
    filterType: "string",
    objectDlpFilepatternEntriesId: "string",
    pattern: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectDlpFilepatternEntries
properties:
    adom: string
    fileType: string
    filepattern: string
    filterType: string
    objectDlpFilepatternEntriesId: string
    pattern: string
    scopetype: string
Copy

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

Filepattern This property is required. string
Filepattern.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
FileType string
Select a file type. Valid values: unknown, ignored, exe, elf, bat, javascript, html, hta, msoffice, gzip, rar, tar, lzh, upx, zip, cab, bzip2, bzip, activemime, mime, hlp, arj, base64, binhex, uue, fsg, aspack, msc, petite, jpeg, gif, tiff, png, bmp, msi, mpeg, mov, mp3, wma, wav, pdf, avi, rm, torrent, hibun, 7z, xz, msofficex, mach-o, dmg, .net, xar, chm, iso, crx, flac, sis, prc, class, jad, cod.
FilterType string
Filter by file name pattern or by file type. Valid values: pattern, type.
ObjectDlpFilepatternEntriesId string
an identifier for the resource with format {{pattern}}.
Pattern string
Add a file name pattern.
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.
Filepattern This property is required. string
Filepattern.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
FileType string
Select a file type. Valid values: unknown, ignored, exe, elf, bat, javascript, html, hta, msoffice, gzip, rar, tar, lzh, upx, zip, cab, bzip2, bzip, activemime, mime, hlp, arj, base64, binhex, uue, fsg, aspack, msc, petite, jpeg, gif, tiff, png, bmp, msi, mpeg, mov, mp3, wma, wav, pdf, avi, rm, torrent, hibun, 7z, xz, msofficex, mach-o, dmg, .net, xar, chm, iso, crx, flac, sis, prc, class, jad, cod.
FilterType string
Filter by file name pattern or by file type. Valid values: pattern, type.
ObjectDlpFilepatternEntriesId string
an identifier for the resource with format {{pattern}}.
Pattern string
Add a file name pattern.
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.
filepattern This property is required. String
Filepattern.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fileType String
Select a file type. Valid values: unknown, ignored, exe, elf, bat, javascript, html, hta, msoffice, gzip, rar, tar, lzh, upx, zip, cab, bzip2, bzip, activemime, mime, hlp, arj, base64, binhex, uue, fsg, aspack, msc, petite, jpeg, gif, tiff, png, bmp, msi, mpeg, mov, mp3, wma, wav, pdf, avi, rm, torrent, hibun, 7z, xz, msofficex, mach-o, dmg, .net, xar, chm, iso, crx, flac, sis, prc, class, jad, cod.
filterType String
Filter by file name pattern or by file type. Valid values: pattern, type.
objectDlpFilepatternEntriesId String
an identifier for the resource with format {{pattern}}.
pattern String
Add a file name pattern.
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.
filepattern This property is required. string
Filepattern.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fileType string
Select a file type. Valid values: unknown, ignored, exe, elf, bat, javascript, html, hta, msoffice, gzip, rar, tar, lzh, upx, zip, cab, bzip2, bzip, activemime, mime, hlp, arj, base64, binhex, uue, fsg, aspack, msc, petite, jpeg, gif, tiff, png, bmp, msi, mpeg, mov, mp3, wma, wav, pdf, avi, rm, torrent, hibun, 7z, xz, msofficex, mach-o, dmg, .net, xar, chm, iso, crx, flac, sis, prc, class, jad, cod.
filterType string
Filter by file name pattern or by file type. Valid values: pattern, type.
objectDlpFilepatternEntriesId string
an identifier for the resource with format {{pattern}}.
pattern string
Add a file name pattern.
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.
filepattern This property is required. str
Filepattern.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
file_type str
Select a file type. Valid values: unknown, ignored, exe, elf, bat, javascript, html, hta, msoffice, gzip, rar, tar, lzh, upx, zip, cab, bzip2, bzip, activemime, mime, hlp, arj, base64, binhex, uue, fsg, aspack, msc, petite, jpeg, gif, tiff, png, bmp, msi, mpeg, mov, mp3, wma, wav, pdf, avi, rm, torrent, hibun, 7z, xz, msofficex, mach-o, dmg, .net, xar, chm, iso, crx, flac, sis, prc, class, jad, cod.
filter_type str
Filter by file name pattern or by file type. Valid values: pattern, type.
object_dlp_filepattern_entries_id str
an identifier for the resource with format {{pattern}}.
pattern str
Add a file name pattern.
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.
filepattern This property is required. String
Filepattern.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fileType String
Select a file type. Valid values: unknown, ignored, exe, elf, bat, javascript, html, hta, msoffice, gzip, rar, tar, lzh, upx, zip, cab, bzip2, bzip, activemime, mime, hlp, arj, base64, binhex, uue, fsg, aspack, msc, petite, jpeg, gif, tiff, png, bmp, msi, mpeg, mov, mp3, wma, wav, pdf, avi, rm, torrent, hibun, 7z, xz, msofficex, mach-o, dmg, .net, xar, chm, iso, crx, flac, sis, prc, class, jad, cod.
filterType String
Filter by file name pattern or by file type. Valid values: pattern, type.
objectDlpFilepatternEntriesId String
an identifier for the resource with format {{pattern}}.
pattern String
Add a file name pattern.
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.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectDlpFilepatternEntries 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 ObjectDlpFilepatternEntries Resource

Get an existing ObjectDlpFilepatternEntries 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?: ObjectDlpFilepatternEntriesState, opts?: CustomResourceOptions): ObjectDlpFilepatternEntries
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        file_type: Optional[str] = None,
        filepattern: Optional[str] = None,
        filter_type: Optional[str] = None,
        object_dlp_filepattern_entries_id: Optional[str] = None,
        pattern: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectDlpFilepatternEntries
func GetObjectDlpFilepatternEntries(ctx *Context, name string, id IDInput, state *ObjectDlpFilepatternEntriesState, opts ...ResourceOption) (*ObjectDlpFilepatternEntries, error)
public static ObjectDlpFilepatternEntries Get(string name, Input<string> id, ObjectDlpFilepatternEntriesState? state, CustomResourceOptions? opts = null)
public static ObjectDlpFilepatternEntries get(String name, Output<String> id, ObjectDlpFilepatternEntriesState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectDlpFilepatternEntries    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.
FileType string
Select a file type. Valid values: unknown, ignored, exe, elf, bat, javascript, html, hta, msoffice, gzip, rar, tar, lzh, upx, zip, cab, bzip2, bzip, activemime, mime, hlp, arj, base64, binhex, uue, fsg, aspack, msc, petite, jpeg, gif, tiff, png, bmp, msi, mpeg, mov, mp3, wma, wav, pdf, avi, rm, torrent, hibun, 7z, xz, msofficex, mach-o, dmg, .net, xar, chm, iso, crx, flac, sis, prc, class, jad, cod.
Filepattern string
Filepattern.
FilterType string
Filter by file name pattern or by file type. Valid values: pattern, type.
ObjectDlpFilepatternEntriesId string
an identifier for the resource with format {{pattern}}.
Pattern string
Add a file name pattern.
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.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
FileType string
Select a file type. Valid values: unknown, ignored, exe, elf, bat, javascript, html, hta, msoffice, gzip, rar, tar, lzh, upx, zip, cab, bzip2, bzip, activemime, mime, hlp, arj, base64, binhex, uue, fsg, aspack, msc, petite, jpeg, gif, tiff, png, bmp, msi, mpeg, mov, mp3, wma, wav, pdf, avi, rm, torrent, hibun, 7z, xz, msofficex, mach-o, dmg, .net, xar, chm, iso, crx, flac, sis, prc, class, jad, cod.
Filepattern string
Filepattern.
FilterType string
Filter by file name pattern or by file type. Valid values: pattern, type.
ObjectDlpFilepatternEntriesId string
an identifier for the resource with format {{pattern}}.
Pattern string
Add a file name pattern.
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fileType String
Select a file type. Valid values: unknown, ignored, exe, elf, bat, javascript, html, hta, msoffice, gzip, rar, tar, lzh, upx, zip, cab, bzip2, bzip, activemime, mime, hlp, arj, base64, binhex, uue, fsg, aspack, msc, petite, jpeg, gif, tiff, png, bmp, msi, mpeg, mov, mp3, wma, wav, pdf, avi, rm, torrent, hibun, 7z, xz, msofficex, mach-o, dmg, .net, xar, chm, iso, crx, flac, sis, prc, class, jad, cod.
filepattern String
Filepattern.
filterType String
Filter by file name pattern or by file type. Valid values: pattern, type.
objectDlpFilepatternEntriesId String
an identifier for the resource with format {{pattern}}.
pattern String
Add a file name pattern.
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.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fileType string
Select a file type. Valid values: unknown, ignored, exe, elf, bat, javascript, html, hta, msoffice, gzip, rar, tar, lzh, upx, zip, cab, bzip2, bzip, activemime, mime, hlp, arj, base64, binhex, uue, fsg, aspack, msc, petite, jpeg, gif, tiff, png, bmp, msi, mpeg, mov, mp3, wma, wav, pdf, avi, rm, torrent, hibun, 7z, xz, msofficex, mach-o, dmg, .net, xar, chm, iso, crx, flac, sis, prc, class, jad, cod.
filepattern string
Filepattern.
filterType string
Filter by file name pattern or by file type. Valid values: pattern, type.
objectDlpFilepatternEntriesId string
an identifier for the resource with format {{pattern}}.
pattern string
Add a file name pattern.
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.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
file_type str
Select a file type. Valid values: unknown, ignored, exe, elf, bat, javascript, html, hta, msoffice, gzip, rar, tar, lzh, upx, zip, cab, bzip2, bzip, activemime, mime, hlp, arj, base64, binhex, uue, fsg, aspack, msc, petite, jpeg, gif, tiff, png, bmp, msi, mpeg, mov, mp3, wma, wav, pdf, avi, rm, torrent, hibun, 7z, xz, msofficex, mach-o, dmg, .net, xar, chm, iso, crx, flac, sis, prc, class, jad, cod.
filepattern str
Filepattern.
filter_type str
Filter by file name pattern or by file type. Valid values: pattern, type.
object_dlp_filepattern_entries_id str
an identifier for the resource with format {{pattern}}.
pattern str
Add a file name pattern.
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fileType String
Select a file type. Valid values: unknown, ignored, exe, elf, bat, javascript, html, hta, msoffice, gzip, rar, tar, lzh, upx, zip, cab, bzip2, bzip, activemime, mime, hlp, arj, base64, binhex, uue, fsg, aspack, msc, petite, jpeg, gif, tiff, png, bmp, msi, mpeg, mov, mp3, wma, wav, pdf, avi, rm, torrent, hibun, 7z, xz, msofficex, mach-o, dmg, .net, xar, chm, iso, crx, flac, sis, prc, class, jad, cod.
filepattern String
Filepattern.
filterType String
Filter by file name pattern or by file type. Valid values: pattern, type.
objectDlpFilepatternEntriesId String
an identifier for the resource with format {{pattern}}.
pattern String
Add a file name pattern.
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.

Import

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

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectDlpFilepatternEntries:ObjectDlpFilepatternEntries labelname {{pattern}}
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.