spam

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 Bwl

type Bwl 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"`
	// Anti-spam black/white list entries. The structure of `entries` block is documented below.
	Entries BwlEntryArrayOutput `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.
	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 anti-spam black/white list. 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/filter"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := filter.NewBwl(ctx, "trname", &filter.BwlArgs{
			Comment: pulumi.String("test"),
			Entries: spam.BwlEntryArray{
				&spam.BwlEntryArgs{
					Action:      pulumi.String("reject"),
					AddrType:    pulumi.String("ipv4"),
					Ip4Subnet:   pulumi.String("1.1.1.0 255.255.255.0"),
					Ip6Subnet:   pulumi.String("::/128"),
					PatternType: pulumi.String("wildcard"),
					Status:      pulumi.String("enable"),
					Type:        pulumi.String("ip"),
				},
			},
			Fosid: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Spamfilter Bwl can be imported using any of these accepted formats:

```sh $ pulumi import fortios:filter/spam/bwl:Bwl labelname {{fosid}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:filter/spam/bwl:Bwl labelname {{fosid}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetBwl

func GetBwl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BwlState, opts ...pulumi.ResourceOption) (*Bwl, error)

GetBwl gets an existing Bwl 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 NewBwl

func NewBwl(ctx *pulumi.Context,
	name string, args *BwlArgs, opts ...pulumi.ResourceOption) (*Bwl, error)

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

func (*Bwl) ElementType

func (*Bwl) ElementType() reflect.Type

func (*Bwl) ToBwlOutput

func (i *Bwl) ToBwlOutput() BwlOutput

func (*Bwl) ToBwlOutputWithContext

func (i *Bwl) ToBwlOutputWithContext(ctx context.Context) BwlOutput

type BwlArgs

type BwlArgs 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
	// Anti-spam black/white list entries. The structure of `entries` block is documented below.
	Entries BwlEntryArrayInput
	// 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.
	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 Bwl resource.

func (BwlArgs) ElementType

func (BwlArgs) ElementType() reflect.Type

type BwlArray

type BwlArray []BwlInput

func (BwlArray) ElementType

func (BwlArray) ElementType() reflect.Type

func (BwlArray) ToBwlArrayOutput

func (i BwlArray) ToBwlArrayOutput() BwlArrayOutput

func (BwlArray) ToBwlArrayOutputWithContext

func (i BwlArray) ToBwlArrayOutputWithContext(ctx context.Context) BwlArrayOutput

type BwlArrayInput

type BwlArrayInput interface {
	pulumi.Input

	ToBwlArrayOutput() BwlArrayOutput
	ToBwlArrayOutputWithContext(context.Context) BwlArrayOutput
}

BwlArrayInput is an input type that accepts BwlArray and BwlArrayOutput values. You can construct a concrete instance of `BwlArrayInput` via:

BwlArray{ BwlArgs{...} }

type BwlArrayOutput

type BwlArrayOutput struct{ *pulumi.OutputState }

func (BwlArrayOutput) ElementType

func (BwlArrayOutput) ElementType() reflect.Type

func (BwlArrayOutput) Index

func (BwlArrayOutput) ToBwlArrayOutput

func (o BwlArrayOutput) ToBwlArrayOutput() BwlArrayOutput

func (BwlArrayOutput) ToBwlArrayOutputWithContext

func (o BwlArrayOutput) ToBwlArrayOutputWithContext(ctx context.Context) BwlArrayOutput

type BwlEntry

type BwlEntry struct {
	// Reject, mark as spam or good email. Valid values: `reject`, `spam`, `clear`.
	Action *string `pulumi:"action"`
	// IP address type. Valid values: `ipv4`, `ipv6`.
	AddrType *string `pulumi:"addrType"`
	// Email address pattern.
	EmailPattern *string `pulumi:"emailPattern"`
	// Entry ID.
	Id *int `pulumi:"id"`
	// IPv4 network address/subnet mask bits.
	Ip4Subnet *string `pulumi:"ip4Subnet"`
	// IPv6 network address/subnet mask bits.
	Ip6Subnet *string `pulumi:"ip6Subnet"`
	// Wildcard pattern or regular expression. Valid values: `wildcard`, `regexp`.
	PatternType *string `pulumi:"patternType"`
	// Enable/disable status. Valid values: `enable`, `disable`.
	Status *string `pulumi:"status"`
	// Entry type. Valid values: `ip`, `email`.
	Type *string `pulumi:"type"`
}

type BwlEntryArgs

type BwlEntryArgs struct {
	// Reject, mark as spam or good email. Valid values: `reject`, `spam`, `clear`.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// IP address type. Valid values: `ipv4`, `ipv6`.
	AddrType pulumi.StringPtrInput `pulumi:"addrType"`
	// Email address pattern.
	EmailPattern pulumi.StringPtrInput `pulumi:"emailPattern"`
	// Entry ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// IPv4 network address/subnet mask bits.
	Ip4Subnet pulumi.StringPtrInput `pulumi:"ip4Subnet"`
	// IPv6 network address/subnet mask bits.
	Ip6Subnet pulumi.StringPtrInput `pulumi:"ip6Subnet"`
	// Wildcard pattern or regular expression. Valid values: `wildcard`, `regexp`.
	PatternType pulumi.StringPtrInput `pulumi:"patternType"`
	// Enable/disable status. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Entry type. Valid values: `ip`, `email`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (BwlEntryArgs) ElementType

func (BwlEntryArgs) ElementType() reflect.Type

func (BwlEntryArgs) ToBwlEntryOutput

func (i BwlEntryArgs) ToBwlEntryOutput() BwlEntryOutput

func (BwlEntryArgs) ToBwlEntryOutputWithContext

func (i BwlEntryArgs) ToBwlEntryOutputWithContext(ctx context.Context) BwlEntryOutput

type BwlEntryArray

type BwlEntryArray []BwlEntryInput

func (BwlEntryArray) ElementType

func (BwlEntryArray) ElementType() reflect.Type

func (BwlEntryArray) ToBwlEntryArrayOutput

func (i BwlEntryArray) ToBwlEntryArrayOutput() BwlEntryArrayOutput

func (BwlEntryArray) ToBwlEntryArrayOutputWithContext

func (i BwlEntryArray) ToBwlEntryArrayOutputWithContext(ctx context.Context) BwlEntryArrayOutput

type BwlEntryArrayInput

type BwlEntryArrayInput interface {
	pulumi.Input

	ToBwlEntryArrayOutput() BwlEntryArrayOutput
	ToBwlEntryArrayOutputWithContext(context.Context) BwlEntryArrayOutput
}

BwlEntryArrayInput is an input type that accepts BwlEntryArray and BwlEntryArrayOutput values. You can construct a concrete instance of `BwlEntryArrayInput` via:

BwlEntryArray{ BwlEntryArgs{...} }

type BwlEntryArrayOutput

type BwlEntryArrayOutput struct{ *pulumi.OutputState }

func (BwlEntryArrayOutput) ElementType

func (BwlEntryArrayOutput) ElementType() reflect.Type

func (BwlEntryArrayOutput) Index

func (BwlEntryArrayOutput) ToBwlEntryArrayOutput

func (o BwlEntryArrayOutput) ToBwlEntryArrayOutput() BwlEntryArrayOutput

func (BwlEntryArrayOutput) ToBwlEntryArrayOutputWithContext

func (o BwlEntryArrayOutput) ToBwlEntryArrayOutputWithContext(ctx context.Context) BwlEntryArrayOutput

type BwlEntryInput

type BwlEntryInput interface {
	pulumi.Input

	ToBwlEntryOutput() BwlEntryOutput
	ToBwlEntryOutputWithContext(context.Context) BwlEntryOutput
}

BwlEntryInput is an input type that accepts BwlEntryArgs and BwlEntryOutput values. You can construct a concrete instance of `BwlEntryInput` via:

BwlEntryArgs{...}

type BwlEntryOutput

type BwlEntryOutput struct{ *pulumi.OutputState }

func (BwlEntryOutput) Action

Reject, mark as spam or good email. Valid values: `reject`, `spam`, `clear`.

func (BwlEntryOutput) AddrType

func (o BwlEntryOutput) AddrType() pulumi.StringPtrOutput

IP address type. Valid values: `ipv4`, `ipv6`.

func (BwlEntryOutput) ElementType

func (BwlEntryOutput) ElementType() reflect.Type

func (BwlEntryOutput) EmailPattern

func (o BwlEntryOutput) EmailPattern() pulumi.StringPtrOutput

Email address pattern.

func (BwlEntryOutput) Id

Entry ID.

func (BwlEntryOutput) Ip4Subnet

func (o BwlEntryOutput) Ip4Subnet() pulumi.StringPtrOutput

IPv4 network address/subnet mask bits.

func (BwlEntryOutput) Ip6Subnet

func (o BwlEntryOutput) Ip6Subnet() pulumi.StringPtrOutput

IPv6 network address/subnet mask bits.

func (BwlEntryOutput) PatternType

func (o BwlEntryOutput) PatternType() pulumi.StringPtrOutput

Wildcard pattern or regular expression. Valid values: `wildcard`, `regexp`.

func (BwlEntryOutput) Status

Enable/disable status. Valid values: `enable`, `disable`.

func (BwlEntryOutput) ToBwlEntryOutput

func (o BwlEntryOutput) ToBwlEntryOutput() BwlEntryOutput

func (BwlEntryOutput) ToBwlEntryOutputWithContext

func (o BwlEntryOutput) ToBwlEntryOutputWithContext(ctx context.Context) BwlEntryOutput

func (BwlEntryOutput) Type

Entry type. Valid values: `ip`, `email`.

type BwlInput

type BwlInput interface {
	pulumi.Input

	ToBwlOutput() BwlOutput
	ToBwlOutputWithContext(ctx context.Context) BwlOutput
}

type BwlMap

type BwlMap map[string]BwlInput

func (BwlMap) ElementType

func (BwlMap) ElementType() reflect.Type

func (BwlMap) ToBwlMapOutput

func (i BwlMap) ToBwlMapOutput() BwlMapOutput

func (BwlMap) ToBwlMapOutputWithContext

func (i BwlMap) ToBwlMapOutputWithContext(ctx context.Context) BwlMapOutput

type BwlMapInput

type BwlMapInput interface {
	pulumi.Input

	ToBwlMapOutput() BwlMapOutput
	ToBwlMapOutputWithContext(context.Context) BwlMapOutput
}

BwlMapInput is an input type that accepts BwlMap and BwlMapOutput values. You can construct a concrete instance of `BwlMapInput` via:

BwlMap{ "key": BwlArgs{...} }

type BwlMapOutput

type BwlMapOutput struct{ *pulumi.OutputState }

func (BwlMapOutput) ElementType

func (BwlMapOutput) ElementType() reflect.Type

func (BwlMapOutput) MapIndex

func (o BwlMapOutput) MapIndex(k pulumi.StringInput) BwlOutput

func (BwlMapOutput) ToBwlMapOutput

func (o BwlMapOutput) ToBwlMapOutput() BwlMapOutput

func (BwlMapOutput) ToBwlMapOutputWithContext

func (o BwlMapOutput) ToBwlMapOutputWithContext(ctx context.Context) BwlMapOutput

type BwlOutput

type BwlOutput struct{ *pulumi.OutputState }

func (BwlOutput) Comment

func (o BwlOutput) Comment() pulumi.StringPtrOutput

Optional comments.

func (BwlOutput) DynamicSortSubtable

func (o BwlOutput) 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 (BwlOutput) ElementType

func (BwlOutput) ElementType() reflect.Type

func (BwlOutput) Entries

func (o BwlOutput) Entries() BwlEntryArrayOutput

Anti-spam black/white list entries. The structure of `entries` block is documented below.

func (BwlOutput) Fosid

func (o BwlOutput) Fosid() pulumi.IntOutput

ID.

func (BwlOutput) GetAllTables

func (o BwlOutput) 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 (BwlOutput) Name

func (o BwlOutput) Name() pulumi.StringOutput

Name of table.

func (BwlOutput) ToBwlOutput

func (o BwlOutput) ToBwlOutput() BwlOutput

func (BwlOutput) ToBwlOutputWithContext

func (o BwlOutput) ToBwlOutputWithContext(ctx context.Context) BwlOutput

func (BwlOutput) Vdomparam

func (o BwlOutput) 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 BwlState

type BwlState 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
	// Anti-spam black/white list entries. The structure of `entries` block is documented below.
	Entries BwlEntryArrayInput
	// 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.
	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 (BwlState) ElementType

func (BwlState) ElementType() reflect.Type

type Bword

type Bword 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"`
	// Spam filter banned word. The structure of `entries` block is documented below.
	Entries BwordEntryArrayOutput `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.
	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 AntiSpam banned word list. 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/filter"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := filter.NewBword(ctx, "trname", &filter.BwordArgs{
			Comment: pulumi.String("test"),
			Entries: spam.BwordEntryArray{
				&spam.BwordEntryArgs{
					Action:      pulumi.String("clear"),
					Language:    pulumi.String("western"),
					Pattern:     pulumi.String("test*patten"),
					PatternType: pulumi.String("wildcard"),
					Score:       pulumi.Int(10),
					Status:      pulumi.String("enable"),
					Where:       pulumi.String("subject"),
				},
			},
			Fosid: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Spamfilter Bword can be imported using any of these accepted formats:

```sh $ pulumi import fortios:filter/spam/bword:Bword labelname {{fosid}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:filter/spam/bword:Bword labelname {{fosid}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetBword

func GetBword(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BwordState, opts ...pulumi.ResourceOption) (*Bword, error)

GetBword gets an existing Bword 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 NewBword

func NewBword(ctx *pulumi.Context,
	name string, args *BwordArgs, opts ...pulumi.ResourceOption) (*Bword, error)

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

func (*Bword) ElementType

func (*Bword) ElementType() reflect.Type

func (*Bword) ToBwordOutput

func (i *Bword) ToBwordOutput() BwordOutput

func (*Bword) ToBwordOutputWithContext

func (i *Bword) ToBwordOutputWithContext(ctx context.Context) BwordOutput

type BwordArgs

type BwordArgs 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
	// Spam filter banned word. The structure of `entries` block is documented below.
	Entries BwordEntryArrayInput
	// 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.
	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 Bword resource.

func (BwordArgs) ElementType

func (BwordArgs) ElementType() reflect.Type

type BwordArray

type BwordArray []BwordInput

func (BwordArray) ElementType

func (BwordArray) ElementType() reflect.Type

func (BwordArray) ToBwordArrayOutput

func (i BwordArray) ToBwordArrayOutput() BwordArrayOutput

func (BwordArray) ToBwordArrayOutputWithContext

func (i BwordArray) ToBwordArrayOutputWithContext(ctx context.Context) BwordArrayOutput

type BwordArrayInput

type BwordArrayInput interface {
	pulumi.Input

	ToBwordArrayOutput() BwordArrayOutput
	ToBwordArrayOutputWithContext(context.Context) BwordArrayOutput
}

BwordArrayInput is an input type that accepts BwordArray and BwordArrayOutput values. You can construct a concrete instance of `BwordArrayInput` via:

BwordArray{ BwordArgs{...} }

type BwordArrayOutput

type BwordArrayOutput struct{ *pulumi.OutputState }

func (BwordArrayOutput) ElementType

func (BwordArrayOutput) ElementType() reflect.Type

func (BwordArrayOutput) Index

func (BwordArrayOutput) ToBwordArrayOutput

func (o BwordArrayOutput) ToBwordArrayOutput() BwordArrayOutput

func (BwordArrayOutput) ToBwordArrayOutputWithContext

func (o BwordArrayOutput) ToBwordArrayOutputWithContext(ctx context.Context) BwordArrayOutput

type BwordEntry

type BwordEntry struct {
	// Mark spam or good. Valid values: `spam`, `clear`.
	Action *string `pulumi:"action"`
	// Banned word entry ID.
	Id *int `pulumi:"id"`
	// Language for the banned word. Valid values: `western`, `simch`, `trach`, `japanese`, `korean`, `french`, `thai`, `spanish`.
	Language *string `pulumi:"language"`
	// Pattern for the banned word.
	Pattern *string `pulumi:"pattern"`
	// Wildcard pattern or regular expression. Valid values: `wildcard`, `regexp`.
	PatternType *string `pulumi:"patternType"`
	// Score value.
	Score *int `pulumi:"score"`
	// Enable/disable status. Valid values: `enable`, `disable`.
	Status *string `pulumi:"status"`
	// Component of the email to be scanned. Valid values: `subject`, `body`, `all`.
	Where *string `pulumi:"where"`
}

type BwordEntryArgs

type BwordEntryArgs struct {
	// Mark spam or good. Valid values: `spam`, `clear`.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// Banned word entry ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// Language for the banned word. Valid values: `western`, `simch`, `trach`, `japanese`, `korean`, `french`, `thai`, `spanish`.
	Language pulumi.StringPtrInput `pulumi:"language"`
	// Pattern for the banned word.
	Pattern pulumi.StringPtrInput `pulumi:"pattern"`
	// Wildcard pattern or regular expression. Valid values: `wildcard`, `regexp`.
	PatternType pulumi.StringPtrInput `pulumi:"patternType"`
	// Score value.
	Score pulumi.IntPtrInput `pulumi:"score"`
	// Enable/disable status. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Component of the email to be scanned. Valid values: `subject`, `body`, `all`.
	Where pulumi.StringPtrInput `pulumi:"where"`
}

func (BwordEntryArgs) ElementType

func (BwordEntryArgs) ElementType() reflect.Type

func (BwordEntryArgs) ToBwordEntryOutput

func (i BwordEntryArgs) ToBwordEntryOutput() BwordEntryOutput

func (BwordEntryArgs) ToBwordEntryOutputWithContext

func (i BwordEntryArgs) ToBwordEntryOutputWithContext(ctx context.Context) BwordEntryOutput

type BwordEntryArray

type BwordEntryArray []BwordEntryInput

func (BwordEntryArray) ElementType

func (BwordEntryArray) ElementType() reflect.Type

func (BwordEntryArray) ToBwordEntryArrayOutput

func (i BwordEntryArray) ToBwordEntryArrayOutput() BwordEntryArrayOutput

func (BwordEntryArray) ToBwordEntryArrayOutputWithContext

func (i BwordEntryArray) ToBwordEntryArrayOutputWithContext(ctx context.Context) BwordEntryArrayOutput

type BwordEntryArrayInput

type BwordEntryArrayInput interface {
	pulumi.Input

	ToBwordEntryArrayOutput() BwordEntryArrayOutput
	ToBwordEntryArrayOutputWithContext(context.Context) BwordEntryArrayOutput
}

BwordEntryArrayInput is an input type that accepts BwordEntryArray and BwordEntryArrayOutput values. You can construct a concrete instance of `BwordEntryArrayInput` via:

BwordEntryArray{ BwordEntryArgs{...} }

type BwordEntryArrayOutput

type BwordEntryArrayOutput struct{ *pulumi.OutputState }

func (BwordEntryArrayOutput) ElementType

func (BwordEntryArrayOutput) ElementType() reflect.Type

func (BwordEntryArrayOutput) Index

func (BwordEntryArrayOutput) ToBwordEntryArrayOutput

func (o BwordEntryArrayOutput) ToBwordEntryArrayOutput() BwordEntryArrayOutput

func (BwordEntryArrayOutput) ToBwordEntryArrayOutputWithContext

func (o BwordEntryArrayOutput) ToBwordEntryArrayOutputWithContext(ctx context.Context) BwordEntryArrayOutput

type BwordEntryInput

type BwordEntryInput interface {
	pulumi.Input

	ToBwordEntryOutput() BwordEntryOutput
	ToBwordEntryOutputWithContext(context.Context) BwordEntryOutput
}

BwordEntryInput is an input type that accepts BwordEntryArgs and BwordEntryOutput values. You can construct a concrete instance of `BwordEntryInput` via:

BwordEntryArgs{...}

type BwordEntryOutput

type BwordEntryOutput struct{ *pulumi.OutputState }

func (BwordEntryOutput) Action

Mark spam or good. Valid values: `spam`, `clear`.

func (BwordEntryOutput) ElementType

func (BwordEntryOutput) ElementType() reflect.Type

func (BwordEntryOutput) Id

Banned word entry ID.

func (BwordEntryOutput) Language

Language for the banned word. Valid values: `western`, `simch`, `trach`, `japanese`, `korean`, `french`, `thai`, `spanish`.

func (BwordEntryOutput) Pattern

Pattern for the banned word.

func (BwordEntryOutput) PatternType

func (o BwordEntryOutput) PatternType() pulumi.StringPtrOutput

Wildcard pattern or regular expression. Valid values: `wildcard`, `regexp`.

func (BwordEntryOutput) Score

Score value.

func (BwordEntryOutput) Status

Enable/disable status. Valid values: `enable`, `disable`.

func (BwordEntryOutput) ToBwordEntryOutput

func (o BwordEntryOutput) ToBwordEntryOutput() BwordEntryOutput

func (BwordEntryOutput) ToBwordEntryOutputWithContext

func (o BwordEntryOutput) ToBwordEntryOutputWithContext(ctx context.Context) BwordEntryOutput

func (BwordEntryOutput) Where

Component of the email to be scanned. Valid values: `subject`, `body`, `all`.

type BwordInput

type BwordInput interface {
	pulumi.Input

	ToBwordOutput() BwordOutput
	ToBwordOutputWithContext(ctx context.Context) BwordOutput
}

type BwordMap

type BwordMap map[string]BwordInput

func (BwordMap) ElementType

func (BwordMap) ElementType() reflect.Type

func (BwordMap) ToBwordMapOutput

func (i BwordMap) ToBwordMapOutput() BwordMapOutput

func (BwordMap) ToBwordMapOutputWithContext

func (i BwordMap) ToBwordMapOutputWithContext(ctx context.Context) BwordMapOutput

type BwordMapInput

type BwordMapInput interface {
	pulumi.Input

	ToBwordMapOutput() BwordMapOutput
	ToBwordMapOutputWithContext(context.Context) BwordMapOutput
}

BwordMapInput is an input type that accepts BwordMap and BwordMapOutput values. You can construct a concrete instance of `BwordMapInput` via:

BwordMap{ "key": BwordArgs{...} }

type BwordMapOutput

type BwordMapOutput struct{ *pulumi.OutputState }

func (BwordMapOutput) ElementType

func (BwordMapOutput) ElementType() reflect.Type

func (BwordMapOutput) MapIndex

func (BwordMapOutput) ToBwordMapOutput

func (o BwordMapOutput) ToBwordMapOutput() BwordMapOutput

func (BwordMapOutput) ToBwordMapOutputWithContext

func (o BwordMapOutput) ToBwordMapOutputWithContext(ctx context.Context) BwordMapOutput

type BwordOutput

type BwordOutput struct{ *pulumi.OutputState }

func (BwordOutput) Comment

func (o BwordOutput) Comment() pulumi.StringPtrOutput

Optional comments.

func (BwordOutput) DynamicSortSubtable

func (o BwordOutput) 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 (BwordOutput) ElementType

func (BwordOutput) ElementType() reflect.Type

func (BwordOutput) Entries

func (o BwordOutput) Entries() BwordEntryArrayOutput

Spam filter banned word. The structure of `entries` block is documented below.

func (BwordOutput) Fosid

func (o BwordOutput) Fosid() pulumi.IntOutput

ID.

func (BwordOutput) GetAllTables

func (o BwordOutput) 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 (BwordOutput) Name

func (o BwordOutput) Name() pulumi.StringOutput

Name of table.

func (BwordOutput) ToBwordOutput

func (o BwordOutput) ToBwordOutput() BwordOutput

func (BwordOutput) ToBwordOutputWithContext

func (o BwordOutput) ToBwordOutputWithContext(ctx context.Context) BwordOutput

func (BwordOutput) Vdomparam

func (o BwordOutput) 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 BwordState

type BwordState 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
	// Spam filter banned word. The structure of `entries` block is documented below.
	Entries BwordEntryArrayInput
	// 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.
	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 (BwordState) ElementType

func (BwordState) ElementType() reflect.Type

type Dnsbl

type Dnsbl 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"`
	// Spam filter DNSBL and ORBL server. The structure of `entries` block is documented below.
	Entries DnsblEntryArrayOutput `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.
	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 AntiSpam DNSBL/ORBL. 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/filter"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := filter.NewDnsbl(ctx, "trname", &filter.DnsblArgs{
			Comment: pulumi.String("test"),
			Entries: spam.DnsblEntryArray{
				&spam.DnsblEntryArgs{
					Action: pulumi.String("reject"),
					Server: pulumi.String("1.1.1.1"),
					Status: pulumi.String("enable"),
				},
			},
			Fosid: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Spamfilter Dnsbl can be imported using any of these accepted formats:

```sh $ pulumi import fortios:filter/spam/dnsbl:Dnsbl labelname {{fosid}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:filter/spam/dnsbl:Dnsbl labelname {{fosid}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetDnsbl

func GetDnsbl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DnsblState, opts ...pulumi.ResourceOption) (*Dnsbl, error)

GetDnsbl gets an existing Dnsbl 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 NewDnsbl

func NewDnsbl(ctx *pulumi.Context,
	name string, args *DnsblArgs, opts ...pulumi.ResourceOption) (*Dnsbl, error)

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

func (*Dnsbl) ElementType

func (*Dnsbl) ElementType() reflect.Type

func (*Dnsbl) ToDnsblOutput

func (i *Dnsbl) ToDnsblOutput() DnsblOutput

func (*Dnsbl) ToDnsblOutputWithContext

func (i *Dnsbl) ToDnsblOutputWithContext(ctx context.Context) DnsblOutput

type DnsblArgs

type DnsblArgs 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
	// Spam filter DNSBL and ORBL server. The structure of `entries` block is documented below.
	Entries DnsblEntryArrayInput
	// 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.
	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 Dnsbl resource.

func (DnsblArgs) ElementType

func (DnsblArgs) ElementType() reflect.Type

type DnsblArray

type DnsblArray []DnsblInput

func (DnsblArray) ElementType

func (DnsblArray) ElementType() reflect.Type

func (DnsblArray) ToDnsblArrayOutput

func (i DnsblArray) ToDnsblArrayOutput() DnsblArrayOutput

func (DnsblArray) ToDnsblArrayOutputWithContext

func (i DnsblArray) ToDnsblArrayOutputWithContext(ctx context.Context) DnsblArrayOutput

type DnsblArrayInput

type DnsblArrayInput interface {
	pulumi.Input

	ToDnsblArrayOutput() DnsblArrayOutput
	ToDnsblArrayOutputWithContext(context.Context) DnsblArrayOutput
}

DnsblArrayInput is an input type that accepts DnsblArray and DnsblArrayOutput values. You can construct a concrete instance of `DnsblArrayInput` via:

DnsblArray{ DnsblArgs{...} }

type DnsblArrayOutput

type DnsblArrayOutput struct{ *pulumi.OutputState }

func (DnsblArrayOutput) ElementType

func (DnsblArrayOutput) ElementType() reflect.Type

func (DnsblArrayOutput) Index

func (DnsblArrayOutput) ToDnsblArrayOutput

func (o DnsblArrayOutput) ToDnsblArrayOutput() DnsblArrayOutput

func (DnsblArrayOutput) ToDnsblArrayOutputWithContext

func (o DnsblArrayOutput) ToDnsblArrayOutputWithContext(ctx context.Context) DnsblArrayOutput

type DnsblEntry

type DnsblEntry struct {
	// Reject connection or mark as spam email. Valid values: `reject`, `spam`.
	Action *string `pulumi:"action"`
	// DNSBL/ORBL entry ID.
	Id *int `pulumi:"id"`
	// DNSBL or ORBL server name.
	Server *string `pulumi:"server"`
	// Enable/disable status. Valid values: `enable`, `disable`.
	Status *string `pulumi:"status"`
}

type DnsblEntryArgs

type DnsblEntryArgs struct {
	// Reject connection or mark as spam email. Valid values: `reject`, `spam`.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// DNSBL/ORBL entry ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// DNSBL or ORBL server name.
	Server pulumi.StringPtrInput `pulumi:"server"`
	// Enable/disable status. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (DnsblEntryArgs) ElementType

func (DnsblEntryArgs) ElementType() reflect.Type

func (DnsblEntryArgs) ToDnsblEntryOutput

func (i DnsblEntryArgs) ToDnsblEntryOutput() DnsblEntryOutput

func (DnsblEntryArgs) ToDnsblEntryOutputWithContext

func (i DnsblEntryArgs) ToDnsblEntryOutputWithContext(ctx context.Context) DnsblEntryOutput

type DnsblEntryArray

type DnsblEntryArray []DnsblEntryInput

func (DnsblEntryArray) ElementType

func (DnsblEntryArray) ElementType() reflect.Type

func (DnsblEntryArray) ToDnsblEntryArrayOutput

func (i DnsblEntryArray) ToDnsblEntryArrayOutput() DnsblEntryArrayOutput

func (DnsblEntryArray) ToDnsblEntryArrayOutputWithContext

func (i DnsblEntryArray) ToDnsblEntryArrayOutputWithContext(ctx context.Context) DnsblEntryArrayOutput

type DnsblEntryArrayInput

type DnsblEntryArrayInput interface {
	pulumi.Input

	ToDnsblEntryArrayOutput() DnsblEntryArrayOutput
	ToDnsblEntryArrayOutputWithContext(context.Context) DnsblEntryArrayOutput
}

DnsblEntryArrayInput is an input type that accepts DnsblEntryArray and DnsblEntryArrayOutput values. You can construct a concrete instance of `DnsblEntryArrayInput` via:

DnsblEntryArray{ DnsblEntryArgs{...} }

type DnsblEntryArrayOutput

type DnsblEntryArrayOutput struct{ *pulumi.OutputState }

func (DnsblEntryArrayOutput) ElementType

func (DnsblEntryArrayOutput) ElementType() reflect.Type

func (DnsblEntryArrayOutput) Index

func (DnsblEntryArrayOutput) ToDnsblEntryArrayOutput

func (o DnsblEntryArrayOutput) ToDnsblEntryArrayOutput() DnsblEntryArrayOutput

func (DnsblEntryArrayOutput) ToDnsblEntryArrayOutputWithContext

func (o DnsblEntryArrayOutput) ToDnsblEntryArrayOutputWithContext(ctx context.Context) DnsblEntryArrayOutput

type DnsblEntryInput

type DnsblEntryInput interface {
	pulumi.Input

	ToDnsblEntryOutput() DnsblEntryOutput
	ToDnsblEntryOutputWithContext(context.Context) DnsblEntryOutput
}

DnsblEntryInput is an input type that accepts DnsblEntryArgs and DnsblEntryOutput values. You can construct a concrete instance of `DnsblEntryInput` via:

DnsblEntryArgs{...}

type DnsblEntryOutput

type DnsblEntryOutput struct{ *pulumi.OutputState }

func (DnsblEntryOutput) Action

Reject connection or mark as spam email. Valid values: `reject`, `spam`.

func (DnsblEntryOutput) ElementType

func (DnsblEntryOutput) ElementType() reflect.Type

func (DnsblEntryOutput) Id

DNSBL/ORBL entry ID.

func (DnsblEntryOutput) Server

DNSBL or ORBL server name.

func (DnsblEntryOutput) Status

Enable/disable status. Valid values: `enable`, `disable`.

func (DnsblEntryOutput) ToDnsblEntryOutput

func (o DnsblEntryOutput) ToDnsblEntryOutput() DnsblEntryOutput

func (DnsblEntryOutput) ToDnsblEntryOutputWithContext

func (o DnsblEntryOutput) ToDnsblEntryOutputWithContext(ctx context.Context) DnsblEntryOutput

type DnsblInput

type DnsblInput interface {
	pulumi.Input

	ToDnsblOutput() DnsblOutput
	ToDnsblOutputWithContext(ctx context.Context) DnsblOutput
}

type DnsblMap

type DnsblMap map[string]DnsblInput

func (DnsblMap) ElementType

func (DnsblMap) ElementType() reflect.Type

func (DnsblMap) ToDnsblMapOutput

func (i DnsblMap) ToDnsblMapOutput() DnsblMapOutput

func (DnsblMap) ToDnsblMapOutputWithContext

func (i DnsblMap) ToDnsblMapOutputWithContext(ctx context.Context) DnsblMapOutput

type DnsblMapInput

type DnsblMapInput interface {
	pulumi.Input

	ToDnsblMapOutput() DnsblMapOutput
	ToDnsblMapOutputWithContext(context.Context) DnsblMapOutput
}

DnsblMapInput is an input type that accepts DnsblMap and DnsblMapOutput values. You can construct a concrete instance of `DnsblMapInput` via:

DnsblMap{ "key": DnsblArgs{...} }

type DnsblMapOutput

type DnsblMapOutput struct{ *pulumi.OutputState }

func (DnsblMapOutput) ElementType

func (DnsblMapOutput) ElementType() reflect.Type

func (DnsblMapOutput) MapIndex

func (DnsblMapOutput) ToDnsblMapOutput

func (o DnsblMapOutput) ToDnsblMapOutput() DnsblMapOutput

func (DnsblMapOutput) ToDnsblMapOutputWithContext

func (o DnsblMapOutput) ToDnsblMapOutputWithContext(ctx context.Context) DnsblMapOutput

type DnsblOutput

type DnsblOutput struct{ *pulumi.OutputState }

func (DnsblOutput) Comment

func (o DnsblOutput) Comment() pulumi.StringPtrOutput

Optional comments.

func (DnsblOutput) DynamicSortSubtable

func (o DnsblOutput) 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 (DnsblOutput) ElementType

func (DnsblOutput) ElementType() reflect.Type

func (DnsblOutput) Entries

func (o DnsblOutput) Entries() DnsblEntryArrayOutput

Spam filter DNSBL and ORBL server. The structure of `entries` block is documented below.

func (DnsblOutput) Fosid

func (o DnsblOutput) Fosid() pulumi.IntOutput

ID.

func (DnsblOutput) GetAllTables

func (o DnsblOutput) 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 (DnsblOutput) Name

func (o DnsblOutput) Name() pulumi.StringOutput

Name of table.

func (DnsblOutput) ToDnsblOutput

func (o DnsblOutput) ToDnsblOutput() DnsblOutput

func (DnsblOutput) ToDnsblOutputWithContext

func (o DnsblOutput) ToDnsblOutputWithContext(ctx context.Context) DnsblOutput

func (DnsblOutput) Vdomparam

func (o DnsblOutput) 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 DnsblState

type DnsblState 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
	// Spam filter DNSBL and ORBL server. The structure of `entries` block is documented below.
	Entries DnsblEntryArrayInput
	// 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.
	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 (DnsblState) ElementType

func (DnsblState) ElementType() reflect.Type

type Fortishield

type Fortishield struct {
	pulumi.CustomResourceState

	// Enable/disable force insertion of a new mime entity for the submission text. Valid values: `enable`, `disable`.
	SpamSubmitForce pulumi.StringOutput `pulumi:"spamSubmitForce"`
	// Hostname of the spam submission server.
	SpamSubmitSrv pulumi.StringOutput `pulumi:"spamSubmitSrv"`
	// Enable/disable conversion of text email to HTML email. Valid values: `enable`, `disable`.
	SpamSubmitTxt2htm pulumi.StringOutput `pulumi:"spamSubmitTxt2htm"`
	// 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 FortiGuard - AntiSpam. 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/filter"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := filter.NewFortishield(ctx, "trname", &filter.FortishieldArgs{
			SpamSubmitForce:   pulumi.String("enable"),
			SpamSubmitSrv:     pulumi.String("www.nospammer.net"),
			SpamSubmitTxt2htm: pulumi.String("enable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Spamfilter Fortishield can be imported using any of these accepted formats:

```sh $ pulumi import fortios:filter/spam/fortishield:Fortishield labelname SpamfilterFortishield ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:filter/spam/fortishield:Fortishield labelname SpamfilterFortishield ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetFortishield

func GetFortishield(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FortishieldState, opts ...pulumi.ResourceOption) (*Fortishield, error)

GetFortishield gets an existing Fortishield 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 NewFortishield

func NewFortishield(ctx *pulumi.Context,
	name string, args *FortishieldArgs, opts ...pulumi.ResourceOption) (*Fortishield, error)

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

func (*Fortishield) ElementType

func (*Fortishield) ElementType() reflect.Type

func (*Fortishield) ToFortishieldOutput

func (i *Fortishield) ToFortishieldOutput() FortishieldOutput

func (*Fortishield) ToFortishieldOutputWithContext

func (i *Fortishield) ToFortishieldOutputWithContext(ctx context.Context) FortishieldOutput

type FortishieldArgs

type FortishieldArgs struct {
	// Enable/disable force insertion of a new mime entity for the submission text. Valid values: `enable`, `disable`.
	SpamSubmitForce pulumi.StringPtrInput
	// Hostname of the spam submission server.
	SpamSubmitSrv pulumi.StringPtrInput
	// Enable/disable conversion of text email to HTML email. Valid values: `enable`, `disable`.
	SpamSubmitTxt2htm 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 Fortishield resource.

func (FortishieldArgs) ElementType

func (FortishieldArgs) ElementType() reflect.Type

type FortishieldArray

type FortishieldArray []FortishieldInput

func (FortishieldArray) ElementType

func (FortishieldArray) ElementType() reflect.Type

func (FortishieldArray) ToFortishieldArrayOutput

func (i FortishieldArray) ToFortishieldArrayOutput() FortishieldArrayOutput

func (FortishieldArray) ToFortishieldArrayOutputWithContext

func (i FortishieldArray) ToFortishieldArrayOutputWithContext(ctx context.Context) FortishieldArrayOutput

type FortishieldArrayInput

type FortishieldArrayInput interface {
	pulumi.Input

	ToFortishieldArrayOutput() FortishieldArrayOutput
	ToFortishieldArrayOutputWithContext(context.Context) FortishieldArrayOutput
}

FortishieldArrayInput is an input type that accepts FortishieldArray and FortishieldArrayOutput values. You can construct a concrete instance of `FortishieldArrayInput` via:

FortishieldArray{ FortishieldArgs{...} }

type FortishieldArrayOutput

type FortishieldArrayOutput struct{ *pulumi.OutputState }

func (FortishieldArrayOutput) ElementType

func (FortishieldArrayOutput) ElementType() reflect.Type

func (FortishieldArrayOutput) Index

func (FortishieldArrayOutput) ToFortishieldArrayOutput

func (o FortishieldArrayOutput) ToFortishieldArrayOutput() FortishieldArrayOutput

func (FortishieldArrayOutput) ToFortishieldArrayOutputWithContext

func (o FortishieldArrayOutput) ToFortishieldArrayOutputWithContext(ctx context.Context) FortishieldArrayOutput

type FortishieldInput

type FortishieldInput interface {
	pulumi.Input

	ToFortishieldOutput() FortishieldOutput
	ToFortishieldOutputWithContext(ctx context.Context) FortishieldOutput
}

type FortishieldMap

type FortishieldMap map[string]FortishieldInput

func (FortishieldMap) ElementType

func (FortishieldMap) ElementType() reflect.Type

func (FortishieldMap) ToFortishieldMapOutput

func (i FortishieldMap) ToFortishieldMapOutput() FortishieldMapOutput

func (FortishieldMap) ToFortishieldMapOutputWithContext

func (i FortishieldMap) ToFortishieldMapOutputWithContext(ctx context.Context) FortishieldMapOutput

type FortishieldMapInput

type FortishieldMapInput interface {
	pulumi.Input

	ToFortishieldMapOutput() FortishieldMapOutput
	ToFortishieldMapOutputWithContext(context.Context) FortishieldMapOutput
}

FortishieldMapInput is an input type that accepts FortishieldMap and FortishieldMapOutput values. You can construct a concrete instance of `FortishieldMapInput` via:

FortishieldMap{ "key": FortishieldArgs{...} }

type FortishieldMapOutput

type FortishieldMapOutput struct{ *pulumi.OutputState }

func (FortishieldMapOutput) ElementType

func (FortishieldMapOutput) ElementType() reflect.Type

func (FortishieldMapOutput) MapIndex

func (FortishieldMapOutput) ToFortishieldMapOutput

func (o FortishieldMapOutput) ToFortishieldMapOutput() FortishieldMapOutput

func (FortishieldMapOutput) ToFortishieldMapOutputWithContext

func (o FortishieldMapOutput) ToFortishieldMapOutputWithContext(ctx context.Context) FortishieldMapOutput

type FortishieldOutput

type FortishieldOutput struct{ *pulumi.OutputState }

func (FortishieldOutput) ElementType

func (FortishieldOutput) ElementType() reflect.Type

func (FortishieldOutput) SpamSubmitForce

func (o FortishieldOutput) SpamSubmitForce() pulumi.StringOutput

Enable/disable force insertion of a new mime entity for the submission text. Valid values: `enable`, `disable`.

func (FortishieldOutput) SpamSubmitSrv

func (o FortishieldOutput) SpamSubmitSrv() pulumi.StringOutput

Hostname of the spam submission server.

func (FortishieldOutput) SpamSubmitTxt2htm

func (o FortishieldOutput) SpamSubmitTxt2htm() pulumi.StringOutput

Enable/disable conversion of text email to HTML email. Valid values: `enable`, `disable`.

func (FortishieldOutput) ToFortishieldOutput

func (o FortishieldOutput) ToFortishieldOutput() FortishieldOutput

func (FortishieldOutput) ToFortishieldOutputWithContext

func (o FortishieldOutput) ToFortishieldOutputWithContext(ctx context.Context) FortishieldOutput

func (FortishieldOutput) 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 FortishieldState

type FortishieldState struct {
	// Enable/disable force insertion of a new mime entity for the submission text. Valid values: `enable`, `disable`.
	SpamSubmitForce pulumi.StringPtrInput
	// Hostname of the spam submission server.
	SpamSubmitSrv pulumi.StringPtrInput
	// Enable/disable conversion of text email to HTML email. Valid values: `enable`, `disable`.
	SpamSubmitTxt2htm 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 (FortishieldState) ElementType

func (FortishieldState) ElementType() reflect.Type

type Iptrust

type Iptrust 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"`
	// Spam filter trusted IP addresses. The structure of `entries` block is documented below.
	Entries IptrustEntryArrayOutput `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.
	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 AntiSpam IP trust. Applies to FortiOS Version `<= 6.2.0`.

## Import

Spamfilter Iptrust can be imported using any of these accepted formats:

```sh $ pulumi import fortios:filter/spam/iptrust:Iptrust labelname {{fosid}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:filter/spam/iptrust:Iptrust labelname {{fosid}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetIptrust

func GetIptrust(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IptrustState, opts ...pulumi.ResourceOption) (*Iptrust, error)

GetIptrust gets an existing Iptrust 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 NewIptrust

func NewIptrust(ctx *pulumi.Context,
	name string, args *IptrustArgs, opts ...pulumi.ResourceOption) (*Iptrust, error)

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

func (*Iptrust) ElementType

func (*Iptrust) ElementType() reflect.Type

func (*Iptrust) ToIptrustOutput

func (i *Iptrust) ToIptrustOutput() IptrustOutput

func (*Iptrust) ToIptrustOutputWithContext

func (i *Iptrust) ToIptrustOutputWithContext(ctx context.Context) IptrustOutput

type IptrustArgs

type IptrustArgs 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
	// Spam filter trusted IP addresses. The structure of `entries` block is documented below.
	Entries IptrustEntryArrayInput
	// 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.
	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 Iptrust resource.

func (IptrustArgs) ElementType

func (IptrustArgs) ElementType() reflect.Type

type IptrustArray

type IptrustArray []IptrustInput

func (IptrustArray) ElementType

func (IptrustArray) ElementType() reflect.Type

func (IptrustArray) ToIptrustArrayOutput

func (i IptrustArray) ToIptrustArrayOutput() IptrustArrayOutput

func (IptrustArray) ToIptrustArrayOutputWithContext

func (i IptrustArray) ToIptrustArrayOutputWithContext(ctx context.Context) IptrustArrayOutput

type IptrustArrayInput

type IptrustArrayInput interface {
	pulumi.Input

	ToIptrustArrayOutput() IptrustArrayOutput
	ToIptrustArrayOutputWithContext(context.Context) IptrustArrayOutput
}

IptrustArrayInput is an input type that accepts IptrustArray and IptrustArrayOutput values. You can construct a concrete instance of `IptrustArrayInput` via:

IptrustArray{ IptrustArgs{...} }

type IptrustArrayOutput

type IptrustArrayOutput struct{ *pulumi.OutputState }

func (IptrustArrayOutput) ElementType

func (IptrustArrayOutput) ElementType() reflect.Type

func (IptrustArrayOutput) Index

func (IptrustArrayOutput) ToIptrustArrayOutput

func (o IptrustArrayOutput) ToIptrustArrayOutput() IptrustArrayOutput

func (IptrustArrayOutput) ToIptrustArrayOutputWithContext

func (o IptrustArrayOutput) ToIptrustArrayOutputWithContext(ctx context.Context) IptrustArrayOutput

type IptrustEntry

type IptrustEntry struct {
	// Type of address. Valid values: `ipv4`, `ipv6`.
	AddrType *string `pulumi:"addrType"`
	// Trusted IP entry ID.
	Id *int `pulumi:"id"`
	// IPv4 network address or network address/subnet mask bits.
	Ip4Subnet *string `pulumi:"ip4Subnet"`
	// IPv6 network address/subnet mask bits.
	Ip6Subnet *string `pulumi:"ip6Subnet"`
	// Enable/disable status. Valid values: `enable`, `disable`.
	Status *string `pulumi:"status"`
}

type IptrustEntryArgs

type IptrustEntryArgs struct {
	// Type of address. Valid values: `ipv4`, `ipv6`.
	AddrType pulumi.StringPtrInput `pulumi:"addrType"`
	// Trusted IP entry ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// IPv4 network address or network address/subnet mask bits.
	Ip4Subnet pulumi.StringPtrInput `pulumi:"ip4Subnet"`
	// IPv6 network address/subnet mask bits.
	Ip6Subnet pulumi.StringPtrInput `pulumi:"ip6Subnet"`
	// Enable/disable status. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (IptrustEntryArgs) ElementType

func (IptrustEntryArgs) ElementType() reflect.Type

func (IptrustEntryArgs) ToIptrustEntryOutput

func (i IptrustEntryArgs) ToIptrustEntryOutput() IptrustEntryOutput

func (IptrustEntryArgs) ToIptrustEntryOutputWithContext

func (i IptrustEntryArgs) ToIptrustEntryOutputWithContext(ctx context.Context) IptrustEntryOutput

type IptrustEntryArray

type IptrustEntryArray []IptrustEntryInput

func (IptrustEntryArray) ElementType

func (IptrustEntryArray) ElementType() reflect.Type

func (IptrustEntryArray) ToIptrustEntryArrayOutput

func (i IptrustEntryArray) ToIptrustEntryArrayOutput() IptrustEntryArrayOutput

func (IptrustEntryArray) ToIptrustEntryArrayOutputWithContext

func (i IptrustEntryArray) ToIptrustEntryArrayOutputWithContext(ctx context.Context) IptrustEntryArrayOutput

type IptrustEntryArrayInput

type IptrustEntryArrayInput interface {
	pulumi.Input

	ToIptrustEntryArrayOutput() IptrustEntryArrayOutput
	ToIptrustEntryArrayOutputWithContext(context.Context) IptrustEntryArrayOutput
}

IptrustEntryArrayInput is an input type that accepts IptrustEntryArray and IptrustEntryArrayOutput values. You can construct a concrete instance of `IptrustEntryArrayInput` via:

IptrustEntryArray{ IptrustEntryArgs{...} }

type IptrustEntryArrayOutput

type IptrustEntryArrayOutput struct{ *pulumi.OutputState }

func (IptrustEntryArrayOutput) ElementType

func (IptrustEntryArrayOutput) ElementType() reflect.Type

func (IptrustEntryArrayOutput) Index

func (IptrustEntryArrayOutput) ToIptrustEntryArrayOutput

func (o IptrustEntryArrayOutput) ToIptrustEntryArrayOutput() IptrustEntryArrayOutput

func (IptrustEntryArrayOutput) ToIptrustEntryArrayOutputWithContext

func (o IptrustEntryArrayOutput) ToIptrustEntryArrayOutputWithContext(ctx context.Context) IptrustEntryArrayOutput

type IptrustEntryInput

type IptrustEntryInput interface {
	pulumi.Input

	ToIptrustEntryOutput() IptrustEntryOutput
	ToIptrustEntryOutputWithContext(context.Context) IptrustEntryOutput
}

IptrustEntryInput is an input type that accepts IptrustEntryArgs and IptrustEntryOutput values. You can construct a concrete instance of `IptrustEntryInput` via:

IptrustEntryArgs{...}

type IptrustEntryOutput

type IptrustEntryOutput struct{ *pulumi.OutputState }

func (IptrustEntryOutput) AddrType

Type of address. Valid values: `ipv4`, `ipv6`.

func (IptrustEntryOutput) ElementType

func (IptrustEntryOutput) ElementType() reflect.Type

func (IptrustEntryOutput) Id

Trusted IP entry ID.

func (IptrustEntryOutput) Ip4Subnet

IPv4 network address or network address/subnet mask bits.

func (IptrustEntryOutput) Ip6Subnet

IPv6 network address/subnet mask bits.

func (IptrustEntryOutput) Status

Enable/disable status. Valid values: `enable`, `disable`.

func (IptrustEntryOutput) ToIptrustEntryOutput

func (o IptrustEntryOutput) ToIptrustEntryOutput() IptrustEntryOutput

func (IptrustEntryOutput) ToIptrustEntryOutputWithContext

func (o IptrustEntryOutput) ToIptrustEntryOutputWithContext(ctx context.Context) IptrustEntryOutput

type IptrustInput

type IptrustInput interface {
	pulumi.Input

	ToIptrustOutput() IptrustOutput
	ToIptrustOutputWithContext(ctx context.Context) IptrustOutput
}

type IptrustMap

type IptrustMap map[string]IptrustInput

func (IptrustMap) ElementType

func (IptrustMap) ElementType() reflect.Type

func (IptrustMap) ToIptrustMapOutput

func (i IptrustMap) ToIptrustMapOutput() IptrustMapOutput

func (IptrustMap) ToIptrustMapOutputWithContext

func (i IptrustMap) ToIptrustMapOutputWithContext(ctx context.Context) IptrustMapOutput

type IptrustMapInput

type IptrustMapInput interface {
	pulumi.Input

	ToIptrustMapOutput() IptrustMapOutput
	ToIptrustMapOutputWithContext(context.Context) IptrustMapOutput
}

IptrustMapInput is an input type that accepts IptrustMap and IptrustMapOutput values. You can construct a concrete instance of `IptrustMapInput` via:

IptrustMap{ "key": IptrustArgs{...} }

type IptrustMapOutput

type IptrustMapOutput struct{ *pulumi.OutputState }

func (IptrustMapOutput) ElementType

func (IptrustMapOutput) ElementType() reflect.Type

func (IptrustMapOutput) MapIndex

func (IptrustMapOutput) ToIptrustMapOutput

func (o IptrustMapOutput) ToIptrustMapOutput() IptrustMapOutput

func (IptrustMapOutput) ToIptrustMapOutputWithContext

func (o IptrustMapOutput) ToIptrustMapOutputWithContext(ctx context.Context) IptrustMapOutput

type IptrustOutput

type IptrustOutput struct{ *pulumi.OutputState }

func (IptrustOutput) Comment

func (o IptrustOutput) Comment() pulumi.StringPtrOutput

Optional comments.

func (IptrustOutput) DynamicSortSubtable

func (o IptrustOutput) 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 (IptrustOutput) ElementType

func (IptrustOutput) ElementType() reflect.Type

func (IptrustOutput) Entries

Spam filter trusted IP addresses. The structure of `entries` block is documented below.

func (IptrustOutput) Fosid

func (o IptrustOutput) Fosid() pulumi.IntOutput

ID.

func (IptrustOutput) GetAllTables

func (o IptrustOutput) 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 (IptrustOutput) Name

Name of table.

func (IptrustOutput) ToIptrustOutput

func (o IptrustOutput) ToIptrustOutput() IptrustOutput

func (IptrustOutput) ToIptrustOutputWithContext

func (o IptrustOutput) ToIptrustOutputWithContext(ctx context.Context) IptrustOutput

func (IptrustOutput) Vdomparam

func (o IptrustOutput) 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 IptrustState

type IptrustState 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
	// Spam filter trusted IP addresses. The structure of `entries` block is documented below.
	Entries IptrustEntryArrayInput
	// 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.
	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 (IptrustState) ElementType

func (IptrustState) ElementType() reflect.Type
type Mheader 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"`
	// Spam filter mime header content. The structure of `entries` block is documented below.
	Entries MheaderEntryArrayOutput `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.
	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 AntiSpam MIME header. 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/filter"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := filter.NewMheader(ctx, "trname", &filter.MheaderArgs{
			Comment: pulumi.String("test"),
			Entries: spam.MheaderEntryArray{
				&spam.MheaderEntryArgs{
					Action:      pulumi.String("spam"),
					Fieldbody:   pulumi.String("scstest"),
					Fieldname:   pulumi.String("EIWEtest"),
					Id:          pulumi.Int(1),
					PatternType: pulumi.String("wildcard"),
					Status:      pulumi.String("enable"),
				},
			},
			Fosid: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Spamfilter Mheader can be imported using any of these accepted formats:

```sh $ pulumi import fortios:filter/spam/mheader:Mheader labelname {{fosid}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:filter/spam/mheader:Mheader labelname {{fosid}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetMheader

func GetMheader(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MheaderState, opts ...pulumi.ResourceOption) (*Mheader, error)

GetMheader gets an existing Mheader 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 NewMheader

func NewMheader(ctx *pulumi.Context,
	name string, args *MheaderArgs, opts ...pulumi.ResourceOption) (*Mheader, error)

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

func (*Mheader) ElementType

func (*Mheader) ElementType() reflect.Type

func (*Mheader) ToMheaderOutput

func (i *Mheader) ToMheaderOutput() MheaderOutput

func (*Mheader) ToMheaderOutputWithContext

func (i *Mheader) ToMheaderOutputWithContext(ctx context.Context) MheaderOutput

type MheaderArgs

type MheaderArgs 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
	// Spam filter mime header content. The structure of `entries` block is documented below.
	Entries MheaderEntryArrayInput
	// 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.
	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 Mheader resource.

func (MheaderArgs) ElementType

func (MheaderArgs) ElementType() reflect.Type

type MheaderArray

type MheaderArray []MheaderInput

func (MheaderArray) ElementType

func (MheaderArray) ElementType() reflect.Type

func (MheaderArray) ToMheaderArrayOutput

func (i MheaderArray) ToMheaderArrayOutput() MheaderArrayOutput

func (MheaderArray) ToMheaderArrayOutputWithContext

func (i MheaderArray) ToMheaderArrayOutputWithContext(ctx context.Context) MheaderArrayOutput

type MheaderArrayInput

type MheaderArrayInput interface {
	pulumi.Input

	ToMheaderArrayOutput() MheaderArrayOutput
	ToMheaderArrayOutputWithContext(context.Context) MheaderArrayOutput
}

MheaderArrayInput is an input type that accepts MheaderArray and MheaderArrayOutput values. You can construct a concrete instance of `MheaderArrayInput` via:

MheaderArray{ MheaderArgs{...} }

type MheaderArrayOutput

type MheaderArrayOutput struct{ *pulumi.OutputState }

func (MheaderArrayOutput) ElementType

func (MheaderArrayOutput) ElementType() reflect.Type

func (MheaderArrayOutput) Index

func (MheaderArrayOutput) ToMheaderArrayOutput

func (o MheaderArrayOutput) ToMheaderArrayOutput() MheaderArrayOutput

func (MheaderArrayOutput) ToMheaderArrayOutputWithContext

func (o MheaderArrayOutput) ToMheaderArrayOutputWithContext(ctx context.Context) MheaderArrayOutput

type MheaderEntry

type MheaderEntry struct {
	// Mark spam or good. Valid values: `spam`, `clear`.
	Action *string `pulumi:"action"`
	// Pattern for the header field body.
	Fieldbody *string `pulumi:"fieldbody"`
	// Pattern for header field name.
	Fieldname *string `pulumi:"fieldname"`
	// Mime header entry ID.
	Id *int `pulumi:"id"`
	// Wildcard pattern or regular expression. Valid values: `wildcard`, `regexp`.
	PatternType *string `pulumi:"patternType"`
	// Enable/disable status. Valid values: `enable`, `disable`.
	Status *string `pulumi:"status"`
}

type MheaderEntryArgs

type MheaderEntryArgs struct {
	// Mark spam or good. Valid values: `spam`, `clear`.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// Pattern for the header field body.
	Fieldbody pulumi.StringPtrInput `pulumi:"fieldbody"`
	// Pattern for header field name.
	Fieldname pulumi.StringPtrInput `pulumi:"fieldname"`
	// Mime header entry ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// Wildcard pattern or regular expression. Valid values: `wildcard`, `regexp`.
	PatternType pulumi.StringPtrInput `pulumi:"patternType"`
	// Enable/disable status. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (MheaderEntryArgs) ElementType

func (MheaderEntryArgs) ElementType() reflect.Type

func (MheaderEntryArgs) ToMheaderEntryOutput

func (i MheaderEntryArgs) ToMheaderEntryOutput() MheaderEntryOutput

func (MheaderEntryArgs) ToMheaderEntryOutputWithContext

func (i MheaderEntryArgs) ToMheaderEntryOutputWithContext(ctx context.Context) MheaderEntryOutput

type MheaderEntryArray

type MheaderEntryArray []MheaderEntryInput

func (MheaderEntryArray) ElementType

func (MheaderEntryArray) ElementType() reflect.Type

func (MheaderEntryArray) ToMheaderEntryArrayOutput

func (i MheaderEntryArray) ToMheaderEntryArrayOutput() MheaderEntryArrayOutput

func (MheaderEntryArray) ToMheaderEntryArrayOutputWithContext

func (i MheaderEntryArray) ToMheaderEntryArrayOutputWithContext(ctx context.Context) MheaderEntryArrayOutput

type MheaderEntryArrayInput

type MheaderEntryArrayInput interface {
	pulumi.Input

	ToMheaderEntryArrayOutput() MheaderEntryArrayOutput
	ToMheaderEntryArrayOutputWithContext(context.Context) MheaderEntryArrayOutput
}

MheaderEntryArrayInput is an input type that accepts MheaderEntryArray and MheaderEntryArrayOutput values. You can construct a concrete instance of `MheaderEntryArrayInput` via:

MheaderEntryArray{ MheaderEntryArgs{...} }

type MheaderEntryArrayOutput

type MheaderEntryArrayOutput struct{ *pulumi.OutputState }

func (MheaderEntryArrayOutput) ElementType

func (MheaderEntryArrayOutput) ElementType() reflect.Type

func (MheaderEntryArrayOutput) Index

func (MheaderEntryArrayOutput) ToMheaderEntryArrayOutput

func (o MheaderEntryArrayOutput) ToMheaderEntryArrayOutput() MheaderEntryArrayOutput

func (MheaderEntryArrayOutput) ToMheaderEntryArrayOutputWithContext

func (o MheaderEntryArrayOutput) ToMheaderEntryArrayOutputWithContext(ctx context.Context) MheaderEntryArrayOutput

type MheaderEntryInput

type MheaderEntryInput interface {
	pulumi.Input

	ToMheaderEntryOutput() MheaderEntryOutput
	ToMheaderEntryOutputWithContext(context.Context) MheaderEntryOutput
}

MheaderEntryInput is an input type that accepts MheaderEntryArgs and MheaderEntryOutput values. You can construct a concrete instance of `MheaderEntryInput` via:

MheaderEntryArgs{...}

type MheaderEntryOutput

type MheaderEntryOutput struct{ *pulumi.OutputState }

func (MheaderEntryOutput) Action

Mark spam or good. Valid values: `spam`, `clear`.

func (MheaderEntryOutput) ElementType

func (MheaderEntryOutput) ElementType() reflect.Type

func (MheaderEntryOutput) Fieldbody

Pattern for the header field body.

func (MheaderEntryOutput) Fieldname

Pattern for header field name.

func (MheaderEntryOutput) Id

Mime header entry ID.

func (MheaderEntryOutput) PatternType

func (o MheaderEntryOutput) PatternType() pulumi.StringPtrOutput

Wildcard pattern or regular expression. Valid values: `wildcard`, `regexp`.

func (MheaderEntryOutput) Status

Enable/disable status. Valid values: `enable`, `disable`.

func (MheaderEntryOutput) ToMheaderEntryOutput

func (o MheaderEntryOutput) ToMheaderEntryOutput() MheaderEntryOutput

func (MheaderEntryOutput) ToMheaderEntryOutputWithContext

func (o MheaderEntryOutput) ToMheaderEntryOutputWithContext(ctx context.Context) MheaderEntryOutput

type MheaderInput

type MheaderInput interface {
	pulumi.Input

	ToMheaderOutput() MheaderOutput
	ToMheaderOutputWithContext(ctx context.Context) MheaderOutput
}

type MheaderMap

type MheaderMap map[string]MheaderInput

func (MheaderMap) ElementType

func (MheaderMap) ElementType() reflect.Type

func (MheaderMap) ToMheaderMapOutput

func (i MheaderMap) ToMheaderMapOutput() MheaderMapOutput

func (MheaderMap) ToMheaderMapOutputWithContext

func (i MheaderMap) ToMheaderMapOutputWithContext(ctx context.Context) MheaderMapOutput

type MheaderMapInput

type MheaderMapInput interface {
	pulumi.Input

	ToMheaderMapOutput() MheaderMapOutput
	ToMheaderMapOutputWithContext(context.Context) MheaderMapOutput
}

MheaderMapInput is an input type that accepts MheaderMap and MheaderMapOutput values. You can construct a concrete instance of `MheaderMapInput` via:

MheaderMap{ "key": MheaderArgs{...} }

type MheaderMapOutput

type MheaderMapOutput struct{ *pulumi.OutputState }

func (MheaderMapOutput) ElementType

func (MheaderMapOutput) ElementType() reflect.Type

func (MheaderMapOutput) MapIndex

func (MheaderMapOutput) ToMheaderMapOutput

func (o MheaderMapOutput) ToMheaderMapOutput() MheaderMapOutput

func (MheaderMapOutput) ToMheaderMapOutputWithContext

func (o MheaderMapOutput) ToMheaderMapOutputWithContext(ctx context.Context) MheaderMapOutput

type MheaderOutput

type MheaderOutput struct{ *pulumi.OutputState }

func (MheaderOutput) Comment

func (o MheaderOutput) Comment() pulumi.StringPtrOutput

Optional comments.

func (MheaderOutput) DynamicSortSubtable

func (o MheaderOutput) 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 (MheaderOutput) ElementType

func (MheaderOutput) ElementType() reflect.Type

func (MheaderOutput) Entries

Spam filter mime header content. The structure of `entries` block is documented below.

func (MheaderOutput) Fosid

func (o MheaderOutput) Fosid() pulumi.IntOutput

ID.

func (MheaderOutput) GetAllTables

func (o MheaderOutput) 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 (MheaderOutput) Name

Name of table.

func (MheaderOutput) ToMheaderOutput

func (o MheaderOutput) ToMheaderOutput() MheaderOutput

func (MheaderOutput) ToMheaderOutputWithContext

func (o MheaderOutput) ToMheaderOutputWithContext(ctx context.Context) MheaderOutput

func (MheaderOutput) Vdomparam

func (o MheaderOutput) 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 MheaderState

type MheaderState 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
	// Spam filter mime header content. The structure of `entries` block is documented below.
	Entries MheaderEntryArrayInput
	// 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.
	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 (MheaderState) ElementType

func (MheaderState) ElementType() reflect.Type

type Options

type Options struct {
	pulumi.CustomResourceState

	// DNS query time out (1 - 30 sec).
	DnsTimeout pulumi.IntOutput `pulumi:"dnsTimeout"`
	// 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 AntiSpam options. 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/filter"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := filter.NewOptions(ctx, "trname", &filter.OptionsArgs{
			DnsTimeout: pulumi.Int(7),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Spamfilter Options can be imported using any of these accepted formats:

```sh $ pulumi import fortios:filter/spam/options:Options labelname SpamfilterOptions ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:filter/spam/options:Options labelname SpamfilterOptions ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetOptions

func GetOptions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OptionsState, opts ...pulumi.ResourceOption) (*Options, error)

GetOptions gets an existing Options 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 NewOptions

func NewOptions(ctx *pulumi.Context,
	name string, args *OptionsArgs, opts ...pulumi.ResourceOption) (*Options, error)

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

func (*Options) ElementType

func (*Options) ElementType() reflect.Type

func (*Options) ToOptionsOutput

func (i *Options) ToOptionsOutput() OptionsOutput

func (*Options) ToOptionsOutputWithContext

func (i *Options) ToOptionsOutputWithContext(ctx context.Context) OptionsOutput

type OptionsArgs

type OptionsArgs struct {
	// DNS query time out (1 - 30 sec).
	DnsTimeout 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 Options resource.

func (OptionsArgs) ElementType

func (OptionsArgs) ElementType() reflect.Type

type OptionsArray

type OptionsArray []OptionsInput

func (OptionsArray) ElementType

func (OptionsArray) ElementType() reflect.Type

func (OptionsArray) ToOptionsArrayOutput

func (i OptionsArray) ToOptionsArrayOutput() OptionsArrayOutput

func (OptionsArray) ToOptionsArrayOutputWithContext

func (i OptionsArray) ToOptionsArrayOutputWithContext(ctx context.Context) OptionsArrayOutput

type OptionsArrayInput

type OptionsArrayInput interface {
	pulumi.Input

	ToOptionsArrayOutput() OptionsArrayOutput
	ToOptionsArrayOutputWithContext(context.Context) OptionsArrayOutput
}

OptionsArrayInput is an input type that accepts OptionsArray and OptionsArrayOutput values. You can construct a concrete instance of `OptionsArrayInput` via:

OptionsArray{ OptionsArgs{...} }

type OptionsArrayOutput

type OptionsArrayOutput struct{ *pulumi.OutputState }

func (OptionsArrayOutput) ElementType

func (OptionsArrayOutput) ElementType() reflect.Type

func (OptionsArrayOutput) Index

func (OptionsArrayOutput) ToOptionsArrayOutput

func (o OptionsArrayOutput) ToOptionsArrayOutput() OptionsArrayOutput

func (OptionsArrayOutput) ToOptionsArrayOutputWithContext

func (o OptionsArrayOutput) ToOptionsArrayOutputWithContext(ctx context.Context) OptionsArrayOutput

type OptionsInput

type OptionsInput interface {
	pulumi.Input

	ToOptionsOutput() OptionsOutput
	ToOptionsOutputWithContext(ctx context.Context) OptionsOutput
}

type OptionsMap

type OptionsMap map[string]OptionsInput

func (OptionsMap) ElementType

func (OptionsMap) ElementType() reflect.Type

func (OptionsMap) ToOptionsMapOutput

func (i OptionsMap) ToOptionsMapOutput() OptionsMapOutput

func (OptionsMap) ToOptionsMapOutputWithContext

func (i OptionsMap) ToOptionsMapOutputWithContext(ctx context.Context) OptionsMapOutput

type OptionsMapInput

type OptionsMapInput interface {
	pulumi.Input

	ToOptionsMapOutput() OptionsMapOutput
	ToOptionsMapOutputWithContext(context.Context) OptionsMapOutput
}

OptionsMapInput is an input type that accepts OptionsMap and OptionsMapOutput values. You can construct a concrete instance of `OptionsMapInput` via:

OptionsMap{ "key": OptionsArgs{...} }

type OptionsMapOutput

type OptionsMapOutput struct{ *pulumi.OutputState }

func (OptionsMapOutput) ElementType

func (OptionsMapOutput) ElementType() reflect.Type

func (OptionsMapOutput) MapIndex

func (OptionsMapOutput) ToOptionsMapOutput

func (o OptionsMapOutput) ToOptionsMapOutput() OptionsMapOutput

func (OptionsMapOutput) ToOptionsMapOutputWithContext

func (o OptionsMapOutput) ToOptionsMapOutputWithContext(ctx context.Context) OptionsMapOutput

type OptionsOutput

type OptionsOutput struct{ *pulumi.OutputState }

func (OptionsOutput) DnsTimeout

func (o OptionsOutput) DnsTimeout() pulumi.IntOutput

DNS query time out (1 - 30 sec).

func (OptionsOutput) ElementType

func (OptionsOutput) ElementType() reflect.Type

func (OptionsOutput) ToOptionsOutput

func (o OptionsOutput) ToOptionsOutput() OptionsOutput

func (OptionsOutput) ToOptionsOutputWithContext

func (o OptionsOutput) ToOptionsOutputWithContext(ctx context.Context) OptionsOutput

func (OptionsOutput) Vdomparam

func (o OptionsOutput) 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 OptionsState

type OptionsState struct {
	// DNS query time out (1 - 30 sec).
	DnsTimeout 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 (OptionsState) ElementType

func (OptionsState) ElementType() reflect.Type

type Profile

type Profile struct {
	pulumi.CustomResourceState

	// Comment.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// Enable/disable external Email inspection. Valid values: `enable`, `disable`.
	External pulumi.StringOutput `pulumi:"external"`
	// Enable/disable flow-based spam filtering. Valid values: `enable`, `disable`.
	FlowBased pulumi.StringOutput `pulumi:"flowBased"`
	// 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"`
	// Gmail. The structure of `gmail` block is documented below.
	Gmail ProfileGmailOutput `pulumi:"gmail"`
	// IMAP. The structure of `imap` block is documented below.
	Imap ProfileImapOutput `pulumi:"imap"`
	// MAPI. The structure of `mapi` block is documented below.
	Mapi ProfileMapiOutput `pulumi:"mapi"`
	// MSN Hotmail. The structure of `msnHotmail` block is documented below.
	MsnHotmail ProfileMsnHotmailOutput `pulumi:"msnHotmail"`
	// Profile name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Options. Valid values: `bannedword`, `spambwl`, `spamfsip`, `spamfssubmit`, `spamfschksum`, `spamfsurl`, `spamhelodns`, `spamraddrdns`, `spamrbl`, `spamhdrcheck`, `spamfsphish`.
	Options pulumi.StringOutput `pulumi:"options"`
	// POP3. The structure of `pop3` block is documented below.
	Pop3 ProfilePop3Output `pulumi:"pop3"`
	// Replacement message group.
	ReplacemsgGroup pulumi.StringOutput `pulumi:"replacemsgGroup"`
	// SMTP. The structure of `smtp` block is documented below.
	Smtp ProfileSmtpOutput `pulumi:"smtp"`
	// Anti-spam black/white list table ID.
	SpamBwlTable pulumi.IntOutput `pulumi:"spamBwlTable"`
	// Anti-spam banned word table ID.
	SpamBwordTable pulumi.IntOutput `pulumi:"spamBwordTable"`
	// Spam banned word threshold.
	SpamBwordThreshold pulumi.IntOutput `pulumi:"spamBwordThreshold"`
	// Enable/disable spam filtering. Valid values: `enable`, `disable`.
	SpamFiltering pulumi.StringOutput `pulumi:"spamFiltering"`
	// Anti-spam IP trust table ID.
	SpamIptrustTable pulumi.IntOutput `pulumi:"spamIptrustTable"`
	// Enable/disable spam logging for email filtering. Valid values: `disable`, `enable`.
	SpamLog pulumi.StringOutput `pulumi:"spamLog"`
	// Enable/disable logging FortiGuard spam response. Valid values: `disable`, `enable`.
	SpamLogFortiguardResponse pulumi.StringOutput `pulumi:"spamLogFortiguardResponse"`
	// Anti-spam MIME header table ID.
	SpamMheaderTable pulumi.IntOutput `pulumi:"spamMheaderTable"`
	// Anti-spam DNSBL table ID.
	SpamRblTable pulumi.IntOutput `pulumi:"spamRblTable"`
	// 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"`
	// Yahoo! Mail. The structure of `yahooMail` block is documented below.
	YahooMail ProfileYahooMailOutput `pulumi:"yahooMail"`
}

Configure AntiSpam profiles. 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/filter"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := filter.NewProfile(ctx, "trname", &filter.ProfileArgs{
			Comment:   pulumi.String("terraform test"),
			External:  pulumi.String("disable"),
			FlowBased: pulumi.String("disable"),
			Gmail: &spam.ProfileGmailArgs{
				Log: pulumi.String("disable"),
			},
			Imap: &spam.ProfileImapArgs{
				Action:  pulumi.String("tag"),
				Log:     pulumi.String("disable"),
				TagMsg:  pulumi.String("Spam"),
				TagType: pulumi.String("subject spaminfo"),
			},
			Mapi: &spam.ProfileMapiArgs{
				Action: pulumi.String("discard"),
				Log:    pulumi.String("disable"),
			},
			MsnHotmail: &spam.ProfileMsnHotmailArgs{
				Log: pulumi.String("disable"),
			},
			Pop3: &spam.ProfilePop3Args{
				Action:  pulumi.String("tag"),
				Log:     pulumi.String("disable"),
				TagMsg:  pulumi.String("Spam"),
				TagType: pulumi.String("subject spaminfo"),
			},
			Smtp: &spam.ProfileSmtpArgs{
				Action:        pulumi.String("discard"),
				Hdrip:         pulumi.String("disable"),
				LocalOverride: pulumi.String("disable"),
				Log:           pulumi.String("disable"),
				TagMsg:        pulumi.String("Spam"),
				TagType:       pulumi.String("subject spaminfo"),
			},
			SpamBwlTable:              pulumi.Int(0),
			SpamBwordTable:            pulumi.Int(0),
			SpamBwordThreshold:        pulumi.Int(10),
			SpamFiltering:             pulumi.String("disable"),
			SpamIptrustTable:          pulumi.Int(0),
			SpamLog:                   pulumi.String("enable"),
			SpamLogFortiguardResponse: pulumi.String("disable"),
			SpamMheaderTable:          pulumi.Int(0),
			SpamRblTable:              pulumi.Int(0),
			YahooMail: &spam.ProfileYahooMailArgs{
				Log: pulumi.String("disable"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

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

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

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:filter/spam/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 external Email inspection. Valid values: `enable`, `disable`.
	External pulumi.StringPtrInput
	// Enable/disable flow-based spam filtering. Valid values: `enable`, `disable`.
	FlowBased 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
	// Gmail. The structure of `gmail` block is documented below.
	Gmail ProfileGmailPtrInput
	// IMAP. The structure of `imap` block is documented below.
	Imap ProfileImapPtrInput
	// MAPI. The structure of `mapi` block is documented below.
	Mapi ProfileMapiPtrInput
	// MSN Hotmail. The structure of `msnHotmail` block is documented below.
	MsnHotmail ProfileMsnHotmailPtrInput
	// Profile name.
	Name pulumi.StringPtrInput
	// Options. Valid values: `bannedword`, `spambwl`, `spamfsip`, `spamfssubmit`, `spamfschksum`, `spamfsurl`, `spamhelodns`, `spamraddrdns`, `spamrbl`, `spamhdrcheck`, `spamfsphish`.
	Options pulumi.StringPtrInput
	// POP3. The structure of `pop3` block is documented below.
	Pop3 ProfilePop3PtrInput
	// Replacement message group.
	ReplacemsgGroup pulumi.StringPtrInput
	// SMTP. The structure of `smtp` block is documented below.
	Smtp ProfileSmtpPtrInput
	// Anti-spam black/white list table ID.
	SpamBwlTable pulumi.IntPtrInput
	// Anti-spam banned word table ID.
	SpamBwordTable pulumi.IntPtrInput
	// Spam banned word threshold.
	SpamBwordThreshold pulumi.IntPtrInput
	// Enable/disable spam filtering. Valid values: `enable`, `disable`.
	SpamFiltering pulumi.StringPtrInput
	// Anti-spam IP trust table ID.
	SpamIptrustTable pulumi.IntPtrInput
	// Enable/disable spam logging for email filtering. Valid values: `disable`, `enable`.
	SpamLog pulumi.StringPtrInput
	// Enable/disable logging FortiGuard spam response. Valid values: `disable`, `enable`.
	SpamLogFortiguardResponse pulumi.StringPtrInput
	// Anti-spam MIME header table ID.
	SpamMheaderTable pulumi.IntPtrInput
	// Anti-spam DNSBL table ID.
	SpamRblTable 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
	// Yahoo! Mail. The structure of `yahooMail` block is documented below.
	YahooMail ProfileYahooMailPtrInput
}

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 ProfileGmail

type ProfileGmail struct {
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log *string `pulumi:"log"`
}

type ProfileGmailArgs

type ProfileGmailArgs struct {
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log pulumi.StringPtrInput `pulumi:"log"`
}

func (ProfileGmailArgs) ElementType

func (ProfileGmailArgs) ElementType() reflect.Type

func (ProfileGmailArgs) ToProfileGmailOutput

func (i ProfileGmailArgs) ToProfileGmailOutput() ProfileGmailOutput

func (ProfileGmailArgs) ToProfileGmailOutputWithContext

func (i ProfileGmailArgs) ToProfileGmailOutputWithContext(ctx context.Context) ProfileGmailOutput

func (ProfileGmailArgs) ToProfileGmailPtrOutput

func (i ProfileGmailArgs) ToProfileGmailPtrOutput() ProfileGmailPtrOutput

func (ProfileGmailArgs) ToProfileGmailPtrOutputWithContext

func (i ProfileGmailArgs) ToProfileGmailPtrOutputWithContext(ctx context.Context) ProfileGmailPtrOutput

type ProfileGmailInput

type ProfileGmailInput interface {
	pulumi.Input

	ToProfileGmailOutput() ProfileGmailOutput
	ToProfileGmailOutputWithContext(context.Context) ProfileGmailOutput
}

ProfileGmailInput is an input type that accepts ProfileGmailArgs and ProfileGmailOutput values. You can construct a concrete instance of `ProfileGmailInput` via:

ProfileGmailArgs{...}

type ProfileGmailOutput

type ProfileGmailOutput struct{ *pulumi.OutputState }

func (ProfileGmailOutput) ElementType

func (ProfileGmailOutput) ElementType() reflect.Type

func (ProfileGmailOutput) Log

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

func (ProfileGmailOutput) ToProfileGmailOutput

func (o ProfileGmailOutput) ToProfileGmailOutput() ProfileGmailOutput

func (ProfileGmailOutput) ToProfileGmailOutputWithContext

func (o ProfileGmailOutput) ToProfileGmailOutputWithContext(ctx context.Context) ProfileGmailOutput

func (ProfileGmailOutput) ToProfileGmailPtrOutput

func (o ProfileGmailOutput) ToProfileGmailPtrOutput() ProfileGmailPtrOutput

func (ProfileGmailOutput) ToProfileGmailPtrOutputWithContext

func (o ProfileGmailOutput) ToProfileGmailPtrOutputWithContext(ctx context.Context) ProfileGmailPtrOutput

type ProfileGmailPtrInput

type ProfileGmailPtrInput interface {
	pulumi.Input

	ToProfileGmailPtrOutput() ProfileGmailPtrOutput
	ToProfileGmailPtrOutputWithContext(context.Context) ProfileGmailPtrOutput
}

ProfileGmailPtrInput is an input type that accepts ProfileGmailArgs, ProfileGmailPtr and ProfileGmailPtrOutput values. You can construct a concrete instance of `ProfileGmailPtrInput` via:

        ProfileGmailArgs{...}

or:

        nil

type ProfileGmailPtrOutput

type ProfileGmailPtrOutput struct{ *pulumi.OutputState }

func (ProfileGmailPtrOutput) Elem

func (ProfileGmailPtrOutput) ElementType

func (ProfileGmailPtrOutput) ElementType() reflect.Type

func (ProfileGmailPtrOutput) Log

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

func (ProfileGmailPtrOutput) ToProfileGmailPtrOutput

func (o ProfileGmailPtrOutput) ToProfileGmailPtrOutput() ProfileGmailPtrOutput

func (ProfileGmailPtrOutput) ToProfileGmailPtrOutputWithContext

func (o ProfileGmailPtrOutput) ToProfileGmailPtrOutputWithContext(ctx context.Context) ProfileGmailPtrOutput

type ProfileImap

type ProfileImap struct {
	// Action for spam email. Valid values: `pass`, `tag`.
	Action *string `pulumi:"action"`
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log *string `pulumi:"log"`
	// Subject text or header added to spam email.
	TagMsg *string `pulumi:"tagMsg"`
	// Tag subject or header for spam email. Valid values: `subject`, `header`, `spaminfo`.
	TagType *string `pulumi:"tagType"`
}

type ProfileImapArgs

type ProfileImapArgs struct {
	// Action for spam email. Valid values: `pass`, `tag`.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log pulumi.StringPtrInput `pulumi:"log"`
	// Subject text or header added to spam email.
	TagMsg pulumi.StringPtrInput `pulumi:"tagMsg"`
	// Tag subject or header for spam email. Valid values: `subject`, `header`, `spaminfo`.
	TagType pulumi.StringPtrInput `pulumi:"tagType"`
}

func (ProfileImapArgs) ElementType

func (ProfileImapArgs) ElementType() reflect.Type

func (ProfileImapArgs) ToProfileImapOutput

func (i ProfileImapArgs) ToProfileImapOutput() ProfileImapOutput

func (ProfileImapArgs) ToProfileImapOutputWithContext

func (i ProfileImapArgs) ToProfileImapOutputWithContext(ctx context.Context) ProfileImapOutput

func (ProfileImapArgs) ToProfileImapPtrOutput

func (i ProfileImapArgs) ToProfileImapPtrOutput() ProfileImapPtrOutput

func (ProfileImapArgs) ToProfileImapPtrOutputWithContext

func (i ProfileImapArgs) ToProfileImapPtrOutputWithContext(ctx context.Context) ProfileImapPtrOutput

type ProfileImapInput

type ProfileImapInput interface {
	pulumi.Input

	ToProfileImapOutput() ProfileImapOutput
	ToProfileImapOutputWithContext(context.Context) ProfileImapOutput
}

ProfileImapInput is an input type that accepts ProfileImapArgs and ProfileImapOutput values. You can construct a concrete instance of `ProfileImapInput` via:

ProfileImapArgs{...}

type ProfileImapOutput

type ProfileImapOutput struct{ *pulumi.OutputState }

func (ProfileImapOutput) Action

Action for spam email. Valid values: `pass`, `tag`.

func (ProfileImapOutput) ElementType

func (ProfileImapOutput) ElementType() reflect.Type

func (ProfileImapOutput) Log

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

func (ProfileImapOutput) TagMsg

Subject text or header added to spam email.

func (ProfileImapOutput) TagType

Tag subject or header for spam email. Valid values: `subject`, `header`, `spaminfo`.

func (ProfileImapOutput) ToProfileImapOutput

func (o ProfileImapOutput) ToProfileImapOutput() ProfileImapOutput

func (ProfileImapOutput) ToProfileImapOutputWithContext

func (o ProfileImapOutput) ToProfileImapOutputWithContext(ctx context.Context) ProfileImapOutput

func (ProfileImapOutput) ToProfileImapPtrOutput

func (o ProfileImapOutput) ToProfileImapPtrOutput() ProfileImapPtrOutput

func (ProfileImapOutput) ToProfileImapPtrOutputWithContext

func (o ProfileImapOutput) ToProfileImapPtrOutputWithContext(ctx context.Context) ProfileImapPtrOutput

type ProfileImapPtrInput

type ProfileImapPtrInput interface {
	pulumi.Input

	ToProfileImapPtrOutput() ProfileImapPtrOutput
	ToProfileImapPtrOutputWithContext(context.Context) ProfileImapPtrOutput
}

ProfileImapPtrInput is an input type that accepts ProfileImapArgs, ProfileImapPtr and ProfileImapPtrOutput values. You can construct a concrete instance of `ProfileImapPtrInput` via:

        ProfileImapArgs{...}

or:

        nil

func ProfileImapPtr

func ProfileImapPtr(v *ProfileImapArgs) ProfileImapPtrInput

type ProfileImapPtrOutput

type ProfileImapPtrOutput struct{ *pulumi.OutputState }

func (ProfileImapPtrOutput) Action

Action for spam email. Valid values: `pass`, `tag`.

func (ProfileImapPtrOutput) Elem

func (ProfileImapPtrOutput) ElementType

func (ProfileImapPtrOutput) ElementType() reflect.Type

func (ProfileImapPtrOutput) Log

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

func (ProfileImapPtrOutput) TagMsg

Subject text or header added to spam email.

func (ProfileImapPtrOutput) TagType

Tag subject or header for spam email. Valid values: `subject`, `header`, `spaminfo`.

func (ProfileImapPtrOutput) ToProfileImapPtrOutput

func (o ProfileImapPtrOutput) ToProfileImapPtrOutput() ProfileImapPtrOutput

func (ProfileImapPtrOutput) ToProfileImapPtrOutputWithContext

func (o ProfileImapPtrOutput) ToProfileImapPtrOutputWithContext(ctx context.Context) ProfileImapPtrOutput

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 ProfileMapi

type ProfileMapi struct {
	// Action for spam email. Valid values: `pass`, `discard`.
	Action *string `pulumi:"action"`
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log *string `pulumi:"log"`
}

type ProfileMapiArgs

type ProfileMapiArgs struct {
	// Action for spam email. Valid values: `pass`, `discard`.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log pulumi.StringPtrInput `pulumi:"log"`
}

func (ProfileMapiArgs) ElementType

func (ProfileMapiArgs) ElementType() reflect.Type

func (ProfileMapiArgs) ToProfileMapiOutput

func (i ProfileMapiArgs) ToProfileMapiOutput() ProfileMapiOutput

func (ProfileMapiArgs) ToProfileMapiOutputWithContext

func (i ProfileMapiArgs) ToProfileMapiOutputWithContext(ctx context.Context) ProfileMapiOutput

func (ProfileMapiArgs) ToProfileMapiPtrOutput

func (i ProfileMapiArgs) ToProfileMapiPtrOutput() ProfileMapiPtrOutput

func (ProfileMapiArgs) ToProfileMapiPtrOutputWithContext

func (i ProfileMapiArgs) ToProfileMapiPtrOutputWithContext(ctx context.Context) ProfileMapiPtrOutput

type ProfileMapiInput

type ProfileMapiInput interface {
	pulumi.Input

	ToProfileMapiOutput() ProfileMapiOutput
	ToProfileMapiOutputWithContext(context.Context) ProfileMapiOutput
}

ProfileMapiInput is an input type that accepts ProfileMapiArgs and ProfileMapiOutput values. You can construct a concrete instance of `ProfileMapiInput` via:

ProfileMapiArgs{...}

type ProfileMapiOutput

type ProfileMapiOutput struct{ *pulumi.OutputState }

func (ProfileMapiOutput) Action

Action for spam email. Valid values: `pass`, `discard`.

func (ProfileMapiOutput) ElementType

func (ProfileMapiOutput) ElementType() reflect.Type

func (ProfileMapiOutput) Log

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

func (ProfileMapiOutput) ToProfileMapiOutput

func (o ProfileMapiOutput) ToProfileMapiOutput() ProfileMapiOutput

func (ProfileMapiOutput) ToProfileMapiOutputWithContext

func (o ProfileMapiOutput) ToProfileMapiOutputWithContext(ctx context.Context) ProfileMapiOutput

func (ProfileMapiOutput) ToProfileMapiPtrOutput

func (o ProfileMapiOutput) ToProfileMapiPtrOutput() ProfileMapiPtrOutput

func (ProfileMapiOutput) ToProfileMapiPtrOutputWithContext

func (o ProfileMapiOutput) ToProfileMapiPtrOutputWithContext(ctx context.Context) ProfileMapiPtrOutput

type ProfileMapiPtrInput

type ProfileMapiPtrInput interface {
	pulumi.Input

	ToProfileMapiPtrOutput() ProfileMapiPtrOutput
	ToProfileMapiPtrOutputWithContext(context.Context) ProfileMapiPtrOutput
}

ProfileMapiPtrInput is an input type that accepts ProfileMapiArgs, ProfileMapiPtr and ProfileMapiPtrOutput values. You can construct a concrete instance of `ProfileMapiPtrInput` via:

        ProfileMapiArgs{...}

or:

        nil

func ProfileMapiPtr

func ProfileMapiPtr(v *ProfileMapiArgs) ProfileMapiPtrInput

type ProfileMapiPtrOutput

type ProfileMapiPtrOutput struct{ *pulumi.OutputState }

func (ProfileMapiPtrOutput) Action

Action for spam email. Valid values: `pass`, `discard`.

func (ProfileMapiPtrOutput) Elem

func (ProfileMapiPtrOutput) ElementType

func (ProfileMapiPtrOutput) ElementType() reflect.Type

func (ProfileMapiPtrOutput) Log

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

func (ProfileMapiPtrOutput) ToProfileMapiPtrOutput

func (o ProfileMapiPtrOutput) ToProfileMapiPtrOutput() ProfileMapiPtrOutput

func (ProfileMapiPtrOutput) ToProfileMapiPtrOutputWithContext

func (o ProfileMapiPtrOutput) ToProfileMapiPtrOutputWithContext(ctx context.Context) ProfileMapiPtrOutput

type ProfileMsnHotmail

type ProfileMsnHotmail struct {
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log *string `pulumi:"log"`
}

type ProfileMsnHotmailArgs

type ProfileMsnHotmailArgs struct {
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log pulumi.StringPtrInput `pulumi:"log"`
}

func (ProfileMsnHotmailArgs) ElementType

func (ProfileMsnHotmailArgs) ElementType() reflect.Type

func (ProfileMsnHotmailArgs) ToProfileMsnHotmailOutput

func (i ProfileMsnHotmailArgs) ToProfileMsnHotmailOutput() ProfileMsnHotmailOutput

func (ProfileMsnHotmailArgs) ToProfileMsnHotmailOutputWithContext

func (i ProfileMsnHotmailArgs) ToProfileMsnHotmailOutputWithContext(ctx context.Context) ProfileMsnHotmailOutput

func (ProfileMsnHotmailArgs) ToProfileMsnHotmailPtrOutput

func (i ProfileMsnHotmailArgs) ToProfileMsnHotmailPtrOutput() ProfileMsnHotmailPtrOutput

func (ProfileMsnHotmailArgs) ToProfileMsnHotmailPtrOutputWithContext

func (i ProfileMsnHotmailArgs) ToProfileMsnHotmailPtrOutputWithContext(ctx context.Context) ProfileMsnHotmailPtrOutput

type ProfileMsnHotmailInput

type ProfileMsnHotmailInput interface {
	pulumi.Input

	ToProfileMsnHotmailOutput() ProfileMsnHotmailOutput
	ToProfileMsnHotmailOutputWithContext(context.Context) ProfileMsnHotmailOutput
}

ProfileMsnHotmailInput is an input type that accepts ProfileMsnHotmailArgs and ProfileMsnHotmailOutput values. You can construct a concrete instance of `ProfileMsnHotmailInput` via:

ProfileMsnHotmailArgs{...}

type ProfileMsnHotmailOutput

type ProfileMsnHotmailOutput struct{ *pulumi.OutputState }

func (ProfileMsnHotmailOutput) ElementType

func (ProfileMsnHotmailOutput) ElementType() reflect.Type

func (ProfileMsnHotmailOutput) Log

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

func (ProfileMsnHotmailOutput) ToProfileMsnHotmailOutput

func (o ProfileMsnHotmailOutput) ToProfileMsnHotmailOutput() ProfileMsnHotmailOutput

func (ProfileMsnHotmailOutput) ToProfileMsnHotmailOutputWithContext

func (o ProfileMsnHotmailOutput) ToProfileMsnHotmailOutputWithContext(ctx context.Context) ProfileMsnHotmailOutput

func (ProfileMsnHotmailOutput) ToProfileMsnHotmailPtrOutput

func (o ProfileMsnHotmailOutput) ToProfileMsnHotmailPtrOutput() ProfileMsnHotmailPtrOutput

func (ProfileMsnHotmailOutput) ToProfileMsnHotmailPtrOutputWithContext

func (o ProfileMsnHotmailOutput) ToProfileMsnHotmailPtrOutputWithContext(ctx context.Context) ProfileMsnHotmailPtrOutput

type ProfileMsnHotmailPtrInput

type ProfileMsnHotmailPtrInput interface {
	pulumi.Input

	ToProfileMsnHotmailPtrOutput() ProfileMsnHotmailPtrOutput
	ToProfileMsnHotmailPtrOutputWithContext(context.Context) ProfileMsnHotmailPtrOutput
}

ProfileMsnHotmailPtrInput is an input type that accepts ProfileMsnHotmailArgs, ProfileMsnHotmailPtr and ProfileMsnHotmailPtrOutput values. You can construct a concrete instance of `ProfileMsnHotmailPtrInput` via:

        ProfileMsnHotmailArgs{...}

or:

        nil

type ProfileMsnHotmailPtrOutput

type ProfileMsnHotmailPtrOutput struct{ *pulumi.OutputState }

func (ProfileMsnHotmailPtrOutput) Elem

func (ProfileMsnHotmailPtrOutput) ElementType

func (ProfileMsnHotmailPtrOutput) ElementType() reflect.Type

func (ProfileMsnHotmailPtrOutput) Log

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

func (ProfileMsnHotmailPtrOutput) ToProfileMsnHotmailPtrOutput

func (o ProfileMsnHotmailPtrOutput) ToProfileMsnHotmailPtrOutput() ProfileMsnHotmailPtrOutput

func (ProfileMsnHotmailPtrOutput) ToProfileMsnHotmailPtrOutputWithContext

func (o ProfileMsnHotmailPtrOutput) ToProfileMsnHotmailPtrOutputWithContext(ctx context.Context) ProfileMsnHotmailPtrOutput

type ProfileOutput

type ProfileOutput struct{ *pulumi.OutputState }

func (ProfileOutput) Comment

func (o ProfileOutput) Comment() pulumi.StringPtrOutput

Comment.

func (ProfileOutput) ElementType

func (ProfileOutput) ElementType() reflect.Type

func (ProfileOutput) External

func (o ProfileOutput) External() pulumi.StringOutput

Enable/disable external Email inspection. Valid values: `enable`, `disable`.

func (ProfileOutput) FlowBased

func (o ProfileOutput) FlowBased() pulumi.StringOutput

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

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) Gmail

Gmail. The structure of `gmail` block is documented below.

func (ProfileOutput) Imap

IMAP. The structure of `imap` block is documented below.

func (ProfileOutput) Mapi

MAPI. The structure of `mapi` block is documented below.

func (ProfileOutput) MsnHotmail

func (o ProfileOutput) MsnHotmail() ProfileMsnHotmailOutput

MSN Hotmail. The structure of `msnHotmail` block is documented below.

func (ProfileOutput) Name

Profile name.

func (ProfileOutput) Options

func (o ProfileOutput) Options() pulumi.StringOutput

Options. Valid values: `bannedword`, `spambwl`, `spamfsip`, `spamfssubmit`, `spamfschksum`, `spamfsurl`, `spamhelodns`, `spamraddrdns`, `spamrbl`, `spamhdrcheck`, `spamfsphish`.

func (ProfileOutput) Pop3

POP3. The structure of `pop3` block is documented below.

func (ProfileOutput) ReplacemsgGroup

func (o ProfileOutput) ReplacemsgGroup() pulumi.StringOutput

Replacement message group.

func (ProfileOutput) Smtp

SMTP. The structure of `smtp` block is documented below.

func (ProfileOutput) SpamBwlTable

func (o ProfileOutput) SpamBwlTable() pulumi.IntOutput

Anti-spam black/white list table ID.

func (ProfileOutput) SpamBwordTable

func (o ProfileOutput) SpamBwordTable() pulumi.IntOutput

Anti-spam banned word table ID.

func (ProfileOutput) SpamBwordThreshold

func (o ProfileOutput) SpamBwordThreshold() pulumi.IntOutput

Spam banned word threshold.

func (ProfileOutput) SpamFiltering

func (o ProfileOutput) SpamFiltering() pulumi.StringOutput

Enable/disable spam filtering. Valid values: `enable`, `disable`.

func (ProfileOutput) SpamIptrustTable

func (o ProfileOutput) SpamIptrustTable() pulumi.IntOutput

Anti-spam IP trust table ID.

func (ProfileOutput) SpamLog

func (o ProfileOutput) SpamLog() pulumi.StringOutput

Enable/disable spam logging for email filtering. Valid values: `disable`, `enable`.

func (ProfileOutput) SpamLogFortiguardResponse

func (o ProfileOutput) SpamLogFortiguardResponse() pulumi.StringOutput

Enable/disable logging FortiGuard spam response. Valid values: `disable`, `enable`.

func (ProfileOutput) SpamMheaderTable

func (o ProfileOutput) SpamMheaderTable() pulumi.IntOutput

Anti-spam MIME header table ID.

func (ProfileOutput) SpamRblTable

func (o ProfileOutput) SpamRblTable() pulumi.IntOutput

Anti-spam DNSBL table ID.

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.

func (ProfileOutput) YahooMail

func (o ProfileOutput) YahooMail() ProfileYahooMailOutput

Yahoo! Mail. The structure of `yahooMail` block is documented below.

type ProfilePop3

type ProfilePop3 struct {
	// Action for spam email. Valid values: `pass`, `tag`.
	Action *string `pulumi:"action"`
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log *string `pulumi:"log"`
	// Subject text or header added to spam email.
	TagMsg *string `pulumi:"tagMsg"`
	// Tag subject or header for spam email. Valid values: `subject`, `header`, `spaminfo`.
	TagType *string `pulumi:"tagType"`
}

type ProfilePop3Args

type ProfilePop3Args struct {
	// Action for spam email. Valid values: `pass`, `tag`.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log pulumi.StringPtrInput `pulumi:"log"`
	// Subject text or header added to spam email.
	TagMsg pulumi.StringPtrInput `pulumi:"tagMsg"`
	// Tag subject or header for spam email. Valid values: `subject`, `header`, `spaminfo`.
	TagType pulumi.StringPtrInput `pulumi:"tagType"`
}

func (ProfilePop3Args) ElementType

func (ProfilePop3Args) ElementType() reflect.Type

func (ProfilePop3Args) ToProfilePop3Output

func (i ProfilePop3Args) ToProfilePop3Output() ProfilePop3Output

func (ProfilePop3Args) ToProfilePop3OutputWithContext

func (i ProfilePop3Args) ToProfilePop3OutputWithContext(ctx context.Context) ProfilePop3Output

func (ProfilePop3Args) ToProfilePop3PtrOutput

func (i ProfilePop3Args) ToProfilePop3PtrOutput() ProfilePop3PtrOutput

func (ProfilePop3Args) ToProfilePop3PtrOutputWithContext

func (i ProfilePop3Args) ToProfilePop3PtrOutputWithContext(ctx context.Context) ProfilePop3PtrOutput

type ProfilePop3Input

type ProfilePop3Input interface {
	pulumi.Input

	ToProfilePop3Output() ProfilePop3Output
	ToProfilePop3OutputWithContext(context.Context) ProfilePop3Output
}

ProfilePop3Input is an input type that accepts ProfilePop3Args and ProfilePop3Output values. You can construct a concrete instance of `ProfilePop3Input` via:

ProfilePop3Args{...}

type ProfilePop3Output

type ProfilePop3Output struct{ *pulumi.OutputState }

func (ProfilePop3Output) Action

Action for spam email. Valid values: `pass`, `tag`.

func (ProfilePop3Output) ElementType

func (ProfilePop3Output) ElementType() reflect.Type

func (ProfilePop3Output) Log

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

func (ProfilePop3Output) TagMsg

Subject text or header added to spam email.

func (ProfilePop3Output) TagType

Tag subject or header for spam email. Valid values: `subject`, `header`, `spaminfo`.

func (ProfilePop3Output) ToProfilePop3Output

func (o ProfilePop3Output) ToProfilePop3Output() ProfilePop3Output

func (ProfilePop3Output) ToProfilePop3OutputWithContext

func (o ProfilePop3Output) ToProfilePop3OutputWithContext(ctx context.Context) ProfilePop3Output

func (ProfilePop3Output) ToProfilePop3PtrOutput

func (o ProfilePop3Output) ToProfilePop3PtrOutput() ProfilePop3PtrOutput

func (ProfilePop3Output) ToProfilePop3PtrOutputWithContext

func (o ProfilePop3Output) ToProfilePop3PtrOutputWithContext(ctx context.Context) ProfilePop3PtrOutput

type ProfilePop3PtrInput

type ProfilePop3PtrInput interface {
	pulumi.Input

	ToProfilePop3PtrOutput() ProfilePop3PtrOutput
	ToProfilePop3PtrOutputWithContext(context.Context) ProfilePop3PtrOutput
}

ProfilePop3PtrInput is an input type that accepts ProfilePop3Args, ProfilePop3Ptr and ProfilePop3PtrOutput values. You can construct a concrete instance of `ProfilePop3PtrInput` via:

        ProfilePop3Args{...}

or:

        nil

func ProfilePop3Ptr

func ProfilePop3Ptr(v *ProfilePop3Args) ProfilePop3PtrInput

type ProfilePop3PtrOutput

type ProfilePop3PtrOutput struct{ *pulumi.OutputState }

func (ProfilePop3PtrOutput) Action

Action for spam email. Valid values: `pass`, `tag`.

func (ProfilePop3PtrOutput) Elem

func (ProfilePop3PtrOutput) ElementType

func (ProfilePop3PtrOutput) ElementType() reflect.Type

func (ProfilePop3PtrOutput) Log

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

func (ProfilePop3PtrOutput) TagMsg

Subject text or header added to spam email.

func (ProfilePop3PtrOutput) TagType

Tag subject or header for spam email. Valid values: `subject`, `header`, `spaminfo`.

func (ProfilePop3PtrOutput) ToProfilePop3PtrOutput

func (o ProfilePop3PtrOutput) ToProfilePop3PtrOutput() ProfilePop3PtrOutput

func (ProfilePop3PtrOutput) ToProfilePop3PtrOutputWithContext

func (o ProfilePop3PtrOutput) ToProfilePop3PtrOutputWithContext(ctx context.Context) ProfilePop3PtrOutput

type ProfileSmtp

type ProfileSmtp struct {
	// Action for spam email. Valid values: `pass`, `tag`, `discard`.
	Action *string `pulumi:"action"`
	// Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: `disable`, `enable`.
	Hdrip *string `pulumi:"hdrip"`
	// Enable/disable local filter to override SMTP remote check result. Valid values: `disable`, `enable`.
	LocalOverride *string `pulumi:"localOverride"`
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log *string `pulumi:"log"`
	// Subject text or header added to spam email.
	TagMsg *string `pulumi:"tagMsg"`
	// Tag subject or header for spam email. Valid values: `subject`, `header`, `spaminfo`.
	TagType *string `pulumi:"tagType"`
}

type ProfileSmtpArgs

type ProfileSmtpArgs struct {
	// Action for spam email. Valid values: `pass`, `tag`, `discard`.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: `disable`, `enable`.
	Hdrip pulumi.StringPtrInput `pulumi:"hdrip"`
	// Enable/disable local filter to override SMTP remote check result. Valid values: `disable`, `enable`.
	LocalOverride pulumi.StringPtrInput `pulumi:"localOverride"`
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log pulumi.StringPtrInput `pulumi:"log"`
	// Subject text or header added to spam email.
	TagMsg pulumi.StringPtrInput `pulumi:"tagMsg"`
	// Tag subject or header for spam email. Valid values: `subject`, `header`, `spaminfo`.
	TagType pulumi.StringPtrInput `pulumi:"tagType"`
}

func (ProfileSmtpArgs) ElementType

func (ProfileSmtpArgs) ElementType() reflect.Type

func (ProfileSmtpArgs) ToProfileSmtpOutput

func (i ProfileSmtpArgs) ToProfileSmtpOutput() ProfileSmtpOutput

func (ProfileSmtpArgs) ToProfileSmtpOutputWithContext

func (i ProfileSmtpArgs) ToProfileSmtpOutputWithContext(ctx context.Context) ProfileSmtpOutput

func (ProfileSmtpArgs) ToProfileSmtpPtrOutput

func (i ProfileSmtpArgs) ToProfileSmtpPtrOutput() ProfileSmtpPtrOutput

func (ProfileSmtpArgs) ToProfileSmtpPtrOutputWithContext

func (i ProfileSmtpArgs) ToProfileSmtpPtrOutputWithContext(ctx context.Context) ProfileSmtpPtrOutput

type ProfileSmtpInput

type ProfileSmtpInput interface {
	pulumi.Input

	ToProfileSmtpOutput() ProfileSmtpOutput
	ToProfileSmtpOutputWithContext(context.Context) ProfileSmtpOutput
}

ProfileSmtpInput is an input type that accepts ProfileSmtpArgs and ProfileSmtpOutput values. You can construct a concrete instance of `ProfileSmtpInput` via:

ProfileSmtpArgs{...}

type ProfileSmtpOutput

type ProfileSmtpOutput struct{ *pulumi.OutputState }

func (ProfileSmtpOutput) Action

Action for spam email. Valid values: `pass`, `tag`, `discard`.

func (ProfileSmtpOutput) ElementType

func (ProfileSmtpOutput) ElementType() reflect.Type

func (ProfileSmtpOutput) Hdrip

Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: `disable`, `enable`.

func (ProfileSmtpOutput) LocalOverride

func (o ProfileSmtpOutput) LocalOverride() pulumi.StringPtrOutput

Enable/disable local filter to override SMTP remote check result. Valid values: `disable`, `enable`.

func (ProfileSmtpOutput) Log

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

func (ProfileSmtpOutput) TagMsg

Subject text or header added to spam email.

func (ProfileSmtpOutput) TagType

Tag subject or header for spam email. Valid values: `subject`, `header`, `spaminfo`.

func (ProfileSmtpOutput) ToProfileSmtpOutput

func (o ProfileSmtpOutput) ToProfileSmtpOutput() ProfileSmtpOutput

func (ProfileSmtpOutput) ToProfileSmtpOutputWithContext

func (o ProfileSmtpOutput) ToProfileSmtpOutputWithContext(ctx context.Context) ProfileSmtpOutput

func (ProfileSmtpOutput) ToProfileSmtpPtrOutput

func (o ProfileSmtpOutput) ToProfileSmtpPtrOutput() ProfileSmtpPtrOutput

func (ProfileSmtpOutput) ToProfileSmtpPtrOutputWithContext

func (o ProfileSmtpOutput) ToProfileSmtpPtrOutputWithContext(ctx context.Context) ProfileSmtpPtrOutput

type ProfileSmtpPtrInput

type ProfileSmtpPtrInput interface {
	pulumi.Input

	ToProfileSmtpPtrOutput() ProfileSmtpPtrOutput
	ToProfileSmtpPtrOutputWithContext(context.Context) ProfileSmtpPtrOutput
}

ProfileSmtpPtrInput is an input type that accepts ProfileSmtpArgs, ProfileSmtpPtr and ProfileSmtpPtrOutput values. You can construct a concrete instance of `ProfileSmtpPtrInput` via:

        ProfileSmtpArgs{...}

or:

        nil

func ProfileSmtpPtr

func ProfileSmtpPtr(v *ProfileSmtpArgs) ProfileSmtpPtrInput

type ProfileSmtpPtrOutput

type ProfileSmtpPtrOutput struct{ *pulumi.OutputState }

func (ProfileSmtpPtrOutput) Action

Action for spam email. Valid values: `pass`, `tag`, `discard`.

func (ProfileSmtpPtrOutput) Elem

func (ProfileSmtpPtrOutput) ElementType

func (ProfileSmtpPtrOutput) ElementType() reflect.Type

func (ProfileSmtpPtrOutput) Hdrip

Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: `disable`, `enable`.

func (ProfileSmtpPtrOutput) LocalOverride

func (o ProfileSmtpPtrOutput) LocalOverride() pulumi.StringPtrOutput

Enable/disable local filter to override SMTP remote check result. Valid values: `disable`, `enable`.

func (ProfileSmtpPtrOutput) Log

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

func (ProfileSmtpPtrOutput) TagMsg

Subject text or header added to spam email.

func (ProfileSmtpPtrOutput) TagType

Tag subject or header for spam email. Valid values: `subject`, `header`, `spaminfo`.

func (ProfileSmtpPtrOutput) ToProfileSmtpPtrOutput

func (o ProfileSmtpPtrOutput) ToProfileSmtpPtrOutput() ProfileSmtpPtrOutput

func (ProfileSmtpPtrOutput) ToProfileSmtpPtrOutputWithContext

func (o ProfileSmtpPtrOutput) ToProfileSmtpPtrOutputWithContext(ctx context.Context) ProfileSmtpPtrOutput

type ProfileState

type ProfileState struct {
	// Comment.
	Comment pulumi.StringPtrInput
	// Enable/disable external Email inspection. Valid values: `enable`, `disable`.
	External pulumi.StringPtrInput
	// Enable/disable flow-based spam filtering. Valid values: `enable`, `disable`.
	FlowBased 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
	// Gmail. The structure of `gmail` block is documented below.
	Gmail ProfileGmailPtrInput
	// IMAP. The structure of `imap` block is documented below.
	Imap ProfileImapPtrInput
	// MAPI. The structure of `mapi` block is documented below.
	Mapi ProfileMapiPtrInput
	// MSN Hotmail. The structure of `msnHotmail` block is documented below.
	MsnHotmail ProfileMsnHotmailPtrInput
	// Profile name.
	Name pulumi.StringPtrInput
	// Options. Valid values: `bannedword`, `spambwl`, `spamfsip`, `spamfssubmit`, `spamfschksum`, `spamfsurl`, `spamhelodns`, `spamraddrdns`, `spamrbl`, `spamhdrcheck`, `spamfsphish`.
	Options pulumi.StringPtrInput
	// POP3. The structure of `pop3` block is documented below.
	Pop3 ProfilePop3PtrInput
	// Replacement message group.
	ReplacemsgGroup pulumi.StringPtrInput
	// SMTP. The structure of `smtp` block is documented below.
	Smtp ProfileSmtpPtrInput
	// Anti-spam black/white list table ID.
	SpamBwlTable pulumi.IntPtrInput
	// Anti-spam banned word table ID.
	SpamBwordTable pulumi.IntPtrInput
	// Spam banned word threshold.
	SpamBwordThreshold pulumi.IntPtrInput
	// Enable/disable spam filtering. Valid values: `enable`, `disable`.
	SpamFiltering pulumi.StringPtrInput
	// Anti-spam IP trust table ID.
	SpamIptrustTable pulumi.IntPtrInput
	// Enable/disable spam logging for email filtering. Valid values: `disable`, `enable`.
	SpamLog pulumi.StringPtrInput
	// Enable/disable logging FortiGuard spam response. Valid values: `disable`, `enable`.
	SpamLogFortiguardResponse pulumi.StringPtrInput
	// Anti-spam MIME header table ID.
	SpamMheaderTable pulumi.IntPtrInput
	// Anti-spam DNSBL table ID.
	SpamRblTable 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
	// Yahoo! Mail. The structure of `yahooMail` block is documented below.
	YahooMail ProfileYahooMailPtrInput
}

func (ProfileState) ElementType

func (ProfileState) ElementType() reflect.Type

type ProfileYahooMail

type ProfileYahooMail struct {
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log *string `pulumi:"log"`
}

type ProfileYahooMailArgs

type ProfileYahooMailArgs struct {
	// Enable/disable logging. Valid values: `enable`, `disable`.
	Log pulumi.StringPtrInput `pulumi:"log"`
}

func (ProfileYahooMailArgs) ElementType

func (ProfileYahooMailArgs) ElementType() reflect.Type

func (ProfileYahooMailArgs) ToProfileYahooMailOutput

func (i ProfileYahooMailArgs) ToProfileYahooMailOutput() ProfileYahooMailOutput

func (ProfileYahooMailArgs) ToProfileYahooMailOutputWithContext

func (i ProfileYahooMailArgs) ToProfileYahooMailOutputWithContext(ctx context.Context) ProfileYahooMailOutput

func (ProfileYahooMailArgs) ToProfileYahooMailPtrOutput

func (i ProfileYahooMailArgs) ToProfileYahooMailPtrOutput() ProfileYahooMailPtrOutput

func (ProfileYahooMailArgs) ToProfileYahooMailPtrOutputWithContext

func (i ProfileYahooMailArgs) ToProfileYahooMailPtrOutputWithContext(ctx context.Context) ProfileYahooMailPtrOutput

type ProfileYahooMailInput

type ProfileYahooMailInput interface {
	pulumi.Input

	ToProfileYahooMailOutput() ProfileYahooMailOutput
	ToProfileYahooMailOutputWithContext(context.Context) ProfileYahooMailOutput
}

ProfileYahooMailInput is an input type that accepts ProfileYahooMailArgs and ProfileYahooMailOutput values. You can construct a concrete instance of `ProfileYahooMailInput` via:

ProfileYahooMailArgs{...}

type ProfileYahooMailOutput

type ProfileYahooMailOutput struct{ *pulumi.OutputState }

func (ProfileYahooMailOutput) ElementType

func (ProfileYahooMailOutput) ElementType() reflect.Type

func (ProfileYahooMailOutput) Log

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

func (ProfileYahooMailOutput) ToProfileYahooMailOutput

func (o ProfileYahooMailOutput) ToProfileYahooMailOutput() ProfileYahooMailOutput

func (ProfileYahooMailOutput) ToProfileYahooMailOutputWithContext

func (o ProfileYahooMailOutput) ToProfileYahooMailOutputWithContext(ctx context.Context) ProfileYahooMailOutput

func (ProfileYahooMailOutput) ToProfileYahooMailPtrOutput

func (o ProfileYahooMailOutput) ToProfileYahooMailPtrOutput() ProfileYahooMailPtrOutput

func (ProfileYahooMailOutput) ToProfileYahooMailPtrOutputWithContext

func (o ProfileYahooMailOutput) ToProfileYahooMailPtrOutputWithContext(ctx context.Context) ProfileYahooMailPtrOutput

type ProfileYahooMailPtrInput

type ProfileYahooMailPtrInput interface {
	pulumi.Input

	ToProfileYahooMailPtrOutput() ProfileYahooMailPtrOutput
	ToProfileYahooMailPtrOutputWithContext(context.Context) ProfileYahooMailPtrOutput
}

ProfileYahooMailPtrInput is an input type that accepts ProfileYahooMailArgs, ProfileYahooMailPtr and ProfileYahooMailPtrOutput values. You can construct a concrete instance of `ProfileYahooMailPtrInput` via:

        ProfileYahooMailArgs{...}

or:

        nil

type ProfileYahooMailPtrOutput

type ProfileYahooMailPtrOutput struct{ *pulumi.OutputState }

func (ProfileYahooMailPtrOutput) Elem

func (ProfileYahooMailPtrOutput) ElementType

func (ProfileYahooMailPtrOutput) ElementType() reflect.Type

func (ProfileYahooMailPtrOutput) Log

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

func (ProfileYahooMailPtrOutput) ToProfileYahooMailPtrOutput

func (o ProfileYahooMailPtrOutput) ToProfileYahooMailPtrOutput() ProfileYahooMailPtrOutput

func (ProfileYahooMailPtrOutput) ToProfileYahooMailPtrOutputWithContext

func (o ProfileYahooMailPtrOutput) ToProfileYahooMailPtrOutputWithContext(ctx context.Context) ProfileYahooMailPtrOutput

Jump to

Keyboard shortcuts

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