log

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 Customfield

type Customfield struct {
	pulumi.CustomResourceState

	// field ID <string>.
	Fosid pulumi.StringOutput `pulumi:"fosid"`
	// Field name (max: 15 characters).
	Name pulumi.StringOutput `pulumi:"name"`
	// Field value (max: 15 characters).
	Value pulumi.StringOutput `pulumi:"value"`
	// 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 custom log fields.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewCustomfield(ctx, "trname", &log.CustomfieldArgs{
			Fosid: pulumi.String("1"),
			Value: pulumi.String("logteststr"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Log CustomField can be imported using any of these accepted formats:

```sh $ pulumi import fortios:log/customfield:Customfield labelname {{fosid}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:log/customfield:Customfield labelname {{fosid}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetCustomfield

func GetCustomfield(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomfieldState, opts ...pulumi.ResourceOption) (*Customfield, error)

GetCustomfield gets an existing Customfield 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 NewCustomfield

func NewCustomfield(ctx *pulumi.Context,
	name string, args *CustomfieldArgs, opts ...pulumi.ResourceOption) (*Customfield, error)

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

func (*Customfield) ElementType

func (*Customfield) ElementType() reflect.Type

func (*Customfield) ToCustomfieldOutput

func (i *Customfield) ToCustomfieldOutput() CustomfieldOutput

func (*Customfield) ToCustomfieldOutputWithContext

func (i *Customfield) ToCustomfieldOutputWithContext(ctx context.Context) CustomfieldOutput

type CustomfieldArgs

type CustomfieldArgs struct {
	// field ID <string>.
	Fosid pulumi.StringPtrInput
	// Field name (max: 15 characters).
	Name pulumi.StringPtrInput
	// Field value (max: 15 characters).
	Value pulumi.StringInput
	// 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 Customfield resource.

func (CustomfieldArgs) ElementType

func (CustomfieldArgs) ElementType() reflect.Type

type CustomfieldArray

type CustomfieldArray []CustomfieldInput

func (CustomfieldArray) ElementType

func (CustomfieldArray) ElementType() reflect.Type

func (CustomfieldArray) ToCustomfieldArrayOutput

func (i CustomfieldArray) ToCustomfieldArrayOutput() CustomfieldArrayOutput

func (CustomfieldArray) ToCustomfieldArrayOutputWithContext

func (i CustomfieldArray) ToCustomfieldArrayOutputWithContext(ctx context.Context) CustomfieldArrayOutput

type CustomfieldArrayInput

type CustomfieldArrayInput interface {
	pulumi.Input

	ToCustomfieldArrayOutput() CustomfieldArrayOutput
	ToCustomfieldArrayOutputWithContext(context.Context) CustomfieldArrayOutput
}

CustomfieldArrayInput is an input type that accepts CustomfieldArray and CustomfieldArrayOutput values. You can construct a concrete instance of `CustomfieldArrayInput` via:

CustomfieldArray{ CustomfieldArgs{...} }

type CustomfieldArrayOutput

type CustomfieldArrayOutput struct{ *pulumi.OutputState }

func (CustomfieldArrayOutput) ElementType

func (CustomfieldArrayOutput) ElementType() reflect.Type

func (CustomfieldArrayOutput) Index

func (CustomfieldArrayOutput) ToCustomfieldArrayOutput

func (o CustomfieldArrayOutput) ToCustomfieldArrayOutput() CustomfieldArrayOutput

func (CustomfieldArrayOutput) ToCustomfieldArrayOutputWithContext

func (o CustomfieldArrayOutput) ToCustomfieldArrayOutputWithContext(ctx context.Context) CustomfieldArrayOutput

type CustomfieldInput

type CustomfieldInput interface {
	pulumi.Input

	ToCustomfieldOutput() CustomfieldOutput
	ToCustomfieldOutputWithContext(ctx context.Context) CustomfieldOutput
}

type CustomfieldMap

type CustomfieldMap map[string]CustomfieldInput

func (CustomfieldMap) ElementType

func (CustomfieldMap) ElementType() reflect.Type

func (CustomfieldMap) ToCustomfieldMapOutput

func (i CustomfieldMap) ToCustomfieldMapOutput() CustomfieldMapOutput

func (CustomfieldMap) ToCustomfieldMapOutputWithContext

func (i CustomfieldMap) ToCustomfieldMapOutputWithContext(ctx context.Context) CustomfieldMapOutput

type CustomfieldMapInput

type CustomfieldMapInput interface {
	pulumi.Input

	ToCustomfieldMapOutput() CustomfieldMapOutput
	ToCustomfieldMapOutputWithContext(context.Context) CustomfieldMapOutput
}

CustomfieldMapInput is an input type that accepts CustomfieldMap and CustomfieldMapOutput values. You can construct a concrete instance of `CustomfieldMapInput` via:

CustomfieldMap{ "key": CustomfieldArgs{...} }

type CustomfieldMapOutput

type CustomfieldMapOutput struct{ *pulumi.OutputState }

func (CustomfieldMapOutput) ElementType

func (CustomfieldMapOutput) ElementType() reflect.Type

func (CustomfieldMapOutput) MapIndex

func (CustomfieldMapOutput) ToCustomfieldMapOutput

func (o CustomfieldMapOutput) ToCustomfieldMapOutput() CustomfieldMapOutput

func (CustomfieldMapOutput) ToCustomfieldMapOutputWithContext

func (o CustomfieldMapOutput) ToCustomfieldMapOutputWithContext(ctx context.Context) CustomfieldMapOutput

type CustomfieldOutput

type CustomfieldOutput struct{ *pulumi.OutputState }

func (CustomfieldOutput) ElementType

func (CustomfieldOutput) ElementType() reflect.Type

func (CustomfieldOutput) Fosid

field ID <string>.

func (CustomfieldOutput) Name

Field name (max: 15 characters).

func (CustomfieldOutput) ToCustomfieldOutput

func (o CustomfieldOutput) ToCustomfieldOutput() CustomfieldOutput

func (CustomfieldOutput) ToCustomfieldOutputWithContext

func (o CustomfieldOutput) ToCustomfieldOutputWithContext(ctx context.Context) CustomfieldOutput

func (CustomfieldOutput) Value

Field value (max: 15 characters).

func (CustomfieldOutput) 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 CustomfieldState

type CustomfieldState struct {
	// field ID <string>.
	Fosid pulumi.StringPtrInput
	// Field name (max: 15 characters).
	Name pulumi.StringPtrInput
	// Field value (max: 15 characters).
	Value 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 (CustomfieldState) ElementType

func (CustomfieldState) ElementType() reflect.Type

type Eventfilter

type Eventfilter struct {
	pulumi.CustomResourceState

	// Enable/disable CIFS logging. Valid values: `enable`, `disable`.
	Cifs pulumi.StringOutput `pulumi:"cifs"`
	// Enable/disable PCI DSS compliance check logging. Valid values: `enable`, `disable`.
	ComplianceCheck pulumi.StringOutput `pulumi:"complianceCheck"`
	// Enable/disable SDN connector logging. Valid values: `enable`, `disable`.
	Connector pulumi.StringOutput `pulumi:"connector"`
	// Enable/disable endpoint event logging. Valid values: `enable`, `disable`.
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// Enable/disable event logging. Valid values: `enable`, `disable`.
	Event pulumi.StringOutput `pulumi:"event"`
	// Enable/disable FortiExtender logging. Valid values: `enable`, `disable`.
	Fortiextender pulumi.StringOutput `pulumi:"fortiextender"`
	// Enable/disable ha event logging. Valid values: `enable`, `disable`.
	Ha pulumi.StringOutput `pulumi:"ha"`
	// Enable/disable REST API logging. Valid values: `enable`, `disable`.
	RestApi pulumi.StringOutput `pulumi:"restApi"`
	// Enable/disable router event logging. Valid values: `enable`, `disable`.
	Router pulumi.StringOutput `pulumi:"router"`
	// Enable/disable SD-WAN logging. Valid values: `enable`, `disable`.
	Sdwan pulumi.StringOutput `pulumi:"sdwan"`
	// Enable/disable Security Rating result logging. Valid values: `enable`, `disable`.
	SecurityRating pulumi.StringOutput `pulumi:"securityRating"`
	// Enable/disable Switch-Controller logging. Valid values: `enable`, `disable`.
	SwitchController pulumi.StringOutput `pulumi:"switchController"`
	// Enable/disable system event logging. Valid values: `enable`, `disable`.
	System pulumi.StringOutput `pulumi:"system"`
	// Enable/disable user authentication event logging. Valid values: `enable`, `disable`.
	User pulumi.StringOutput `pulumi:"user"`
	// 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"`
	// Enable/disable VPN event logging. Valid values: `enable`, `disable`.
	Vpn pulumi.StringOutput `pulumi:"vpn"`
	// Enable/disable WAN optimization event logging. Valid values: `enable`, `disable`.
	WanOpt pulumi.StringOutput `pulumi:"wanOpt"`
	// Enable/disable web proxy event logging. Valid values: `enable`, `disable`.
	Webproxy pulumi.StringOutput `pulumi:"webproxy"`
	// Enable/disable wireless event logging. Valid values: `enable`, `disable`.
	WirelessActivity pulumi.StringOutput `pulumi:"wirelessActivity"`
}

Configure log event filters.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewEventfilter(ctx, "trname", &log.EventfilterArgs{
			ComplianceCheck:  pulumi.String("enable"),
			Endpoint:         pulumi.String("enable"),
			Event:            pulumi.String("enable"),
			Ha:               pulumi.String("enable"),
			Router:           pulumi.String("enable"),
			SecurityRating:   pulumi.String("enable"),
			System:           pulumi.String("enable"),
			User:             pulumi.String("enable"),
			Vpn:              pulumi.String("enable"),
			WanOpt:           pulumi.String("enable"),
			WirelessActivity: pulumi.String("enable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Log Eventfilter can be imported using any of these accepted formats:

```sh $ pulumi import fortios:log/eventfilter:Eventfilter labelname LogEventfilter ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:log/eventfilter:Eventfilter labelname LogEventfilter ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetEventfilter

func GetEventfilter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventfilterState, opts ...pulumi.ResourceOption) (*Eventfilter, error)

GetEventfilter gets an existing Eventfilter 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 NewEventfilter

func NewEventfilter(ctx *pulumi.Context,
	name string, args *EventfilterArgs, opts ...pulumi.ResourceOption) (*Eventfilter, error)

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

func (*Eventfilter) ElementType

func (*Eventfilter) ElementType() reflect.Type

func (*Eventfilter) ToEventfilterOutput

func (i *Eventfilter) ToEventfilterOutput() EventfilterOutput

func (*Eventfilter) ToEventfilterOutputWithContext

func (i *Eventfilter) ToEventfilterOutputWithContext(ctx context.Context) EventfilterOutput

type EventfilterArgs

type EventfilterArgs struct {
	// Enable/disable CIFS logging. Valid values: `enable`, `disable`.
	Cifs pulumi.StringPtrInput
	// Enable/disable PCI DSS compliance check logging. Valid values: `enable`, `disable`.
	ComplianceCheck pulumi.StringPtrInput
	// Enable/disable SDN connector logging. Valid values: `enable`, `disable`.
	Connector pulumi.StringPtrInput
	// Enable/disable endpoint event logging. Valid values: `enable`, `disable`.
	Endpoint pulumi.StringPtrInput
	// Enable/disable event logging. Valid values: `enable`, `disable`.
	Event pulumi.StringPtrInput
	// Enable/disable FortiExtender logging. Valid values: `enable`, `disable`.
	Fortiextender pulumi.StringPtrInput
	// Enable/disable ha event logging. Valid values: `enable`, `disable`.
	Ha pulumi.StringPtrInput
	// Enable/disable REST API logging. Valid values: `enable`, `disable`.
	RestApi pulumi.StringPtrInput
	// Enable/disable router event logging. Valid values: `enable`, `disable`.
	Router pulumi.StringPtrInput
	// Enable/disable SD-WAN logging. Valid values: `enable`, `disable`.
	Sdwan pulumi.StringPtrInput
	// Enable/disable Security Rating result logging. Valid values: `enable`, `disable`.
	SecurityRating pulumi.StringPtrInput
	// Enable/disable Switch-Controller logging. Valid values: `enable`, `disable`.
	SwitchController pulumi.StringPtrInput
	// Enable/disable system event logging. Valid values: `enable`, `disable`.
	System pulumi.StringPtrInput
	// Enable/disable user authentication event logging. Valid values: `enable`, `disable`.
	User 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
	// Enable/disable VPN event logging. Valid values: `enable`, `disable`.
	Vpn pulumi.StringPtrInput
	// Enable/disable WAN optimization event logging. Valid values: `enable`, `disable`.
	WanOpt pulumi.StringPtrInput
	// Enable/disable web proxy event logging. Valid values: `enable`, `disable`.
	Webproxy pulumi.StringPtrInput
	// Enable/disable wireless event logging. Valid values: `enable`, `disable`.
	WirelessActivity pulumi.StringPtrInput
}

The set of arguments for constructing a Eventfilter resource.

func (EventfilterArgs) ElementType

func (EventfilterArgs) ElementType() reflect.Type

type EventfilterArray

type EventfilterArray []EventfilterInput

func (EventfilterArray) ElementType

func (EventfilterArray) ElementType() reflect.Type

func (EventfilterArray) ToEventfilterArrayOutput

func (i EventfilterArray) ToEventfilterArrayOutput() EventfilterArrayOutput

func (EventfilterArray) ToEventfilterArrayOutputWithContext

func (i EventfilterArray) ToEventfilterArrayOutputWithContext(ctx context.Context) EventfilterArrayOutput

type EventfilterArrayInput

type EventfilterArrayInput interface {
	pulumi.Input

	ToEventfilterArrayOutput() EventfilterArrayOutput
	ToEventfilterArrayOutputWithContext(context.Context) EventfilterArrayOutput
}

EventfilterArrayInput is an input type that accepts EventfilterArray and EventfilterArrayOutput values. You can construct a concrete instance of `EventfilterArrayInput` via:

EventfilterArray{ EventfilterArgs{...} }

type EventfilterArrayOutput

type EventfilterArrayOutput struct{ *pulumi.OutputState }

func (EventfilterArrayOutput) ElementType

func (EventfilterArrayOutput) ElementType() reflect.Type

func (EventfilterArrayOutput) Index

func (EventfilterArrayOutput) ToEventfilterArrayOutput

func (o EventfilterArrayOutput) ToEventfilterArrayOutput() EventfilterArrayOutput

func (EventfilterArrayOutput) ToEventfilterArrayOutputWithContext

func (o EventfilterArrayOutput) ToEventfilterArrayOutputWithContext(ctx context.Context) EventfilterArrayOutput

type EventfilterInput

type EventfilterInput interface {
	pulumi.Input

	ToEventfilterOutput() EventfilterOutput
	ToEventfilterOutputWithContext(ctx context.Context) EventfilterOutput
}

type EventfilterMap

type EventfilterMap map[string]EventfilterInput

func (EventfilterMap) ElementType

func (EventfilterMap) ElementType() reflect.Type

func (EventfilterMap) ToEventfilterMapOutput

func (i EventfilterMap) ToEventfilterMapOutput() EventfilterMapOutput

func (EventfilterMap) ToEventfilterMapOutputWithContext

func (i EventfilterMap) ToEventfilterMapOutputWithContext(ctx context.Context) EventfilterMapOutput

type EventfilterMapInput

type EventfilterMapInput interface {
	pulumi.Input

	ToEventfilterMapOutput() EventfilterMapOutput
	ToEventfilterMapOutputWithContext(context.Context) EventfilterMapOutput
}

EventfilterMapInput is an input type that accepts EventfilterMap and EventfilterMapOutput values. You can construct a concrete instance of `EventfilterMapInput` via:

EventfilterMap{ "key": EventfilterArgs{...} }

type EventfilterMapOutput

type EventfilterMapOutput struct{ *pulumi.OutputState }

func (EventfilterMapOutput) ElementType

func (EventfilterMapOutput) ElementType() reflect.Type

func (EventfilterMapOutput) MapIndex

func (EventfilterMapOutput) ToEventfilterMapOutput

func (o EventfilterMapOutput) ToEventfilterMapOutput() EventfilterMapOutput

func (EventfilterMapOutput) ToEventfilterMapOutputWithContext

func (o EventfilterMapOutput) ToEventfilterMapOutputWithContext(ctx context.Context) EventfilterMapOutput

type EventfilterOutput

type EventfilterOutput struct{ *pulumi.OutputState }

func (EventfilterOutput) Cifs

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

func (EventfilterOutput) ComplianceCheck

func (o EventfilterOutput) ComplianceCheck() pulumi.StringOutput

Enable/disable PCI DSS compliance check logging. Valid values: `enable`, `disable`.

func (EventfilterOutput) Connector

func (o EventfilterOutput) Connector() pulumi.StringOutput

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

func (EventfilterOutput) ElementType

func (EventfilterOutput) ElementType() reflect.Type

func (EventfilterOutput) Endpoint

func (o EventfilterOutput) Endpoint() pulumi.StringOutput

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

func (EventfilterOutput) Event

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

func (EventfilterOutput) Fortiextender

func (o EventfilterOutput) Fortiextender() pulumi.StringOutput

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

func (EventfilterOutput) Ha

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

func (EventfilterOutput) RestApi

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

func (EventfilterOutput) Router

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

func (EventfilterOutput) Sdwan

Enable/disable SD-WAN logging. Valid values: `enable`, `disable`.

func (EventfilterOutput) SecurityRating

func (o EventfilterOutput) SecurityRating() pulumi.StringOutput

Enable/disable Security Rating result logging. Valid values: `enable`, `disable`.

func (EventfilterOutput) SwitchController

func (o EventfilterOutput) SwitchController() pulumi.StringOutput

Enable/disable Switch-Controller logging. Valid values: `enable`, `disable`.

func (EventfilterOutput) System

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

func (EventfilterOutput) ToEventfilterOutput

func (o EventfilterOutput) ToEventfilterOutput() EventfilterOutput

func (EventfilterOutput) ToEventfilterOutputWithContext

func (o EventfilterOutput) ToEventfilterOutputWithContext(ctx context.Context) EventfilterOutput

func (EventfilterOutput) User

Enable/disable user authentication event logging. Valid values: `enable`, `disable`.

func (EventfilterOutput) Vdomparam

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

func (EventfilterOutput) Vpn

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

func (EventfilterOutput) WanOpt

Enable/disable WAN optimization event logging. Valid values: `enable`, `disable`.

func (EventfilterOutput) Webproxy

func (o EventfilterOutput) Webproxy() pulumi.StringOutput

Enable/disable web proxy event logging. Valid values: `enable`, `disable`.

func (EventfilterOutput) WirelessActivity

func (o EventfilterOutput) WirelessActivity() pulumi.StringOutput

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

type EventfilterState

type EventfilterState struct {
	// Enable/disable CIFS logging. Valid values: `enable`, `disable`.
	Cifs pulumi.StringPtrInput
	// Enable/disable PCI DSS compliance check logging. Valid values: `enable`, `disable`.
	ComplianceCheck pulumi.StringPtrInput
	// Enable/disable SDN connector logging. Valid values: `enable`, `disable`.
	Connector pulumi.StringPtrInput
	// Enable/disable endpoint event logging. Valid values: `enable`, `disable`.
	Endpoint pulumi.StringPtrInput
	// Enable/disable event logging. Valid values: `enable`, `disable`.
	Event pulumi.StringPtrInput
	// Enable/disable FortiExtender logging. Valid values: `enable`, `disable`.
	Fortiextender pulumi.StringPtrInput
	// Enable/disable ha event logging. Valid values: `enable`, `disable`.
	Ha pulumi.StringPtrInput
	// Enable/disable REST API logging. Valid values: `enable`, `disable`.
	RestApi pulumi.StringPtrInput
	// Enable/disable router event logging. Valid values: `enable`, `disable`.
	Router pulumi.StringPtrInput
	// Enable/disable SD-WAN logging. Valid values: `enable`, `disable`.
	Sdwan pulumi.StringPtrInput
	// Enable/disable Security Rating result logging. Valid values: `enable`, `disable`.
	SecurityRating pulumi.StringPtrInput
	// Enable/disable Switch-Controller logging. Valid values: `enable`, `disable`.
	SwitchController pulumi.StringPtrInput
	// Enable/disable system event logging. Valid values: `enable`, `disable`.
	System pulumi.StringPtrInput
	// Enable/disable user authentication event logging. Valid values: `enable`, `disable`.
	User 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
	// Enable/disable VPN event logging. Valid values: `enable`, `disable`.
	Vpn pulumi.StringPtrInput
	// Enable/disable WAN optimization event logging. Valid values: `enable`, `disable`.
	WanOpt pulumi.StringPtrInput
	// Enable/disable web proxy event logging. Valid values: `enable`, `disable`.
	Webproxy pulumi.StringPtrInput
	// Enable/disable wireless event logging. Valid values: `enable`, `disable`.
	WirelessActivity pulumi.StringPtrInput
}

func (EventfilterState) ElementType

func (EventfilterState) ElementType() reflect.Type

type Guidisplay

type Guidisplay struct {
	pulumi.CustomResourceState

	// Enable/disable showing unscanned traffic in FortiView application charts. Valid values: `enable`, `disable`.
	FortiviewUnscannedApps pulumi.StringOutput `pulumi:"fortiviewUnscannedApps"`
	// Resolve unknown applications on the GUI using Fortinet's remote application database. Valid values: `enable`, `disable`.
	ResolveApps pulumi.StringOutput `pulumi:"resolveApps"`
	// Enable/disable resolving IP addresses to hostname in log messages on the GUI using reverse DNS lookup Valid values: `enable`, `disable`.
	ResolveHosts pulumi.StringOutput `pulumi:"resolveHosts"`
	// 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 how log messages are displayed on the GUI.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewGuidisplay(ctx, "trname", &log.GuidisplayArgs{
			FortiviewUnscannedApps: pulumi.String("disable"),
			ResolveApps:            pulumi.String("enable"),
			ResolveHosts:           pulumi.String("enable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Log GuiDisplay can be imported using any of these accepted formats:

```sh $ pulumi import fortios:log/guidisplay:Guidisplay labelname LogGuiDisplay ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:log/guidisplay:Guidisplay labelname LogGuiDisplay ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetGuidisplay

func GetGuidisplay(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GuidisplayState, opts ...pulumi.ResourceOption) (*Guidisplay, error)

GetGuidisplay gets an existing Guidisplay 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 NewGuidisplay

func NewGuidisplay(ctx *pulumi.Context,
	name string, args *GuidisplayArgs, opts ...pulumi.ResourceOption) (*Guidisplay, error)

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

func (*Guidisplay) ElementType

func (*Guidisplay) ElementType() reflect.Type

func (*Guidisplay) ToGuidisplayOutput

func (i *Guidisplay) ToGuidisplayOutput() GuidisplayOutput

func (*Guidisplay) ToGuidisplayOutputWithContext

func (i *Guidisplay) ToGuidisplayOutputWithContext(ctx context.Context) GuidisplayOutput

type GuidisplayArgs

type GuidisplayArgs struct {
	// Enable/disable showing unscanned traffic in FortiView application charts. Valid values: `enable`, `disable`.
	FortiviewUnscannedApps pulumi.StringPtrInput
	// Resolve unknown applications on the GUI using Fortinet's remote application database. Valid values: `enable`, `disable`.
	ResolveApps pulumi.StringPtrInput
	// Enable/disable resolving IP addresses to hostname in log messages on the GUI using reverse DNS lookup Valid values: `enable`, `disable`.
	ResolveHosts 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 Guidisplay resource.

func (GuidisplayArgs) ElementType

func (GuidisplayArgs) ElementType() reflect.Type

type GuidisplayArray

type GuidisplayArray []GuidisplayInput

func (GuidisplayArray) ElementType

func (GuidisplayArray) ElementType() reflect.Type

func (GuidisplayArray) ToGuidisplayArrayOutput

func (i GuidisplayArray) ToGuidisplayArrayOutput() GuidisplayArrayOutput

func (GuidisplayArray) ToGuidisplayArrayOutputWithContext

func (i GuidisplayArray) ToGuidisplayArrayOutputWithContext(ctx context.Context) GuidisplayArrayOutput

type GuidisplayArrayInput

type GuidisplayArrayInput interface {
	pulumi.Input

	ToGuidisplayArrayOutput() GuidisplayArrayOutput
	ToGuidisplayArrayOutputWithContext(context.Context) GuidisplayArrayOutput
}

GuidisplayArrayInput is an input type that accepts GuidisplayArray and GuidisplayArrayOutput values. You can construct a concrete instance of `GuidisplayArrayInput` via:

GuidisplayArray{ GuidisplayArgs{...} }

type GuidisplayArrayOutput

type GuidisplayArrayOutput struct{ *pulumi.OutputState }

func (GuidisplayArrayOutput) ElementType

func (GuidisplayArrayOutput) ElementType() reflect.Type

func (GuidisplayArrayOutput) Index

func (GuidisplayArrayOutput) ToGuidisplayArrayOutput

func (o GuidisplayArrayOutput) ToGuidisplayArrayOutput() GuidisplayArrayOutput

func (GuidisplayArrayOutput) ToGuidisplayArrayOutputWithContext

func (o GuidisplayArrayOutput) ToGuidisplayArrayOutputWithContext(ctx context.Context) GuidisplayArrayOutput

type GuidisplayInput

type GuidisplayInput interface {
	pulumi.Input

	ToGuidisplayOutput() GuidisplayOutput
	ToGuidisplayOutputWithContext(ctx context.Context) GuidisplayOutput
}

type GuidisplayMap

type GuidisplayMap map[string]GuidisplayInput

func (GuidisplayMap) ElementType

func (GuidisplayMap) ElementType() reflect.Type

func (GuidisplayMap) ToGuidisplayMapOutput

func (i GuidisplayMap) ToGuidisplayMapOutput() GuidisplayMapOutput

func (GuidisplayMap) ToGuidisplayMapOutputWithContext

func (i GuidisplayMap) ToGuidisplayMapOutputWithContext(ctx context.Context) GuidisplayMapOutput

type GuidisplayMapInput

type GuidisplayMapInput interface {
	pulumi.Input

	ToGuidisplayMapOutput() GuidisplayMapOutput
	ToGuidisplayMapOutputWithContext(context.Context) GuidisplayMapOutput
}

GuidisplayMapInput is an input type that accepts GuidisplayMap and GuidisplayMapOutput values. You can construct a concrete instance of `GuidisplayMapInput` via:

GuidisplayMap{ "key": GuidisplayArgs{...} }

type GuidisplayMapOutput

type GuidisplayMapOutput struct{ *pulumi.OutputState }

func (GuidisplayMapOutput) ElementType

func (GuidisplayMapOutput) ElementType() reflect.Type

func (GuidisplayMapOutput) MapIndex

func (GuidisplayMapOutput) ToGuidisplayMapOutput

func (o GuidisplayMapOutput) ToGuidisplayMapOutput() GuidisplayMapOutput

func (GuidisplayMapOutput) ToGuidisplayMapOutputWithContext

func (o GuidisplayMapOutput) ToGuidisplayMapOutputWithContext(ctx context.Context) GuidisplayMapOutput

type GuidisplayOutput

type GuidisplayOutput struct{ *pulumi.OutputState }

func (GuidisplayOutput) ElementType

func (GuidisplayOutput) ElementType() reflect.Type

func (GuidisplayOutput) FortiviewUnscannedApps

func (o GuidisplayOutput) FortiviewUnscannedApps() pulumi.StringOutput

Enable/disable showing unscanned traffic in FortiView application charts. Valid values: `enable`, `disable`.

func (GuidisplayOutput) ResolveApps

func (o GuidisplayOutput) ResolveApps() pulumi.StringOutput

Resolve unknown applications on the GUI using Fortinet's remote application database. Valid values: `enable`, `disable`.

func (GuidisplayOutput) ResolveHosts

func (o GuidisplayOutput) ResolveHosts() pulumi.StringOutput

Enable/disable resolving IP addresses to hostname in log messages on the GUI using reverse DNS lookup Valid values: `enable`, `disable`.

func (GuidisplayOutput) ToGuidisplayOutput

func (o GuidisplayOutput) ToGuidisplayOutput() GuidisplayOutput

func (GuidisplayOutput) ToGuidisplayOutputWithContext

func (o GuidisplayOutput) ToGuidisplayOutputWithContext(ctx context.Context) GuidisplayOutput

func (GuidisplayOutput) Vdomparam

func (o GuidisplayOutput) 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 GuidisplayState

type GuidisplayState struct {
	// Enable/disable showing unscanned traffic in FortiView application charts. Valid values: `enable`, `disable`.
	FortiviewUnscannedApps pulumi.StringPtrInput
	// Resolve unknown applications on the GUI using Fortinet's remote application database. Valid values: `enable`, `disable`.
	ResolveApps pulumi.StringPtrInput
	// Enable/disable resolving IP addresses to hostname in log messages on the GUI using reverse DNS lookup Valid values: `enable`, `disable`.
	ResolveHosts 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 (GuidisplayState) ElementType

func (GuidisplayState) ElementType() reflect.Type

type Setting

type Setting struct {
	pulumi.CustomResourceState

	// User name anonymization hash salt.
	AnonymizationHash pulumi.StringOutput `pulumi:"anonymizationHash"`
	// Enable/disable brief format traffic logging. Valid values: `enable`, `disable`.
	BriefTrafficFormat pulumi.StringOutput `pulumi:"briefTrafficFormat"`
	// Custom fields to append to all log messages. The structure of `customLogFields` block is documented below.
	CustomLogFields SettingCustomLogFieldArrayOutput `pulumi:"customLogFields"`
	// Enable/disable daemon logging. Valid values: `enable`, `disable`.
	DaemonLog pulumi.StringOutput `pulumi:"daemonLog"`
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"`
	// Enable/disable explicit proxy firewall implicit policy logging. Valid values: `enable`, `disable`.
	ExpolicyImplicitLog pulumi.StringOutput `pulumi:"expolicyImplicitLog"`
	// Enable/disable extended traffic logging. Valid values: `enable`, `disable`.
	ExtendedLog pulumi.StringOutput `pulumi:"extendedLog"`
	// Enable/disable override FortiAnalyzer settings. Valid values: `enable`, `disable`.
	FazOverride pulumi.StringOutput `pulumi:"fazOverride"`
	// Enable/disable implicit firewall policy6 logging. Valid values: `enable`, `disable`.
	Fwpolicy6ImplicitLog pulumi.StringOutput `pulumi:"fwpolicy6ImplicitLog"`
	// Enable/disable implicit firewall policy logging. Valid values: `enable`, `disable`.
	FwpolicyImplicitLog pulumi.StringOutput `pulumi:"fwpolicyImplicitLog"`
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"`
	// Enable/disable local-in-allow logging. Valid values: `enable`, `disable`.
	LocalInAllow pulumi.StringOutput `pulumi:"localInAllow"`
	// Enable/disable local-in-deny-broadcast logging. Valid values: `enable`, `disable`.
	LocalInDenyBroadcast pulumi.StringOutput `pulumi:"localInDenyBroadcast"`
	// Enable/disable local-in-deny-unicast logging. Valid values: `enable`, `disable`.
	LocalInDenyUnicast pulumi.StringOutput `pulumi:"localInDenyUnicast"`
	// Enable/disable local-out logging. Valid values: `enable`, `disable`.
	LocalOut pulumi.StringOutput `pulumi:"localOut"`
	// Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: `enable`, `disable`.
	LocalOutIocDetection pulumi.StringOutput `pulumi:"localOutIocDetection"`
	// Enable/disable invalid packet traffic logging. Valid values: `enable`, `disable`.
	LogInvalidPacket pulumi.StringOutput `pulumi:"logInvalidPacket"`
	// Enable/disable inserting policy comments into traffic logs. Valid values: `enable`, `disable`.
	LogPolicyComment pulumi.StringOutput `pulumi:"logPolicyComment"`
	// Enable/disable inserting policy name into traffic logs. Valid values: `enable`, `disable`.
	LogPolicyName pulumi.StringOutput `pulumi:"logPolicyName"`
	// Enable/disable logs with user-in-upper. Valid values: `enable`, `disable`.
	LogUserInUpper pulumi.StringOutput `pulumi:"logUserInUpper"`
	// Enable/disable long-live-session statistics logging. Valid values: `enable`, `disable`.
	LongLiveSessionStat pulumi.StringOutput `pulumi:"longLiveSessionStat"`
	// Enable/disable neighbor event logging. Valid values: `enable`, `disable`.
	NeighborEvent pulumi.StringOutput `pulumi:"neighborEvent"`
	// Enable/disable adding resolved domain names to traffic logs if possible. Valid values: `enable`, `disable`.
	ResolveIp pulumi.StringOutput `pulumi:"resolveIp"`
	// Enable/disable adding resolved service names to traffic logs. Valid values: `enable`, `disable`.
	ResolvePort pulumi.StringOutput `pulumi:"resolvePort"`
	// Enable/disable REST API GET request logging. Valid values: `enable`, `disable`.
	RestApiGet pulumi.StringOutput `pulumi:"restApiGet"`
	// Enable/disable REST API POST/PUT/DELETE request logging. Valid values: `enable`, `disable`.
	RestApiSet pulumi.StringOutput `pulumi:"restApiSet"`
	// Enable/disable override Syslog settings. Valid values: `enable`, `disable`.
	SyslogOverride pulumi.StringOutput `pulumi:"syslogOverride"`
	// Enable/disable anonymizing user names in log messages. Valid values: `enable`, `disable`.
	UserAnonymize pulumi.StringOutput `pulumi:"userAnonymize"`
	// 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 general log settings.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewSetting(ctx, "trname", &log.SettingArgs{
			BriefTrafficFormat:   pulumi.String("disable"),
			DaemonLog:            pulumi.String("disable"),
			ExpolicyImplicitLog:  pulumi.String("disable"),
			FazOverride:          pulumi.String("disable"),
			Fwpolicy6ImplicitLog: pulumi.String("disable"),
			FwpolicyImplicitLog:  pulumi.String("disable"),
			LocalInAllow:         pulumi.String("disable"),
			LocalInDenyBroadcast: pulumi.String("disable"),
			LocalInDenyUnicast:   pulumi.String("disable"),
			LocalOut:             pulumi.String("disable"),
			LogInvalidPacket:     pulumi.String("disable"),
			LogPolicyComment:     pulumi.String("disable"),
			LogPolicyName:        pulumi.String("disable"),
			LogUserInUpper:       pulumi.String("disable"),
			NeighborEvent:        pulumi.String("disable"),
			ResolveIp:            pulumi.String("disable"),
			ResolvePort:          pulumi.String("enable"),
			SyslogOverride:       pulumi.String("disable"),
			UserAnonymize:        pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Log Setting can be imported using any of these accepted formats:

```sh $ pulumi import fortios:log/setting:Setting labelname LogSetting ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:log/setting:Setting labelname LogSetting ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetSetting

func GetSetting(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SettingState, opts ...pulumi.ResourceOption) (*Setting, error)

GetSetting gets an existing Setting 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 NewSetting

func NewSetting(ctx *pulumi.Context,
	name string, args *SettingArgs, opts ...pulumi.ResourceOption) (*Setting, error)

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

func (*Setting) ElementType

func (*Setting) ElementType() reflect.Type

func (*Setting) ToSettingOutput

func (i *Setting) ToSettingOutput() SettingOutput

func (*Setting) ToSettingOutputWithContext

func (i *Setting) ToSettingOutputWithContext(ctx context.Context) SettingOutput

type SettingArgs

type SettingArgs struct {
	// User name anonymization hash salt.
	AnonymizationHash pulumi.StringPtrInput
	// Enable/disable brief format traffic logging. Valid values: `enable`, `disable`.
	BriefTrafficFormat pulumi.StringPtrInput
	// Custom fields to append to all log messages. The structure of `customLogFields` block is documented below.
	CustomLogFields SettingCustomLogFieldArrayInput
	// Enable/disable daemon logging. Valid values: `enable`, `disable`.
	DaemonLog pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// Enable/disable explicit proxy firewall implicit policy logging. Valid values: `enable`, `disable`.
	ExpolicyImplicitLog pulumi.StringPtrInput
	// Enable/disable extended traffic logging. Valid values: `enable`, `disable`.
	ExtendedLog pulumi.StringPtrInput
	// Enable/disable override FortiAnalyzer settings. Valid values: `enable`, `disable`.
	FazOverride pulumi.StringPtrInput
	// Enable/disable implicit firewall policy6 logging. Valid values: `enable`, `disable`.
	Fwpolicy6ImplicitLog pulumi.StringPtrInput
	// Enable/disable implicit firewall policy logging. Valid values: `enable`, `disable`.
	FwpolicyImplicitLog pulumi.StringPtrInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Enable/disable local-in-allow logging. Valid values: `enable`, `disable`.
	LocalInAllow pulumi.StringPtrInput
	// Enable/disable local-in-deny-broadcast logging. Valid values: `enable`, `disable`.
	LocalInDenyBroadcast pulumi.StringPtrInput
	// Enable/disable local-in-deny-unicast logging. Valid values: `enable`, `disable`.
	LocalInDenyUnicast pulumi.StringPtrInput
	// Enable/disable local-out logging. Valid values: `enable`, `disable`.
	LocalOut pulumi.StringPtrInput
	// Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: `enable`, `disable`.
	LocalOutIocDetection pulumi.StringPtrInput
	// Enable/disable invalid packet traffic logging. Valid values: `enable`, `disable`.
	LogInvalidPacket pulumi.StringPtrInput
	// Enable/disable inserting policy comments into traffic logs. Valid values: `enable`, `disable`.
	LogPolicyComment pulumi.StringPtrInput
	// Enable/disable inserting policy name into traffic logs. Valid values: `enable`, `disable`.
	LogPolicyName pulumi.StringPtrInput
	// Enable/disable logs with user-in-upper. Valid values: `enable`, `disable`.
	LogUserInUpper pulumi.StringPtrInput
	// Enable/disable long-live-session statistics logging. Valid values: `enable`, `disable`.
	LongLiveSessionStat pulumi.StringPtrInput
	// Enable/disable neighbor event logging. Valid values: `enable`, `disable`.
	NeighborEvent pulumi.StringPtrInput
	// Enable/disable adding resolved domain names to traffic logs if possible. Valid values: `enable`, `disable`.
	ResolveIp pulumi.StringPtrInput
	// Enable/disable adding resolved service names to traffic logs. Valid values: `enable`, `disable`.
	ResolvePort pulumi.StringPtrInput
	// Enable/disable REST API GET request logging. Valid values: `enable`, `disable`.
	RestApiGet pulumi.StringPtrInput
	// Enable/disable REST API POST/PUT/DELETE request logging. Valid values: `enable`, `disable`.
	RestApiSet pulumi.StringPtrInput
	// Enable/disable override Syslog settings. Valid values: `enable`, `disable`.
	SyslogOverride pulumi.StringPtrInput
	// Enable/disable anonymizing user names in log messages. Valid values: `enable`, `disable`.
	UserAnonymize 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 Setting resource.

func (SettingArgs) ElementType

func (SettingArgs) ElementType() reflect.Type

type SettingArray

type SettingArray []SettingInput

func (SettingArray) ElementType

func (SettingArray) ElementType() reflect.Type

func (SettingArray) ToSettingArrayOutput

func (i SettingArray) ToSettingArrayOutput() SettingArrayOutput

func (SettingArray) ToSettingArrayOutputWithContext

func (i SettingArray) ToSettingArrayOutputWithContext(ctx context.Context) SettingArrayOutput

type SettingArrayInput

type SettingArrayInput interface {
	pulumi.Input

	ToSettingArrayOutput() SettingArrayOutput
	ToSettingArrayOutputWithContext(context.Context) SettingArrayOutput
}

SettingArrayInput is an input type that accepts SettingArray and SettingArrayOutput values. You can construct a concrete instance of `SettingArrayInput` via:

SettingArray{ SettingArgs{...} }

type SettingArrayOutput

type SettingArrayOutput struct{ *pulumi.OutputState }

func (SettingArrayOutput) ElementType

func (SettingArrayOutput) ElementType() reflect.Type

func (SettingArrayOutput) Index

func (SettingArrayOutput) ToSettingArrayOutput

func (o SettingArrayOutput) ToSettingArrayOutput() SettingArrayOutput

func (SettingArrayOutput) ToSettingArrayOutputWithContext

func (o SettingArrayOutput) ToSettingArrayOutputWithContext(ctx context.Context) SettingArrayOutput

type SettingCustomLogField

type SettingCustomLogField struct {
	// Custom log field.
	FieldId *string `pulumi:"fieldId"`
}

type SettingCustomLogFieldArgs

type SettingCustomLogFieldArgs struct {
	// Custom log field.
	FieldId pulumi.StringPtrInput `pulumi:"fieldId"`
}

func (SettingCustomLogFieldArgs) ElementType

func (SettingCustomLogFieldArgs) ElementType() reflect.Type

func (SettingCustomLogFieldArgs) ToSettingCustomLogFieldOutput

func (i SettingCustomLogFieldArgs) ToSettingCustomLogFieldOutput() SettingCustomLogFieldOutput

func (SettingCustomLogFieldArgs) ToSettingCustomLogFieldOutputWithContext

func (i SettingCustomLogFieldArgs) ToSettingCustomLogFieldOutputWithContext(ctx context.Context) SettingCustomLogFieldOutput

type SettingCustomLogFieldArray

type SettingCustomLogFieldArray []SettingCustomLogFieldInput

func (SettingCustomLogFieldArray) ElementType

func (SettingCustomLogFieldArray) ElementType() reflect.Type

func (SettingCustomLogFieldArray) ToSettingCustomLogFieldArrayOutput

func (i SettingCustomLogFieldArray) ToSettingCustomLogFieldArrayOutput() SettingCustomLogFieldArrayOutput

func (SettingCustomLogFieldArray) ToSettingCustomLogFieldArrayOutputWithContext

func (i SettingCustomLogFieldArray) ToSettingCustomLogFieldArrayOutputWithContext(ctx context.Context) SettingCustomLogFieldArrayOutput

type SettingCustomLogFieldArrayInput

type SettingCustomLogFieldArrayInput interface {
	pulumi.Input

	ToSettingCustomLogFieldArrayOutput() SettingCustomLogFieldArrayOutput
	ToSettingCustomLogFieldArrayOutputWithContext(context.Context) SettingCustomLogFieldArrayOutput
}

SettingCustomLogFieldArrayInput is an input type that accepts SettingCustomLogFieldArray and SettingCustomLogFieldArrayOutput values. You can construct a concrete instance of `SettingCustomLogFieldArrayInput` via:

SettingCustomLogFieldArray{ SettingCustomLogFieldArgs{...} }

type SettingCustomLogFieldArrayOutput

type SettingCustomLogFieldArrayOutput struct{ *pulumi.OutputState }

func (SettingCustomLogFieldArrayOutput) ElementType

func (SettingCustomLogFieldArrayOutput) Index

func (SettingCustomLogFieldArrayOutput) ToSettingCustomLogFieldArrayOutput

func (o SettingCustomLogFieldArrayOutput) ToSettingCustomLogFieldArrayOutput() SettingCustomLogFieldArrayOutput

func (SettingCustomLogFieldArrayOutput) ToSettingCustomLogFieldArrayOutputWithContext

func (o SettingCustomLogFieldArrayOutput) ToSettingCustomLogFieldArrayOutputWithContext(ctx context.Context) SettingCustomLogFieldArrayOutput

type SettingCustomLogFieldInput

type SettingCustomLogFieldInput interface {
	pulumi.Input

	ToSettingCustomLogFieldOutput() SettingCustomLogFieldOutput
	ToSettingCustomLogFieldOutputWithContext(context.Context) SettingCustomLogFieldOutput
}

SettingCustomLogFieldInput is an input type that accepts SettingCustomLogFieldArgs and SettingCustomLogFieldOutput values. You can construct a concrete instance of `SettingCustomLogFieldInput` via:

SettingCustomLogFieldArgs{...}

type SettingCustomLogFieldOutput

type SettingCustomLogFieldOutput struct{ *pulumi.OutputState }

func (SettingCustomLogFieldOutput) ElementType

func (SettingCustomLogFieldOutput) FieldId

Custom log field.

func (SettingCustomLogFieldOutput) ToSettingCustomLogFieldOutput

func (o SettingCustomLogFieldOutput) ToSettingCustomLogFieldOutput() SettingCustomLogFieldOutput

func (SettingCustomLogFieldOutput) ToSettingCustomLogFieldOutputWithContext

func (o SettingCustomLogFieldOutput) ToSettingCustomLogFieldOutputWithContext(ctx context.Context) SettingCustomLogFieldOutput

type SettingInput

type SettingInput interface {
	pulumi.Input

	ToSettingOutput() SettingOutput
	ToSettingOutputWithContext(ctx context.Context) SettingOutput
}

type SettingMap

type SettingMap map[string]SettingInput

func (SettingMap) ElementType

func (SettingMap) ElementType() reflect.Type

func (SettingMap) ToSettingMapOutput

func (i SettingMap) ToSettingMapOutput() SettingMapOutput

func (SettingMap) ToSettingMapOutputWithContext

func (i SettingMap) ToSettingMapOutputWithContext(ctx context.Context) SettingMapOutput

type SettingMapInput

type SettingMapInput interface {
	pulumi.Input

	ToSettingMapOutput() SettingMapOutput
	ToSettingMapOutputWithContext(context.Context) SettingMapOutput
}

SettingMapInput is an input type that accepts SettingMap and SettingMapOutput values. You can construct a concrete instance of `SettingMapInput` via:

SettingMap{ "key": SettingArgs{...} }

type SettingMapOutput

type SettingMapOutput struct{ *pulumi.OutputState }

func (SettingMapOutput) ElementType

func (SettingMapOutput) ElementType() reflect.Type

func (SettingMapOutput) MapIndex

func (SettingMapOutput) ToSettingMapOutput

func (o SettingMapOutput) ToSettingMapOutput() SettingMapOutput

func (SettingMapOutput) ToSettingMapOutputWithContext

func (o SettingMapOutput) ToSettingMapOutputWithContext(ctx context.Context) SettingMapOutput

type SettingOutput

type SettingOutput struct{ *pulumi.OutputState }

func (SettingOutput) AnonymizationHash

func (o SettingOutput) AnonymizationHash() pulumi.StringOutput

User name anonymization hash salt.

func (SettingOutput) BriefTrafficFormat

func (o SettingOutput) BriefTrafficFormat() pulumi.StringOutput

Enable/disable brief format traffic logging. Valid values: `enable`, `disable`.

func (SettingOutput) CustomLogFields

func (o SettingOutput) CustomLogFields() SettingCustomLogFieldArrayOutput

Custom fields to append to all log messages. The structure of `customLogFields` block is documented below.

func (SettingOutput) DaemonLog

func (o SettingOutput) DaemonLog() pulumi.StringOutput

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

func (SettingOutput) DynamicSortSubtable

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

func (SettingOutput) ElementType() reflect.Type

func (SettingOutput) ExpolicyImplicitLog

func (o SettingOutput) ExpolicyImplicitLog() pulumi.StringOutput

Enable/disable explicit proxy firewall implicit policy logging. Valid values: `enable`, `disable`.

func (SettingOutput) ExtendedLog

func (o SettingOutput) ExtendedLog() pulumi.StringOutput

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

func (SettingOutput) FazOverride

func (o SettingOutput) FazOverride() pulumi.StringOutput

Enable/disable override FortiAnalyzer settings. Valid values: `enable`, `disable`.

func (SettingOutput) Fwpolicy6ImplicitLog

func (o SettingOutput) Fwpolicy6ImplicitLog() pulumi.StringOutput

Enable/disable implicit firewall policy6 logging. Valid values: `enable`, `disable`.

func (SettingOutput) FwpolicyImplicitLog

func (o SettingOutput) FwpolicyImplicitLog() pulumi.StringOutput

Enable/disable implicit firewall policy logging. Valid values: `enable`, `disable`.

func (SettingOutput) GetAllTables

func (o SettingOutput) 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 (SettingOutput) LocalInAllow

func (o SettingOutput) LocalInAllow() pulumi.StringOutput

Enable/disable local-in-allow logging. Valid values: `enable`, `disable`.

func (SettingOutput) LocalInDenyBroadcast

func (o SettingOutput) LocalInDenyBroadcast() pulumi.StringOutput

Enable/disable local-in-deny-broadcast logging. Valid values: `enable`, `disable`.

func (SettingOutput) LocalInDenyUnicast

func (o SettingOutput) LocalInDenyUnicast() pulumi.StringOutput

Enable/disable local-in-deny-unicast logging. Valid values: `enable`, `disable`.

func (SettingOutput) LocalOut

func (o SettingOutput) LocalOut() pulumi.StringOutput

Enable/disable local-out logging. Valid values: `enable`, `disable`.

func (SettingOutput) LocalOutIocDetection

func (o SettingOutput) LocalOutIocDetection() pulumi.StringOutput

Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: `enable`, `disable`.

func (SettingOutput) LogInvalidPacket

func (o SettingOutput) LogInvalidPacket() pulumi.StringOutput

Enable/disable invalid packet traffic logging. Valid values: `enable`, `disable`.

func (SettingOutput) LogPolicyComment

func (o SettingOutput) LogPolicyComment() pulumi.StringOutput

Enable/disable inserting policy comments into traffic logs. Valid values: `enable`, `disable`.

func (SettingOutput) LogPolicyName

func (o SettingOutput) LogPolicyName() pulumi.StringOutput

Enable/disable inserting policy name into traffic logs. Valid values: `enable`, `disable`.

func (SettingOutput) LogUserInUpper

func (o SettingOutput) LogUserInUpper() pulumi.StringOutput

Enable/disable logs with user-in-upper. Valid values: `enable`, `disable`.

func (SettingOutput) LongLiveSessionStat

func (o SettingOutput) LongLiveSessionStat() pulumi.StringOutput

Enable/disable long-live-session statistics logging. Valid values: `enable`, `disable`.

func (SettingOutput) NeighborEvent

func (o SettingOutput) NeighborEvent() pulumi.StringOutput

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

func (SettingOutput) ResolveIp

func (o SettingOutput) ResolveIp() pulumi.StringOutput

Enable/disable adding resolved domain names to traffic logs if possible. Valid values: `enable`, `disable`.

func (SettingOutput) ResolvePort

func (o SettingOutput) ResolvePort() pulumi.StringOutput

Enable/disable adding resolved service names to traffic logs. Valid values: `enable`, `disable`.

func (SettingOutput) RestApiGet

func (o SettingOutput) RestApiGet() pulumi.StringOutput

Enable/disable REST API GET request logging. Valid values: `enable`, `disable`.

func (SettingOutput) RestApiSet

func (o SettingOutput) RestApiSet() pulumi.StringOutput

Enable/disable REST API POST/PUT/DELETE request logging. Valid values: `enable`, `disable`.

func (SettingOutput) SyslogOverride

func (o SettingOutput) SyslogOverride() pulumi.StringOutput

Enable/disable override Syslog settings. Valid values: `enable`, `disable`.

func (SettingOutput) ToSettingOutput

func (o SettingOutput) ToSettingOutput() SettingOutput

func (SettingOutput) ToSettingOutputWithContext

func (o SettingOutput) ToSettingOutputWithContext(ctx context.Context) SettingOutput

func (SettingOutput) UserAnonymize

func (o SettingOutput) UserAnonymize() pulumi.StringOutput

Enable/disable anonymizing user names in log messages. Valid values: `enable`, `disable`.

func (SettingOutput) Vdomparam

func (o SettingOutput) 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 SettingState

type SettingState struct {
	// User name anonymization hash salt.
	AnonymizationHash pulumi.StringPtrInput
	// Enable/disable brief format traffic logging. Valid values: `enable`, `disable`.
	BriefTrafficFormat pulumi.StringPtrInput
	// Custom fields to append to all log messages. The structure of `customLogFields` block is documented below.
	CustomLogFields SettingCustomLogFieldArrayInput
	// Enable/disable daemon logging. Valid values: `enable`, `disable`.
	DaemonLog pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// Enable/disable explicit proxy firewall implicit policy logging. Valid values: `enable`, `disable`.
	ExpolicyImplicitLog pulumi.StringPtrInput
	// Enable/disable extended traffic logging. Valid values: `enable`, `disable`.
	ExtendedLog pulumi.StringPtrInput
	// Enable/disable override FortiAnalyzer settings. Valid values: `enable`, `disable`.
	FazOverride pulumi.StringPtrInput
	// Enable/disable implicit firewall policy6 logging. Valid values: `enable`, `disable`.
	Fwpolicy6ImplicitLog pulumi.StringPtrInput
	// Enable/disable implicit firewall policy logging. Valid values: `enable`, `disable`.
	FwpolicyImplicitLog pulumi.StringPtrInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Enable/disable local-in-allow logging. Valid values: `enable`, `disable`.
	LocalInAllow pulumi.StringPtrInput
	// Enable/disable local-in-deny-broadcast logging. Valid values: `enable`, `disable`.
	LocalInDenyBroadcast pulumi.StringPtrInput
	// Enable/disable local-in-deny-unicast logging. Valid values: `enable`, `disable`.
	LocalInDenyUnicast pulumi.StringPtrInput
	// Enable/disable local-out logging. Valid values: `enable`, `disable`.
	LocalOut pulumi.StringPtrInput
	// Enable/disable local-out traffic IoC detection. Requires local-out to be enabled. Valid values: `enable`, `disable`.
	LocalOutIocDetection pulumi.StringPtrInput
	// Enable/disable invalid packet traffic logging. Valid values: `enable`, `disable`.
	LogInvalidPacket pulumi.StringPtrInput
	// Enable/disable inserting policy comments into traffic logs. Valid values: `enable`, `disable`.
	LogPolicyComment pulumi.StringPtrInput
	// Enable/disable inserting policy name into traffic logs. Valid values: `enable`, `disable`.
	LogPolicyName pulumi.StringPtrInput
	// Enable/disable logs with user-in-upper. Valid values: `enable`, `disable`.
	LogUserInUpper pulumi.StringPtrInput
	// Enable/disable long-live-session statistics logging. Valid values: `enable`, `disable`.
	LongLiveSessionStat pulumi.StringPtrInput
	// Enable/disable neighbor event logging. Valid values: `enable`, `disable`.
	NeighborEvent pulumi.StringPtrInput
	// Enable/disable adding resolved domain names to traffic logs if possible. Valid values: `enable`, `disable`.
	ResolveIp pulumi.StringPtrInput
	// Enable/disable adding resolved service names to traffic logs. Valid values: `enable`, `disable`.
	ResolvePort pulumi.StringPtrInput
	// Enable/disable REST API GET request logging. Valid values: `enable`, `disable`.
	RestApiGet pulumi.StringPtrInput
	// Enable/disable REST API POST/PUT/DELETE request logging. Valid values: `enable`, `disable`.
	RestApiSet pulumi.StringPtrInput
	// Enable/disable override Syslog settings. Valid values: `enable`, `disable`.
	SyslogOverride pulumi.StringPtrInput
	// Enable/disable anonymizing user names in log messages. Valid values: `enable`, `disable`.
	UserAnonymize 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 (SettingState) ElementType

func (SettingState) ElementType() reflect.Type

type SyslogSetting

type SyslogSetting struct {
	pulumi.CustomResourceState

	// Remote syslog facility.
	Facility pulumi.StringOutput `pulumi:"facility"`
	// Log format.
	Format pulumi.StringOutput `pulumi:"format"`
	// Remote syslog logging over UDP/Reliable TCP.
	Mode pulumi.StringOutput `pulumi:"mode"`
	// Server listen port.
	Port pulumi.StringOutput `pulumi:"port"`
	// Address of remote syslog server.
	Server pulumi.StringOutput `pulumi:"server"`
	// Source IP address of syslog.
	SourceIp pulumi.StringOutput `pulumi:"sourceIp"`
	// Enable/disable remote syslog logging.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a resource to configure logging to remote Syslog logging servers.

!> **Warning:** The resource will be deprecated and replaced by new resource `log/syslogd.Setting`, we recommend that you use the new resource.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewSyslogSetting(ctx, "test2", &log.SyslogSettingArgs{
			Facility: pulumi.String("local7"),
			Format:   pulumi.String("csv"),
			Mode:     pulumi.String("udp"),
			Port:     pulumi.String("514"),
			Server:   pulumi.String("2.2.2.2"),
			SourceIp: pulumi.String("10.2.2.199"),
			Status:   pulumi.String("enable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

func GetSyslogSetting

func GetSyslogSetting(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SyslogSettingState, opts ...pulumi.ResourceOption) (*SyslogSetting, error)

GetSyslogSetting gets an existing SyslogSetting 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 NewSyslogSetting

func NewSyslogSetting(ctx *pulumi.Context,
	name string, args *SyslogSettingArgs, opts ...pulumi.ResourceOption) (*SyslogSetting, error)

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

func (*SyslogSetting) ElementType

func (*SyslogSetting) ElementType() reflect.Type

func (*SyslogSetting) ToSyslogSettingOutput

func (i *SyslogSetting) ToSyslogSettingOutput() SyslogSettingOutput

func (*SyslogSetting) ToSyslogSettingOutputWithContext

func (i *SyslogSetting) ToSyslogSettingOutputWithContext(ctx context.Context) SyslogSettingOutput

type SyslogSettingArgs

type SyslogSettingArgs struct {
	// Remote syslog facility.
	Facility pulumi.StringPtrInput
	// Log format.
	Format pulumi.StringPtrInput
	// Remote syslog logging over UDP/Reliable TCP.
	Mode pulumi.StringPtrInput
	// Server listen port.
	Port pulumi.StringPtrInput
	// Address of remote syslog server.
	Server pulumi.StringPtrInput
	// Source IP address of syslog.
	SourceIp pulumi.StringPtrInput
	// Enable/disable remote syslog logging.
	Status pulumi.StringInput
}

The set of arguments for constructing a SyslogSetting resource.

func (SyslogSettingArgs) ElementType

func (SyslogSettingArgs) ElementType() reflect.Type

type SyslogSettingArray

type SyslogSettingArray []SyslogSettingInput

func (SyslogSettingArray) ElementType

func (SyslogSettingArray) ElementType() reflect.Type

func (SyslogSettingArray) ToSyslogSettingArrayOutput

func (i SyslogSettingArray) ToSyslogSettingArrayOutput() SyslogSettingArrayOutput

func (SyslogSettingArray) ToSyslogSettingArrayOutputWithContext

func (i SyslogSettingArray) ToSyslogSettingArrayOutputWithContext(ctx context.Context) SyslogSettingArrayOutput

type SyslogSettingArrayInput

type SyslogSettingArrayInput interface {
	pulumi.Input

	ToSyslogSettingArrayOutput() SyslogSettingArrayOutput
	ToSyslogSettingArrayOutputWithContext(context.Context) SyslogSettingArrayOutput
}

SyslogSettingArrayInput is an input type that accepts SyslogSettingArray and SyslogSettingArrayOutput values. You can construct a concrete instance of `SyslogSettingArrayInput` via:

SyslogSettingArray{ SyslogSettingArgs{...} }

type SyslogSettingArrayOutput

type SyslogSettingArrayOutput struct{ *pulumi.OutputState }

func (SyslogSettingArrayOutput) ElementType

func (SyslogSettingArrayOutput) ElementType() reflect.Type

func (SyslogSettingArrayOutput) Index

func (SyslogSettingArrayOutput) ToSyslogSettingArrayOutput

func (o SyslogSettingArrayOutput) ToSyslogSettingArrayOutput() SyslogSettingArrayOutput

func (SyslogSettingArrayOutput) ToSyslogSettingArrayOutputWithContext

func (o SyslogSettingArrayOutput) ToSyslogSettingArrayOutputWithContext(ctx context.Context) SyslogSettingArrayOutput

type SyslogSettingInput

type SyslogSettingInput interface {
	pulumi.Input

	ToSyslogSettingOutput() SyslogSettingOutput
	ToSyslogSettingOutputWithContext(ctx context.Context) SyslogSettingOutput
}

type SyslogSettingMap

type SyslogSettingMap map[string]SyslogSettingInput

func (SyslogSettingMap) ElementType

func (SyslogSettingMap) ElementType() reflect.Type

func (SyslogSettingMap) ToSyslogSettingMapOutput

func (i SyslogSettingMap) ToSyslogSettingMapOutput() SyslogSettingMapOutput

func (SyslogSettingMap) ToSyslogSettingMapOutputWithContext

func (i SyslogSettingMap) ToSyslogSettingMapOutputWithContext(ctx context.Context) SyslogSettingMapOutput

type SyslogSettingMapInput

type SyslogSettingMapInput interface {
	pulumi.Input

	ToSyslogSettingMapOutput() SyslogSettingMapOutput
	ToSyslogSettingMapOutputWithContext(context.Context) SyslogSettingMapOutput
}

SyslogSettingMapInput is an input type that accepts SyslogSettingMap and SyslogSettingMapOutput values. You can construct a concrete instance of `SyslogSettingMapInput` via:

SyslogSettingMap{ "key": SyslogSettingArgs{...} }

type SyslogSettingMapOutput

type SyslogSettingMapOutput struct{ *pulumi.OutputState }

func (SyslogSettingMapOutput) ElementType

func (SyslogSettingMapOutput) ElementType() reflect.Type

func (SyslogSettingMapOutput) MapIndex

func (SyslogSettingMapOutput) ToSyslogSettingMapOutput

func (o SyslogSettingMapOutput) ToSyslogSettingMapOutput() SyslogSettingMapOutput

func (SyslogSettingMapOutput) ToSyslogSettingMapOutputWithContext

func (o SyslogSettingMapOutput) ToSyslogSettingMapOutputWithContext(ctx context.Context) SyslogSettingMapOutput

type SyslogSettingOutput

type SyslogSettingOutput struct{ *pulumi.OutputState }

func (SyslogSettingOutput) ElementType

func (SyslogSettingOutput) ElementType() reflect.Type

func (SyslogSettingOutput) Facility

Remote syslog facility.

func (SyslogSettingOutput) Format

Log format.

func (SyslogSettingOutput) Mode

Remote syslog logging over UDP/Reliable TCP.

func (SyslogSettingOutput) Port

Server listen port.

func (SyslogSettingOutput) Server

Address of remote syslog server.

func (SyslogSettingOutput) SourceIp

Source IP address of syslog.

func (SyslogSettingOutput) Status

Enable/disable remote syslog logging.

func (SyslogSettingOutput) ToSyslogSettingOutput

func (o SyslogSettingOutput) ToSyslogSettingOutput() SyslogSettingOutput

func (SyslogSettingOutput) ToSyslogSettingOutputWithContext

func (o SyslogSettingOutput) ToSyslogSettingOutputWithContext(ctx context.Context) SyslogSettingOutput

type SyslogSettingState

type SyslogSettingState struct {
	// Remote syslog facility.
	Facility pulumi.StringPtrInput
	// Log format.
	Format pulumi.StringPtrInput
	// Remote syslog logging over UDP/Reliable TCP.
	Mode pulumi.StringPtrInput
	// Server listen port.
	Port pulumi.StringPtrInput
	// Address of remote syslog server.
	Server pulumi.StringPtrInput
	// Source IP address of syslog.
	SourceIp pulumi.StringPtrInput
	// Enable/disable remote syslog logging.
	Status pulumi.StringPtrInput
}

func (SyslogSettingState) ElementType

func (SyslogSettingState) ElementType() reflect.Type

type Threatweight

type Threatweight struct {
	pulumi.CustomResourceState

	// Application-control threat weight settings. The structure of `application` block is documented below.
	Applications ThreatweightApplicationArrayOutput `pulumi:"applications"`
	// Threat weight score for blocked connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	BlockedConnection pulumi.StringOutput `pulumi:"blockedConnection"`
	// Threat weight score for detected botnet connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	BotnetConnectionDetected pulumi.StringOutput `pulumi:"botnetConnectionDetected"`
	// 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"`
	// Threat weight score for failed connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	FailedConnection pulumi.StringOutput `pulumi:"failedConnection"`
	// Geolocation-based threat weight settings. The structure of `geolocation` block is documented below.
	Geolocations ThreatweightGeolocationArrayOutput `pulumi:"geolocations"`
	// 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"`
	// IPS threat weight settings. The structure of `ips` block is documented below.
	Ips ThreatweightIpsOutput `pulumi:"ips"`
	// Score mapping for threat weight levels. The structure of `level` block is documented below.
	Level ThreatweightLevelOutput `pulumi:"level"`
	// Anti-virus malware threat weight settings. The structure of `malware` block is documented below.
	Malware ThreatweightMalwareOutput `pulumi:"malware"`
	// Enable/disable the threat weight feature. Valid values: `enable`, `disable`.
	Status pulumi.StringOutput `pulumi:"status"`
	// Threat weight score for URL blocking. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	UrlBlockDetected pulumi.StringOutput `pulumi:"urlBlockDetected"`
	// 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"`
	// Web filtering threat weight settings. The structure of `web` block is documented below.
	Webs ThreatweightWebArrayOutput `pulumi:"webs"`
}

Configure threat weight settings.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewThreatweight(ctx, "trname", &log.ThreatweightArgs{
			Applications: log.ThreatweightApplicationArray{
				&log.ThreatweightApplicationArgs{
					Category: pulumi.Int(2),
					Id:       pulumi.Int(1),
					Level:    pulumi.String("low"),
				},
				&log.ThreatweightApplicationArgs{
					Category: pulumi.Int(6),
					Id:       pulumi.Int(2),
					Level:    pulumi.String("medium"),
				},
			},
			BlockedConnection: pulumi.String("high"),
			FailedConnection:  pulumi.String("low"),
			Ips: &log.ThreatweightIpsArgs{
				CriticalSeverity: pulumi.String("critical"),
				HighSeverity:     pulumi.String("high"),
				InfoSeverity:     pulumi.String("disable"),
				LowSeverity:      pulumi.String("low"),
				MediumSeverity:   pulumi.String("medium"),
			},
			Level: &log.ThreatweightLevelArgs{
				Critical: pulumi.Int(50),
				High:     pulumi.Int(30),
				Low:      pulumi.Int(5),
				Medium:   pulumi.Int(10),
			},
			Malware: &log.ThreatweightMalwareArgs{
				BotnetConnection:        pulumi.String("critical"),
				CommandBlocked:          pulumi.String("disable"),
				ContentDisarm:           pulumi.String("medium"),
				FileBlocked:             pulumi.String("low"),
				Mimefragmented:          pulumi.String("disable"),
				Oversized:               pulumi.String("disable"),
				SwitchProto:             pulumi.String("disable"),
				VirusFileTypeExecutable: pulumi.String("medium"),
				VirusInfected:           pulumi.String("critical"),
				VirusOutbreakPrevention: pulumi.String("critical"),
				VirusScanError:          pulumi.String("high"),
			},
			Status:           pulumi.String("enable"),
			UrlBlockDetected: pulumi.String("high"),
			Webs: log.ThreatweightWebArray{
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(26),
					Id:       pulumi.Int(1),
					Level:    pulumi.String("high"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(61),
					Id:       pulumi.Int(2),
					Level:    pulumi.String("high"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(86),
					Id:       pulumi.Int(3),
					Level:    pulumi.String("high"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(1),
					Id:       pulumi.Int(4),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(3),
					Id:       pulumi.Int(5),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(4),
					Id:       pulumi.Int(6),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(5),
					Id:       pulumi.Int(7),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(6),
					Id:       pulumi.Int(8),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(12),
					Id:       pulumi.Int(9),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(59),
					Id:       pulumi.Int(10),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(62),
					Id:       pulumi.Int(11),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(83),
					Id:       pulumi.Int(12),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(72),
					Id:       pulumi.Int(13),
					Level:    pulumi.String("low"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(14),
					Id:       pulumi.Int(14),
					Level:    pulumi.String("low"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Log ThreatWeight can be imported using any of these accepted formats:

```sh $ pulumi import fortios:log/threatweight:Threatweight labelname LogThreatWeight ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:log/threatweight:Threatweight labelname LogThreatWeight ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetThreatweight

func GetThreatweight(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ThreatweightState, opts ...pulumi.ResourceOption) (*Threatweight, error)

GetThreatweight gets an existing Threatweight 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 NewThreatweight

func NewThreatweight(ctx *pulumi.Context,
	name string, args *ThreatweightArgs, opts ...pulumi.ResourceOption) (*Threatweight, error)

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

func (*Threatweight) ElementType

func (*Threatweight) ElementType() reflect.Type

func (*Threatweight) ToThreatweightOutput

func (i *Threatweight) ToThreatweightOutput() ThreatweightOutput

func (*Threatweight) ToThreatweightOutputWithContext

func (i *Threatweight) ToThreatweightOutputWithContext(ctx context.Context) ThreatweightOutput

type ThreatweightApplication

type ThreatweightApplication struct {
	// Application category.
	Category *int `pulumi:"category"`
	// Entry ID.
	Id *int `pulumi:"id"`
	// Threat weight score for Application events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Level *string `pulumi:"level"`
}

type ThreatweightApplicationArgs

type ThreatweightApplicationArgs struct {
	// Application category.
	Category pulumi.IntPtrInput `pulumi:"category"`
	// Entry ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// Threat weight score for Application events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Level pulumi.StringPtrInput `pulumi:"level"`
}

func (ThreatweightApplicationArgs) ElementType

func (ThreatweightApplicationArgs) ToThreatweightApplicationOutput

func (i ThreatweightApplicationArgs) ToThreatweightApplicationOutput() ThreatweightApplicationOutput

func (ThreatweightApplicationArgs) ToThreatweightApplicationOutputWithContext

func (i ThreatweightApplicationArgs) ToThreatweightApplicationOutputWithContext(ctx context.Context) ThreatweightApplicationOutput

type ThreatweightApplicationArray

type ThreatweightApplicationArray []ThreatweightApplicationInput

func (ThreatweightApplicationArray) ElementType

func (ThreatweightApplicationArray) ToThreatweightApplicationArrayOutput

func (i ThreatweightApplicationArray) ToThreatweightApplicationArrayOutput() ThreatweightApplicationArrayOutput

func (ThreatweightApplicationArray) ToThreatweightApplicationArrayOutputWithContext

func (i ThreatweightApplicationArray) ToThreatweightApplicationArrayOutputWithContext(ctx context.Context) ThreatweightApplicationArrayOutput

type ThreatweightApplicationArrayInput

type ThreatweightApplicationArrayInput interface {
	pulumi.Input

	ToThreatweightApplicationArrayOutput() ThreatweightApplicationArrayOutput
	ToThreatweightApplicationArrayOutputWithContext(context.Context) ThreatweightApplicationArrayOutput
}

ThreatweightApplicationArrayInput is an input type that accepts ThreatweightApplicationArray and ThreatweightApplicationArrayOutput values. You can construct a concrete instance of `ThreatweightApplicationArrayInput` via:

ThreatweightApplicationArray{ ThreatweightApplicationArgs{...} }

type ThreatweightApplicationArrayOutput

type ThreatweightApplicationArrayOutput struct{ *pulumi.OutputState }

func (ThreatweightApplicationArrayOutput) ElementType

func (ThreatweightApplicationArrayOutput) Index

func (ThreatweightApplicationArrayOutput) ToThreatweightApplicationArrayOutput

func (o ThreatweightApplicationArrayOutput) ToThreatweightApplicationArrayOutput() ThreatweightApplicationArrayOutput

func (ThreatweightApplicationArrayOutput) ToThreatweightApplicationArrayOutputWithContext

func (o ThreatweightApplicationArrayOutput) ToThreatweightApplicationArrayOutputWithContext(ctx context.Context) ThreatweightApplicationArrayOutput

type ThreatweightApplicationInput

type ThreatweightApplicationInput interface {
	pulumi.Input

	ToThreatweightApplicationOutput() ThreatweightApplicationOutput
	ToThreatweightApplicationOutputWithContext(context.Context) ThreatweightApplicationOutput
}

ThreatweightApplicationInput is an input type that accepts ThreatweightApplicationArgs and ThreatweightApplicationOutput values. You can construct a concrete instance of `ThreatweightApplicationInput` via:

ThreatweightApplicationArgs{...}

type ThreatweightApplicationOutput

type ThreatweightApplicationOutput struct{ *pulumi.OutputState }

func (ThreatweightApplicationOutput) Category

Application category.

func (ThreatweightApplicationOutput) ElementType

func (ThreatweightApplicationOutput) Id

Entry ID.

func (ThreatweightApplicationOutput) Level

Threat weight score for Application events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightApplicationOutput) ToThreatweightApplicationOutput

func (o ThreatweightApplicationOutput) ToThreatweightApplicationOutput() ThreatweightApplicationOutput

func (ThreatweightApplicationOutput) ToThreatweightApplicationOutputWithContext

func (o ThreatweightApplicationOutput) ToThreatweightApplicationOutputWithContext(ctx context.Context) ThreatweightApplicationOutput

type ThreatweightArgs

type ThreatweightArgs struct {
	// Application-control threat weight settings. The structure of `application` block is documented below.
	Applications ThreatweightApplicationArrayInput
	// Threat weight score for blocked connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	BlockedConnection pulumi.StringPtrInput
	// Threat weight score for detected botnet connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	BotnetConnectionDetected 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
	// Threat weight score for failed connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	FailedConnection pulumi.StringPtrInput
	// Geolocation-based threat weight settings. The structure of `geolocation` block is documented below.
	Geolocations ThreatweightGeolocationArrayInput
	// 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
	// IPS threat weight settings. The structure of `ips` block is documented below.
	Ips ThreatweightIpsPtrInput
	// Score mapping for threat weight levels. The structure of `level` block is documented below.
	Level ThreatweightLevelPtrInput
	// Anti-virus malware threat weight settings. The structure of `malware` block is documented below.
	Malware ThreatweightMalwarePtrInput
	// Enable/disable the threat weight feature. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput
	// Threat weight score for URL blocking. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	UrlBlockDetected 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
	// Web filtering threat weight settings. The structure of `web` block is documented below.
	Webs ThreatweightWebArrayInput
}

The set of arguments for constructing a Threatweight resource.

func (ThreatweightArgs) ElementType

func (ThreatweightArgs) ElementType() reflect.Type

type ThreatweightArray

type ThreatweightArray []ThreatweightInput

func (ThreatweightArray) ElementType

func (ThreatweightArray) ElementType() reflect.Type

func (ThreatweightArray) ToThreatweightArrayOutput

func (i ThreatweightArray) ToThreatweightArrayOutput() ThreatweightArrayOutput

func (ThreatweightArray) ToThreatweightArrayOutputWithContext

func (i ThreatweightArray) ToThreatweightArrayOutputWithContext(ctx context.Context) ThreatweightArrayOutput

type ThreatweightArrayInput

type ThreatweightArrayInput interface {
	pulumi.Input

	ToThreatweightArrayOutput() ThreatweightArrayOutput
	ToThreatweightArrayOutputWithContext(context.Context) ThreatweightArrayOutput
}

ThreatweightArrayInput is an input type that accepts ThreatweightArray and ThreatweightArrayOutput values. You can construct a concrete instance of `ThreatweightArrayInput` via:

ThreatweightArray{ ThreatweightArgs{...} }

type ThreatweightArrayOutput

type ThreatweightArrayOutput struct{ *pulumi.OutputState }

func (ThreatweightArrayOutput) ElementType

func (ThreatweightArrayOutput) ElementType() reflect.Type

func (ThreatweightArrayOutput) Index

func (ThreatweightArrayOutput) ToThreatweightArrayOutput

func (o ThreatweightArrayOutput) ToThreatweightArrayOutput() ThreatweightArrayOutput

func (ThreatweightArrayOutput) ToThreatweightArrayOutputWithContext

func (o ThreatweightArrayOutput) ToThreatweightArrayOutputWithContext(ctx context.Context) ThreatweightArrayOutput

type ThreatweightGeolocation

type ThreatweightGeolocation struct {
	// Country code.
	Country *string `pulumi:"country"`
	// Entry ID.
	Id *int `pulumi:"id"`
	// Threat weight score for Geolocation-based events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Level *string `pulumi:"level"`
}

type ThreatweightGeolocationArgs

type ThreatweightGeolocationArgs struct {
	// Country code.
	Country pulumi.StringPtrInput `pulumi:"country"`
	// Entry ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// Threat weight score for Geolocation-based events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Level pulumi.StringPtrInput `pulumi:"level"`
}

func (ThreatweightGeolocationArgs) ElementType

func (ThreatweightGeolocationArgs) ToThreatweightGeolocationOutput

func (i ThreatweightGeolocationArgs) ToThreatweightGeolocationOutput() ThreatweightGeolocationOutput

func (ThreatweightGeolocationArgs) ToThreatweightGeolocationOutputWithContext

func (i ThreatweightGeolocationArgs) ToThreatweightGeolocationOutputWithContext(ctx context.Context) ThreatweightGeolocationOutput

type ThreatweightGeolocationArray

type ThreatweightGeolocationArray []ThreatweightGeolocationInput

func (ThreatweightGeolocationArray) ElementType

func (ThreatweightGeolocationArray) ToThreatweightGeolocationArrayOutput

func (i ThreatweightGeolocationArray) ToThreatweightGeolocationArrayOutput() ThreatweightGeolocationArrayOutput

func (ThreatweightGeolocationArray) ToThreatweightGeolocationArrayOutputWithContext

func (i ThreatweightGeolocationArray) ToThreatweightGeolocationArrayOutputWithContext(ctx context.Context) ThreatweightGeolocationArrayOutput

type ThreatweightGeolocationArrayInput

type ThreatweightGeolocationArrayInput interface {
	pulumi.Input

	ToThreatweightGeolocationArrayOutput() ThreatweightGeolocationArrayOutput
	ToThreatweightGeolocationArrayOutputWithContext(context.Context) ThreatweightGeolocationArrayOutput
}

ThreatweightGeolocationArrayInput is an input type that accepts ThreatweightGeolocationArray and ThreatweightGeolocationArrayOutput values. You can construct a concrete instance of `ThreatweightGeolocationArrayInput` via:

ThreatweightGeolocationArray{ ThreatweightGeolocationArgs{...} }

type ThreatweightGeolocationArrayOutput

type ThreatweightGeolocationArrayOutput struct{ *pulumi.OutputState }

func (ThreatweightGeolocationArrayOutput) ElementType

func (ThreatweightGeolocationArrayOutput) Index

func (ThreatweightGeolocationArrayOutput) ToThreatweightGeolocationArrayOutput

func (o ThreatweightGeolocationArrayOutput) ToThreatweightGeolocationArrayOutput() ThreatweightGeolocationArrayOutput

func (ThreatweightGeolocationArrayOutput) ToThreatweightGeolocationArrayOutputWithContext

func (o ThreatweightGeolocationArrayOutput) ToThreatweightGeolocationArrayOutputWithContext(ctx context.Context) ThreatweightGeolocationArrayOutput

type ThreatweightGeolocationInput

type ThreatweightGeolocationInput interface {
	pulumi.Input

	ToThreatweightGeolocationOutput() ThreatweightGeolocationOutput
	ToThreatweightGeolocationOutputWithContext(context.Context) ThreatweightGeolocationOutput
}

ThreatweightGeolocationInput is an input type that accepts ThreatweightGeolocationArgs and ThreatweightGeolocationOutput values. You can construct a concrete instance of `ThreatweightGeolocationInput` via:

ThreatweightGeolocationArgs{...}

type ThreatweightGeolocationOutput

type ThreatweightGeolocationOutput struct{ *pulumi.OutputState }

func (ThreatweightGeolocationOutput) Country

Country code.

func (ThreatweightGeolocationOutput) ElementType

func (ThreatweightGeolocationOutput) Id

Entry ID.

func (ThreatweightGeolocationOutput) Level

Threat weight score for Geolocation-based events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightGeolocationOutput) ToThreatweightGeolocationOutput

func (o ThreatweightGeolocationOutput) ToThreatweightGeolocationOutput() ThreatweightGeolocationOutput

func (ThreatweightGeolocationOutput) ToThreatweightGeolocationOutputWithContext

func (o ThreatweightGeolocationOutput) ToThreatweightGeolocationOutputWithContext(ctx context.Context) ThreatweightGeolocationOutput

type ThreatweightInput

type ThreatweightInput interface {
	pulumi.Input

	ToThreatweightOutput() ThreatweightOutput
	ToThreatweightOutputWithContext(ctx context.Context) ThreatweightOutput
}

type ThreatweightIps

type ThreatweightIps struct {
	// Threat weight score for IPS critical severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	CriticalSeverity *string `pulumi:"criticalSeverity"`
	// Threat weight score for IPS high severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	HighSeverity *string `pulumi:"highSeverity"`
	// Threat weight score for IPS info severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	InfoSeverity *string `pulumi:"infoSeverity"`
	// Threat weight score for IPS low severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	LowSeverity *string `pulumi:"lowSeverity"`
	// Threat weight score for IPS medium severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	MediumSeverity *string `pulumi:"mediumSeverity"`
}

type ThreatweightIpsArgs

type ThreatweightIpsArgs struct {
	// Threat weight score for IPS critical severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	CriticalSeverity pulumi.StringPtrInput `pulumi:"criticalSeverity"`
	// Threat weight score for IPS high severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	HighSeverity pulumi.StringPtrInput `pulumi:"highSeverity"`
	// Threat weight score for IPS info severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	InfoSeverity pulumi.StringPtrInput `pulumi:"infoSeverity"`
	// Threat weight score for IPS low severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	LowSeverity pulumi.StringPtrInput `pulumi:"lowSeverity"`
	// Threat weight score for IPS medium severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	MediumSeverity pulumi.StringPtrInput `pulumi:"mediumSeverity"`
}

func (ThreatweightIpsArgs) ElementType

func (ThreatweightIpsArgs) ElementType() reflect.Type

func (ThreatweightIpsArgs) ToThreatweightIpsOutput

func (i ThreatweightIpsArgs) ToThreatweightIpsOutput() ThreatweightIpsOutput

func (ThreatweightIpsArgs) ToThreatweightIpsOutputWithContext

func (i ThreatweightIpsArgs) ToThreatweightIpsOutputWithContext(ctx context.Context) ThreatweightIpsOutput

func (ThreatweightIpsArgs) ToThreatweightIpsPtrOutput

func (i ThreatweightIpsArgs) ToThreatweightIpsPtrOutput() ThreatweightIpsPtrOutput

func (ThreatweightIpsArgs) ToThreatweightIpsPtrOutputWithContext

func (i ThreatweightIpsArgs) ToThreatweightIpsPtrOutputWithContext(ctx context.Context) ThreatweightIpsPtrOutput

type ThreatweightIpsInput

type ThreatweightIpsInput interface {
	pulumi.Input

	ToThreatweightIpsOutput() ThreatweightIpsOutput
	ToThreatweightIpsOutputWithContext(context.Context) ThreatweightIpsOutput
}

ThreatweightIpsInput is an input type that accepts ThreatweightIpsArgs and ThreatweightIpsOutput values. You can construct a concrete instance of `ThreatweightIpsInput` via:

ThreatweightIpsArgs{...}

type ThreatweightIpsOutput

type ThreatweightIpsOutput struct{ *pulumi.OutputState }

func (ThreatweightIpsOutput) CriticalSeverity

func (o ThreatweightIpsOutput) CriticalSeverity() pulumi.StringPtrOutput

Threat weight score for IPS critical severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightIpsOutput) ElementType

func (ThreatweightIpsOutput) ElementType() reflect.Type

func (ThreatweightIpsOutput) HighSeverity

func (o ThreatweightIpsOutput) HighSeverity() pulumi.StringPtrOutput

Threat weight score for IPS high severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightIpsOutput) InfoSeverity

func (o ThreatweightIpsOutput) InfoSeverity() pulumi.StringPtrOutput

Threat weight score for IPS info severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightIpsOutput) LowSeverity

Threat weight score for IPS low severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightIpsOutput) MediumSeverity

func (o ThreatweightIpsOutput) MediumSeverity() pulumi.StringPtrOutput

Threat weight score for IPS medium severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightIpsOutput) ToThreatweightIpsOutput

func (o ThreatweightIpsOutput) ToThreatweightIpsOutput() ThreatweightIpsOutput

func (ThreatweightIpsOutput) ToThreatweightIpsOutputWithContext

func (o ThreatweightIpsOutput) ToThreatweightIpsOutputWithContext(ctx context.Context) ThreatweightIpsOutput

func (ThreatweightIpsOutput) ToThreatweightIpsPtrOutput

func (o ThreatweightIpsOutput) ToThreatweightIpsPtrOutput() ThreatweightIpsPtrOutput

func (ThreatweightIpsOutput) ToThreatweightIpsPtrOutputWithContext

func (o ThreatweightIpsOutput) ToThreatweightIpsPtrOutputWithContext(ctx context.Context) ThreatweightIpsPtrOutput

type ThreatweightIpsPtrInput

type ThreatweightIpsPtrInput interface {
	pulumi.Input

	ToThreatweightIpsPtrOutput() ThreatweightIpsPtrOutput
	ToThreatweightIpsPtrOutputWithContext(context.Context) ThreatweightIpsPtrOutput
}

ThreatweightIpsPtrInput is an input type that accepts ThreatweightIpsArgs, ThreatweightIpsPtr and ThreatweightIpsPtrOutput values. You can construct a concrete instance of `ThreatweightIpsPtrInput` via:

        ThreatweightIpsArgs{...}

or:

        nil

type ThreatweightIpsPtrOutput

type ThreatweightIpsPtrOutput struct{ *pulumi.OutputState }

func (ThreatweightIpsPtrOutput) CriticalSeverity

func (o ThreatweightIpsPtrOutput) CriticalSeverity() pulumi.StringPtrOutput

Threat weight score for IPS critical severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightIpsPtrOutput) Elem

func (ThreatweightIpsPtrOutput) ElementType

func (ThreatweightIpsPtrOutput) ElementType() reflect.Type

func (ThreatweightIpsPtrOutput) HighSeverity

Threat weight score for IPS high severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightIpsPtrOutput) InfoSeverity

Threat weight score for IPS info severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightIpsPtrOutput) LowSeverity

Threat weight score for IPS low severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightIpsPtrOutput) MediumSeverity

func (o ThreatweightIpsPtrOutput) MediumSeverity() pulumi.StringPtrOutput

Threat weight score for IPS medium severity events. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightIpsPtrOutput) ToThreatweightIpsPtrOutput

func (o ThreatweightIpsPtrOutput) ToThreatweightIpsPtrOutput() ThreatweightIpsPtrOutput

func (ThreatweightIpsPtrOutput) ToThreatweightIpsPtrOutputWithContext

func (o ThreatweightIpsPtrOutput) ToThreatweightIpsPtrOutputWithContext(ctx context.Context) ThreatweightIpsPtrOutput

type ThreatweightLevel

type ThreatweightLevel struct {
	// Critical level score value (1 - 100).
	Critical *int `pulumi:"critical"`
	// High level score value (1 - 100).
	High *int `pulumi:"high"`
	// Low level score value (1 - 100).
	Low *int `pulumi:"low"`
	// Medium level score value (1 - 100).
	Medium *int `pulumi:"medium"`
}

type ThreatweightLevelArgs

type ThreatweightLevelArgs struct {
	// Critical level score value (1 - 100).
	Critical pulumi.IntPtrInput `pulumi:"critical"`
	// High level score value (1 - 100).
	High pulumi.IntPtrInput `pulumi:"high"`
	// Low level score value (1 - 100).
	Low pulumi.IntPtrInput `pulumi:"low"`
	// Medium level score value (1 - 100).
	Medium pulumi.IntPtrInput `pulumi:"medium"`
}

func (ThreatweightLevelArgs) ElementType

func (ThreatweightLevelArgs) ElementType() reflect.Type

func (ThreatweightLevelArgs) ToThreatweightLevelOutput

func (i ThreatweightLevelArgs) ToThreatweightLevelOutput() ThreatweightLevelOutput

func (ThreatweightLevelArgs) ToThreatweightLevelOutputWithContext

func (i ThreatweightLevelArgs) ToThreatweightLevelOutputWithContext(ctx context.Context) ThreatweightLevelOutput

func (ThreatweightLevelArgs) ToThreatweightLevelPtrOutput

func (i ThreatweightLevelArgs) ToThreatweightLevelPtrOutput() ThreatweightLevelPtrOutput

func (ThreatweightLevelArgs) ToThreatweightLevelPtrOutputWithContext

func (i ThreatweightLevelArgs) ToThreatweightLevelPtrOutputWithContext(ctx context.Context) ThreatweightLevelPtrOutput

type ThreatweightLevelInput

type ThreatweightLevelInput interface {
	pulumi.Input

	ToThreatweightLevelOutput() ThreatweightLevelOutput
	ToThreatweightLevelOutputWithContext(context.Context) ThreatweightLevelOutput
}

ThreatweightLevelInput is an input type that accepts ThreatweightLevelArgs and ThreatweightLevelOutput values. You can construct a concrete instance of `ThreatweightLevelInput` via:

ThreatweightLevelArgs{...}

type ThreatweightLevelOutput

type ThreatweightLevelOutput struct{ *pulumi.OutputState }

func (ThreatweightLevelOutput) Critical

Critical level score value (1 - 100).

func (ThreatweightLevelOutput) ElementType

func (ThreatweightLevelOutput) ElementType() reflect.Type

func (ThreatweightLevelOutput) High

High level score value (1 - 100).

func (ThreatweightLevelOutput) Low

Low level score value (1 - 100).

func (ThreatweightLevelOutput) Medium

Medium level score value (1 - 100).

func (ThreatweightLevelOutput) ToThreatweightLevelOutput

func (o ThreatweightLevelOutput) ToThreatweightLevelOutput() ThreatweightLevelOutput

func (ThreatweightLevelOutput) ToThreatweightLevelOutputWithContext

func (o ThreatweightLevelOutput) ToThreatweightLevelOutputWithContext(ctx context.Context) ThreatweightLevelOutput

func (ThreatweightLevelOutput) ToThreatweightLevelPtrOutput

func (o ThreatweightLevelOutput) ToThreatweightLevelPtrOutput() ThreatweightLevelPtrOutput

func (ThreatweightLevelOutput) ToThreatweightLevelPtrOutputWithContext

func (o ThreatweightLevelOutput) ToThreatweightLevelPtrOutputWithContext(ctx context.Context) ThreatweightLevelPtrOutput

type ThreatweightLevelPtrInput

type ThreatweightLevelPtrInput interface {
	pulumi.Input

	ToThreatweightLevelPtrOutput() ThreatweightLevelPtrOutput
	ToThreatweightLevelPtrOutputWithContext(context.Context) ThreatweightLevelPtrOutput
}

ThreatweightLevelPtrInput is an input type that accepts ThreatweightLevelArgs, ThreatweightLevelPtr and ThreatweightLevelPtrOutput values. You can construct a concrete instance of `ThreatweightLevelPtrInput` via:

        ThreatweightLevelArgs{...}

or:

        nil

type ThreatweightLevelPtrOutput

type ThreatweightLevelPtrOutput struct{ *pulumi.OutputState }

func (ThreatweightLevelPtrOutput) Critical

Critical level score value (1 - 100).

func (ThreatweightLevelPtrOutput) Elem

func (ThreatweightLevelPtrOutput) ElementType

func (ThreatweightLevelPtrOutput) ElementType() reflect.Type

func (ThreatweightLevelPtrOutput) High

High level score value (1 - 100).

func (ThreatweightLevelPtrOutput) Low

Low level score value (1 - 100).

func (ThreatweightLevelPtrOutput) Medium

Medium level score value (1 - 100).

func (ThreatweightLevelPtrOutput) ToThreatweightLevelPtrOutput

func (o ThreatweightLevelPtrOutput) ToThreatweightLevelPtrOutput() ThreatweightLevelPtrOutput

func (ThreatweightLevelPtrOutput) ToThreatweightLevelPtrOutputWithContext

func (o ThreatweightLevelPtrOutput) ToThreatweightLevelPtrOutputWithContext(ctx context.Context) ThreatweightLevelPtrOutput

type ThreatweightMalware

type ThreatweightMalware struct {
	// Threat weight score for detected botnet connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	BotnetConnection *string `pulumi:"botnetConnection"`
	// Threat weight score for blocked command detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	CommandBlocked *string `pulumi:"commandBlocked"`
	// Threat weight score for virus (content disarm) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	ContentDisarm *string `pulumi:"contentDisarm"`
	// Threat weight score for virus (EMS threat feed) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	EmsThreatFeed *string `pulumi:"emsThreatFeed"`
	// Threat weight score for blocked file detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	FileBlocked *string `pulumi:"fileBlocked"`
	// Threat weight score for FortiAI-detected virus. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Fortiai *string `pulumi:"fortiai"`
	// Threat weight score for FortiNDR-detected virus. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Fortindr *string `pulumi:"fortindr"`
	// Threat weight score for FortiSandbox-detected virus. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Fortisandbox *string `pulumi:"fortisandbox"`
	// Threat weight score for FortiSandbox high risk malware detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	FsaHighRisk *string `pulumi:"fsaHighRisk"`
	// Threat weight score for FortiSandbox malicious malware detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	FsaMalicious *string `pulumi:"fsaMalicious"`
	// Threat weight score for FortiSandbox medium risk malware detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	FsaMediumRisk *string `pulumi:"fsaMediumRisk"`
	// Threat weight score for malware detected by inline block. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	InlineBlock *string `pulumi:"inlineBlock"`
	// Threat weight score for virus (malware list) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	MalwareList *string `pulumi:"malwareList"`
	// Threat weight score for mimefragmented detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Mimefragmented *string `pulumi:"mimefragmented"`
	// Threat weight score for oversized file detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Oversized *string `pulumi:"oversized"`
	// Threat weight score for switch proto detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	SwitchProto *string `pulumi:"switchProto"`
	// Threat weight score for virus (filetype executable) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	VirusFileTypeExecutable *string `pulumi:"virusFileTypeExecutable"`
	// Threat weight score for virus (infected) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	VirusInfected *string `pulumi:"virusInfected"`
	// Threat weight score for virus (outbreak prevention) event. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	VirusOutbreakPrevention *string `pulumi:"virusOutbreakPrevention"`
	// Threat weight score for virus (scan error) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	VirusScanError *string `pulumi:"virusScanError"`
}

type ThreatweightMalwareArgs

type ThreatweightMalwareArgs struct {
	// Threat weight score for detected botnet connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	BotnetConnection pulumi.StringPtrInput `pulumi:"botnetConnection"`
	// Threat weight score for blocked command detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	CommandBlocked pulumi.StringPtrInput `pulumi:"commandBlocked"`
	// Threat weight score for virus (content disarm) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	ContentDisarm pulumi.StringPtrInput `pulumi:"contentDisarm"`
	// Threat weight score for virus (EMS threat feed) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	EmsThreatFeed pulumi.StringPtrInput `pulumi:"emsThreatFeed"`
	// Threat weight score for blocked file detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	FileBlocked pulumi.StringPtrInput `pulumi:"fileBlocked"`
	// Threat weight score for FortiAI-detected virus. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Fortiai pulumi.StringPtrInput `pulumi:"fortiai"`
	// Threat weight score for FortiNDR-detected virus. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Fortindr pulumi.StringPtrInput `pulumi:"fortindr"`
	// Threat weight score for FortiSandbox-detected virus. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Fortisandbox pulumi.StringPtrInput `pulumi:"fortisandbox"`
	// Threat weight score for FortiSandbox high risk malware detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	FsaHighRisk pulumi.StringPtrInput `pulumi:"fsaHighRisk"`
	// Threat weight score for FortiSandbox malicious malware detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	FsaMalicious pulumi.StringPtrInput `pulumi:"fsaMalicious"`
	// Threat weight score for FortiSandbox medium risk malware detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	FsaMediumRisk pulumi.StringPtrInput `pulumi:"fsaMediumRisk"`
	// Threat weight score for malware detected by inline block. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	InlineBlock pulumi.StringPtrInput `pulumi:"inlineBlock"`
	// Threat weight score for virus (malware list) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	MalwareList pulumi.StringPtrInput `pulumi:"malwareList"`
	// Threat weight score for mimefragmented detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Mimefragmented pulumi.StringPtrInput `pulumi:"mimefragmented"`
	// Threat weight score for oversized file detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Oversized pulumi.StringPtrInput `pulumi:"oversized"`
	// Threat weight score for switch proto detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	SwitchProto pulumi.StringPtrInput `pulumi:"switchProto"`
	// Threat weight score for virus (filetype executable) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	VirusFileTypeExecutable pulumi.StringPtrInput `pulumi:"virusFileTypeExecutable"`
	// Threat weight score for virus (infected) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	VirusInfected pulumi.StringPtrInput `pulumi:"virusInfected"`
	// Threat weight score for virus (outbreak prevention) event. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	VirusOutbreakPrevention pulumi.StringPtrInput `pulumi:"virusOutbreakPrevention"`
	// Threat weight score for virus (scan error) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	VirusScanError pulumi.StringPtrInput `pulumi:"virusScanError"`
}

func (ThreatweightMalwareArgs) ElementType

func (ThreatweightMalwareArgs) ElementType() reflect.Type

func (ThreatweightMalwareArgs) ToThreatweightMalwareOutput

func (i ThreatweightMalwareArgs) ToThreatweightMalwareOutput() ThreatweightMalwareOutput

func (ThreatweightMalwareArgs) ToThreatweightMalwareOutputWithContext

func (i ThreatweightMalwareArgs) ToThreatweightMalwareOutputWithContext(ctx context.Context) ThreatweightMalwareOutput

func (ThreatweightMalwareArgs) ToThreatweightMalwarePtrOutput

func (i ThreatweightMalwareArgs) ToThreatweightMalwarePtrOutput() ThreatweightMalwarePtrOutput

func (ThreatweightMalwareArgs) ToThreatweightMalwarePtrOutputWithContext

func (i ThreatweightMalwareArgs) ToThreatweightMalwarePtrOutputWithContext(ctx context.Context) ThreatweightMalwarePtrOutput

type ThreatweightMalwareInput

type ThreatweightMalwareInput interface {
	pulumi.Input

	ToThreatweightMalwareOutput() ThreatweightMalwareOutput
	ToThreatweightMalwareOutputWithContext(context.Context) ThreatweightMalwareOutput
}

ThreatweightMalwareInput is an input type that accepts ThreatweightMalwareArgs and ThreatweightMalwareOutput values. You can construct a concrete instance of `ThreatweightMalwareInput` via:

ThreatweightMalwareArgs{...}

type ThreatweightMalwareOutput

type ThreatweightMalwareOutput struct{ *pulumi.OutputState }

func (ThreatweightMalwareOutput) BotnetConnection

func (o ThreatweightMalwareOutput) BotnetConnection() pulumi.StringPtrOutput

Threat weight score for detected botnet connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) CommandBlocked

Threat weight score for blocked command detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) ContentDisarm

Threat weight score for virus (content disarm) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) ElementType

func (ThreatweightMalwareOutput) ElementType() reflect.Type

func (ThreatweightMalwareOutput) EmsThreatFeed

Threat weight score for virus (EMS threat feed) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) FileBlocked

Threat weight score for blocked file detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) Fortiai

Threat weight score for FortiAI-detected virus. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) Fortindr

Threat weight score for FortiNDR-detected virus. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) Fortisandbox

Threat weight score for FortiSandbox-detected virus. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) FsaHighRisk

Threat weight score for FortiSandbox high risk malware detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) FsaMalicious

Threat weight score for FortiSandbox malicious malware detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) FsaMediumRisk

Threat weight score for FortiSandbox medium risk malware detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) InlineBlock

Threat weight score for malware detected by inline block. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) MalwareList

Threat weight score for virus (malware list) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) Mimefragmented

Threat weight score for mimefragmented detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) Oversized

Threat weight score for oversized file detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) SwitchProto

Threat weight score for switch proto detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) ToThreatweightMalwareOutput

func (o ThreatweightMalwareOutput) ToThreatweightMalwareOutput() ThreatweightMalwareOutput

func (ThreatweightMalwareOutput) ToThreatweightMalwareOutputWithContext

func (o ThreatweightMalwareOutput) ToThreatweightMalwareOutputWithContext(ctx context.Context) ThreatweightMalwareOutput

func (ThreatweightMalwareOutput) ToThreatweightMalwarePtrOutput

func (o ThreatweightMalwareOutput) ToThreatweightMalwarePtrOutput() ThreatweightMalwarePtrOutput

func (ThreatweightMalwareOutput) ToThreatweightMalwarePtrOutputWithContext

func (o ThreatweightMalwareOutput) ToThreatweightMalwarePtrOutputWithContext(ctx context.Context) ThreatweightMalwarePtrOutput

func (ThreatweightMalwareOutput) VirusFileTypeExecutable

func (o ThreatweightMalwareOutput) VirusFileTypeExecutable() pulumi.StringPtrOutput

Threat weight score for virus (filetype executable) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) VirusInfected

Threat weight score for virus (infected) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) VirusOutbreakPrevention

func (o ThreatweightMalwareOutput) VirusOutbreakPrevention() pulumi.StringPtrOutput

Threat weight score for virus (outbreak prevention) event. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwareOutput) VirusScanError

Threat weight score for virus (scan error) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

type ThreatweightMalwarePtrInput

type ThreatweightMalwarePtrInput interface {
	pulumi.Input

	ToThreatweightMalwarePtrOutput() ThreatweightMalwarePtrOutput
	ToThreatweightMalwarePtrOutputWithContext(context.Context) ThreatweightMalwarePtrOutput
}

ThreatweightMalwarePtrInput is an input type that accepts ThreatweightMalwareArgs, ThreatweightMalwarePtr and ThreatweightMalwarePtrOutput values. You can construct a concrete instance of `ThreatweightMalwarePtrInput` via:

        ThreatweightMalwareArgs{...}

or:

        nil

type ThreatweightMalwarePtrOutput

type ThreatweightMalwarePtrOutput struct{ *pulumi.OutputState }

func (ThreatweightMalwarePtrOutput) BotnetConnection

Threat weight score for detected botnet connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) CommandBlocked

Threat weight score for blocked command detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) ContentDisarm

Threat weight score for virus (content disarm) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) Elem

func (ThreatweightMalwarePtrOutput) ElementType

func (ThreatweightMalwarePtrOutput) EmsThreatFeed

Threat weight score for virus (EMS threat feed) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) FileBlocked

Threat weight score for blocked file detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) Fortiai

Threat weight score for FortiAI-detected virus. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) Fortindr

Threat weight score for FortiNDR-detected virus. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) Fortisandbox

Threat weight score for FortiSandbox-detected virus. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) FsaHighRisk

Threat weight score for FortiSandbox high risk malware detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) FsaMalicious

Threat weight score for FortiSandbox malicious malware detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) FsaMediumRisk

Threat weight score for FortiSandbox medium risk malware detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) InlineBlock

Threat weight score for malware detected by inline block. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) MalwareList

Threat weight score for virus (malware list) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) Mimefragmented

Threat weight score for mimefragmented detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) Oversized

Threat weight score for oversized file detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) SwitchProto

Threat weight score for switch proto detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) ToThreatweightMalwarePtrOutput

func (o ThreatweightMalwarePtrOutput) ToThreatweightMalwarePtrOutput() ThreatweightMalwarePtrOutput

func (ThreatweightMalwarePtrOutput) ToThreatweightMalwarePtrOutputWithContext

func (o ThreatweightMalwarePtrOutput) ToThreatweightMalwarePtrOutputWithContext(ctx context.Context) ThreatweightMalwarePtrOutput

func (ThreatweightMalwarePtrOutput) VirusFileTypeExecutable

func (o ThreatweightMalwarePtrOutput) VirusFileTypeExecutable() pulumi.StringPtrOutput

Threat weight score for virus (filetype executable) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) VirusInfected

Threat weight score for virus (infected) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) VirusOutbreakPrevention

func (o ThreatweightMalwarePtrOutput) VirusOutbreakPrevention() pulumi.StringPtrOutput

Threat weight score for virus (outbreak prevention) event. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightMalwarePtrOutput) VirusScanError

Threat weight score for virus (scan error) detected. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

type ThreatweightMap

type ThreatweightMap map[string]ThreatweightInput

func (ThreatweightMap) ElementType

func (ThreatweightMap) ElementType() reflect.Type

func (ThreatweightMap) ToThreatweightMapOutput

func (i ThreatweightMap) ToThreatweightMapOutput() ThreatweightMapOutput

func (ThreatweightMap) ToThreatweightMapOutputWithContext

func (i ThreatweightMap) ToThreatweightMapOutputWithContext(ctx context.Context) ThreatweightMapOutput

type ThreatweightMapInput

type ThreatweightMapInput interface {
	pulumi.Input

	ToThreatweightMapOutput() ThreatweightMapOutput
	ToThreatweightMapOutputWithContext(context.Context) ThreatweightMapOutput
}

ThreatweightMapInput is an input type that accepts ThreatweightMap and ThreatweightMapOutput values. You can construct a concrete instance of `ThreatweightMapInput` via:

ThreatweightMap{ "key": ThreatweightArgs{...} }

type ThreatweightMapOutput

type ThreatweightMapOutput struct{ *pulumi.OutputState }

func (ThreatweightMapOutput) ElementType

func (ThreatweightMapOutput) ElementType() reflect.Type

func (ThreatweightMapOutput) MapIndex

func (ThreatweightMapOutput) ToThreatweightMapOutput

func (o ThreatweightMapOutput) ToThreatweightMapOutput() ThreatweightMapOutput

func (ThreatweightMapOutput) ToThreatweightMapOutputWithContext

func (o ThreatweightMapOutput) ToThreatweightMapOutputWithContext(ctx context.Context) ThreatweightMapOutput

type ThreatweightOutput

type ThreatweightOutput struct{ *pulumi.OutputState }

func (ThreatweightOutput) Applications

Application-control threat weight settings. The structure of `application` block is documented below.

func (ThreatweightOutput) BlockedConnection

func (o ThreatweightOutput) BlockedConnection() pulumi.StringOutput

Threat weight score for blocked connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightOutput) BotnetConnectionDetected

func (o ThreatweightOutput) BotnetConnectionDetected() pulumi.StringOutput

Threat weight score for detected botnet connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightOutput) DynamicSortSubtable

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

func (ThreatweightOutput) ElementType() reflect.Type

func (ThreatweightOutput) FailedConnection

func (o ThreatweightOutput) FailedConnection() pulumi.StringOutput

Threat weight score for failed connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightOutput) Geolocations

Geolocation-based threat weight settings. The structure of `geolocation` block is documented below.

func (ThreatweightOutput) GetAllTables

func (o ThreatweightOutput) 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 (ThreatweightOutput) Ips

IPS threat weight settings. The structure of `ips` block is documented below.

func (ThreatweightOutput) Level

Score mapping for threat weight levels. The structure of `level` block is documented below.

func (ThreatweightOutput) Malware

Anti-virus malware threat weight settings. The structure of `malware` block is documented below.

func (ThreatweightOutput) Status

Enable/disable the threat weight feature. Valid values: `enable`, `disable`.

func (ThreatweightOutput) ToThreatweightOutput

func (o ThreatweightOutput) ToThreatweightOutput() ThreatweightOutput

func (ThreatweightOutput) ToThreatweightOutputWithContext

func (o ThreatweightOutput) ToThreatweightOutputWithContext(ctx context.Context) ThreatweightOutput

func (ThreatweightOutput) UrlBlockDetected

func (o ThreatweightOutput) UrlBlockDetected() pulumi.StringOutput

Threat weight score for URL blocking. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightOutput) Vdomparam

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

func (ThreatweightOutput) Webs

Web filtering threat weight settings. The structure of `web` block is documented below.

type ThreatweightState

type ThreatweightState struct {
	// Application-control threat weight settings. The structure of `application` block is documented below.
	Applications ThreatweightApplicationArrayInput
	// Threat weight score for blocked connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	BlockedConnection pulumi.StringPtrInput
	// Threat weight score for detected botnet connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	BotnetConnectionDetected 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
	// Threat weight score for failed connections. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	FailedConnection pulumi.StringPtrInput
	// Geolocation-based threat weight settings. The structure of `geolocation` block is documented below.
	Geolocations ThreatweightGeolocationArrayInput
	// 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
	// IPS threat weight settings. The structure of `ips` block is documented below.
	Ips ThreatweightIpsPtrInput
	// Score mapping for threat weight levels. The structure of `level` block is documented below.
	Level ThreatweightLevelPtrInput
	// Anti-virus malware threat weight settings. The structure of `malware` block is documented below.
	Malware ThreatweightMalwarePtrInput
	// Enable/disable the threat weight feature. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput
	// Threat weight score for URL blocking. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	UrlBlockDetected 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
	// Web filtering threat weight settings. The structure of `web` block is documented below.
	Webs ThreatweightWebArrayInput
}

func (ThreatweightState) ElementType

func (ThreatweightState) ElementType() reflect.Type

type ThreatweightWeb

type ThreatweightWeb struct {
	// Threat weight score for web category filtering matches.
	Category *int `pulumi:"category"`
	// Entry ID.
	Id *int `pulumi:"id"`
	// Threat weight score for web category filtering matches. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Level *string `pulumi:"level"`
}

type ThreatweightWebArgs

type ThreatweightWebArgs struct {
	// Threat weight score for web category filtering matches.
	Category pulumi.IntPtrInput `pulumi:"category"`
	// Entry ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// Threat weight score for web category filtering matches. Valid values: `disable`, `low`, `medium`, `high`, `critical`.
	Level pulumi.StringPtrInput `pulumi:"level"`
}

func (ThreatweightWebArgs) ElementType

func (ThreatweightWebArgs) ElementType() reflect.Type

func (ThreatweightWebArgs) ToThreatweightWebOutput

func (i ThreatweightWebArgs) ToThreatweightWebOutput() ThreatweightWebOutput

func (ThreatweightWebArgs) ToThreatweightWebOutputWithContext

func (i ThreatweightWebArgs) ToThreatweightWebOutputWithContext(ctx context.Context) ThreatweightWebOutput

type ThreatweightWebArray

type ThreatweightWebArray []ThreatweightWebInput

func (ThreatweightWebArray) ElementType

func (ThreatweightWebArray) ElementType() reflect.Type

func (ThreatweightWebArray) ToThreatweightWebArrayOutput

func (i ThreatweightWebArray) ToThreatweightWebArrayOutput() ThreatweightWebArrayOutput

func (ThreatweightWebArray) ToThreatweightWebArrayOutputWithContext

func (i ThreatweightWebArray) ToThreatweightWebArrayOutputWithContext(ctx context.Context) ThreatweightWebArrayOutput

type ThreatweightWebArrayInput

type ThreatweightWebArrayInput interface {
	pulumi.Input

	ToThreatweightWebArrayOutput() ThreatweightWebArrayOutput
	ToThreatweightWebArrayOutputWithContext(context.Context) ThreatweightWebArrayOutput
}

ThreatweightWebArrayInput is an input type that accepts ThreatweightWebArray and ThreatweightWebArrayOutput values. You can construct a concrete instance of `ThreatweightWebArrayInput` via:

ThreatweightWebArray{ ThreatweightWebArgs{...} }

type ThreatweightWebArrayOutput

type ThreatweightWebArrayOutput struct{ *pulumi.OutputState }

func (ThreatweightWebArrayOutput) ElementType

func (ThreatweightWebArrayOutput) ElementType() reflect.Type

func (ThreatweightWebArrayOutput) Index

func (ThreatweightWebArrayOutput) ToThreatweightWebArrayOutput

func (o ThreatweightWebArrayOutput) ToThreatweightWebArrayOutput() ThreatweightWebArrayOutput

func (ThreatweightWebArrayOutput) ToThreatweightWebArrayOutputWithContext

func (o ThreatweightWebArrayOutput) ToThreatweightWebArrayOutputWithContext(ctx context.Context) ThreatweightWebArrayOutput

type ThreatweightWebInput

type ThreatweightWebInput interface {
	pulumi.Input

	ToThreatweightWebOutput() ThreatweightWebOutput
	ToThreatweightWebOutputWithContext(context.Context) ThreatweightWebOutput
}

ThreatweightWebInput is an input type that accepts ThreatweightWebArgs and ThreatweightWebOutput values. You can construct a concrete instance of `ThreatweightWebInput` via:

ThreatweightWebArgs{...}

type ThreatweightWebOutput

type ThreatweightWebOutput struct{ *pulumi.OutputState }

func (ThreatweightWebOutput) Category

Threat weight score for web category filtering matches.

func (ThreatweightWebOutput) ElementType

func (ThreatweightWebOutput) ElementType() reflect.Type

func (ThreatweightWebOutput) Id

Entry ID.

func (ThreatweightWebOutput) Level

Threat weight score for web category filtering matches. Valid values: `disable`, `low`, `medium`, `high`, `critical`.

func (ThreatweightWebOutput) ToThreatweightWebOutput

func (o ThreatweightWebOutput) ToThreatweightWebOutput() ThreatweightWebOutput

func (ThreatweightWebOutput) ToThreatweightWebOutputWithContext

func (o ThreatweightWebOutput) ToThreatweightWebOutputWithContext(ctx context.Context) ThreatweightWebOutput

Directories

Path Synopsis
v2
v3
v2
v3
v4
v2
v3

Jump to

Keyboard shortcuts

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