dlp

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datatype

type Datatype struct {
	pulumi.CustomResourceState

	// Optional comments.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// Number of characters to obtain in advance for verification (1 - 255, default = 1).
	LookAhead pulumi.IntOutput `pulumi:"lookAhead"`
	// Number of characters required to save for verification (1 - 255, default = 1).
	LookBack pulumi.IntOutput `pulumi:"lookBack"`
	// Number of characters behind for match-around (1 - 4096, default = 1).
	MatchAhead pulumi.IntOutput `pulumi:"matchAhead"`
	// Dictionary to check whether it has a match around (Only support match-any and basic types, no repeat supported).
	MatchAround pulumi.StringOutput `pulumi:"matchAround"`
	// Number of characters in front for match-around (1 - 4096, default = 1).
	MatchBack pulumi.IntOutput `pulumi:"matchBack"`
	// Name of table containing the data type.
	Name pulumi.StringOutput `pulumi:"name"`
	// Regular expression pattern string without look around.
	Pattern pulumi.StringOutput `pulumi:"pattern"`
	// Template to transform user input to a pattern using capture group from 'pattern'.
	Transform pulumi.StringOutput `pulumi:"transform"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
	// Regular expression pattern string used to verify the data type.
	Verify pulumi.StringOutput `pulumi:"verify"`
	// Extra regular expression pattern string used to verify the data type.
	Verify2 pulumi.StringOutput `pulumi:"verify2"`
	// Enable/disable verification for transformed pattern. Valid values: `enable`, `disable`.
	VerifyTransformedPattern pulumi.StringOutput `pulumi:"verifyTransformedPattern"`
}

Configure predefined data type used by DLP blocking. Applies to FortiOS Version `>= 7.2.0`.

## Import

Dlp DataType can be imported using any of these accepted formats:

```sh $ pulumi import fortios:dlp/datatype:Datatype labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:dlp/datatype:Datatype labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetDatatype

func GetDatatype(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatatypeState, opts ...pulumi.ResourceOption) (*Datatype, error)

GetDatatype gets an existing Datatype resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDatatype

func NewDatatype(ctx *pulumi.Context,
	name string, args *DatatypeArgs, opts ...pulumi.ResourceOption) (*Datatype, error)

NewDatatype registers a new resource with the given unique name, arguments, and options.

func (*Datatype) ElementType

func (*Datatype) ElementType() reflect.Type

func (*Datatype) ToDatatypeOutput

func (i *Datatype) ToDatatypeOutput() DatatypeOutput

func (*Datatype) ToDatatypeOutputWithContext

func (i *Datatype) ToDatatypeOutputWithContext(ctx context.Context) DatatypeOutput

type DatatypeArgs

type DatatypeArgs struct {
	// Optional comments.
	Comment pulumi.StringPtrInput
	// Number of characters to obtain in advance for verification (1 - 255, default = 1).
	LookAhead pulumi.IntPtrInput
	// Number of characters required to save for verification (1 - 255, default = 1).
	LookBack pulumi.IntPtrInput
	// Number of characters behind for match-around (1 - 4096, default = 1).
	MatchAhead pulumi.IntPtrInput
	// Dictionary to check whether it has a match around (Only support match-any and basic types, no repeat supported).
	MatchAround pulumi.StringPtrInput
	// Number of characters in front for match-around (1 - 4096, default = 1).
	MatchBack pulumi.IntPtrInput
	// Name of table containing the data type.
	Name pulumi.StringPtrInput
	// Regular expression pattern string without look around.
	Pattern pulumi.StringPtrInput
	// Template to transform user input to a pattern using capture group from 'pattern'.
	Transform pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
	// Regular expression pattern string used to verify the data type.
	Verify pulumi.StringPtrInput
	// Extra regular expression pattern string used to verify the data type.
	Verify2 pulumi.StringPtrInput
	// Enable/disable verification for transformed pattern. Valid values: `enable`, `disable`.
	VerifyTransformedPattern pulumi.StringPtrInput
}

The set of arguments for constructing a Datatype resource.

func (DatatypeArgs) ElementType

func (DatatypeArgs) ElementType() reflect.Type

type DatatypeArray

type DatatypeArray []DatatypeInput

func (DatatypeArray) ElementType

func (DatatypeArray) ElementType() reflect.Type

func (DatatypeArray) ToDatatypeArrayOutput

func (i DatatypeArray) ToDatatypeArrayOutput() DatatypeArrayOutput

func (DatatypeArray) ToDatatypeArrayOutputWithContext

func (i DatatypeArray) ToDatatypeArrayOutputWithContext(ctx context.Context) DatatypeArrayOutput

type DatatypeArrayInput

type DatatypeArrayInput interface {
	pulumi.Input

	ToDatatypeArrayOutput() DatatypeArrayOutput
	ToDatatypeArrayOutputWithContext(context.Context) DatatypeArrayOutput
}

DatatypeArrayInput is an input type that accepts DatatypeArray and DatatypeArrayOutput values. You can construct a concrete instance of `DatatypeArrayInput` via:

DatatypeArray{ DatatypeArgs{...} }

type DatatypeArrayOutput

type DatatypeArrayOutput struct{ *pulumi.OutputState }

func (DatatypeArrayOutput) ElementType

func (DatatypeArrayOutput) ElementType() reflect.Type

func (DatatypeArrayOutput) Index

func (DatatypeArrayOutput) ToDatatypeArrayOutput

func (o DatatypeArrayOutput) ToDatatypeArrayOutput() DatatypeArrayOutput

func (DatatypeArrayOutput) ToDatatypeArrayOutputWithContext

func (o DatatypeArrayOutput) ToDatatypeArrayOutputWithContext(ctx context.Context) DatatypeArrayOutput

type DatatypeInput

type DatatypeInput interface {
	pulumi.Input

	ToDatatypeOutput() DatatypeOutput
	ToDatatypeOutputWithContext(ctx context.Context) DatatypeOutput
}

type DatatypeMap

type DatatypeMap map[string]DatatypeInput

func (DatatypeMap) ElementType

func (DatatypeMap) ElementType() reflect.Type

func (DatatypeMap) ToDatatypeMapOutput

func (i DatatypeMap) ToDatatypeMapOutput() DatatypeMapOutput

func (DatatypeMap) ToDatatypeMapOutputWithContext

func (i DatatypeMap) ToDatatypeMapOutputWithContext(ctx context.Context) DatatypeMapOutput

type DatatypeMapInput

type DatatypeMapInput interface {
	pulumi.Input

	ToDatatypeMapOutput() DatatypeMapOutput
	ToDatatypeMapOutputWithContext(context.Context) DatatypeMapOutput
}

DatatypeMapInput is an input type that accepts DatatypeMap and DatatypeMapOutput values. You can construct a concrete instance of `DatatypeMapInput` via:

DatatypeMap{ "key": DatatypeArgs{...} }

type DatatypeMapOutput

type DatatypeMapOutput struct{ *pulumi.OutputState }

func (DatatypeMapOutput) ElementType

func (DatatypeMapOutput) ElementType() reflect.Type

func (DatatypeMapOutput) MapIndex

func (DatatypeMapOutput) ToDatatypeMapOutput

func (o DatatypeMapOutput) ToDatatypeMapOutput() DatatypeMapOutput

func (DatatypeMapOutput) ToDatatypeMapOutputWithContext

func (o DatatypeMapOutput) ToDatatypeMapOutputWithContext(ctx context.Context) DatatypeMapOutput

type DatatypeOutput

type DatatypeOutput struct{ *pulumi.OutputState }

func (DatatypeOutput) Comment

Optional comments.

func (DatatypeOutput) ElementType

func (DatatypeOutput) ElementType() reflect.Type

func (DatatypeOutput) LookAhead

func (o DatatypeOutput) LookAhead() pulumi.IntOutput

Number of characters to obtain in advance for verification (1 - 255, default = 1).

func (DatatypeOutput) LookBack

func (o DatatypeOutput) LookBack() pulumi.IntOutput

Number of characters required to save for verification (1 - 255, default = 1).

func (DatatypeOutput) MatchAhead

func (o DatatypeOutput) MatchAhead() pulumi.IntOutput

Number of characters behind for match-around (1 - 4096, default = 1).

func (DatatypeOutput) MatchAround

func (o DatatypeOutput) MatchAround() pulumi.StringOutput

Dictionary to check whether it has a match around (Only support match-any and basic types, no repeat supported).

func (DatatypeOutput) MatchBack

func (o DatatypeOutput) MatchBack() pulumi.IntOutput

Number of characters in front for match-around (1 - 4096, default = 1).

func (DatatypeOutput) Name

Name of table containing the data type.

func (DatatypeOutput) Pattern

func (o DatatypeOutput) Pattern() pulumi.StringOutput

Regular expression pattern string without look around.

func (DatatypeOutput) ToDatatypeOutput

func (o DatatypeOutput) ToDatatypeOutput() DatatypeOutput

func (DatatypeOutput) ToDatatypeOutputWithContext

func (o DatatypeOutput) ToDatatypeOutputWithContext(ctx context.Context) DatatypeOutput

func (DatatypeOutput) Transform

func (o DatatypeOutput) Transform() pulumi.StringOutput

Template to transform user input to a pattern using capture group from 'pattern'.

func (DatatypeOutput) Vdomparam

func (o DatatypeOutput) Vdomparam() pulumi.StringPtrOutput

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

func (DatatypeOutput) Verify

func (o DatatypeOutput) Verify() pulumi.StringOutput

Regular expression pattern string used to verify the data type.

func (DatatypeOutput) Verify2

func (o DatatypeOutput) Verify2() pulumi.StringOutput

Extra regular expression pattern string used to verify the data type.

func (DatatypeOutput) VerifyTransformedPattern

func (o DatatypeOutput) VerifyTransformedPattern() pulumi.StringOutput

Enable/disable verification for transformed pattern. Valid values: `enable`, `disable`.

type DatatypeState

type DatatypeState struct {
	// Optional comments.
	Comment pulumi.StringPtrInput
	// Number of characters to obtain in advance for verification (1 - 255, default = 1).
	LookAhead pulumi.IntPtrInput
	// Number of characters required to save for verification (1 - 255, default = 1).
	LookBack pulumi.IntPtrInput
	// Number of characters behind for match-around (1 - 4096, default = 1).
	MatchAhead pulumi.IntPtrInput
	// Dictionary to check whether it has a match around (Only support match-any and basic types, no repeat supported).
	MatchAround pulumi.StringPtrInput
	// Number of characters in front for match-around (1 - 4096, default = 1).
	MatchBack pulumi.IntPtrInput
	// Name of table containing the data type.
	Name pulumi.StringPtrInput
	// Regular expression pattern string without look around.
	Pattern pulumi.StringPtrInput
	// Template to transform user input to a pattern using capture group from 'pattern'.
	Transform pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
	// Regular expression pattern string used to verify the data type.
	Verify pulumi.StringPtrInput
	// Extra regular expression pattern string used to verify the data type.
	Verify2 pulumi.StringPtrInput
	// Enable/disable verification for transformed pattern. Valid values: `enable`, `disable`.
	VerifyTransformedPattern pulumi.StringPtrInput
}

func (DatatypeState) ElementType

func (DatatypeState) ElementType() reflect.Type

type Dictionary

type Dictionary struct {
	pulumi.CustomResourceState

	// Optional comments.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"`
	// DLP dictionary entries. The structure of `entries` block is documented below.
	Entries DictionaryEntryArrayOutput `pulumi:"entries"`
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"`
	// Enable/disable match-around support. Valid values: `enable`, `disable`.
	MatchAround pulumi.StringOutput `pulumi:"matchAround"`
	// Logical relation between entries (default = match-any). Valid values: `match-all`, `match-any`.
	MatchType pulumi.StringOutput `pulumi:"matchType"`
	// Name of table containing the dictionary.
	Name pulumi.StringOutput `pulumi:"name"`
	// Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
	Uuid pulumi.StringOutput `pulumi:"uuid"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Configure dictionaries used by DLP blocking. Applies to FortiOS Version `>= 7.2.0`.

## Import

Dlp Dictionary can be imported using any of these accepted formats:

```sh $ pulumi import fortios:dlp/dictionary:Dictionary labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:dlp/dictionary:Dictionary labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetDictionary

func GetDictionary(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DictionaryState, opts ...pulumi.ResourceOption) (*Dictionary, error)

GetDictionary gets an existing Dictionary resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDictionary

func NewDictionary(ctx *pulumi.Context,
	name string, args *DictionaryArgs, opts ...pulumi.ResourceOption) (*Dictionary, error)

NewDictionary registers a new resource with the given unique name, arguments, and options.

func (*Dictionary) ElementType

func (*Dictionary) ElementType() reflect.Type

func (*Dictionary) ToDictionaryOutput

func (i *Dictionary) ToDictionaryOutput() DictionaryOutput

func (*Dictionary) ToDictionaryOutputWithContext

func (i *Dictionary) ToDictionaryOutputWithContext(ctx context.Context) DictionaryOutput

type DictionaryArgs

type DictionaryArgs struct {
	// Optional comments.
	Comment pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// DLP dictionary entries. The structure of `entries` block is documented below.
	Entries DictionaryEntryArrayInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Enable/disable match-around support. Valid values: `enable`, `disable`.
	MatchAround pulumi.StringPtrInput
	// Logical relation between entries (default = match-any). Valid values: `match-all`, `match-any`.
	MatchType pulumi.StringPtrInput
	// Name of table containing the dictionary.
	Name pulumi.StringPtrInput
	// Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
	Uuid pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Dictionary resource.

func (DictionaryArgs) ElementType

func (DictionaryArgs) ElementType() reflect.Type

type DictionaryArray

type DictionaryArray []DictionaryInput

func (DictionaryArray) ElementType

func (DictionaryArray) ElementType() reflect.Type

func (DictionaryArray) ToDictionaryArrayOutput

func (i DictionaryArray) ToDictionaryArrayOutput() DictionaryArrayOutput

func (DictionaryArray) ToDictionaryArrayOutputWithContext

func (i DictionaryArray) ToDictionaryArrayOutputWithContext(ctx context.Context) DictionaryArrayOutput

type DictionaryArrayInput

type DictionaryArrayInput interface {
	pulumi.Input

	ToDictionaryArrayOutput() DictionaryArrayOutput
	ToDictionaryArrayOutputWithContext(context.Context) DictionaryArrayOutput
}

DictionaryArrayInput is an input type that accepts DictionaryArray and DictionaryArrayOutput values. You can construct a concrete instance of `DictionaryArrayInput` via:

DictionaryArray{ DictionaryArgs{...} }

type DictionaryArrayOutput

type DictionaryArrayOutput struct{ *pulumi.OutputState }

func (DictionaryArrayOutput) ElementType

func (DictionaryArrayOutput) ElementType() reflect.Type

func (DictionaryArrayOutput) Index

func (DictionaryArrayOutput) ToDictionaryArrayOutput

func (o DictionaryArrayOutput) ToDictionaryArrayOutput() DictionaryArrayOutput

func (DictionaryArrayOutput) ToDictionaryArrayOutputWithContext

func (o DictionaryArrayOutput) ToDictionaryArrayOutputWithContext(ctx context.Context) DictionaryArrayOutput

type DictionaryEntry

type DictionaryEntry struct {
	// Optional comments.
	Comment *string `pulumi:"comment"`
	// ID.
	Id *int `pulumi:"id"`
	// Enable/disable ignore case. Valid values: `enable`, `disable`.
	IgnoreCase *string `pulumi:"ignoreCase"`
	// Pattern to match.
	Pattern *string `pulumi:"pattern"`
	// Enable/disable repeat match. Valid values: `enable`, `disable`.
	Repeat *string `pulumi:"repeat"`
	// Enable/disable this pattern. Valid values: `enable`, `disable`.
	Status *string `pulumi:"status"`
	// Pattern type to match.
	Type *string `pulumi:"type"`
}

type DictionaryEntryArgs

type DictionaryEntryArgs struct {
	// Optional comments.
	Comment pulumi.StringPtrInput `pulumi:"comment"`
	// ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// Enable/disable ignore case. Valid values: `enable`, `disable`.
	IgnoreCase pulumi.StringPtrInput `pulumi:"ignoreCase"`
	// Pattern to match.
	Pattern pulumi.StringPtrInput `pulumi:"pattern"`
	// Enable/disable repeat match. Valid values: `enable`, `disable`.
	Repeat pulumi.StringPtrInput `pulumi:"repeat"`
	// Enable/disable this pattern. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Pattern type to match.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (DictionaryEntryArgs) ElementType

func (DictionaryEntryArgs) ElementType() reflect.Type

func (DictionaryEntryArgs) ToDictionaryEntryOutput

func (i DictionaryEntryArgs) ToDictionaryEntryOutput() DictionaryEntryOutput

func (DictionaryEntryArgs) ToDictionaryEntryOutputWithContext

func (i DictionaryEntryArgs) ToDictionaryEntryOutputWithContext(ctx context.Context) DictionaryEntryOutput

type DictionaryEntryArray

type DictionaryEntryArray []DictionaryEntryInput

func (DictionaryEntryArray) ElementType

func (DictionaryEntryArray) ElementType() reflect.Type

func (DictionaryEntryArray) ToDictionaryEntryArrayOutput

func (i DictionaryEntryArray) ToDictionaryEntryArrayOutput() DictionaryEntryArrayOutput

func (DictionaryEntryArray) ToDictionaryEntryArrayOutputWithContext

func (i DictionaryEntryArray) ToDictionaryEntryArrayOutputWithContext(ctx context.Context) DictionaryEntryArrayOutput

type DictionaryEntryArrayInput

type DictionaryEntryArrayInput interface {
	pulumi.Input

	ToDictionaryEntryArrayOutput() DictionaryEntryArrayOutput
	ToDictionaryEntryArrayOutputWithContext(context.Context) DictionaryEntryArrayOutput
}

DictionaryEntryArrayInput is an input type that accepts DictionaryEntryArray and DictionaryEntryArrayOutput values. You can construct a concrete instance of `DictionaryEntryArrayInput` via:

DictionaryEntryArray{ DictionaryEntryArgs{...} }

type DictionaryEntryArrayOutput

type DictionaryEntryArrayOutput struct{ *pulumi.OutputState }

func (DictionaryEntryArrayOutput) ElementType

func (DictionaryEntryArrayOutput) ElementType() reflect.Type

func (DictionaryEntryArrayOutput) Index

func (DictionaryEntryArrayOutput) ToDictionaryEntryArrayOutput

func (o DictionaryEntryArrayOutput) ToDictionaryEntryArrayOutput() DictionaryEntryArrayOutput

func (DictionaryEntryArrayOutput) ToDictionaryEntryArrayOutputWithContext

func (o DictionaryEntryArrayOutput) ToDictionaryEntryArrayOutputWithContext(ctx context.Context) DictionaryEntryArrayOutput

type DictionaryEntryInput

type DictionaryEntryInput interface {
	pulumi.Input

	ToDictionaryEntryOutput() DictionaryEntryOutput
	ToDictionaryEntryOutputWithContext(context.Context) DictionaryEntryOutput
}

DictionaryEntryInput is an input type that accepts DictionaryEntryArgs and DictionaryEntryOutput values. You can construct a concrete instance of `DictionaryEntryInput` via:

DictionaryEntryArgs{...}

type DictionaryEntryOutput

type DictionaryEntryOutput struct{ *pulumi.OutputState }

func (DictionaryEntryOutput) Comment

Optional comments.

func (DictionaryEntryOutput) ElementType

func (DictionaryEntryOutput) ElementType() reflect.Type

func (DictionaryEntryOutput) Id

ID.

func (DictionaryEntryOutput) IgnoreCase

Enable/disable ignore case. Valid values: `enable`, `disable`.

func (DictionaryEntryOutput) Pattern

Pattern to match.

func (DictionaryEntryOutput) Repeat

Enable/disable repeat match. Valid values: `enable`, `disable`.

func (DictionaryEntryOutput) Status

Enable/disable this pattern. Valid values: `enable`, `disable`.

func (DictionaryEntryOutput) ToDictionaryEntryOutput

func (o DictionaryEntryOutput) ToDictionaryEntryOutput() DictionaryEntryOutput

func (DictionaryEntryOutput) ToDictionaryEntryOutputWithContext

func (o DictionaryEntryOutput) ToDictionaryEntryOutputWithContext(ctx context.Context) DictionaryEntryOutput

func (DictionaryEntryOutput) Type

Pattern type to match.

type DictionaryInput

type DictionaryInput interface {
	pulumi.Input

	ToDictionaryOutput() DictionaryOutput
	ToDictionaryOutputWithContext(ctx context.Context) DictionaryOutput
}

type DictionaryMap

type DictionaryMap map[string]DictionaryInput

func (DictionaryMap) ElementType

func (DictionaryMap) ElementType() reflect.Type

func (DictionaryMap) ToDictionaryMapOutput

func (i DictionaryMap) ToDictionaryMapOutput() DictionaryMapOutput

func (DictionaryMap) ToDictionaryMapOutputWithContext

func (i DictionaryMap) ToDictionaryMapOutputWithContext(ctx context.Context) DictionaryMapOutput

type DictionaryMapInput

type DictionaryMapInput interface {
	pulumi.Input

	ToDictionaryMapOutput() DictionaryMapOutput
	ToDictionaryMapOutputWithContext(context.Context) DictionaryMapOutput
}

DictionaryMapInput is an input type that accepts DictionaryMap and DictionaryMapOutput values. You can construct a concrete instance of `DictionaryMapInput` via:

DictionaryMap{ "key": DictionaryArgs{...} }

type DictionaryMapOutput

type DictionaryMapOutput struct{ *pulumi.OutputState }

func (DictionaryMapOutput) ElementType

func (DictionaryMapOutput) ElementType() reflect.Type

func (DictionaryMapOutput) MapIndex

func (DictionaryMapOutput) ToDictionaryMapOutput

func (o DictionaryMapOutput) ToDictionaryMapOutput() DictionaryMapOutput

func (DictionaryMapOutput) ToDictionaryMapOutputWithContext

func (o DictionaryMapOutput) ToDictionaryMapOutputWithContext(ctx context.Context) DictionaryMapOutput

type DictionaryOutput

type DictionaryOutput struct{ *pulumi.OutputState }

func (DictionaryOutput) Comment

Optional comments.

func (DictionaryOutput) DynamicSortSubtable

func (o DictionaryOutput) DynamicSortSubtable() pulumi.StringPtrOutput

Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].

func (DictionaryOutput) ElementType

func (DictionaryOutput) ElementType() reflect.Type

func (DictionaryOutput) Entries

DLP dictionary entries. The structure of `entries` block is documented below.

func (DictionaryOutput) GetAllTables

func (o DictionaryOutput) GetAllTables() pulumi.StringPtrOutput

Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.

func (DictionaryOutput) MatchAround

func (o DictionaryOutput) MatchAround() pulumi.StringOutput

Enable/disable match-around support. Valid values: `enable`, `disable`.

func (DictionaryOutput) MatchType

func (o DictionaryOutput) MatchType() pulumi.StringOutput

Logical relation between entries (default = match-any). Valid values: `match-all`, `match-any`.

func (DictionaryOutput) Name

Name of table containing the dictionary.

func (DictionaryOutput) ToDictionaryOutput

func (o DictionaryOutput) ToDictionaryOutput() DictionaryOutput

func (DictionaryOutput) ToDictionaryOutputWithContext

func (o DictionaryOutput) ToDictionaryOutputWithContext(ctx context.Context) DictionaryOutput

func (DictionaryOutput) Uuid

Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

func (DictionaryOutput) Vdomparam

func (o DictionaryOutput) Vdomparam() pulumi.StringPtrOutput

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type DictionaryState

type DictionaryState struct {
	// Optional comments.
	Comment pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// DLP dictionary entries. The structure of `entries` block is documented below.
	Entries DictionaryEntryArrayInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Enable/disable match-around support. Valid values: `enable`, `disable`.
	MatchAround pulumi.StringPtrInput
	// Logical relation between entries (default = match-any). Valid values: `match-all`, `match-any`.
	MatchType pulumi.StringPtrInput
	// Name of table containing the dictionary.
	Name pulumi.StringPtrInput
	// Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
	Uuid pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (DictionaryState) ElementType

func (DictionaryState) ElementType() reflect.Type

type Exactdatamatch

type Exactdatamatch struct {
	pulumi.CustomResourceState

	// DLP exact-data-match column types. The structure of `columns` block is documented below.
	Columns ExactdatamatchColumnArrayOutput `pulumi:"columns"`
	// External resource for exact data match.
	Data pulumi.StringOutput `pulumi:"data"`
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"`
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"`
	// Name of table containing the exact-data-match template.
	Name pulumi.StringOutput `pulumi:"name"`
	// Number of optional columns need to match.
	Optional pulumi.IntOutput `pulumi:"optional"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Configure exact-data-match template used by DLP scan. Applies to FortiOS Version `>= 7.4.2`.

## Import

Dlp ExactDataMatch can be imported using any of these accepted formats:

```sh $ pulumi import fortios:dlp/exactdatamatch:Exactdatamatch labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:dlp/exactdatamatch:Exactdatamatch labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetExactdatamatch

func GetExactdatamatch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ExactdatamatchState, opts ...pulumi.ResourceOption) (*Exactdatamatch, error)

GetExactdatamatch gets an existing Exactdatamatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewExactdatamatch

func NewExactdatamatch(ctx *pulumi.Context,
	name string, args *ExactdatamatchArgs, opts ...pulumi.ResourceOption) (*Exactdatamatch, error)

NewExactdatamatch registers a new resource with the given unique name, arguments, and options.

func (*Exactdatamatch) ElementType

func (*Exactdatamatch) ElementType() reflect.Type

func (*Exactdatamatch) ToExactdatamatchOutput

func (i *Exactdatamatch) ToExactdatamatchOutput() ExactdatamatchOutput

func (*Exactdatamatch) ToExactdatamatchOutputWithContext

func (i *Exactdatamatch) ToExactdatamatchOutputWithContext(ctx context.Context) ExactdatamatchOutput

type ExactdatamatchArgs

type ExactdatamatchArgs struct {
	// DLP exact-data-match column types. The structure of `columns` block is documented below.
	Columns ExactdatamatchColumnArrayInput
	// External resource for exact data match.
	Data pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Name of table containing the exact-data-match template.
	Name pulumi.StringPtrInput
	// Number of optional columns need to match.
	Optional pulumi.IntPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Exactdatamatch resource.

func (ExactdatamatchArgs) ElementType

func (ExactdatamatchArgs) ElementType() reflect.Type

type ExactdatamatchArray

type ExactdatamatchArray []ExactdatamatchInput

func (ExactdatamatchArray) ElementType

func (ExactdatamatchArray) ElementType() reflect.Type

func (ExactdatamatchArray) ToExactdatamatchArrayOutput

func (i ExactdatamatchArray) ToExactdatamatchArrayOutput() ExactdatamatchArrayOutput

func (ExactdatamatchArray) ToExactdatamatchArrayOutputWithContext

func (i ExactdatamatchArray) ToExactdatamatchArrayOutputWithContext(ctx context.Context) ExactdatamatchArrayOutput

type ExactdatamatchArrayInput

type ExactdatamatchArrayInput interface {
	pulumi.Input

	ToExactdatamatchArrayOutput() ExactdatamatchArrayOutput
	ToExactdatamatchArrayOutputWithContext(context.Context) ExactdatamatchArrayOutput
}

ExactdatamatchArrayInput is an input type that accepts ExactdatamatchArray and ExactdatamatchArrayOutput values. You can construct a concrete instance of `ExactdatamatchArrayInput` via:

ExactdatamatchArray{ ExactdatamatchArgs{...} }

type ExactdatamatchArrayOutput

type ExactdatamatchArrayOutput struct{ *pulumi.OutputState }

func (ExactdatamatchArrayOutput) ElementType

func (ExactdatamatchArrayOutput) ElementType() reflect.Type

func (ExactdatamatchArrayOutput) Index

func (ExactdatamatchArrayOutput) ToExactdatamatchArrayOutput

func (o ExactdatamatchArrayOutput) ToExactdatamatchArrayOutput() ExactdatamatchArrayOutput

func (ExactdatamatchArrayOutput) ToExactdatamatchArrayOutputWithContext

func (o ExactdatamatchArrayOutput) ToExactdatamatchArrayOutputWithContext(ctx context.Context) ExactdatamatchArrayOutput

type ExactdatamatchColumn

type ExactdatamatchColumn struct {
	// Column index.
	Index *int `pulumi:"index"`
	// Enable/disable optional match. Valid values: `enable`, `disable`.
	Optional *string `pulumi:"optional"`
	// Data-type for this column.
	Type *string `pulumi:"type"`
}

type ExactdatamatchColumnArgs

type ExactdatamatchColumnArgs struct {
	// Column index.
	Index pulumi.IntPtrInput `pulumi:"index"`
	// Enable/disable optional match. Valid values: `enable`, `disable`.
	Optional pulumi.StringPtrInput `pulumi:"optional"`
	// Data-type for this column.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ExactdatamatchColumnArgs) ElementType

func (ExactdatamatchColumnArgs) ElementType() reflect.Type

func (ExactdatamatchColumnArgs) ToExactdatamatchColumnOutput

func (i ExactdatamatchColumnArgs) ToExactdatamatchColumnOutput() ExactdatamatchColumnOutput

func (ExactdatamatchColumnArgs) ToExactdatamatchColumnOutputWithContext

func (i ExactdatamatchColumnArgs) ToExactdatamatchColumnOutputWithContext(ctx context.Context) ExactdatamatchColumnOutput

type ExactdatamatchColumnArray

type ExactdatamatchColumnArray []ExactdatamatchColumnInput

func (ExactdatamatchColumnArray) ElementType

func (ExactdatamatchColumnArray) ElementType() reflect.Type

func (ExactdatamatchColumnArray) ToExactdatamatchColumnArrayOutput

func (i ExactdatamatchColumnArray) ToExactdatamatchColumnArrayOutput() ExactdatamatchColumnArrayOutput

func (ExactdatamatchColumnArray) ToExactdatamatchColumnArrayOutputWithContext

func (i ExactdatamatchColumnArray) ToExactdatamatchColumnArrayOutputWithContext(ctx context.Context) ExactdatamatchColumnArrayOutput

type ExactdatamatchColumnArrayInput

type ExactdatamatchColumnArrayInput interface {
	pulumi.Input

	ToExactdatamatchColumnArrayOutput() ExactdatamatchColumnArrayOutput
	ToExactdatamatchColumnArrayOutputWithContext(context.Context) ExactdatamatchColumnArrayOutput
}

ExactdatamatchColumnArrayInput is an input type that accepts ExactdatamatchColumnArray and ExactdatamatchColumnArrayOutput values. You can construct a concrete instance of `ExactdatamatchColumnArrayInput` via:

ExactdatamatchColumnArray{ ExactdatamatchColumnArgs{...} }

type ExactdatamatchColumnArrayOutput

type ExactdatamatchColumnArrayOutput struct{ *pulumi.OutputState }

func (ExactdatamatchColumnArrayOutput) ElementType

func (ExactdatamatchColumnArrayOutput) Index

func (ExactdatamatchColumnArrayOutput) ToExactdatamatchColumnArrayOutput

func (o ExactdatamatchColumnArrayOutput) ToExactdatamatchColumnArrayOutput() ExactdatamatchColumnArrayOutput

func (ExactdatamatchColumnArrayOutput) ToExactdatamatchColumnArrayOutputWithContext

func (o ExactdatamatchColumnArrayOutput) ToExactdatamatchColumnArrayOutputWithContext(ctx context.Context) ExactdatamatchColumnArrayOutput

type ExactdatamatchColumnInput

type ExactdatamatchColumnInput interface {
	pulumi.Input

	ToExactdatamatchColumnOutput() ExactdatamatchColumnOutput
	ToExactdatamatchColumnOutputWithContext(context.Context) ExactdatamatchColumnOutput
}

ExactdatamatchColumnInput is an input type that accepts ExactdatamatchColumnArgs and ExactdatamatchColumnOutput values. You can construct a concrete instance of `ExactdatamatchColumnInput` via:

ExactdatamatchColumnArgs{...}

type ExactdatamatchColumnOutput

type ExactdatamatchColumnOutput struct{ *pulumi.OutputState }

func (ExactdatamatchColumnOutput) ElementType

func (ExactdatamatchColumnOutput) ElementType() reflect.Type

func (ExactdatamatchColumnOutput) Index

Column index.

func (ExactdatamatchColumnOutput) Optional

Enable/disable optional match. Valid values: `enable`, `disable`.

func (ExactdatamatchColumnOutput) ToExactdatamatchColumnOutput

func (o ExactdatamatchColumnOutput) ToExactdatamatchColumnOutput() ExactdatamatchColumnOutput

func (ExactdatamatchColumnOutput) ToExactdatamatchColumnOutputWithContext

func (o ExactdatamatchColumnOutput) ToExactdatamatchColumnOutputWithContext(ctx context.Context) ExactdatamatchColumnOutput

func (ExactdatamatchColumnOutput) Type

Data-type for this column.

type ExactdatamatchInput

type ExactdatamatchInput interface {
	pulumi.Input

	ToExactdatamatchOutput() ExactdatamatchOutput
	ToExactdatamatchOutputWithContext(ctx context.Context) ExactdatamatchOutput
}

type ExactdatamatchMap

type ExactdatamatchMap map[string]ExactdatamatchInput

func (ExactdatamatchMap) ElementType

func (ExactdatamatchMap) ElementType() reflect.Type

func (ExactdatamatchMap) ToExactdatamatchMapOutput

func (i ExactdatamatchMap) ToExactdatamatchMapOutput() ExactdatamatchMapOutput

func (ExactdatamatchMap) ToExactdatamatchMapOutputWithContext

func (i ExactdatamatchMap) ToExactdatamatchMapOutputWithContext(ctx context.Context) ExactdatamatchMapOutput

type ExactdatamatchMapInput

type ExactdatamatchMapInput interface {
	pulumi.Input

	ToExactdatamatchMapOutput() ExactdatamatchMapOutput
	ToExactdatamatchMapOutputWithContext(context.Context) ExactdatamatchMapOutput
}

ExactdatamatchMapInput is an input type that accepts ExactdatamatchMap and ExactdatamatchMapOutput values. You can construct a concrete instance of `ExactdatamatchMapInput` via:

ExactdatamatchMap{ "key": ExactdatamatchArgs{...} }

type ExactdatamatchMapOutput

type ExactdatamatchMapOutput struct{ *pulumi.OutputState }

func (ExactdatamatchMapOutput) ElementType

func (ExactdatamatchMapOutput) ElementType() reflect.Type

func (ExactdatamatchMapOutput) MapIndex

func (ExactdatamatchMapOutput) ToExactdatamatchMapOutput

func (o ExactdatamatchMapOutput) ToExactdatamatchMapOutput() ExactdatamatchMapOutput

func (ExactdatamatchMapOutput) ToExactdatamatchMapOutputWithContext

func (o ExactdatamatchMapOutput) ToExactdatamatchMapOutputWithContext(ctx context.Context) ExactdatamatchMapOutput

type ExactdatamatchOutput

type ExactdatamatchOutput struct{ *pulumi.OutputState }

func (ExactdatamatchOutput) Columns

DLP exact-data-match column types. The structure of `columns` block is documented below.

func (ExactdatamatchOutput) Data

External resource for exact data match.

func (ExactdatamatchOutput) DynamicSortSubtable

func (o ExactdatamatchOutput) DynamicSortSubtable() pulumi.StringPtrOutput

Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].

func (ExactdatamatchOutput) ElementType

func (ExactdatamatchOutput) ElementType() reflect.Type

func (ExactdatamatchOutput) GetAllTables

func (o ExactdatamatchOutput) GetAllTables() pulumi.StringPtrOutput

Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.

func (ExactdatamatchOutput) Name

Name of table containing the exact-data-match template.

func (ExactdatamatchOutput) Optional

func (o ExactdatamatchOutput) Optional() pulumi.IntOutput

Number of optional columns need to match.

func (ExactdatamatchOutput) ToExactdatamatchOutput

func (o ExactdatamatchOutput) ToExactdatamatchOutput() ExactdatamatchOutput

func (ExactdatamatchOutput) ToExactdatamatchOutputWithContext

func (o ExactdatamatchOutput) ToExactdatamatchOutputWithContext(ctx context.Context) ExactdatamatchOutput

func (ExactdatamatchOutput) Vdomparam

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type ExactdatamatchState

type ExactdatamatchState struct {
	// DLP exact-data-match column types. The structure of `columns` block is documented below.
	Columns ExactdatamatchColumnArrayInput
	// External resource for exact data match.
	Data pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Name of table containing the exact-data-match template.
	Name pulumi.StringPtrInput
	// Number of optional columns need to match.
	Optional pulumi.IntPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (ExactdatamatchState) ElementType

func (ExactdatamatchState) ElementType() reflect.Type

type Filepattern

type Filepattern struct {
	pulumi.CustomResourceState

	// Optional comments.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"`
	// Configure file patterns used by DLP blocking. The structure of `entries` block is documented below.
	Entries FilepatternEntryArrayOutput `pulumi:"entries"`
	// ID.
	Fosid pulumi.IntOutput `pulumi:"fosid"`
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"`
	// Name of table containing the file pattern list.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Configure file patterns used by DLP blocking.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/dlp"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dlp.NewFilepattern(ctx, "trname", &dlp.FilepatternArgs{
			Fosid: pulumi.Int(9),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Dlp Filepattern can be imported using any of these accepted formats:

```sh $ pulumi import fortios:dlp/filepattern:Filepattern labelname {{fosid}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:dlp/filepattern:Filepattern labelname {{fosid}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetFilepattern

func GetFilepattern(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FilepatternState, opts ...pulumi.ResourceOption) (*Filepattern, error)

GetFilepattern gets an existing Filepattern resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFilepattern

func NewFilepattern(ctx *pulumi.Context,
	name string, args *FilepatternArgs, opts ...pulumi.ResourceOption) (*Filepattern, error)

NewFilepattern registers a new resource with the given unique name, arguments, and options.

func (*Filepattern) ElementType

func (*Filepattern) ElementType() reflect.Type

func (*Filepattern) ToFilepatternOutput

func (i *Filepattern) ToFilepatternOutput() FilepatternOutput

func (*Filepattern) ToFilepatternOutputWithContext

func (i *Filepattern) ToFilepatternOutputWithContext(ctx context.Context) FilepatternOutput

type FilepatternArgs

type FilepatternArgs struct {
	// Optional comments.
	Comment pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// Configure file patterns used by DLP blocking. The structure of `entries` block is documented below.
	Entries FilepatternEntryArrayInput
	// ID.
	Fosid pulumi.IntInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Name of table containing the file pattern list.
	Name pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Filepattern resource.

func (FilepatternArgs) ElementType

func (FilepatternArgs) ElementType() reflect.Type

type FilepatternArray

type FilepatternArray []FilepatternInput

func (FilepatternArray) ElementType

func (FilepatternArray) ElementType() reflect.Type

func (FilepatternArray) ToFilepatternArrayOutput

func (i FilepatternArray) ToFilepatternArrayOutput() FilepatternArrayOutput

func (FilepatternArray) ToFilepatternArrayOutputWithContext

func (i FilepatternArray) ToFilepatternArrayOutputWithContext(ctx context.Context) FilepatternArrayOutput

type FilepatternArrayInput

type FilepatternArrayInput interface {
	pulumi.Input

	ToFilepatternArrayOutput() FilepatternArrayOutput
	ToFilepatternArrayOutputWithContext(context.Context) FilepatternArrayOutput
}

FilepatternArrayInput is an input type that accepts FilepatternArray and FilepatternArrayOutput values. You can construct a concrete instance of `FilepatternArrayInput` via:

FilepatternArray{ FilepatternArgs{...} }

type FilepatternArrayOutput

type FilepatternArrayOutput struct{ *pulumi.OutputState }

func (FilepatternArrayOutput) ElementType

func (FilepatternArrayOutput) ElementType() reflect.Type

func (FilepatternArrayOutput) Index

func (FilepatternArrayOutput) ToFilepatternArrayOutput

func (o FilepatternArrayOutput) ToFilepatternArrayOutput() FilepatternArrayOutput

func (FilepatternArrayOutput) ToFilepatternArrayOutputWithContext

func (o FilepatternArrayOutput) ToFilepatternArrayOutputWithContext(ctx context.Context) FilepatternArrayOutput

type FilepatternEntry

type FilepatternEntry struct {
	// Select a file type.
	FileType *string `pulumi:"fileType"`
	// Filter by file name pattern or by file type. Valid values: `pattern`, `type`.
	FilterType *string `pulumi:"filterType"`
	// Add a file name pattern.
	Pattern *string `pulumi:"pattern"`
}

type FilepatternEntryArgs

type FilepatternEntryArgs struct {
	// Select a file type.
	FileType pulumi.StringPtrInput `pulumi:"fileType"`
	// Filter by file name pattern or by file type. Valid values: `pattern`, `type`.
	FilterType pulumi.StringPtrInput `pulumi:"filterType"`
	// Add a file name pattern.
	Pattern pulumi.StringPtrInput `pulumi:"pattern"`
}

func (FilepatternEntryArgs) ElementType

func (FilepatternEntryArgs) ElementType() reflect.Type

func (FilepatternEntryArgs) ToFilepatternEntryOutput

func (i FilepatternEntryArgs) ToFilepatternEntryOutput() FilepatternEntryOutput

func (FilepatternEntryArgs) ToFilepatternEntryOutputWithContext

func (i FilepatternEntryArgs) ToFilepatternEntryOutputWithContext(ctx context.Context) FilepatternEntryOutput

type FilepatternEntryArray

type FilepatternEntryArray []FilepatternEntryInput

func (FilepatternEntryArray) ElementType

func (FilepatternEntryArray) ElementType() reflect.Type

func (FilepatternEntryArray) ToFilepatternEntryArrayOutput

func (i FilepatternEntryArray) ToFilepatternEntryArrayOutput() FilepatternEntryArrayOutput

func (FilepatternEntryArray) ToFilepatternEntryArrayOutputWithContext

func (i FilepatternEntryArray) ToFilepatternEntryArrayOutputWithContext(ctx context.Context) FilepatternEntryArrayOutput

type FilepatternEntryArrayInput

type FilepatternEntryArrayInput interface {
	pulumi.Input

	ToFilepatternEntryArrayOutput() FilepatternEntryArrayOutput
	ToFilepatternEntryArrayOutputWithContext(context.Context) FilepatternEntryArrayOutput
}

FilepatternEntryArrayInput is an input type that accepts FilepatternEntryArray and FilepatternEntryArrayOutput values. You can construct a concrete instance of `FilepatternEntryArrayInput` via:

FilepatternEntryArray{ FilepatternEntryArgs{...} }

type FilepatternEntryArrayOutput

type FilepatternEntryArrayOutput struct{ *pulumi.OutputState }

func (FilepatternEntryArrayOutput) ElementType

func (FilepatternEntryArrayOutput) Index

func (FilepatternEntryArrayOutput) ToFilepatternEntryArrayOutput

func (o FilepatternEntryArrayOutput) ToFilepatternEntryArrayOutput() FilepatternEntryArrayOutput

func (FilepatternEntryArrayOutput) ToFilepatternEntryArrayOutputWithContext

func (o FilepatternEntryArrayOutput) ToFilepatternEntryArrayOutputWithContext(ctx context.Context) FilepatternEntryArrayOutput

type FilepatternEntryInput

type FilepatternEntryInput interface {
	pulumi.Input

	ToFilepatternEntryOutput() FilepatternEntryOutput
	ToFilepatternEntryOutputWithContext(context.Context) FilepatternEntryOutput
}

FilepatternEntryInput is an input type that accepts FilepatternEntryArgs and FilepatternEntryOutput values. You can construct a concrete instance of `FilepatternEntryInput` via:

FilepatternEntryArgs{...}

type FilepatternEntryOutput

type FilepatternEntryOutput struct{ *pulumi.OutputState }

func (FilepatternEntryOutput) ElementType

func (FilepatternEntryOutput) ElementType() reflect.Type

func (FilepatternEntryOutput) FileType

Select a file type.

func (FilepatternEntryOutput) FilterType

Filter by file name pattern or by file type. Valid values: `pattern`, `type`.

func (FilepatternEntryOutput) Pattern

Add a file name pattern.

func (FilepatternEntryOutput) ToFilepatternEntryOutput

func (o FilepatternEntryOutput) ToFilepatternEntryOutput() FilepatternEntryOutput

func (FilepatternEntryOutput) ToFilepatternEntryOutputWithContext

func (o FilepatternEntryOutput) ToFilepatternEntryOutputWithContext(ctx context.Context) FilepatternEntryOutput

type FilepatternInput

type FilepatternInput interface {
	pulumi.Input

	ToFilepatternOutput() FilepatternOutput
	ToFilepatternOutputWithContext(ctx context.Context) FilepatternOutput
}

type FilepatternMap

type FilepatternMap map[string]FilepatternInput

func (FilepatternMap) ElementType

func (FilepatternMap) ElementType() reflect.Type

func (FilepatternMap) ToFilepatternMapOutput

func (i FilepatternMap) ToFilepatternMapOutput() FilepatternMapOutput

func (FilepatternMap) ToFilepatternMapOutputWithContext

func (i FilepatternMap) ToFilepatternMapOutputWithContext(ctx context.Context) FilepatternMapOutput

type FilepatternMapInput

type FilepatternMapInput interface {
	pulumi.Input

	ToFilepatternMapOutput() FilepatternMapOutput
	ToFilepatternMapOutputWithContext(context.Context) FilepatternMapOutput
}

FilepatternMapInput is an input type that accepts FilepatternMap and FilepatternMapOutput values. You can construct a concrete instance of `FilepatternMapInput` via:

FilepatternMap{ "key": FilepatternArgs{...} }

type FilepatternMapOutput

type FilepatternMapOutput struct{ *pulumi.OutputState }

func (FilepatternMapOutput) ElementType

func (FilepatternMapOutput) ElementType() reflect.Type

func (FilepatternMapOutput) MapIndex

func (FilepatternMapOutput) ToFilepatternMapOutput

func (o FilepatternMapOutput) ToFilepatternMapOutput() FilepatternMapOutput

func (FilepatternMapOutput) ToFilepatternMapOutputWithContext

func (o FilepatternMapOutput) ToFilepatternMapOutputWithContext(ctx context.Context) FilepatternMapOutput

type FilepatternOutput

type FilepatternOutput struct{ *pulumi.OutputState }

func (FilepatternOutput) Comment

Optional comments.

func (FilepatternOutput) DynamicSortSubtable

func (o FilepatternOutput) DynamicSortSubtable() pulumi.StringPtrOutput

Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].

func (FilepatternOutput) ElementType

func (FilepatternOutput) ElementType() reflect.Type

func (FilepatternOutput) Entries

Configure file patterns used by DLP blocking. The structure of `entries` block is documented below.

func (FilepatternOutput) Fosid

ID.

func (FilepatternOutput) GetAllTables

func (o FilepatternOutput) GetAllTables() pulumi.StringPtrOutput

Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.

func (FilepatternOutput) Name

Name of table containing the file pattern list.

func (FilepatternOutput) ToFilepatternOutput

func (o FilepatternOutput) ToFilepatternOutput() FilepatternOutput

func (FilepatternOutput) ToFilepatternOutputWithContext

func (o FilepatternOutput) ToFilepatternOutputWithContext(ctx context.Context) FilepatternOutput

func (FilepatternOutput) Vdomparam

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type FilepatternState

type FilepatternState struct {
	// Optional comments.
	Comment pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// Configure file patterns used by DLP blocking. The structure of `entries` block is documented below.
	Entries FilepatternEntryArrayInput
	// ID.
	Fosid pulumi.IntPtrInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Name of table containing the file pattern list.
	Name pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (FilepatternState) ElementType

func (FilepatternState) ElementType() reflect.Type

type Fpdocsource

type Fpdocsource struct {
	pulumi.CustomResourceState

	// Day of the month on which to scan the server (1 - 31).
	Date pulumi.IntOutput `pulumi:"date"`
	// Path on the server to the fingerprint files (max 119 characters).
	FilePath pulumi.StringOutput `pulumi:"filePath"`
	// Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
	FilePattern pulumi.StringOutput `pulumi:"filePattern"`
	// Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: `enable`, `disable`.
	KeepModified pulumi.StringOutput `pulumi:"keepModified"`
	// Name of the DLP fingerprint database.
	Name pulumi.StringOutput `pulumi:"name"`
	// Password required to log into the file server.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// Frequency for which the FortiGate checks the server for new or changed files. Valid values: `none`, `daily`, `weekly`, `monthly`.
	Period pulumi.StringOutput `pulumi:"period"`
	// Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: `enable`, `disable`.
	RemoveDeleted pulumi.StringOutput `pulumi:"removeDeleted"`
	// Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: `enable`, `disable`.
	ScanOnCreation pulumi.StringOutput `pulumi:"scanOnCreation"`
	// Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: `enable`, `disable`.
	ScanSubdirectories pulumi.StringOutput `pulumi:"scanSubdirectories"`
	// Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
	Sensitivity pulumi.StringOutput `pulumi:"sensitivity"`
	// IPv4 or IPv6 address of the server.
	Server pulumi.StringOutput `pulumi:"server"`
	// Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: `samba`.
	ServerType pulumi.StringOutput `pulumi:"serverType"`
	// Hour of the day on which to scan the server (0 - 23, default = 1).
	TodHour pulumi.IntOutput `pulumi:"todHour"`
	// Minute of the hour on which to scan the server (0 - 59).
	TodMin pulumi.IntOutput `pulumi:"todMin"`
	// User name required to log into the file server.
	Username pulumi.StringOutput `pulumi:"username"`
	// Select the VDOM that can communicate with the file server. Valid values: `mgmt`, `current`.
	Vdom pulumi.StringOutput `pulumi:"vdom"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
	// Day of the week on which to scan the server. Valid values: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
	Weekday pulumi.StringOutput `pulumi:"weekday"`
}

Create a DLP fingerprint database by allowing the FortiGate to access a file server containing files from which to create fingerprints.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/dlp"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dlp.NewFpdocsource(ctx, "trname", &dlp.FpdocsourceArgs{
			Date:               pulumi.Int(1),
			FilePath:           pulumi.String("/"),
			FilePattern:        pulumi.String("*"),
			KeepModified:       pulumi.String("enable"),
			Period:             pulumi.String("none"),
			RemoveDeleted:      pulumi.String("enable"),
			ScanOnCreation:     pulumi.String("enable"),
			ScanSubdirectories: pulumi.String("enable"),
			Server:             pulumi.String("1.1.1.1"),
			ServerType:         pulumi.String("samba"),
			TodHour:            pulumi.Int(1),
			TodMin:             pulumi.Int(0),
			Username:           pulumi.String("sgh"),
			Vdom:               pulumi.String("mgmt"),
			Weekday:            pulumi.String("sunday"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Dlp FpDocSource can be imported using any of these accepted formats:

```sh $ pulumi import fortios:dlp/fpdocsource:Fpdocsource labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:dlp/fpdocsource:Fpdocsource labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetFpdocsource

func GetFpdocsource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FpdocsourceState, opts ...pulumi.ResourceOption) (*Fpdocsource, error)

GetFpdocsource gets an existing Fpdocsource resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFpdocsource

func NewFpdocsource(ctx *pulumi.Context,
	name string, args *FpdocsourceArgs, opts ...pulumi.ResourceOption) (*Fpdocsource, error)

NewFpdocsource registers a new resource with the given unique name, arguments, and options.

func (*Fpdocsource) ElementType

func (*Fpdocsource) ElementType() reflect.Type

func (*Fpdocsource) ToFpdocsourceOutput

func (i *Fpdocsource) ToFpdocsourceOutput() FpdocsourceOutput

func (*Fpdocsource) ToFpdocsourceOutputWithContext

func (i *Fpdocsource) ToFpdocsourceOutputWithContext(ctx context.Context) FpdocsourceOutput

type FpdocsourceArgs

type FpdocsourceArgs struct {
	// Day of the month on which to scan the server (1 - 31).
	Date pulumi.IntPtrInput
	// Path on the server to the fingerprint files (max 119 characters).
	FilePath pulumi.StringPtrInput
	// Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
	FilePattern pulumi.StringPtrInput
	// Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: `enable`, `disable`.
	KeepModified pulumi.StringPtrInput
	// Name of the DLP fingerprint database.
	Name pulumi.StringPtrInput
	// Password required to log into the file server.
	Password pulumi.StringPtrInput
	// Frequency for which the FortiGate checks the server for new or changed files. Valid values: `none`, `daily`, `weekly`, `monthly`.
	Period pulumi.StringPtrInput
	// Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: `enable`, `disable`.
	RemoveDeleted pulumi.StringPtrInput
	// Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: `enable`, `disable`.
	ScanOnCreation pulumi.StringPtrInput
	// Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: `enable`, `disable`.
	ScanSubdirectories pulumi.StringPtrInput
	// Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
	Sensitivity pulumi.StringPtrInput
	// IPv4 or IPv6 address of the server.
	Server pulumi.StringInput
	// Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: `samba`.
	ServerType pulumi.StringInput
	// Hour of the day on which to scan the server (0 - 23, default = 1).
	TodHour pulumi.IntPtrInput
	// Minute of the hour on which to scan the server (0 - 59).
	TodMin pulumi.IntPtrInput
	// User name required to log into the file server.
	Username pulumi.StringInput
	// Select the VDOM that can communicate with the file server. Valid values: `mgmt`, `current`.
	Vdom pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
	// Day of the week on which to scan the server. Valid values: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
	Weekday pulumi.StringPtrInput
}

The set of arguments for constructing a Fpdocsource resource.

func (FpdocsourceArgs) ElementType

func (FpdocsourceArgs) ElementType() reflect.Type

type FpdocsourceArray

type FpdocsourceArray []FpdocsourceInput

func (FpdocsourceArray) ElementType

func (FpdocsourceArray) ElementType() reflect.Type

func (FpdocsourceArray) ToFpdocsourceArrayOutput

func (i FpdocsourceArray) ToFpdocsourceArrayOutput() FpdocsourceArrayOutput

func (FpdocsourceArray) ToFpdocsourceArrayOutputWithContext

func (i FpdocsourceArray) ToFpdocsourceArrayOutputWithContext(ctx context.Context) FpdocsourceArrayOutput

type FpdocsourceArrayInput

type FpdocsourceArrayInput interface {
	pulumi.Input

	ToFpdocsourceArrayOutput() FpdocsourceArrayOutput
	ToFpdocsourceArrayOutputWithContext(context.Context) FpdocsourceArrayOutput
}

FpdocsourceArrayInput is an input type that accepts FpdocsourceArray and FpdocsourceArrayOutput values. You can construct a concrete instance of `FpdocsourceArrayInput` via:

FpdocsourceArray{ FpdocsourceArgs{...} }

type FpdocsourceArrayOutput

type FpdocsourceArrayOutput struct{ *pulumi.OutputState }

func (FpdocsourceArrayOutput) ElementType

func (FpdocsourceArrayOutput) ElementType() reflect.Type

func (FpdocsourceArrayOutput) Index

func (FpdocsourceArrayOutput) ToFpdocsourceArrayOutput

func (o FpdocsourceArrayOutput) ToFpdocsourceArrayOutput() FpdocsourceArrayOutput

func (FpdocsourceArrayOutput) ToFpdocsourceArrayOutputWithContext

func (o FpdocsourceArrayOutput) ToFpdocsourceArrayOutputWithContext(ctx context.Context) FpdocsourceArrayOutput

type FpdocsourceInput

type FpdocsourceInput interface {
	pulumi.Input

	ToFpdocsourceOutput() FpdocsourceOutput
	ToFpdocsourceOutputWithContext(ctx context.Context) FpdocsourceOutput
}

type FpdocsourceMap

type FpdocsourceMap map[string]FpdocsourceInput

func (FpdocsourceMap) ElementType

func (FpdocsourceMap) ElementType() reflect.Type

func (FpdocsourceMap) ToFpdocsourceMapOutput

func (i FpdocsourceMap) ToFpdocsourceMapOutput() FpdocsourceMapOutput

func (FpdocsourceMap) ToFpdocsourceMapOutputWithContext

func (i FpdocsourceMap) ToFpdocsourceMapOutputWithContext(ctx context.Context) FpdocsourceMapOutput

type FpdocsourceMapInput

type FpdocsourceMapInput interface {
	pulumi.Input

	ToFpdocsourceMapOutput() FpdocsourceMapOutput
	ToFpdocsourceMapOutputWithContext(context.Context) FpdocsourceMapOutput
}

FpdocsourceMapInput is an input type that accepts FpdocsourceMap and FpdocsourceMapOutput values. You can construct a concrete instance of `FpdocsourceMapInput` via:

FpdocsourceMap{ "key": FpdocsourceArgs{...} }

type FpdocsourceMapOutput

type FpdocsourceMapOutput struct{ *pulumi.OutputState }

func (FpdocsourceMapOutput) ElementType

func (FpdocsourceMapOutput) ElementType() reflect.Type

func (FpdocsourceMapOutput) MapIndex

func (FpdocsourceMapOutput) ToFpdocsourceMapOutput

func (o FpdocsourceMapOutput) ToFpdocsourceMapOutput() FpdocsourceMapOutput

func (FpdocsourceMapOutput) ToFpdocsourceMapOutputWithContext

func (o FpdocsourceMapOutput) ToFpdocsourceMapOutputWithContext(ctx context.Context) FpdocsourceMapOutput

type FpdocsourceOutput

type FpdocsourceOutput struct{ *pulumi.OutputState }

func (FpdocsourceOutput) Date

Day of the month on which to scan the server (1 - 31).

func (FpdocsourceOutput) ElementType

func (FpdocsourceOutput) ElementType() reflect.Type

func (FpdocsourceOutput) FilePath

func (o FpdocsourceOutput) FilePath() pulumi.StringOutput

Path on the server to the fingerprint files (max 119 characters).

func (FpdocsourceOutput) FilePattern

func (o FpdocsourceOutput) FilePattern() pulumi.StringOutput

Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.

func (FpdocsourceOutput) KeepModified

func (o FpdocsourceOutput) KeepModified() pulumi.StringOutput

Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: `enable`, `disable`.

func (FpdocsourceOutput) Name

Name of the DLP fingerprint database.

func (FpdocsourceOutput) Password

Password required to log into the file server.

func (FpdocsourceOutput) Period

Frequency for which the FortiGate checks the server for new or changed files. Valid values: `none`, `daily`, `weekly`, `monthly`.

func (FpdocsourceOutput) RemoveDeleted

func (o FpdocsourceOutput) RemoveDeleted() pulumi.StringOutput

Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: `enable`, `disable`.

func (FpdocsourceOutput) ScanOnCreation

func (o FpdocsourceOutput) ScanOnCreation() pulumi.StringOutput

Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: `enable`, `disable`.

func (FpdocsourceOutput) ScanSubdirectories

func (o FpdocsourceOutput) ScanSubdirectories() pulumi.StringOutput

Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: `enable`, `disable`.

func (FpdocsourceOutput) Sensitivity

func (o FpdocsourceOutput) Sensitivity() pulumi.StringOutput

Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.

func (FpdocsourceOutput) Server

IPv4 or IPv6 address of the server.

func (FpdocsourceOutput) ServerType

func (o FpdocsourceOutput) ServerType() pulumi.StringOutput

Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: `samba`.

func (FpdocsourceOutput) ToFpdocsourceOutput

func (o FpdocsourceOutput) ToFpdocsourceOutput() FpdocsourceOutput

func (FpdocsourceOutput) ToFpdocsourceOutputWithContext

func (o FpdocsourceOutput) ToFpdocsourceOutputWithContext(ctx context.Context) FpdocsourceOutput

func (FpdocsourceOutput) TodHour

func (o FpdocsourceOutput) TodHour() pulumi.IntOutput

Hour of the day on which to scan the server (0 - 23, default = 1).

func (FpdocsourceOutput) TodMin

func (o FpdocsourceOutput) TodMin() pulumi.IntOutput

Minute of the hour on which to scan the server (0 - 59).

func (FpdocsourceOutput) Username

func (o FpdocsourceOutput) Username() pulumi.StringOutput

User name required to log into the file server.

func (FpdocsourceOutput) Vdom

Select the VDOM that can communicate with the file server. Valid values: `mgmt`, `current`.

func (FpdocsourceOutput) Vdomparam

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

func (FpdocsourceOutput) Weekday

Day of the week on which to scan the server. Valid values: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.

type FpdocsourceState

type FpdocsourceState struct {
	// Day of the month on which to scan the server (1 - 31).
	Date pulumi.IntPtrInput
	// Path on the server to the fingerprint files (max 119 characters).
	FilePath pulumi.StringPtrInput
	// Files matching this pattern on the server are fingerprinted. Optionally use the * and ? wildcards.
	FilePattern pulumi.StringPtrInput
	// Enable so that when a file is changed on the server the FortiGate keeps the old fingerprint and adds a new fingerprint to the database. Valid values: `enable`, `disable`.
	KeepModified pulumi.StringPtrInput
	// Name of the DLP fingerprint database.
	Name pulumi.StringPtrInput
	// Password required to log into the file server.
	Password pulumi.StringPtrInput
	// Frequency for which the FortiGate checks the server for new or changed files. Valid values: `none`, `daily`, `weekly`, `monthly`.
	Period pulumi.StringPtrInput
	// Enable to keep the fingerprint database up to date when a file is deleted from the server. Valid values: `enable`, `disable`.
	RemoveDeleted pulumi.StringPtrInput
	// Enable to keep the fingerprint database up to date when a file is added or changed on the server. Valid values: `enable`, `disable`.
	ScanOnCreation pulumi.StringPtrInput
	// Enable/disable scanning subdirectories to find files to create fingerprints from. Valid values: `enable`, `disable`.
	ScanSubdirectories pulumi.StringPtrInput
	// Select a sensitivity or threat level for matches with this fingerprint database. Add sensitivities using fp-sensitivity.
	Sensitivity pulumi.StringPtrInput
	// IPv4 or IPv6 address of the server.
	Server pulumi.StringPtrInput
	// Protocol used to communicate with the file server. Currently only Samba (SMB) servers are supported. Valid values: `samba`.
	ServerType pulumi.StringPtrInput
	// Hour of the day on which to scan the server (0 - 23, default = 1).
	TodHour pulumi.IntPtrInput
	// Minute of the hour on which to scan the server (0 - 59).
	TodMin pulumi.IntPtrInput
	// User name required to log into the file server.
	Username pulumi.StringPtrInput
	// Select the VDOM that can communicate with the file server. Valid values: `mgmt`, `current`.
	Vdom pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
	// Day of the week on which to scan the server. Valid values: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
	Weekday pulumi.StringPtrInput
}

func (FpdocsourceState) ElementType

func (FpdocsourceState) ElementType() reflect.Type

type Fpsensitivity

type Fpsensitivity struct {
	pulumi.CustomResourceState

	// DLP Sensitivity Levels.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Create self-explanatory DLP sensitivity levels to be used when setting sensitivity under config fp-doc-source. Applies to FortiOS Version `<= 6.2.0`.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/dlp"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dlp.NewFpsensitivity(ctx, "trname", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Dlp FpSensitivity can be imported using any of these accepted formats:

```sh $ pulumi import fortios:dlp/fpsensitivity:Fpsensitivity labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:dlp/fpsensitivity:Fpsensitivity labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetFpsensitivity

func GetFpsensitivity(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FpsensitivityState, opts ...pulumi.ResourceOption) (*Fpsensitivity, error)

GetFpsensitivity gets an existing Fpsensitivity resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFpsensitivity

func NewFpsensitivity(ctx *pulumi.Context,
	name string, args *FpsensitivityArgs, opts ...pulumi.ResourceOption) (*Fpsensitivity, error)

NewFpsensitivity registers a new resource with the given unique name, arguments, and options.

func (*Fpsensitivity) ElementType

func (*Fpsensitivity) ElementType() reflect.Type

func (*Fpsensitivity) ToFpsensitivityOutput

func (i *Fpsensitivity) ToFpsensitivityOutput() FpsensitivityOutput

func (*Fpsensitivity) ToFpsensitivityOutputWithContext

func (i *Fpsensitivity) ToFpsensitivityOutputWithContext(ctx context.Context) FpsensitivityOutput

type FpsensitivityArgs

type FpsensitivityArgs struct {
	// DLP Sensitivity Levels.
	Name pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Fpsensitivity resource.

func (FpsensitivityArgs) ElementType

func (FpsensitivityArgs) ElementType() reflect.Type

type FpsensitivityArray

type FpsensitivityArray []FpsensitivityInput

func (FpsensitivityArray) ElementType

func (FpsensitivityArray) ElementType() reflect.Type

func (FpsensitivityArray) ToFpsensitivityArrayOutput

func (i FpsensitivityArray) ToFpsensitivityArrayOutput() FpsensitivityArrayOutput

func (FpsensitivityArray) ToFpsensitivityArrayOutputWithContext

func (i FpsensitivityArray) ToFpsensitivityArrayOutputWithContext(ctx context.Context) FpsensitivityArrayOutput

type FpsensitivityArrayInput

type FpsensitivityArrayInput interface {
	pulumi.Input

	ToFpsensitivityArrayOutput() FpsensitivityArrayOutput
	ToFpsensitivityArrayOutputWithContext(context.Context) FpsensitivityArrayOutput
}

FpsensitivityArrayInput is an input type that accepts FpsensitivityArray and FpsensitivityArrayOutput values. You can construct a concrete instance of `FpsensitivityArrayInput` via:

FpsensitivityArray{ FpsensitivityArgs{...} }

type FpsensitivityArrayOutput

type FpsensitivityArrayOutput struct{ *pulumi.OutputState }

func (FpsensitivityArrayOutput) ElementType

func (FpsensitivityArrayOutput) ElementType() reflect.Type

func (FpsensitivityArrayOutput) Index

func (FpsensitivityArrayOutput) ToFpsensitivityArrayOutput

func (o FpsensitivityArrayOutput) ToFpsensitivityArrayOutput() FpsensitivityArrayOutput

func (FpsensitivityArrayOutput) ToFpsensitivityArrayOutputWithContext

func (o FpsensitivityArrayOutput) ToFpsensitivityArrayOutputWithContext(ctx context.Context) FpsensitivityArrayOutput

type FpsensitivityInput

type FpsensitivityInput interface {
	pulumi.Input

	ToFpsensitivityOutput() FpsensitivityOutput
	ToFpsensitivityOutputWithContext(ctx context.Context) FpsensitivityOutput
}

type FpsensitivityMap

type FpsensitivityMap map[string]FpsensitivityInput

func (FpsensitivityMap) ElementType

func (FpsensitivityMap) ElementType() reflect.Type

func (FpsensitivityMap) ToFpsensitivityMapOutput

func (i FpsensitivityMap) ToFpsensitivityMapOutput() FpsensitivityMapOutput

func (FpsensitivityMap) ToFpsensitivityMapOutputWithContext

func (i FpsensitivityMap) ToFpsensitivityMapOutputWithContext(ctx context.Context) FpsensitivityMapOutput

type FpsensitivityMapInput

type FpsensitivityMapInput interface {
	pulumi.Input

	ToFpsensitivityMapOutput() FpsensitivityMapOutput
	ToFpsensitivityMapOutputWithContext(context.Context) FpsensitivityMapOutput
}

FpsensitivityMapInput is an input type that accepts FpsensitivityMap and FpsensitivityMapOutput values. You can construct a concrete instance of `FpsensitivityMapInput` via:

FpsensitivityMap{ "key": FpsensitivityArgs{...} }

type FpsensitivityMapOutput

type FpsensitivityMapOutput struct{ *pulumi.OutputState }

func (FpsensitivityMapOutput) ElementType

func (FpsensitivityMapOutput) ElementType() reflect.Type

func (FpsensitivityMapOutput) MapIndex

func (FpsensitivityMapOutput) ToFpsensitivityMapOutput

func (o FpsensitivityMapOutput) ToFpsensitivityMapOutput() FpsensitivityMapOutput

func (FpsensitivityMapOutput) ToFpsensitivityMapOutputWithContext

func (o FpsensitivityMapOutput) ToFpsensitivityMapOutputWithContext(ctx context.Context) FpsensitivityMapOutput

type FpsensitivityOutput

type FpsensitivityOutput struct{ *pulumi.OutputState }

func (FpsensitivityOutput) ElementType

func (FpsensitivityOutput) ElementType() reflect.Type

func (FpsensitivityOutput) Name

DLP Sensitivity Levels.

func (FpsensitivityOutput) ToFpsensitivityOutput

func (o FpsensitivityOutput) ToFpsensitivityOutput() FpsensitivityOutput

func (FpsensitivityOutput) ToFpsensitivityOutputWithContext

func (o FpsensitivityOutput) ToFpsensitivityOutputWithContext(ctx context.Context) FpsensitivityOutput

func (FpsensitivityOutput) Vdomparam

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type FpsensitivityState

type FpsensitivityState struct {
	// DLP Sensitivity Levels.
	Name pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (FpsensitivityState) ElementType

func (FpsensitivityState) ElementType() reflect.Type

type Profile

type Profile struct {
	pulumi.CustomResourceState

	// Comment.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// Enable/disable DLP logging. Valid values: `enable`, `disable`.
	DlpLog pulumi.StringOutput `pulumi:"dlpLog"`
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"`
	// Enable/disable extended logging for data leak prevention. Valid values: `enable`, `disable`.
	ExtendedLog pulumi.StringOutput `pulumi:"extendedLog"`
	// Flow/proxy feature set. Valid values: `flow`, `proxy`.
	FeatureSet pulumi.StringOutput `pulumi:"featureSet"`
	// Protocols to always content archive. Valid values: `smtp`, `pop3`, `imap`, `http-get`, `http-post`, `ftp`, `nntp`, `mapi`, `ssh`, `cifs`.
	FullArchiveProto pulumi.StringOutput `pulumi:"fullArchiveProto"`
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"`
	// Enable/disable NAC quarantine logging. Valid values: `enable`, `disable`.
	NacQuarLog pulumi.StringOutput `pulumi:"nacQuarLog"`
	// Name of the DLP profile.
	Name pulumi.StringOutput `pulumi:"name"`
	// Replacement message group used by this DLP profile.
	ReplacemsgGroup pulumi.StringOutput `pulumi:"replacemsgGroup"`
	// Set up DLP rules for this profile. The structure of `rule` block is documented below.
	Rules ProfileRuleArrayOutput `pulumi:"rules"`
	// Protocols to always log summary. Valid values: `smtp`, `pop3`, `imap`, `http-get`, `http-post`, `ftp`, `nntp`, `mapi`, `ssh`, `cifs`.
	SummaryProto pulumi.StringOutput `pulumi:"summaryProto"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Configure DLP profiles. Applies to FortiOS Version `>= 7.2.0`.

## Import

Dlp Profile can be imported using any of these accepted formats:

```sh $ pulumi import fortios:dlp/profile:Profile labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:dlp/profile:Profile labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetProfile

func GetProfile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProfileState, opts ...pulumi.ResourceOption) (*Profile, error)

GetProfile gets an existing Profile resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProfile

func NewProfile(ctx *pulumi.Context,
	name string, args *ProfileArgs, opts ...pulumi.ResourceOption) (*Profile, error)

NewProfile registers a new resource with the given unique name, arguments, and options.

func (*Profile) ElementType

func (*Profile) ElementType() reflect.Type

func (*Profile) ToProfileOutput

func (i *Profile) ToProfileOutput() ProfileOutput

func (*Profile) ToProfileOutputWithContext

func (i *Profile) ToProfileOutputWithContext(ctx context.Context) ProfileOutput

type ProfileArgs

type ProfileArgs struct {
	// Comment.
	Comment pulumi.StringPtrInput
	// Enable/disable DLP logging. Valid values: `enable`, `disable`.
	DlpLog pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// Enable/disable extended logging for data leak prevention. Valid values: `enable`, `disable`.
	ExtendedLog pulumi.StringPtrInput
	// Flow/proxy feature set. Valid values: `flow`, `proxy`.
	FeatureSet pulumi.StringPtrInput
	// Protocols to always content archive. Valid values: `smtp`, `pop3`, `imap`, `http-get`, `http-post`, `ftp`, `nntp`, `mapi`, `ssh`, `cifs`.
	FullArchiveProto pulumi.StringPtrInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Enable/disable NAC quarantine logging. Valid values: `enable`, `disable`.
	NacQuarLog pulumi.StringPtrInput
	// Name of the DLP profile.
	Name pulumi.StringPtrInput
	// Replacement message group used by this DLP profile.
	ReplacemsgGroup pulumi.StringPtrInput
	// Set up DLP rules for this profile. The structure of `rule` block is documented below.
	Rules ProfileRuleArrayInput
	// Protocols to always log summary. Valid values: `smtp`, `pop3`, `imap`, `http-get`, `http-post`, `ftp`, `nntp`, `mapi`, `ssh`, `cifs`.
	SummaryProto pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Profile resource.

func (ProfileArgs) ElementType

func (ProfileArgs) ElementType() reflect.Type

type ProfileArray

type ProfileArray []ProfileInput

func (ProfileArray) ElementType

func (ProfileArray) ElementType() reflect.Type

func (ProfileArray) ToProfileArrayOutput

func (i ProfileArray) ToProfileArrayOutput() ProfileArrayOutput

func (ProfileArray) ToProfileArrayOutputWithContext

func (i ProfileArray) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput

type ProfileArrayInput

type ProfileArrayInput interface {
	pulumi.Input

	ToProfileArrayOutput() ProfileArrayOutput
	ToProfileArrayOutputWithContext(context.Context) ProfileArrayOutput
}

ProfileArrayInput is an input type that accepts ProfileArray and ProfileArrayOutput values. You can construct a concrete instance of `ProfileArrayInput` via:

ProfileArray{ ProfileArgs{...} }

type ProfileArrayOutput

type ProfileArrayOutput struct{ *pulumi.OutputState }

func (ProfileArrayOutput) ElementType

func (ProfileArrayOutput) ElementType() reflect.Type

func (ProfileArrayOutput) Index

func (ProfileArrayOutput) ToProfileArrayOutput

func (o ProfileArrayOutput) ToProfileArrayOutput() ProfileArrayOutput

func (ProfileArrayOutput) ToProfileArrayOutputWithContext

func (o ProfileArrayOutput) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput

type ProfileInput

type ProfileInput interface {
	pulumi.Input

	ToProfileOutput() ProfileOutput
	ToProfileOutputWithContext(ctx context.Context) ProfileOutput
}

type ProfileMap

type ProfileMap map[string]ProfileInput

func (ProfileMap) ElementType

func (ProfileMap) ElementType() reflect.Type

func (ProfileMap) ToProfileMapOutput

func (i ProfileMap) ToProfileMapOutput() ProfileMapOutput

func (ProfileMap) ToProfileMapOutputWithContext

func (i ProfileMap) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput

type ProfileMapInput

type ProfileMapInput interface {
	pulumi.Input

	ToProfileMapOutput() ProfileMapOutput
	ToProfileMapOutputWithContext(context.Context) ProfileMapOutput
}

ProfileMapInput is an input type that accepts ProfileMap and ProfileMapOutput values. You can construct a concrete instance of `ProfileMapInput` via:

ProfileMap{ "key": ProfileArgs{...} }

type ProfileMapOutput

type ProfileMapOutput struct{ *pulumi.OutputState }

func (ProfileMapOutput) ElementType

func (ProfileMapOutput) ElementType() reflect.Type

func (ProfileMapOutput) MapIndex

func (ProfileMapOutput) ToProfileMapOutput

func (o ProfileMapOutput) ToProfileMapOutput() ProfileMapOutput

func (ProfileMapOutput) ToProfileMapOutputWithContext

func (o ProfileMapOutput) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput

type ProfileOutput

type ProfileOutput struct{ *pulumi.OutputState }

func (ProfileOutput) Comment

func (o ProfileOutput) Comment() pulumi.StringPtrOutput

Comment.

func (ProfileOutput) DlpLog

func (o ProfileOutput) DlpLog() pulumi.StringOutput

Enable/disable DLP logging. Valid values: `enable`, `disable`.

func (ProfileOutput) DynamicSortSubtable

func (o ProfileOutput) DynamicSortSubtable() pulumi.StringPtrOutput

Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].

func (ProfileOutput) ElementType

func (ProfileOutput) ElementType() reflect.Type

func (ProfileOutput) ExtendedLog

func (o ProfileOutput) ExtendedLog() pulumi.StringOutput

Enable/disable extended logging for data leak prevention. Valid values: `enable`, `disable`.

func (ProfileOutput) FeatureSet

func (o ProfileOutput) FeatureSet() pulumi.StringOutput

Flow/proxy feature set. Valid values: `flow`, `proxy`.

func (ProfileOutput) FullArchiveProto

func (o ProfileOutput) FullArchiveProto() pulumi.StringOutput

Protocols to always content archive. Valid values: `smtp`, `pop3`, `imap`, `http-get`, `http-post`, `ftp`, `nntp`, `mapi`, `ssh`, `cifs`.

func (ProfileOutput) GetAllTables

func (o ProfileOutput) GetAllTables() pulumi.StringPtrOutput

Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.

func (ProfileOutput) NacQuarLog

func (o ProfileOutput) NacQuarLog() pulumi.StringOutput

Enable/disable NAC quarantine logging. Valid values: `enable`, `disable`.

func (ProfileOutput) Name

Name of the DLP profile.

func (ProfileOutput) ReplacemsgGroup

func (o ProfileOutput) ReplacemsgGroup() pulumi.StringOutput

Replacement message group used by this DLP profile.

func (ProfileOutput) Rules

Set up DLP rules for this profile. The structure of `rule` block is documented below.

func (ProfileOutput) SummaryProto

func (o ProfileOutput) SummaryProto() pulumi.StringOutput

Protocols to always log summary. Valid values: `smtp`, `pop3`, `imap`, `http-get`, `http-post`, `ftp`, `nntp`, `mapi`, `ssh`, `cifs`.

func (ProfileOutput) ToProfileOutput

func (o ProfileOutput) ToProfileOutput() ProfileOutput

func (ProfileOutput) ToProfileOutputWithContext

func (o ProfileOutput) ToProfileOutputWithContext(ctx context.Context) ProfileOutput

func (ProfileOutput) Vdomparam

func (o ProfileOutput) Vdomparam() pulumi.StringPtrOutput

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type ProfileRule

type ProfileRule struct {
	// Action to take with content that this DLP profile matches. Valid values: `allow`, `log-only`, `block`, `quarantine-ip`.
	Action *string `pulumi:"action"`
	// Enable/disable DLP archiving. Valid values: `disable`, `enable`.
	Archive *string `pulumi:"archive"`
	// Quarantine duration in days, hours, minutes (format = dddhhmm).
	Expiry *string `pulumi:"expiry"`
	// Match files greater than or equal to this size (KB).
	FileSize *int `pulumi:"fileSize"`
	// Select the number of a DLP file pattern table to match.
	FileType *int `pulumi:"fileType"`
	// Select the type of content to match. Valid values: `sensor`, `mip`, `fingerprint`, `encrypted`, `none`.
	FilterBy *string `pulumi:"filterBy"`
	// ID.
	Id *int `pulumi:"id"`
	// MIP label dictionary.
	Label *string `pulumi:"label"`
	// Percentage of fingerprints in the fingerprint databases designated with the selected sensitivity to match.
	MatchPercentage *int `pulumi:"matchPercentage"`
	// Filter name.
	Name *string `pulumi:"name"`
	// Check messages or files over one or more of these protocols. Valid values: `smtp`, `pop3`, `imap`, `http-get`, `http-post`, `ftp`, `nntp`, `mapi`, `ssh`, `cifs`.
	Proto *string `pulumi:"proto"`
	// Select a DLP file pattern sensitivity to match. The structure of `sensitivity` block is documented below.
	Sensitivities []ProfileRuleSensitivity `pulumi:"sensitivities"`
	// Select DLP sensors. The structure of `sensor` block is documented below.
	Sensors []ProfileRuleSensor `pulumi:"sensors"`
	// Select the severity or threat level that matches this filter. Valid values: `info`, `low`, `medium`, `high`, `critical`.
	Severity *string `pulumi:"severity"`
	// Select whether to check the content of messages (an email message) or files (downloaded files or email attachments). Valid values: `file`, `message`.
	Type *string `pulumi:"type"`
}

type ProfileRuleArgs

type ProfileRuleArgs struct {
	// Action to take with content that this DLP profile matches. Valid values: `allow`, `log-only`, `block`, `quarantine-ip`.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// Enable/disable DLP archiving. Valid values: `disable`, `enable`.
	Archive pulumi.StringPtrInput `pulumi:"archive"`
	// Quarantine duration in days, hours, minutes (format = dddhhmm).
	Expiry pulumi.StringPtrInput `pulumi:"expiry"`
	// Match files greater than or equal to this size (KB).
	FileSize pulumi.IntPtrInput `pulumi:"fileSize"`
	// Select the number of a DLP file pattern table to match.
	FileType pulumi.IntPtrInput `pulumi:"fileType"`
	// Select the type of content to match. Valid values: `sensor`, `mip`, `fingerprint`, `encrypted`, `none`.
	FilterBy pulumi.StringPtrInput `pulumi:"filterBy"`
	// ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// MIP label dictionary.
	Label pulumi.StringPtrInput `pulumi:"label"`
	// Percentage of fingerprints in the fingerprint databases designated with the selected sensitivity to match.
	MatchPercentage pulumi.IntPtrInput `pulumi:"matchPercentage"`
	// Filter name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Check messages or files over one or more of these protocols. Valid values: `smtp`, `pop3`, `imap`, `http-get`, `http-post`, `ftp`, `nntp`, `mapi`, `ssh`, `cifs`.
	Proto pulumi.StringPtrInput `pulumi:"proto"`
	// Select a DLP file pattern sensitivity to match. The structure of `sensitivity` block is documented below.
	Sensitivities ProfileRuleSensitivityArrayInput `pulumi:"sensitivities"`
	// Select DLP sensors. The structure of `sensor` block is documented below.
	Sensors ProfileRuleSensorArrayInput `pulumi:"sensors"`
	// Select the severity or threat level that matches this filter. Valid values: `info`, `low`, `medium`, `high`, `critical`.
	Severity pulumi.StringPtrInput `pulumi:"severity"`
	// Select whether to check the content of messages (an email message) or files (downloaded files or email attachments). Valid values: `file`, `message`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ProfileRuleArgs) ElementType

func (ProfileRuleArgs) ElementType() reflect.Type

func (ProfileRuleArgs) ToProfileRuleOutput

func (i ProfileRuleArgs) ToProfileRuleOutput() ProfileRuleOutput

func (ProfileRuleArgs) ToProfileRuleOutputWithContext

func (i ProfileRuleArgs) ToProfileRuleOutputWithContext(ctx context.Context) ProfileRuleOutput

type ProfileRuleArray

type ProfileRuleArray []ProfileRuleInput

func (ProfileRuleArray) ElementType

func (ProfileRuleArray) ElementType() reflect.Type

func (ProfileRuleArray) ToProfileRuleArrayOutput

func (i ProfileRuleArray) ToProfileRuleArrayOutput() ProfileRuleArrayOutput

func (ProfileRuleArray) ToProfileRuleArrayOutputWithContext

func (i ProfileRuleArray) ToProfileRuleArrayOutputWithContext(ctx context.Context) ProfileRuleArrayOutput

type ProfileRuleArrayInput

type ProfileRuleArrayInput interface {
	pulumi.Input

	ToProfileRuleArrayOutput() ProfileRuleArrayOutput
	ToProfileRuleArrayOutputWithContext(context.Context) ProfileRuleArrayOutput
}

ProfileRuleArrayInput is an input type that accepts ProfileRuleArray and ProfileRuleArrayOutput values. You can construct a concrete instance of `ProfileRuleArrayInput` via:

ProfileRuleArray{ ProfileRuleArgs{...} }

type ProfileRuleArrayOutput

type ProfileRuleArrayOutput struct{ *pulumi.OutputState }

func (ProfileRuleArrayOutput) ElementType

func (ProfileRuleArrayOutput) ElementType() reflect.Type

func (ProfileRuleArrayOutput) Index

func (ProfileRuleArrayOutput) ToProfileRuleArrayOutput

func (o ProfileRuleArrayOutput) ToProfileRuleArrayOutput() ProfileRuleArrayOutput

func (ProfileRuleArrayOutput) ToProfileRuleArrayOutputWithContext

func (o ProfileRuleArrayOutput) ToProfileRuleArrayOutputWithContext(ctx context.Context) ProfileRuleArrayOutput

type ProfileRuleInput

type ProfileRuleInput interface {
	pulumi.Input

	ToProfileRuleOutput() ProfileRuleOutput
	ToProfileRuleOutputWithContext(context.Context) ProfileRuleOutput
}

ProfileRuleInput is an input type that accepts ProfileRuleArgs and ProfileRuleOutput values. You can construct a concrete instance of `ProfileRuleInput` via:

ProfileRuleArgs{...}

type ProfileRuleOutput

type ProfileRuleOutput struct{ *pulumi.OutputState }

func (ProfileRuleOutput) Action

Action to take with content that this DLP profile matches. Valid values: `allow`, `log-only`, `block`, `quarantine-ip`.

func (ProfileRuleOutput) Archive

Enable/disable DLP archiving. Valid values: `disable`, `enable`.

func (ProfileRuleOutput) ElementType

func (ProfileRuleOutput) ElementType() reflect.Type

func (ProfileRuleOutput) Expiry

Quarantine duration in days, hours, minutes (format = dddhhmm).

func (ProfileRuleOutput) FileSize

func (o ProfileRuleOutput) FileSize() pulumi.IntPtrOutput

Match files greater than or equal to this size (KB).

func (ProfileRuleOutput) FileType

func (o ProfileRuleOutput) FileType() pulumi.IntPtrOutput

Select the number of a DLP file pattern table to match.

func (ProfileRuleOutput) FilterBy

Select the type of content to match. Valid values: `sensor`, `mip`, `fingerprint`, `encrypted`, `none`.

func (ProfileRuleOutput) Id

ID.

func (ProfileRuleOutput) Label

MIP label dictionary.

func (ProfileRuleOutput) MatchPercentage

func (o ProfileRuleOutput) MatchPercentage() pulumi.IntPtrOutput

Percentage of fingerprints in the fingerprint databases designated with the selected sensitivity to match.

func (ProfileRuleOutput) Name

Filter name.

func (ProfileRuleOutput) Proto

Check messages or files over one or more of these protocols. Valid values: `smtp`, `pop3`, `imap`, `http-get`, `http-post`, `ftp`, `nntp`, `mapi`, `ssh`, `cifs`.

func (ProfileRuleOutput) Sensitivities

Select a DLP file pattern sensitivity to match. The structure of `sensitivity` block is documented below.

func (ProfileRuleOutput) Sensors

Select DLP sensors. The structure of `sensor` block is documented below.

func (ProfileRuleOutput) Severity

Select the severity or threat level that matches this filter. Valid values: `info`, `low`, `medium`, `high`, `critical`.

func (ProfileRuleOutput) ToProfileRuleOutput

func (o ProfileRuleOutput) ToProfileRuleOutput() ProfileRuleOutput

func (ProfileRuleOutput) ToProfileRuleOutputWithContext

func (o ProfileRuleOutput) ToProfileRuleOutputWithContext(ctx context.Context) ProfileRuleOutput

func (ProfileRuleOutput) Type

Select whether to check the content of messages (an email message) or files (downloaded files or email attachments). Valid values: `file`, `message`.

type ProfileRuleSensitivity

type ProfileRuleSensitivity struct {
	// Select a DLP sensitivity.
	Name *string `pulumi:"name"`
}

type ProfileRuleSensitivityArgs

type ProfileRuleSensitivityArgs struct {
	// Select a DLP sensitivity.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (ProfileRuleSensitivityArgs) ElementType

func (ProfileRuleSensitivityArgs) ElementType() reflect.Type

func (ProfileRuleSensitivityArgs) ToProfileRuleSensitivityOutput

func (i ProfileRuleSensitivityArgs) ToProfileRuleSensitivityOutput() ProfileRuleSensitivityOutput

func (ProfileRuleSensitivityArgs) ToProfileRuleSensitivityOutputWithContext

func (i ProfileRuleSensitivityArgs) ToProfileRuleSensitivityOutputWithContext(ctx context.Context) ProfileRuleSensitivityOutput

type ProfileRuleSensitivityArray

type ProfileRuleSensitivityArray []ProfileRuleSensitivityInput

func (ProfileRuleSensitivityArray) ElementType

func (ProfileRuleSensitivityArray) ToProfileRuleSensitivityArrayOutput

func (i ProfileRuleSensitivityArray) ToProfileRuleSensitivityArrayOutput() ProfileRuleSensitivityArrayOutput

func (ProfileRuleSensitivityArray) ToProfileRuleSensitivityArrayOutputWithContext

func (i ProfileRuleSensitivityArray) ToProfileRuleSensitivityArrayOutputWithContext(ctx context.Context) ProfileRuleSensitivityArrayOutput

type ProfileRuleSensitivityArrayInput

type ProfileRuleSensitivityArrayInput interface {
	pulumi.Input

	ToProfileRuleSensitivityArrayOutput() ProfileRuleSensitivityArrayOutput
	ToProfileRuleSensitivityArrayOutputWithContext(context.Context) ProfileRuleSensitivityArrayOutput
}

ProfileRuleSensitivityArrayInput is an input type that accepts ProfileRuleSensitivityArray and ProfileRuleSensitivityArrayOutput values. You can construct a concrete instance of `ProfileRuleSensitivityArrayInput` via:

ProfileRuleSensitivityArray{ ProfileRuleSensitivityArgs{...} }

type ProfileRuleSensitivityArrayOutput

type ProfileRuleSensitivityArrayOutput struct{ *pulumi.OutputState }

func (ProfileRuleSensitivityArrayOutput) ElementType

func (ProfileRuleSensitivityArrayOutput) Index

func (ProfileRuleSensitivityArrayOutput) ToProfileRuleSensitivityArrayOutput

func (o ProfileRuleSensitivityArrayOutput) ToProfileRuleSensitivityArrayOutput() ProfileRuleSensitivityArrayOutput

func (ProfileRuleSensitivityArrayOutput) ToProfileRuleSensitivityArrayOutputWithContext

func (o ProfileRuleSensitivityArrayOutput) ToProfileRuleSensitivityArrayOutputWithContext(ctx context.Context) ProfileRuleSensitivityArrayOutput

type ProfileRuleSensitivityInput

type ProfileRuleSensitivityInput interface {
	pulumi.Input

	ToProfileRuleSensitivityOutput() ProfileRuleSensitivityOutput
	ToProfileRuleSensitivityOutputWithContext(context.Context) ProfileRuleSensitivityOutput
}

ProfileRuleSensitivityInput is an input type that accepts ProfileRuleSensitivityArgs and ProfileRuleSensitivityOutput values. You can construct a concrete instance of `ProfileRuleSensitivityInput` via:

ProfileRuleSensitivityArgs{...}

type ProfileRuleSensitivityOutput

type ProfileRuleSensitivityOutput struct{ *pulumi.OutputState }

func (ProfileRuleSensitivityOutput) ElementType

func (ProfileRuleSensitivityOutput) Name

Select a DLP sensitivity.

func (ProfileRuleSensitivityOutput) ToProfileRuleSensitivityOutput

func (o ProfileRuleSensitivityOutput) ToProfileRuleSensitivityOutput() ProfileRuleSensitivityOutput

func (ProfileRuleSensitivityOutput) ToProfileRuleSensitivityOutputWithContext

func (o ProfileRuleSensitivityOutput) ToProfileRuleSensitivityOutputWithContext(ctx context.Context) ProfileRuleSensitivityOutput

type ProfileRuleSensor

type ProfileRuleSensor struct {
	// Address name.
	Name *string `pulumi:"name"`
}

type ProfileRuleSensorArgs

type ProfileRuleSensorArgs struct {
	// Address name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (ProfileRuleSensorArgs) ElementType

func (ProfileRuleSensorArgs) ElementType() reflect.Type

func (ProfileRuleSensorArgs) ToProfileRuleSensorOutput

func (i ProfileRuleSensorArgs) ToProfileRuleSensorOutput() ProfileRuleSensorOutput

func (ProfileRuleSensorArgs) ToProfileRuleSensorOutputWithContext

func (i ProfileRuleSensorArgs) ToProfileRuleSensorOutputWithContext(ctx context.Context) ProfileRuleSensorOutput

type ProfileRuleSensorArray

type ProfileRuleSensorArray []ProfileRuleSensorInput

func (ProfileRuleSensorArray) ElementType

func (ProfileRuleSensorArray) ElementType() reflect.Type

func (ProfileRuleSensorArray) ToProfileRuleSensorArrayOutput

func (i ProfileRuleSensorArray) ToProfileRuleSensorArrayOutput() ProfileRuleSensorArrayOutput

func (ProfileRuleSensorArray) ToProfileRuleSensorArrayOutputWithContext

func (i ProfileRuleSensorArray) ToProfileRuleSensorArrayOutputWithContext(ctx context.Context) ProfileRuleSensorArrayOutput

type ProfileRuleSensorArrayInput

type ProfileRuleSensorArrayInput interface {
	pulumi.Input

	ToProfileRuleSensorArrayOutput() ProfileRuleSensorArrayOutput
	ToProfileRuleSensorArrayOutputWithContext(context.Context) ProfileRuleSensorArrayOutput
}

ProfileRuleSensorArrayInput is an input type that accepts ProfileRuleSensorArray and ProfileRuleSensorArrayOutput values. You can construct a concrete instance of `ProfileRuleSensorArrayInput` via:

ProfileRuleSensorArray{ ProfileRuleSensorArgs{...} }

type ProfileRuleSensorArrayOutput

type ProfileRuleSensorArrayOutput struct{ *pulumi.OutputState }

func (ProfileRuleSensorArrayOutput) ElementType

func (ProfileRuleSensorArrayOutput) Index

func (ProfileRuleSensorArrayOutput) ToProfileRuleSensorArrayOutput

func (o ProfileRuleSensorArrayOutput) ToProfileRuleSensorArrayOutput() ProfileRuleSensorArrayOutput

func (ProfileRuleSensorArrayOutput) ToProfileRuleSensorArrayOutputWithContext

func (o ProfileRuleSensorArrayOutput) ToProfileRuleSensorArrayOutputWithContext(ctx context.Context) ProfileRuleSensorArrayOutput

type ProfileRuleSensorInput

type ProfileRuleSensorInput interface {
	pulumi.Input

	ToProfileRuleSensorOutput() ProfileRuleSensorOutput
	ToProfileRuleSensorOutputWithContext(context.Context) ProfileRuleSensorOutput
}

ProfileRuleSensorInput is an input type that accepts ProfileRuleSensorArgs and ProfileRuleSensorOutput values. You can construct a concrete instance of `ProfileRuleSensorInput` via:

ProfileRuleSensorArgs{...}

type ProfileRuleSensorOutput

type ProfileRuleSensorOutput struct{ *pulumi.OutputState }

func (ProfileRuleSensorOutput) ElementType

func (ProfileRuleSensorOutput) ElementType() reflect.Type

func (ProfileRuleSensorOutput) Name

Address name.

func (ProfileRuleSensorOutput) ToProfileRuleSensorOutput

func (o ProfileRuleSensorOutput) ToProfileRuleSensorOutput() ProfileRuleSensorOutput

func (ProfileRuleSensorOutput) ToProfileRuleSensorOutputWithContext

func (o ProfileRuleSensorOutput) ToProfileRuleSensorOutputWithContext(ctx context.Context) ProfileRuleSensorOutput

type ProfileState

type ProfileState struct {
	// Comment.
	Comment pulumi.StringPtrInput
	// Enable/disable DLP logging. Valid values: `enable`, `disable`.
	DlpLog pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// Enable/disable extended logging for data leak prevention. Valid values: `enable`, `disable`.
	ExtendedLog pulumi.StringPtrInput
	// Flow/proxy feature set. Valid values: `flow`, `proxy`.
	FeatureSet pulumi.StringPtrInput
	// Protocols to always content archive. Valid values: `smtp`, `pop3`, `imap`, `http-get`, `http-post`, `ftp`, `nntp`, `mapi`, `ssh`, `cifs`.
	FullArchiveProto pulumi.StringPtrInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Enable/disable NAC quarantine logging. Valid values: `enable`, `disable`.
	NacQuarLog pulumi.StringPtrInput
	// Name of the DLP profile.
	Name pulumi.StringPtrInput
	// Replacement message group used by this DLP profile.
	ReplacemsgGroup pulumi.StringPtrInput
	// Set up DLP rules for this profile. The structure of `rule` block is documented below.
	Rules ProfileRuleArrayInput
	// Protocols to always log summary. Valid values: `smtp`, `pop3`, `imap`, `http-get`, `http-post`, `ftp`, `nntp`, `mapi`, `ssh`, `cifs`.
	SummaryProto pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (ProfileState) ElementType

func (ProfileState) ElementType() reflect.Type

type Sensitivity

type Sensitivity struct {
	pulumi.CustomResourceState

	// DLP Sensitivity Levels.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Create self-explanatory DLP sensitivity levels to be used when setting sensitivity under config fp-doc-source. Applies to FortiOS Version `>= 6.2.4`.

## Import

Dlp Sensitivity can be imported using any of these accepted formats:

```sh $ pulumi import fortios:dlp/sensitivity:Sensitivity labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:dlp/sensitivity:Sensitivity labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetSensitivity

func GetSensitivity(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SensitivityState, opts ...pulumi.ResourceOption) (*Sensitivity, error)

GetSensitivity gets an existing Sensitivity resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSensitivity

func NewSensitivity(ctx *pulumi.Context,
	name string, args *SensitivityArgs, opts ...pulumi.ResourceOption) (*Sensitivity, error)

NewSensitivity registers a new resource with the given unique name, arguments, and options.

func (*Sensitivity) ElementType

func (*Sensitivity) ElementType() reflect.Type

func (*Sensitivity) ToSensitivityOutput

func (i *Sensitivity) ToSensitivityOutput() SensitivityOutput

func (*Sensitivity) ToSensitivityOutputWithContext

func (i *Sensitivity) ToSensitivityOutputWithContext(ctx context.Context) SensitivityOutput

type SensitivityArgs

type SensitivityArgs struct {
	// DLP Sensitivity Levels.
	Name pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Sensitivity resource.

func (SensitivityArgs) ElementType

func (SensitivityArgs) ElementType() reflect.Type

type SensitivityArray

type SensitivityArray []SensitivityInput

func (SensitivityArray) ElementType

func (SensitivityArray) ElementType() reflect.Type

func (SensitivityArray) ToSensitivityArrayOutput

func (i SensitivityArray) ToSensitivityArrayOutput() SensitivityArrayOutput

func (SensitivityArray) ToSensitivityArrayOutputWithContext

func (i SensitivityArray) ToSensitivityArrayOutputWithContext(ctx context.Context) SensitivityArrayOutput

type SensitivityArrayInput

type SensitivityArrayInput interface {
	pulumi.Input

	ToSensitivityArrayOutput() SensitivityArrayOutput
	ToSensitivityArrayOutputWithContext(context.Context) SensitivityArrayOutput
}

SensitivityArrayInput is an input type that accepts SensitivityArray and SensitivityArrayOutput values. You can construct a concrete instance of `SensitivityArrayInput` via:

SensitivityArray{ SensitivityArgs{...} }

type SensitivityArrayOutput

type SensitivityArrayOutput struct{ *pulumi.OutputState }

func (SensitivityArrayOutput) ElementType

func (SensitivityArrayOutput) ElementType() reflect.Type

func (SensitivityArrayOutput) Index

func (SensitivityArrayOutput) ToSensitivityArrayOutput

func (o SensitivityArrayOutput) ToSensitivityArrayOutput() SensitivityArrayOutput

func (SensitivityArrayOutput) ToSensitivityArrayOutputWithContext

func (o SensitivityArrayOutput) ToSensitivityArrayOutputWithContext(ctx context.Context) SensitivityArrayOutput

type SensitivityInput

type SensitivityInput interface {
	pulumi.Input

	ToSensitivityOutput() SensitivityOutput
	ToSensitivityOutputWithContext(ctx context.Context) SensitivityOutput
}

type SensitivityMap

type SensitivityMap map[string]SensitivityInput

func (SensitivityMap) ElementType

func (SensitivityMap) ElementType() reflect.Type

func (SensitivityMap) ToSensitivityMapOutput

func (i SensitivityMap) ToSensitivityMapOutput() SensitivityMapOutput

func (SensitivityMap) ToSensitivityMapOutputWithContext

func (i SensitivityMap) ToSensitivityMapOutputWithContext(ctx context.Context) SensitivityMapOutput

type SensitivityMapInput

type SensitivityMapInput interface {
	pulumi.Input

	ToSensitivityMapOutput() SensitivityMapOutput
	ToSensitivityMapOutputWithContext(context.Context) SensitivityMapOutput
}

SensitivityMapInput is an input type that accepts SensitivityMap and SensitivityMapOutput values. You can construct a concrete instance of `SensitivityMapInput` via:

SensitivityMap{ "key": SensitivityArgs{...} }

type SensitivityMapOutput

type SensitivityMapOutput struct{ *pulumi.OutputState }

func (SensitivityMapOutput) ElementType

func (SensitivityMapOutput) ElementType() reflect.Type

func (SensitivityMapOutput) MapIndex

func (SensitivityMapOutput) ToSensitivityMapOutput

func (o SensitivityMapOutput) ToSensitivityMapOutput() SensitivityMapOutput

func (SensitivityMapOutput) ToSensitivityMapOutputWithContext

func (o SensitivityMapOutput) ToSensitivityMapOutputWithContext(ctx context.Context) SensitivityMapOutput

type SensitivityOutput

type SensitivityOutput struct{ *pulumi.OutputState }

func (SensitivityOutput) ElementType

func (SensitivityOutput) ElementType() reflect.Type

func (SensitivityOutput) Name

DLP Sensitivity Levels.

func (SensitivityOutput) ToSensitivityOutput

func (o SensitivityOutput) ToSensitivityOutput() SensitivityOutput

func (SensitivityOutput) ToSensitivityOutputWithContext

func (o SensitivityOutput) ToSensitivityOutputWithContext(ctx context.Context) SensitivityOutput

func (SensitivityOutput) Vdomparam

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type SensitivityState

type SensitivityState struct {
	// DLP Sensitivity Levels.
	Name pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (SensitivityState) ElementType

func (SensitivityState) ElementType() reflect.Type

type Sensor

type Sensor struct {
	pulumi.CustomResourceState

	// Comment.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// Enable/disable DLP logging. Valid values: `enable`, `disable`.
	DlpLog pulumi.StringOutput `pulumi:"dlpLog"`
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"`
	// DLP sensor entries. The structure of `entries` block is documented below.
	Entries SensorEntryArrayOutput `pulumi:"entries"`
	// Expression to evaluate.
	Eval pulumi.StringOutput `pulumi:"eval"`
	// Enable/disable extended logging for data leak prevention. Valid values: `enable`, `disable`.
	ExtendedLog pulumi.StringOutput `pulumi:"extendedLog"`
	// Flow/proxy feature set. Valid values: `flow`, `proxy`.
	FeatureSet pulumi.StringOutput `pulumi:"featureSet"`
	// Set up DLP filters for this sensor. The structure of `filter` block is documented below.
	Filters SensorFilterArrayOutput `pulumi:"filters"`
	// Enable/disable flow-based DLP. Valid values: `enable`, `disable`.
	FlowBased pulumi.StringOutput `pulumi:"flowBased"`
	// Protocols to always content archive.
	FullArchiveProto pulumi.StringOutput `pulumi:"fullArchiveProto"`
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"`
	// Logical relation between entries (default = match-any). Valid values: `match-all`, `match-any`, `match-eval`.
	MatchType pulumi.StringOutput `pulumi:"matchType"`
	// Enable/disable NAC quarantine logging. Valid values: `enable`, `disable`.
	NacQuarLog pulumi.StringOutput `pulumi:"nacQuarLog"`
	// Name of the DLP sensor.
	Name pulumi.StringOutput `pulumi:"name"`
	// Configure DLP options.
	Options pulumi.StringOutput `pulumi:"options"`
	// Replacement message group used by this DLP sensor.
	ReplacemsgGroup pulumi.StringOutput `pulumi:"replacemsgGroup"`
	// Protocols to always log summary.
	SummaryProto pulumi.StringOutput `pulumi:"summaryProto"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Configure DLP sensors.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/dlp"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dlp.NewSensor(ctx, "trname", &dlp.SensorArgs{
			DlpLog:       pulumi.String("enable"),
			ExtendedLog:  pulumi.String("disable"),
			FlowBased:    pulumi.String("enable"),
			NacQuarLog:   pulumi.String("disable"),
			SummaryProto: pulumi.String("smtp pop3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Dlp Sensor can be imported using any of these accepted formats:

```sh $ pulumi import fortios:dlp/sensor:Sensor labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:dlp/sensor:Sensor labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetSensor

func GetSensor(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SensorState, opts ...pulumi.ResourceOption) (*Sensor, error)

GetSensor gets an existing Sensor resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSensor

func NewSensor(ctx *pulumi.Context,
	name string, args *SensorArgs, opts ...pulumi.ResourceOption) (*Sensor, error)

NewSensor registers a new resource with the given unique name, arguments, and options.

func (*Sensor) ElementType

func (*Sensor) ElementType() reflect.Type

func (*Sensor) ToSensorOutput

func (i *Sensor) ToSensorOutput() SensorOutput

func (*Sensor) ToSensorOutputWithContext

func (i *Sensor) ToSensorOutputWithContext(ctx context.Context) SensorOutput

type SensorArgs

type SensorArgs struct {
	// Comment.
	Comment pulumi.StringPtrInput
	// Enable/disable DLP logging. Valid values: `enable`, `disable`.
	DlpLog pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// DLP sensor entries. The structure of `entries` block is documented below.
	Entries SensorEntryArrayInput
	// Expression to evaluate.
	Eval pulumi.StringPtrInput
	// Enable/disable extended logging for data leak prevention. Valid values: `enable`, `disable`.
	ExtendedLog pulumi.StringPtrInput
	// Flow/proxy feature set. Valid values: `flow`, `proxy`.
	FeatureSet pulumi.StringPtrInput
	// Set up DLP filters for this sensor. The structure of `filter` block is documented below.
	Filters SensorFilterArrayInput
	// Enable/disable flow-based DLP. Valid values: `enable`, `disable`.
	FlowBased pulumi.StringPtrInput
	// Protocols to always content archive.
	FullArchiveProto pulumi.StringPtrInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Logical relation between entries (default = match-any). Valid values: `match-all`, `match-any`, `match-eval`.
	MatchType pulumi.StringPtrInput
	// Enable/disable NAC quarantine logging. Valid values: `enable`, `disable`.
	NacQuarLog pulumi.StringPtrInput
	// Name of the DLP sensor.
	Name pulumi.StringPtrInput
	// Configure DLP options.
	Options pulumi.StringPtrInput
	// Replacement message group used by this DLP sensor.
	ReplacemsgGroup pulumi.StringPtrInput
	// Protocols to always log summary.
	SummaryProto pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Sensor resource.

func (SensorArgs) ElementType

func (SensorArgs) ElementType() reflect.Type

type SensorArray

type SensorArray []SensorInput

func (SensorArray) ElementType

func (SensorArray) ElementType() reflect.Type

func (SensorArray) ToSensorArrayOutput

func (i SensorArray) ToSensorArrayOutput() SensorArrayOutput

func (SensorArray) ToSensorArrayOutputWithContext

func (i SensorArray) ToSensorArrayOutputWithContext(ctx context.Context) SensorArrayOutput

type SensorArrayInput

type SensorArrayInput interface {
	pulumi.Input

	ToSensorArrayOutput() SensorArrayOutput
	ToSensorArrayOutputWithContext(context.Context) SensorArrayOutput
}

SensorArrayInput is an input type that accepts SensorArray and SensorArrayOutput values. You can construct a concrete instance of `SensorArrayInput` via:

SensorArray{ SensorArgs{...} }

type SensorArrayOutput

type SensorArrayOutput struct{ *pulumi.OutputState }

func (SensorArrayOutput) ElementType

func (SensorArrayOutput) ElementType() reflect.Type

func (SensorArrayOutput) Index

func (SensorArrayOutput) ToSensorArrayOutput

func (o SensorArrayOutput) ToSensorArrayOutput() SensorArrayOutput

func (SensorArrayOutput) ToSensorArrayOutputWithContext

func (o SensorArrayOutput) ToSensorArrayOutputWithContext(ctx context.Context) SensorArrayOutput

type SensorEntry

type SensorEntry struct {
	// Count of dictionary matches to trigger sensor entry match (Dictionary might not be able to trigger more than once based on its 'repeat' option, 1 - 255, default = 1).
	Count *int `pulumi:"count"`
	// Select a DLP dictionary.
	Dictionary *string `pulumi:"dictionary"`
	// ID.
	Id *int `pulumi:"id"`
	// Enable/disable this entry. Valid values: `enable`, `disable`.
	Status *string `pulumi:"status"`
}

type SensorEntryArgs

type SensorEntryArgs struct {
	// Count of dictionary matches to trigger sensor entry match (Dictionary might not be able to trigger more than once based on its 'repeat' option, 1 - 255, default = 1).
	Count pulumi.IntPtrInput `pulumi:"count"`
	// Select a DLP dictionary.
	Dictionary pulumi.StringPtrInput `pulumi:"dictionary"`
	// ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// Enable/disable this entry. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (SensorEntryArgs) ElementType

func (SensorEntryArgs) ElementType() reflect.Type

func (SensorEntryArgs) ToSensorEntryOutput

func (i SensorEntryArgs) ToSensorEntryOutput() SensorEntryOutput

func (SensorEntryArgs) ToSensorEntryOutputWithContext

func (i SensorEntryArgs) ToSensorEntryOutputWithContext(ctx context.Context) SensorEntryOutput

type SensorEntryArray

type SensorEntryArray []SensorEntryInput

func (SensorEntryArray) ElementType

func (SensorEntryArray) ElementType() reflect.Type

func (SensorEntryArray) ToSensorEntryArrayOutput

func (i SensorEntryArray) ToSensorEntryArrayOutput() SensorEntryArrayOutput

func (SensorEntryArray) ToSensorEntryArrayOutputWithContext

func (i SensorEntryArray) ToSensorEntryArrayOutputWithContext(ctx context.Context) SensorEntryArrayOutput

type SensorEntryArrayInput

type SensorEntryArrayInput interface {
	pulumi.Input

	ToSensorEntryArrayOutput() SensorEntryArrayOutput
	ToSensorEntryArrayOutputWithContext(context.Context) SensorEntryArrayOutput
}

SensorEntryArrayInput is an input type that accepts SensorEntryArray and SensorEntryArrayOutput values. You can construct a concrete instance of `SensorEntryArrayInput` via:

SensorEntryArray{ SensorEntryArgs{...} }

type SensorEntryArrayOutput

type SensorEntryArrayOutput struct{ *pulumi.OutputState }

func (SensorEntryArrayOutput) ElementType

func (SensorEntryArrayOutput) ElementType() reflect.Type

func (SensorEntryArrayOutput) Index

func (SensorEntryArrayOutput) ToSensorEntryArrayOutput

func (o SensorEntryArrayOutput) ToSensorEntryArrayOutput() SensorEntryArrayOutput

func (SensorEntryArrayOutput) ToSensorEntryArrayOutputWithContext

func (o SensorEntryArrayOutput) ToSensorEntryArrayOutputWithContext(ctx context.Context) SensorEntryArrayOutput

type SensorEntryInput

type SensorEntryInput interface {
	pulumi.Input

	ToSensorEntryOutput() SensorEntryOutput
	ToSensorEntryOutputWithContext(context.Context) SensorEntryOutput
}

SensorEntryInput is an input type that accepts SensorEntryArgs and SensorEntryOutput values. You can construct a concrete instance of `SensorEntryInput` via:

SensorEntryArgs{...}

type SensorEntryOutput

type SensorEntryOutput struct{ *pulumi.OutputState }

func (SensorEntryOutput) Count

Count of dictionary matches to trigger sensor entry match (Dictionary might not be able to trigger more than once based on its 'repeat' option, 1 - 255, default = 1).

func (SensorEntryOutput) Dictionary

func (o SensorEntryOutput) Dictionary() pulumi.StringPtrOutput

Select a DLP dictionary.

func (SensorEntryOutput) ElementType

func (SensorEntryOutput) ElementType() reflect.Type

func (SensorEntryOutput) Id

ID.

func (SensorEntryOutput) Status

Enable/disable this entry. Valid values: `enable`, `disable`.

func (SensorEntryOutput) ToSensorEntryOutput

func (o SensorEntryOutput) ToSensorEntryOutput() SensorEntryOutput

func (SensorEntryOutput) ToSensorEntryOutputWithContext

func (o SensorEntryOutput) ToSensorEntryOutputWithContext(ctx context.Context) SensorEntryOutput

type SensorFilter

type SensorFilter struct {
	// Action to take with content that this DLP sensor matches. Valid values: `allow`, `log-only`, `block`, `quarantine-ip`.
	Action *string `pulumi:"action"`
	// Enable/disable DLP archiving. Valid values: `disable`, `enable`.
	Archive *string `pulumi:"archive"`
	// Enter a company identifier watermark to match. Only watermarks that your company has placed on the files are matched.
	CompanyIdentifier *string `pulumi:"companyIdentifier"`
	// Quarantine duration in days, hours, minutes (format = dddhhmm).
	Expiry *string `pulumi:"expiry"`
	// Match files this size or larger (0 - 4294967295 kbytes).
	FileSize *int `pulumi:"fileSize"`
	// Select the number of a DLP file pattern table to match.
	FileType *int `pulumi:"fileType"`
	// Select the type of content to match.
	FilterBy *string `pulumi:"filterBy"`
	// Select a DLP file pattern sensitivity to match. The structure of `fpSensitivity` block is documented below.
	FpSensitivities []SensorFilterFpSensitivity `pulumi:"fpSensitivities"`
	// ID.
	Id *int `pulumi:"id"`
	// Percentage of fingerprints in the fingerprint databases designated with the selected fp-sensitivity to match.
	MatchPercentage *int `pulumi:"matchPercentage"`
	// Filter name.
	Name *string `pulumi:"name"`
	// Check messages or files over one or more of these protocols.
	Proto *string `pulumi:"proto"`
	// Enter a regular expression to match (max. 255 characters).
	Regexp *string `pulumi:"regexp"`
	// Select a DLP file pattern sensitivity to match. The structure of `sensitivity` block is documented below.
	Sensitivities []SensorFilterSensitivity `pulumi:"sensitivities"`
	// Select the severity or threat level that matches this filter. Valid values: `info`, `low`, `medium`, `high`, `critical`.
	Severity *string `pulumi:"severity"`
	// Select whether to check the content of messages (an email message) or files (downloaded files or email attachments).  Valid values: `file`, `message`.
	Type *string `pulumi:"type"`
}

type SensorFilterArgs

type SensorFilterArgs struct {
	// Action to take with content that this DLP sensor matches. Valid values: `allow`, `log-only`, `block`, `quarantine-ip`.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// Enable/disable DLP archiving. Valid values: `disable`, `enable`.
	Archive pulumi.StringPtrInput `pulumi:"archive"`
	// Enter a company identifier watermark to match. Only watermarks that your company has placed on the files are matched.
	CompanyIdentifier pulumi.StringPtrInput `pulumi:"companyIdentifier"`
	// Quarantine duration in days, hours, minutes (format = dddhhmm).
	Expiry pulumi.StringPtrInput `pulumi:"expiry"`
	// Match files this size or larger (0 - 4294967295 kbytes).
	FileSize pulumi.IntPtrInput `pulumi:"fileSize"`
	// Select the number of a DLP file pattern table to match.
	FileType pulumi.IntPtrInput `pulumi:"fileType"`
	// Select the type of content to match.
	FilterBy pulumi.StringPtrInput `pulumi:"filterBy"`
	// Select a DLP file pattern sensitivity to match. The structure of `fpSensitivity` block is documented below.
	FpSensitivities SensorFilterFpSensitivityArrayInput `pulumi:"fpSensitivities"`
	// ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// Percentage of fingerprints in the fingerprint databases designated with the selected fp-sensitivity to match.
	MatchPercentage pulumi.IntPtrInput `pulumi:"matchPercentage"`
	// Filter name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Check messages or files over one or more of these protocols.
	Proto pulumi.StringPtrInput `pulumi:"proto"`
	// Enter a regular expression to match (max. 255 characters).
	Regexp pulumi.StringPtrInput `pulumi:"regexp"`
	// Select a DLP file pattern sensitivity to match. The structure of `sensitivity` block is documented below.
	Sensitivities SensorFilterSensitivityArrayInput `pulumi:"sensitivities"`
	// Select the severity or threat level that matches this filter. Valid values: `info`, `low`, `medium`, `high`, `critical`.
	Severity pulumi.StringPtrInput `pulumi:"severity"`
	// Select whether to check the content of messages (an email message) or files (downloaded files or email attachments).  Valid values: `file`, `message`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (SensorFilterArgs) ElementType

func (SensorFilterArgs) ElementType() reflect.Type

func (SensorFilterArgs) ToSensorFilterOutput

func (i SensorFilterArgs) ToSensorFilterOutput() SensorFilterOutput

func (SensorFilterArgs) ToSensorFilterOutputWithContext

func (i SensorFilterArgs) ToSensorFilterOutputWithContext(ctx context.Context) SensorFilterOutput

type SensorFilterArray

type SensorFilterArray []SensorFilterInput

func (SensorFilterArray) ElementType

func (SensorFilterArray) ElementType() reflect.Type

func (SensorFilterArray) ToSensorFilterArrayOutput

func (i SensorFilterArray) ToSensorFilterArrayOutput() SensorFilterArrayOutput

func (SensorFilterArray) ToSensorFilterArrayOutputWithContext

func (i SensorFilterArray) ToSensorFilterArrayOutputWithContext(ctx context.Context) SensorFilterArrayOutput

type SensorFilterArrayInput

type SensorFilterArrayInput interface {
	pulumi.Input

	ToSensorFilterArrayOutput() SensorFilterArrayOutput
	ToSensorFilterArrayOutputWithContext(context.Context) SensorFilterArrayOutput
}

SensorFilterArrayInput is an input type that accepts SensorFilterArray and SensorFilterArrayOutput values. You can construct a concrete instance of `SensorFilterArrayInput` via:

SensorFilterArray{ SensorFilterArgs{...} }

type SensorFilterArrayOutput

type SensorFilterArrayOutput struct{ *pulumi.OutputState }

func (SensorFilterArrayOutput) ElementType

func (SensorFilterArrayOutput) ElementType() reflect.Type

func (SensorFilterArrayOutput) Index

func (SensorFilterArrayOutput) ToSensorFilterArrayOutput

func (o SensorFilterArrayOutput) ToSensorFilterArrayOutput() SensorFilterArrayOutput

func (SensorFilterArrayOutput) ToSensorFilterArrayOutputWithContext

func (o SensorFilterArrayOutput) ToSensorFilterArrayOutputWithContext(ctx context.Context) SensorFilterArrayOutput

type SensorFilterFpSensitivity

type SensorFilterFpSensitivity struct {
	// Select a DLP sensitivity.
	Name *string `pulumi:"name"`
}

type SensorFilterFpSensitivityArgs

type SensorFilterFpSensitivityArgs struct {
	// Select a DLP sensitivity.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (SensorFilterFpSensitivityArgs) ElementType

func (SensorFilterFpSensitivityArgs) ToSensorFilterFpSensitivityOutput

func (i SensorFilterFpSensitivityArgs) ToSensorFilterFpSensitivityOutput() SensorFilterFpSensitivityOutput

func (SensorFilterFpSensitivityArgs) ToSensorFilterFpSensitivityOutputWithContext

func (i SensorFilterFpSensitivityArgs) ToSensorFilterFpSensitivityOutputWithContext(ctx context.Context) SensorFilterFpSensitivityOutput

type SensorFilterFpSensitivityArray

type SensorFilterFpSensitivityArray []SensorFilterFpSensitivityInput

func (SensorFilterFpSensitivityArray) ElementType

func (SensorFilterFpSensitivityArray) ToSensorFilterFpSensitivityArrayOutput

func (i SensorFilterFpSensitivityArray) ToSensorFilterFpSensitivityArrayOutput() SensorFilterFpSensitivityArrayOutput

func (SensorFilterFpSensitivityArray) ToSensorFilterFpSensitivityArrayOutputWithContext

func (i SensorFilterFpSensitivityArray) ToSensorFilterFpSensitivityArrayOutputWithContext(ctx context.Context) SensorFilterFpSensitivityArrayOutput

type SensorFilterFpSensitivityArrayInput

type SensorFilterFpSensitivityArrayInput interface {
	pulumi.Input

	ToSensorFilterFpSensitivityArrayOutput() SensorFilterFpSensitivityArrayOutput
	ToSensorFilterFpSensitivityArrayOutputWithContext(context.Context) SensorFilterFpSensitivityArrayOutput
}

SensorFilterFpSensitivityArrayInput is an input type that accepts SensorFilterFpSensitivityArray and SensorFilterFpSensitivityArrayOutput values. You can construct a concrete instance of `SensorFilterFpSensitivityArrayInput` via:

SensorFilterFpSensitivityArray{ SensorFilterFpSensitivityArgs{...} }

type SensorFilterFpSensitivityArrayOutput

type SensorFilterFpSensitivityArrayOutput struct{ *pulumi.OutputState }

func (SensorFilterFpSensitivityArrayOutput) ElementType

func (SensorFilterFpSensitivityArrayOutput) Index

func (SensorFilterFpSensitivityArrayOutput) ToSensorFilterFpSensitivityArrayOutput

func (o SensorFilterFpSensitivityArrayOutput) ToSensorFilterFpSensitivityArrayOutput() SensorFilterFpSensitivityArrayOutput

func (SensorFilterFpSensitivityArrayOutput) ToSensorFilterFpSensitivityArrayOutputWithContext

func (o SensorFilterFpSensitivityArrayOutput) ToSensorFilterFpSensitivityArrayOutputWithContext(ctx context.Context) SensorFilterFpSensitivityArrayOutput

type SensorFilterFpSensitivityInput

type SensorFilterFpSensitivityInput interface {
	pulumi.Input

	ToSensorFilterFpSensitivityOutput() SensorFilterFpSensitivityOutput
	ToSensorFilterFpSensitivityOutputWithContext(context.Context) SensorFilterFpSensitivityOutput
}

SensorFilterFpSensitivityInput is an input type that accepts SensorFilterFpSensitivityArgs and SensorFilterFpSensitivityOutput values. You can construct a concrete instance of `SensorFilterFpSensitivityInput` via:

SensorFilterFpSensitivityArgs{...}

type SensorFilterFpSensitivityOutput

type SensorFilterFpSensitivityOutput struct{ *pulumi.OutputState }

func (SensorFilterFpSensitivityOutput) ElementType

func (SensorFilterFpSensitivityOutput) Name

Select a DLP sensitivity.

func (SensorFilterFpSensitivityOutput) ToSensorFilterFpSensitivityOutput

func (o SensorFilterFpSensitivityOutput) ToSensorFilterFpSensitivityOutput() SensorFilterFpSensitivityOutput

func (SensorFilterFpSensitivityOutput) ToSensorFilterFpSensitivityOutputWithContext

func (o SensorFilterFpSensitivityOutput) ToSensorFilterFpSensitivityOutputWithContext(ctx context.Context) SensorFilterFpSensitivityOutput

type SensorFilterInput

type SensorFilterInput interface {
	pulumi.Input

	ToSensorFilterOutput() SensorFilterOutput
	ToSensorFilterOutputWithContext(context.Context) SensorFilterOutput
}

SensorFilterInput is an input type that accepts SensorFilterArgs and SensorFilterOutput values. You can construct a concrete instance of `SensorFilterInput` via:

SensorFilterArgs{...}

type SensorFilterOutput

type SensorFilterOutput struct{ *pulumi.OutputState }

func (SensorFilterOutput) Action

Action to take with content that this DLP sensor matches. Valid values: `allow`, `log-only`, `block`, `quarantine-ip`.

func (SensorFilterOutput) Archive

Enable/disable DLP archiving. Valid values: `disable`, `enable`.

func (SensorFilterOutput) CompanyIdentifier

func (o SensorFilterOutput) CompanyIdentifier() pulumi.StringPtrOutput

Enter a company identifier watermark to match. Only watermarks that your company has placed on the files are matched.

func (SensorFilterOutput) ElementType

func (SensorFilterOutput) ElementType() reflect.Type

func (SensorFilterOutput) Expiry

Quarantine duration in days, hours, minutes (format = dddhhmm).

func (SensorFilterOutput) FileSize

func (o SensorFilterOutput) FileSize() pulumi.IntPtrOutput

Match files this size or larger (0 - 4294967295 kbytes).

func (SensorFilterOutput) FileType

func (o SensorFilterOutput) FileType() pulumi.IntPtrOutput

Select the number of a DLP file pattern table to match.

func (SensorFilterOutput) FilterBy

Select the type of content to match.

func (SensorFilterOutput) FpSensitivities

Select a DLP file pattern sensitivity to match. The structure of `fpSensitivity` block is documented below.

func (SensorFilterOutput) Id

ID.

func (SensorFilterOutput) MatchPercentage

func (o SensorFilterOutput) MatchPercentage() pulumi.IntPtrOutput

Percentage of fingerprints in the fingerprint databases designated with the selected fp-sensitivity to match.

func (SensorFilterOutput) Name

Filter name.

func (SensorFilterOutput) Proto

Check messages or files over one or more of these protocols.

func (SensorFilterOutput) Regexp

Enter a regular expression to match (max. 255 characters).

func (SensorFilterOutput) Sensitivities

Select a DLP file pattern sensitivity to match. The structure of `sensitivity` block is documented below.

func (SensorFilterOutput) Severity

Select the severity or threat level that matches this filter. Valid values: `info`, `low`, `medium`, `high`, `critical`.

func (SensorFilterOutput) ToSensorFilterOutput

func (o SensorFilterOutput) ToSensorFilterOutput() SensorFilterOutput

func (SensorFilterOutput) ToSensorFilterOutputWithContext

func (o SensorFilterOutput) ToSensorFilterOutputWithContext(ctx context.Context) SensorFilterOutput

func (SensorFilterOutput) Type

Select whether to check the content of messages (an email message) or files (downloaded files or email attachments). Valid values: `file`, `message`.

type SensorFilterSensitivity

type SensorFilterSensitivity struct {
	// Select a DLP sensitivity.
	Name *string `pulumi:"name"`
}

type SensorFilterSensitivityArgs

type SensorFilterSensitivityArgs struct {
	// Select a DLP sensitivity.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (SensorFilterSensitivityArgs) ElementType

func (SensorFilterSensitivityArgs) ToSensorFilterSensitivityOutput

func (i SensorFilterSensitivityArgs) ToSensorFilterSensitivityOutput() SensorFilterSensitivityOutput

func (SensorFilterSensitivityArgs) ToSensorFilterSensitivityOutputWithContext

func (i SensorFilterSensitivityArgs) ToSensorFilterSensitivityOutputWithContext(ctx context.Context) SensorFilterSensitivityOutput

type SensorFilterSensitivityArray

type SensorFilterSensitivityArray []SensorFilterSensitivityInput

func (SensorFilterSensitivityArray) ElementType

func (SensorFilterSensitivityArray) ToSensorFilterSensitivityArrayOutput

func (i SensorFilterSensitivityArray) ToSensorFilterSensitivityArrayOutput() SensorFilterSensitivityArrayOutput

func (SensorFilterSensitivityArray) ToSensorFilterSensitivityArrayOutputWithContext

func (i SensorFilterSensitivityArray) ToSensorFilterSensitivityArrayOutputWithContext(ctx context.Context) SensorFilterSensitivityArrayOutput

type SensorFilterSensitivityArrayInput

type SensorFilterSensitivityArrayInput interface {
	pulumi.Input

	ToSensorFilterSensitivityArrayOutput() SensorFilterSensitivityArrayOutput
	ToSensorFilterSensitivityArrayOutputWithContext(context.Context) SensorFilterSensitivityArrayOutput
}

SensorFilterSensitivityArrayInput is an input type that accepts SensorFilterSensitivityArray and SensorFilterSensitivityArrayOutput values. You can construct a concrete instance of `SensorFilterSensitivityArrayInput` via:

SensorFilterSensitivityArray{ SensorFilterSensitivityArgs{...} }

type SensorFilterSensitivityArrayOutput

type SensorFilterSensitivityArrayOutput struct{ *pulumi.OutputState }

func (SensorFilterSensitivityArrayOutput) ElementType

func (SensorFilterSensitivityArrayOutput) Index

func (SensorFilterSensitivityArrayOutput) ToSensorFilterSensitivityArrayOutput

func (o SensorFilterSensitivityArrayOutput) ToSensorFilterSensitivityArrayOutput() SensorFilterSensitivityArrayOutput

func (SensorFilterSensitivityArrayOutput) ToSensorFilterSensitivityArrayOutputWithContext

func (o SensorFilterSensitivityArrayOutput) ToSensorFilterSensitivityArrayOutputWithContext(ctx context.Context) SensorFilterSensitivityArrayOutput

type SensorFilterSensitivityInput

type SensorFilterSensitivityInput interface {
	pulumi.Input

	ToSensorFilterSensitivityOutput() SensorFilterSensitivityOutput
	ToSensorFilterSensitivityOutputWithContext(context.Context) SensorFilterSensitivityOutput
}

SensorFilterSensitivityInput is an input type that accepts SensorFilterSensitivityArgs and SensorFilterSensitivityOutput values. You can construct a concrete instance of `SensorFilterSensitivityInput` via:

SensorFilterSensitivityArgs{...}

type SensorFilterSensitivityOutput

type SensorFilterSensitivityOutput struct{ *pulumi.OutputState }

func (SensorFilterSensitivityOutput) ElementType

func (SensorFilterSensitivityOutput) Name

Select a DLP sensitivity.

func (SensorFilterSensitivityOutput) ToSensorFilterSensitivityOutput

func (o SensorFilterSensitivityOutput) ToSensorFilterSensitivityOutput() SensorFilterSensitivityOutput

func (SensorFilterSensitivityOutput) ToSensorFilterSensitivityOutputWithContext

func (o SensorFilterSensitivityOutput) ToSensorFilterSensitivityOutputWithContext(ctx context.Context) SensorFilterSensitivityOutput

type SensorInput

type SensorInput interface {
	pulumi.Input

	ToSensorOutput() SensorOutput
	ToSensorOutputWithContext(ctx context.Context) SensorOutput
}

type SensorMap

type SensorMap map[string]SensorInput

func (SensorMap) ElementType

func (SensorMap) ElementType() reflect.Type

func (SensorMap) ToSensorMapOutput

func (i SensorMap) ToSensorMapOutput() SensorMapOutput

func (SensorMap) ToSensorMapOutputWithContext

func (i SensorMap) ToSensorMapOutputWithContext(ctx context.Context) SensorMapOutput

type SensorMapInput

type SensorMapInput interface {
	pulumi.Input

	ToSensorMapOutput() SensorMapOutput
	ToSensorMapOutputWithContext(context.Context) SensorMapOutput
}

SensorMapInput is an input type that accepts SensorMap and SensorMapOutput values. You can construct a concrete instance of `SensorMapInput` via:

SensorMap{ "key": SensorArgs{...} }

type SensorMapOutput

type SensorMapOutput struct{ *pulumi.OutputState }

func (SensorMapOutput) ElementType

func (SensorMapOutput) ElementType() reflect.Type

func (SensorMapOutput) MapIndex

func (SensorMapOutput) ToSensorMapOutput

func (o SensorMapOutput) ToSensorMapOutput() SensorMapOutput

func (SensorMapOutput) ToSensorMapOutputWithContext

func (o SensorMapOutput) ToSensorMapOutputWithContext(ctx context.Context) SensorMapOutput

type SensorOutput

type SensorOutput struct{ *pulumi.OutputState }

func (SensorOutput) Comment

func (o SensorOutput) Comment() pulumi.StringPtrOutput

Comment.

func (SensorOutput) DlpLog

func (o SensorOutput) DlpLog() pulumi.StringOutput

Enable/disable DLP logging. Valid values: `enable`, `disable`.

func (SensorOutput) DynamicSortSubtable

func (o SensorOutput) DynamicSortSubtable() pulumi.StringPtrOutput

Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].

func (SensorOutput) ElementType

func (SensorOutput) ElementType() reflect.Type

func (SensorOutput) Entries

DLP sensor entries. The structure of `entries` block is documented below.

func (SensorOutput) Eval

func (o SensorOutput) Eval() pulumi.StringOutput

Expression to evaluate.

func (SensorOutput) ExtendedLog

func (o SensorOutput) ExtendedLog() pulumi.StringOutput

Enable/disable extended logging for data leak prevention. Valid values: `enable`, `disable`.

func (SensorOutput) FeatureSet

func (o SensorOutput) FeatureSet() pulumi.StringOutput

Flow/proxy feature set. Valid values: `flow`, `proxy`.

func (SensorOutput) Filters

Set up DLP filters for this sensor. The structure of `filter` block is documented below.

func (SensorOutput) FlowBased

func (o SensorOutput) FlowBased() pulumi.StringOutput

Enable/disable flow-based DLP. Valid values: `enable`, `disable`.

func (SensorOutput) FullArchiveProto

func (o SensorOutput) FullArchiveProto() pulumi.StringOutput

Protocols to always content archive.

func (SensorOutput) GetAllTables

func (o SensorOutput) GetAllTables() pulumi.StringPtrOutput

Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.

func (SensorOutput) MatchType

func (o SensorOutput) MatchType() pulumi.StringOutput

Logical relation between entries (default = match-any). Valid values: `match-all`, `match-any`, `match-eval`.

func (SensorOutput) NacQuarLog

func (o SensorOutput) NacQuarLog() pulumi.StringOutput

Enable/disable NAC quarantine logging. Valid values: `enable`, `disable`.

func (SensorOutput) Name

func (o SensorOutput) Name() pulumi.StringOutput

Name of the DLP sensor.

func (SensorOutput) Options

func (o SensorOutput) Options() pulumi.StringOutput

Configure DLP options.

func (SensorOutput) ReplacemsgGroup

func (o SensorOutput) ReplacemsgGroup() pulumi.StringOutput

Replacement message group used by this DLP sensor.

func (SensorOutput) SummaryProto

func (o SensorOutput) SummaryProto() pulumi.StringOutput

Protocols to always log summary.

func (SensorOutput) ToSensorOutput

func (o SensorOutput) ToSensorOutput() SensorOutput

func (SensorOutput) ToSensorOutputWithContext

func (o SensorOutput) ToSensorOutputWithContext(ctx context.Context) SensorOutput

func (SensorOutput) Vdomparam

func (o SensorOutput) Vdomparam() pulumi.StringPtrOutput

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type SensorState

type SensorState struct {
	// Comment.
	Comment pulumi.StringPtrInput
	// Enable/disable DLP logging. Valid values: `enable`, `disable`.
	DlpLog pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// DLP sensor entries. The structure of `entries` block is documented below.
	Entries SensorEntryArrayInput
	// Expression to evaluate.
	Eval pulumi.StringPtrInput
	// Enable/disable extended logging for data leak prevention. Valid values: `enable`, `disable`.
	ExtendedLog pulumi.StringPtrInput
	// Flow/proxy feature set. Valid values: `flow`, `proxy`.
	FeatureSet pulumi.StringPtrInput
	// Set up DLP filters for this sensor. The structure of `filter` block is documented below.
	Filters SensorFilterArrayInput
	// Enable/disable flow-based DLP. Valid values: `enable`, `disable`.
	FlowBased pulumi.StringPtrInput
	// Protocols to always content archive.
	FullArchiveProto pulumi.StringPtrInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Logical relation between entries (default = match-any). Valid values: `match-all`, `match-any`, `match-eval`.
	MatchType pulumi.StringPtrInput
	// Enable/disable NAC quarantine logging. Valid values: `enable`, `disable`.
	NacQuarLog pulumi.StringPtrInput
	// Name of the DLP sensor.
	Name pulumi.StringPtrInput
	// Configure DLP options.
	Options pulumi.StringPtrInput
	// Replacement message group used by this DLP sensor.
	ReplacemsgGroup pulumi.StringPtrInput
	// Protocols to always log summary.
	SummaryProto pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (SensorState) ElementType

func (SensorState) ElementType() reflect.Type

type Settings

type Settings struct {
	pulumi.CustomResourceState

	// Maximum percentage of available memory allocated to caching (1 - 15).
	CacheMemPercent pulumi.IntOutput `pulumi:"cacheMemPercent"`
	// Maximum fingerprint chunk size.  **Changing will flush the entire database**.
	ChunkSize pulumi.IntOutput `pulumi:"chunkSize"`
	// Behaviour when the maximum size is reached. Valid values: `stop-adding`, `remove-modified-then-oldest`, `remove-oldest`.
	DbMode pulumi.StringOutput `pulumi:"dbMode"`
	// Maximum total size of files within the storage (MB).
	Size pulumi.IntOutput `pulumi:"size"`
	// Storage device name.
	StorageDevice pulumi.StringOutput `pulumi:"storageDevice"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Designate logical storage for DLP fingerprint database.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/dlp"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dlp.NewSettings(ctx, "trname", &dlp.SettingsArgs{
			CacheMemPercent: pulumi.Int(2),
			ChunkSize:       pulumi.Int(2800),
			DbMode:          pulumi.String("stop-adding"),
			Size:            pulumi.Int(16),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Dlp Settings can be imported using any of these accepted formats:

```sh $ pulumi import fortios:dlp/settings:Settings labelname DlpSettings ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:dlp/settings:Settings labelname DlpSettings ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetSettings

func GetSettings(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SettingsState, opts ...pulumi.ResourceOption) (*Settings, error)

GetSettings gets an existing Settings resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSettings

func NewSettings(ctx *pulumi.Context,
	name string, args *SettingsArgs, opts ...pulumi.ResourceOption) (*Settings, error)

NewSettings registers a new resource with the given unique name, arguments, and options.

func (*Settings) ElementType

func (*Settings) ElementType() reflect.Type

func (*Settings) ToSettingsOutput

func (i *Settings) ToSettingsOutput() SettingsOutput

func (*Settings) ToSettingsOutputWithContext

func (i *Settings) ToSettingsOutputWithContext(ctx context.Context) SettingsOutput

type SettingsArgs

type SettingsArgs struct {
	// Maximum percentage of available memory allocated to caching (1 - 15).
	CacheMemPercent pulumi.IntPtrInput
	// Maximum fingerprint chunk size.  **Changing will flush the entire database**.
	ChunkSize pulumi.IntPtrInput
	// Behaviour when the maximum size is reached. Valid values: `stop-adding`, `remove-modified-then-oldest`, `remove-oldest`.
	DbMode pulumi.StringPtrInput
	// Maximum total size of files within the storage (MB).
	Size pulumi.IntPtrInput
	// Storage device name.
	StorageDevice pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Settings resource.

func (SettingsArgs) ElementType

func (SettingsArgs) ElementType() reflect.Type

type SettingsArray

type SettingsArray []SettingsInput

func (SettingsArray) ElementType

func (SettingsArray) ElementType() reflect.Type

func (SettingsArray) ToSettingsArrayOutput

func (i SettingsArray) ToSettingsArrayOutput() SettingsArrayOutput

func (SettingsArray) ToSettingsArrayOutputWithContext

func (i SettingsArray) ToSettingsArrayOutputWithContext(ctx context.Context) SettingsArrayOutput

type SettingsArrayInput

type SettingsArrayInput interface {
	pulumi.Input

	ToSettingsArrayOutput() SettingsArrayOutput
	ToSettingsArrayOutputWithContext(context.Context) SettingsArrayOutput
}

SettingsArrayInput is an input type that accepts SettingsArray and SettingsArrayOutput values. You can construct a concrete instance of `SettingsArrayInput` via:

SettingsArray{ SettingsArgs{...} }

type SettingsArrayOutput

type SettingsArrayOutput struct{ *pulumi.OutputState }

func (SettingsArrayOutput) ElementType

func (SettingsArrayOutput) ElementType() reflect.Type

func (SettingsArrayOutput) Index

func (SettingsArrayOutput) ToSettingsArrayOutput

func (o SettingsArrayOutput) ToSettingsArrayOutput() SettingsArrayOutput

func (SettingsArrayOutput) ToSettingsArrayOutputWithContext

func (o SettingsArrayOutput) ToSettingsArrayOutputWithContext(ctx context.Context) SettingsArrayOutput

type SettingsInput

type SettingsInput interface {
	pulumi.Input

	ToSettingsOutput() SettingsOutput
	ToSettingsOutputWithContext(ctx context.Context) SettingsOutput
}

type SettingsMap

type SettingsMap map[string]SettingsInput

func (SettingsMap) ElementType

func (SettingsMap) ElementType() reflect.Type

func (SettingsMap) ToSettingsMapOutput

func (i SettingsMap) ToSettingsMapOutput() SettingsMapOutput

func (SettingsMap) ToSettingsMapOutputWithContext

func (i SettingsMap) ToSettingsMapOutputWithContext(ctx context.Context) SettingsMapOutput

type SettingsMapInput

type SettingsMapInput interface {
	pulumi.Input

	ToSettingsMapOutput() SettingsMapOutput
	ToSettingsMapOutputWithContext(context.Context) SettingsMapOutput
}

SettingsMapInput is an input type that accepts SettingsMap and SettingsMapOutput values. You can construct a concrete instance of `SettingsMapInput` via:

SettingsMap{ "key": SettingsArgs{...} }

type SettingsMapOutput

type SettingsMapOutput struct{ *pulumi.OutputState }

func (SettingsMapOutput) ElementType

func (SettingsMapOutput) ElementType() reflect.Type

func (SettingsMapOutput) MapIndex

func (SettingsMapOutput) ToSettingsMapOutput

func (o SettingsMapOutput) ToSettingsMapOutput() SettingsMapOutput

func (SettingsMapOutput) ToSettingsMapOutputWithContext

func (o SettingsMapOutput) ToSettingsMapOutputWithContext(ctx context.Context) SettingsMapOutput

type SettingsOutput

type SettingsOutput struct{ *pulumi.OutputState }

func (SettingsOutput) CacheMemPercent

func (o SettingsOutput) CacheMemPercent() pulumi.IntOutput

Maximum percentage of available memory allocated to caching (1 - 15).

func (SettingsOutput) ChunkSize

func (o SettingsOutput) ChunkSize() pulumi.IntOutput

Maximum fingerprint chunk size. **Changing will flush the entire database**.

func (SettingsOutput) DbMode

func (o SettingsOutput) DbMode() pulumi.StringOutput

Behaviour when the maximum size is reached. Valid values: `stop-adding`, `remove-modified-then-oldest`, `remove-oldest`.

func (SettingsOutput) ElementType

func (SettingsOutput) ElementType() reflect.Type

func (SettingsOutput) Size

func (o SettingsOutput) Size() pulumi.IntOutput

Maximum total size of files within the storage (MB).

func (SettingsOutput) StorageDevice

func (o SettingsOutput) StorageDevice() pulumi.StringOutput

Storage device name.

func (SettingsOutput) ToSettingsOutput

func (o SettingsOutput) ToSettingsOutput() SettingsOutput

func (SettingsOutput) ToSettingsOutputWithContext

func (o SettingsOutput) ToSettingsOutputWithContext(ctx context.Context) SettingsOutput

func (SettingsOutput) Vdomparam

func (o SettingsOutput) Vdomparam() pulumi.StringPtrOutput

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type SettingsState

type SettingsState struct {
	// Maximum percentage of available memory allocated to caching (1 - 15).
	CacheMemPercent pulumi.IntPtrInput
	// Maximum fingerprint chunk size.  **Changing will flush the entire database**.
	ChunkSize pulumi.IntPtrInput
	// Behaviour when the maximum size is reached. Valid values: `stop-adding`, `remove-modified-then-oldest`, `remove-oldest`.
	DbMode pulumi.StringPtrInput
	// Maximum total size of files within the storage (MB).
	Size pulumi.IntPtrInput
	// Storage device name.
	StorageDevice pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (SettingsState) ElementType

func (SettingsState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL