disk

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 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 Filter

type Filter struct {
	pulumi.CustomResourceState

	// Enable/disable admin login/logout logging. Valid values: `enable`, `disable`.
	Admin pulumi.StringOutput `pulumi:"admin"`
	// Enable/disable anomaly logging. Valid values: `enable`, `disable`.
	Anomaly pulumi.StringOutput `pulumi:"anomaly"`
	// Enable/disable firewall authentication logging. Valid values: `enable`, `disable`.
	Auth pulumi.StringOutput `pulumi:"auth"`
	// Enable/disable CPU & memory usage logging every 5 minutes. Valid values: `enable`, `disable`.
	CpuMemoryUsage pulumi.StringOutput `pulumi:"cpuMemoryUsage"`
	// Enable/disable DHCP service messages logging. Valid values: `enable`, `disable`.
	Dhcp pulumi.StringOutput `pulumi:"dhcp"`
	// Enable/disable DLP archive logging. Valid values: `enable`, `disable`.
	DlpArchive pulumi.StringOutput `pulumi:"dlpArchive"`
	// Enable/disable detailed DNS event logging. Valid values: `enable`, `disable`.
	Dns pulumi.StringOutput `pulumi:"dns"`
	// 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 event logging. Valid values: `enable`, `disable`.
	Event pulumi.StringOutput `pulumi:"event"`
	// Disk log filter.
	Filter pulumi.StringOutput `pulumi:"filter"`
	// Include/exclude logs that match the filter. Valid values: `include`, `exclude`.
	FilterType pulumi.StringOutput `pulumi:"filterType"`
	// Enable/disable Forti-Switch logging. Valid values: `enable`, `disable`.
	FortiSwitch pulumi.StringOutput `pulumi:"fortiSwitch"`
	// Enable/disable forward traffic logging. Valid values: `enable`, `disable`.
	ForwardTraffic pulumi.StringOutput `pulumi:"forwardTraffic"`
	// Free Style Filters The structure of `freeStyle` block is documented below.
	FreeStyles FilterFreeStyleArrayOutput `pulumi:"freeStyles"`
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 GTP messages logging. Valid values: `enable`, `disable`.
	Gtp pulumi.StringOutput `pulumi:"gtp"`
	// Enable/disable HA logging. Valid values: `enable`, `disable`.
	Ha pulumi.StringOutput `pulumi:"ha"`
	// Enable/disable IPsec negotiation messages logging. Valid values: `enable`, `disable`.
	Ipsec pulumi.StringOutput `pulumi:"ipsec"`
	// Enable/disable VIP real server health monitoring logging. Valid values: `enable`, `disable`.
	LdbMonitor pulumi.StringOutput `pulumi:"ldbMonitor"`
	// Enable/disable local in or out traffic logging. Valid values: `enable`, `disable`.
	LocalTraffic pulumi.StringOutput `pulumi:"localTraffic"`
	// Enable/disable multicast traffic logging. Valid values: `enable`, `disable`.
	MulticastTraffic pulumi.StringOutput `pulumi:"multicastTraffic"`
	// Enable/disable netscan discovery event logging.
	NetscanDiscovery pulumi.StringOutput `pulumi:"netscanDiscovery"`
	// Enable/disable netscan vulnerability event logging.
	NetscanVulnerability pulumi.StringOutput `pulumi:"netscanVulnerability"`
	// Enable/disable pattern update logging. Valid values: `enable`, `disable`.
	Pattern pulumi.StringOutput `pulumi:"pattern"`
	// Enable/disable L2TP/PPTP/PPPoE logging. Valid values: `enable`, `disable`.
	Ppp pulumi.StringOutput `pulumi:"ppp"`
	// Enable/disable RADIUS messages logging. Valid values: `enable`, `disable`.
	Radius pulumi.StringOutput `pulumi:"radius"`
	// Log to disk every message above and including this severity level. Valid values: `emergency`, `alert`, `critical`, `error`, `warning`, `notification`, `information`, `debug`.
	Severity pulumi.StringOutput `pulumi:"severity"`
	// Enable/disable sniffer traffic logging. Valid values: `enable`, `disable`.
	SnifferTraffic pulumi.StringOutput `pulumi:"snifferTraffic"`
	// Enable/disable SSH logging. Valid values: `enable`, `disable`.
	Ssh pulumi.StringOutput `pulumi:"ssh"`
	// Enable/disable SSL administrator login logging. Valid values: `enable`, `disable`.
	SslvpnLogAdm pulumi.StringOutput `pulumi:"sslvpnLogAdm"`
	// Enable/disable SSL user authentication logging. Valid values: `enable`, `disable`.
	SslvpnLogAuth pulumi.StringOutput `pulumi:"sslvpnLogAuth"`
	// Enable/disable SSL session logging. Valid values: `enable`, `disable`.
	SslvpnLogSession pulumi.StringOutput `pulumi:"sslvpnLogSession"`
	// Enable/disable system activity logging. Valid values: `enable`, `disable`.
	System pulumi.StringOutput `pulumi:"system"`
	// 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.StringOutput `pulumi:"vdomparam"`
	// Enable/disable VIP SSL logging. Valid values: `enable`, `disable`.
	VipSsl pulumi.StringOutput `pulumi:"vipSsl"`
	// Enable/disable VoIP logging. Valid values: `enable`, `disable`.
	Voip pulumi.StringOutput `pulumi:"voip"`
	// Enable/disable WAN optimization event logging. Valid values: `enable`, `disable`.
	WanOpt pulumi.StringOutput `pulumi:"wanOpt"`
	// Enable/disable wireless activity event logging. Valid values: `enable`, `disable`.
	WirelessActivity pulumi.StringOutput `pulumi:"wirelessActivity"`
	// Enable/disable ztna traffic logging. Valid values: `enable`, `disable`.
	ZtnaTraffic pulumi.StringOutput `pulumi:"ztnaTraffic"`
}

Configure filters for local disk logging. Use these filters to determine the log messages to record according to severity and type.

## Example Usage

```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.NewFilter(ctx, "trname", &log.FilterArgs{
			Anomaly:          pulumi.String("enable"),
			DlpArchive:       pulumi.String("enable"),
			Dns:              pulumi.String("enable"),
			FilterType:       pulumi.String("include"),
			ForwardTraffic:   pulumi.String("enable"),
			Gtp:              pulumi.String("enable"),
			LocalTraffic:     pulumi.String("enable"),
			MulticastTraffic: pulumi.String("enable"),
			Severity:         pulumi.String("information"),
			SnifferTraffic:   pulumi.String("enable"),
			Ssh:              pulumi.String("enable"),
			Voip:             pulumi.String("enable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

LogDisk Filter can be imported using any of these accepted formats:

```sh $ pulumi import fortios:log/disk/filter:Filter labelname LogDiskFilter ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:log/disk/filter:Filter labelname LogDiskFilter ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetFilter

func GetFilter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FilterState, opts ...pulumi.ResourceOption) (*Filter, error)

GetFilter gets an existing Filter 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 NewFilter

func NewFilter(ctx *pulumi.Context,
	name string, args *FilterArgs, opts ...pulumi.ResourceOption) (*Filter, error)

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

func (*Filter) ElementType

func (*Filter) ElementType() reflect.Type

func (*Filter) ToFilterOutput

func (i *Filter) ToFilterOutput() FilterOutput

func (*Filter) ToFilterOutputWithContext

func (i *Filter) ToFilterOutputWithContext(ctx context.Context) FilterOutput

type FilterArgs

type FilterArgs struct {
	// Enable/disable admin login/logout logging. Valid values: `enable`, `disable`.
	Admin pulumi.StringPtrInput
	// Enable/disable anomaly logging. Valid values: `enable`, `disable`.
	Anomaly pulumi.StringPtrInput
	// Enable/disable firewall authentication logging. Valid values: `enable`, `disable`.
	Auth pulumi.StringPtrInput
	// Enable/disable CPU & memory usage logging every 5 minutes. Valid values: `enable`, `disable`.
	CpuMemoryUsage pulumi.StringPtrInput
	// Enable/disable DHCP service messages logging. Valid values: `enable`, `disable`.
	Dhcp pulumi.StringPtrInput
	// Enable/disable DLP archive logging. Valid values: `enable`, `disable`.
	DlpArchive pulumi.StringPtrInput
	// Enable/disable detailed DNS event logging. Valid values: `enable`, `disable`.
	Dns 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 event logging. Valid values: `enable`, `disable`.
	Event pulumi.StringPtrInput
	// Disk log filter.
	Filter pulumi.StringPtrInput
	// Include/exclude logs that match the filter. Valid values: `include`, `exclude`.
	FilterType pulumi.StringPtrInput
	// Enable/disable Forti-Switch logging. Valid values: `enable`, `disable`.
	FortiSwitch pulumi.StringPtrInput
	// Enable/disable forward traffic logging. Valid values: `enable`, `disable`.
	ForwardTraffic pulumi.StringPtrInput
	// Free Style Filters The structure of `freeStyle` block is documented below.
	FreeStyles FilterFreeStyleArrayInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 GTP messages logging. Valid values: `enable`, `disable`.
	Gtp pulumi.StringPtrInput
	// Enable/disable HA logging. Valid values: `enable`, `disable`.
	Ha pulumi.StringPtrInput
	// Enable/disable IPsec negotiation messages logging. Valid values: `enable`, `disable`.
	Ipsec pulumi.StringPtrInput
	// Enable/disable VIP real server health monitoring logging. Valid values: `enable`, `disable`.
	LdbMonitor pulumi.StringPtrInput
	// Enable/disable local in or out traffic logging. Valid values: `enable`, `disable`.
	LocalTraffic pulumi.StringPtrInput
	// Enable/disable multicast traffic logging. Valid values: `enable`, `disable`.
	MulticastTraffic pulumi.StringPtrInput
	// Enable/disable netscan discovery event logging.
	NetscanDiscovery pulumi.StringPtrInput
	// Enable/disable netscan vulnerability event logging.
	NetscanVulnerability pulumi.StringPtrInput
	// Enable/disable pattern update logging. Valid values: `enable`, `disable`.
	Pattern pulumi.StringPtrInput
	// Enable/disable L2TP/PPTP/PPPoE logging. Valid values: `enable`, `disable`.
	Ppp pulumi.StringPtrInput
	// Enable/disable RADIUS messages logging. Valid values: `enable`, `disable`.
	Radius pulumi.StringPtrInput
	// Log to disk every message above and including this severity level. Valid values: `emergency`, `alert`, `critical`, `error`, `warning`, `notification`, `information`, `debug`.
	Severity pulumi.StringPtrInput
	// Enable/disable sniffer traffic logging. Valid values: `enable`, `disable`.
	SnifferTraffic pulumi.StringPtrInput
	// Enable/disable SSH logging. Valid values: `enable`, `disable`.
	Ssh pulumi.StringPtrInput
	// Enable/disable SSL administrator login logging. Valid values: `enable`, `disable`.
	SslvpnLogAdm pulumi.StringPtrInput
	// Enable/disable SSL user authentication logging. Valid values: `enable`, `disable`.
	SslvpnLogAuth pulumi.StringPtrInput
	// Enable/disable SSL session logging. Valid values: `enable`, `disable`.
	SslvpnLogSession pulumi.StringPtrInput
	// Enable/disable system activity logging. Valid values: `enable`, `disable`.
	System 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 VIP SSL logging. Valid values: `enable`, `disable`.
	VipSsl pulumi.StringPtrInput
	// Enable/disable VoIP logging. Valid values: `enable`, `disable`.
	Voip pulumi.StringPtrInput
	// Enable/disable WAN optimization event logging. Valid values: `enable`, `disable`.
	WanOpt pulumi.StringPtrInput
	// Enable/disable wireless activity event logging. Valid values: `enable`, `disable`.
	WirelessActivity pulumi.StringPtrInput
	// Enable/disable ztna traffic logging. Valid values: `enable`, `disable`.
	ZtnaTraffic pulumi.StringPtrInput
}

The set of arguments for constructing a Filter resource.

func (FilterArgs) ElementType

func (FilterArgs) ElementType() reflect.Type

type FilterArray

type FilterArray []FilterInput

func (FilterArray) ElementType

func (FilterArray) ElementType() reflect.Type

func (FilterArray) ToFilterArrayOutput

func (i FilterArray) ToFilterArrayOutput() FilterArrayOutput

func (FilterArray) ToFilterArrayOutputWithContext

func (i FilterArray) ToFilterArrayOutputWithContext(ctx context.Context) FilterArrayOutput

type FilterArrayInput

type FilterArrayInput interface {
	pulumi.Input

	ToFilterArrayOutput() FilterArrayOutput
	ToFilterArrayOutputWithContext(context.Context) FilterArrayOutput
}

FilterArrayInput is an input type that accepts FilterArray and FilterArrayOutput values. You can construct a concrete instance of `FilterArrayInput` via:

FilterArray{ FilterArgs{...} }

type FilterArrayOutput

type FilterArrayOutput struct{ *pulumi.OutputState }

func (FilterArrayOutput) ElementType

func (FilterArrayOutput) ElementType() reflect.Type

func (FilterArrayOutput) Index

func (FilterArrayOutput) ToFilterArrayOutput

func (o FilterArrayOutput) ToFilterArrayOutput() FilterArrayOutput

func (FilterArrayOutput) ToFilterArrayOutputWithContext

func (o FilterArrayOutput) ToFilterArrayOutputWithContext(ctx context.Context) FilterArrayOutput

type FilterFreeStyle

type FilterFreeStyle struct {
	// Log category.
	Category *string `pulumi:"category"`
	// Free style filter string.
	Filter *string `pulumi:"filter"`
	// Include/exclude logs that match the filter. Valid values: `include`, `exclude`.
	FilterType *string `pulumi:"filterType"`
	// Entry ID.
	Id *int `pulumi:"id"`
}

type FilterFreeStyleArgs

type FilterFreeStyleArgs struct {
	// Log category.
	Category pulumi.StringPtrInput `pulumi:"category"`
	// Free style filter string.
	Filter pulumi.StringPtrInput `pulumi:"filter"`
	// Include/exclude logs that match the filter. Valid values: `include`, `exclude`.
	FilterType pulumi.StringPtrInput `pulumi:"filterType"`
	// Entry ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
}

func (FilterFreeStyleArgs) ElementType

func (FilterFreeStyleArgs) ElementType() reflect.Type

func (FilterFreeStyleArgs) ToFilterFreeStyleOutput

func (i FilterFreeStyleArgs) ToFilterFreeStyleOutput() FilterFreeStyleOutput

func (FilterFreeStyleArgs) ToFilterFreeStyleOutputWithContext

func (i FilterFreeStyleArgs) ToFilterFreeStyleOutputWithContext(ctx context.Context) FilterFreeStyleOutput

type FilterFreeStyleArray

type FilterFreeStyleArray []FilterFreeStyleInput

func (FilterFreeStyleArray) ElementType

func (FilterFreeStyleArray) ElementType() reflect.Type

func (FilterFreeStyleArray) ToFilterFreeStyleArrayOutput

func (i FilterFreeStyleArray) ToFilterFreeStyleArrayOutput() FilterFreeStyleArrayOutput

func (FilterFreeStyleArray) ToFilterFreeStyleArrayOutputWithContext

func (i FilterFreeStyleArray) ToFilterFreeStyleArrayOutputWithContext(ctx context.Context) FilterFreeStyleArrayOutput

type FilterFreeStyleArrayInput

type FilterFreeStyleArrayInput interface {
	pulumi.Input

	ToFilterFreeStyleArrayOutput() FilterFreeStyleArrayOutput
	ToFilterFreeStyleArrayOutputWithContext(context.Context) FilterFreeStyleArrayOutput
}

FilterFreeStyleArrayInput is an input type that accepts FilterFreeStyleArray and FilterFreeStyleArrayOutput values. You can construct a concrete instance of `FilterFreeStyleArrayInput` via:

FilterFreeStyleArray{ FilterFreeStyleArgs{...} }

type FilterFreeStyleArrayOutput

type FilterFreeStyleArrayOutput struct{ *pulumi.OutputState }

func (FilterFreeStyleArrayOutput) ElementType

func (FilterFreeStyleArrayOutput) ElementType() reflect.Type

func (FilterFreeStyleArrayOutput) Index

func (FilterFreeStyleArrayOutput) ToFilterFreeStyleArrayOutput

func (o FilterFreeStyleArrayOutput) ToFilterFreeStyleArrayOutput() FilterFreeStyleArrayOutput

func (FilterFreeStyleArrayOutput) ToFilterFreeStyleArrayOutputWithContext

func (o FilterFreeStyleArrayOutput) ToFilterFreeStyleArrayOutputWithContext(ctx context.Context) FilterFreeStyleArrayOutput

type FilterFreeStyleInput

type FilterFreeStyleInput interface {
	pulumi.Input

	ToFilterFreeStyleOutput() FilterFreeStyleOutput
	ToFilterFreeStyleOutputWithContext(context.Context) FilterFreeStyleOutput
}

FilterFreeStyleInput is an input type that accepts FilterFreeStyleArgs and FilterFreeStyleOutput values. You can construct a concrete instance of `FilterFreeStyleInput` via:

FilterFreeStyleArgs{...}

type FilterFreeStyleOutput

type FilterFreeStyleOutput struct{ *pulumi.OutputState }

func (FilterFreeStyleOutput) Category

Log category.

func (FilterFreeStyleOutput) ElementType

func (FilterFreeStyleOutput) ElementType() reflect.Type

func (FilterFreeStyleOutput) Filter

Free style filter string.

func (FilterFreeStyleOutput) FilterType

Include/exclude logs that match the filter. Valid values: `include`, `exclude`.

func (FilterFreeStyleOutput) Id

Entry ID.

func (FilterFreeStyleOutput) ToFilterFreeStyleOutput

func (o FilterFreeStyleOutput) ToFilterFreeStyleOutput() FilterFreeStyleOutput

func (FilterFreeStyleOutput) ToFilterFreeStyleOutputWithContext

func (o FilterFreeStyleOutput) ToFilterFreeStyleOutputWithContext(ctx context.Context) FilterFreeStyleOutput

type FilterInput

type FilterInput interface {
	pulumi.Input

	ToFilterOutput() FilterOutput
	ToFilterOutputWithContext(ctx context.Context) FilterOutput
}

type FilterMap

type FilterMap map[string]FilterInput

func (FilterMap) ElementType

func (FilterMap) ElementType() reflect.Type

func (FilterMap) ToFilterMapOutput

func (i FilterMap) ToFilterMapOutput() FilterMapOutput

func (FilterMap) ToFilterMapOutputWithContext

func (i FilterMap) ToFilterMapOutputWithContext(ctx context.Context) FilterMapOutput

type FilterMapInput

type FilterMapInput interface {
	pulumi.Input

	ToFilterMapOutput() FilterMapOutput
	ToFilterMapOutputWithContext(context.Context) FilterMapOutput
}

FilterMapInput is an input type that accepts FilterMap and FilterMapOutput values. You can construct a concrete instance of `FilterMapInput` via:

FilterMap{ "key": FilterArgs{...} }

type FilterMapOutput

type FilterMapOutput struct{ *pulumi.OutputState }

func (FilterMapOutput) ElementType

func (FilterMapOutput) ElementType() reflect.Type

func (FilterMapOutput) MapIndex

func (FilterMapOutput) ToFilterMapOutput

func (o FilterMapOutput) ToFilterMapOutput() FilterMapOutput

func (FilterMapOutput) ToFilterMapOutputWithContext

func (o FilterMapOutput) ToFilterMapOutputWithContext(ctx context.Context) FilterMapOutput

type FilterOutput

type FilterOutput struct{ *pulumi.OutputState }

func (FilterOutput) Admin

func (o FilterOutput) Admin() pulumi.StringOutput

Enable/disable admin login/logout logging. Valid values: `enable`, `disable`.

func (FilterOutput) Anomaly

func (o FilterOutput) Anomaly() pulumi.StringOutput

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

func (FilterOutput) Auth

func (o FilterOutput) Auth() pulumi.StringOutput

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

func (FilterOutput) CpuMemoryUsage

func (o FilterOutput) CpuMemoryUsage() pulumi.StringOutput

Enable/disable CPU & memory usage logging every 5 minutes. Valid values: `enable`, `disable`.

func (FilterOutput) Dhcp

func (o FilterOutput) Dhcp() pulumi.StringOutput

Enable/disable DHCP service messages logging. Valid values: `enable`, `disable`.

func (FilterOutput) DlpArchive

func (o FilterOutput) DlpArchive() pulumi.StringOutput

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

func (FilterOutput) Dns

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

func (FilterOutput) DynamicSortSubtable

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

func (FilterOutput) ElementType() reflect.Type

func (FilterOutput) Event

func (o FilterOutput) Event() pulumi.StringOutput

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

func (FilterOutput) Filter

func (o FilterOutput) Filter() pulumi.StringOutput

Disk log filter.

func (FilterOutput) FilterType

func (o FilterOutput) FilterType() pulumi.StringOutput

Include/exclude logs that match the filter. Valid values: `include`, `exclude`.

func (FilterOutput) FortiSwitch

func (o FilterOutput) FortiSwitch() pulumi.StringOutput

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

func (FilterOutput) ForwardTraffic

func (o FilterOutput) ForwardTraffic() pulumi.StringOutput

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

func (FilterOutput) FreeStyles

Free Style Filters The structure of `freeStyle` block is documented below.

func (FilterOutput) GetAllTables

func (o FilterOutput) 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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.

func (FilterOutput) Gtp

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

func (FilterOutput) Ha

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

func (FilterOutput) Ipsec

func (o FilterOutput) Ipsec() pulumi.StringOutput

Enable/disable IPsec negotiation messages logging. Valid values: `enable`, `disable`.

func (FilterOutput) LdbMonitor

func (o FilterOutput) LdbMonitor() pulumi.StringOutput

Enable/disable VIP real server health monitoring logging. Valid values: `enable`, `disable`.

func (FilterOutput) LocalTraffic

func (o FilterOutput) LocalTraffic() pulumi.StringOutput

Enable/disable local in or out traffic logging. Valid values: `enable`, `disable`.

func (FilterOutput) MulticastTraffic

func (o FilterOutput) MulticastTraffic() pulumi.StringOutput

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

func (FilterOutput) NetscanDiscovery

func (o FilterOutput) NetscanDiscovery() pulumi.StringOutput

Enable/disable netscan discovery event logging.

func (FilterOutput) NetscanVulnerability

func (o FilterOutput) NetscanVulnerability() pulumi.StringOutput

Enable/disable netscan vulnerability event logging.

func (FilterOutput) Pattern

func (o FilterOutput) Pattern() pulumi.StringOutput

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

func (FilterOutput) Ppp

Enable/disable L2TP/PPTP/PPPoE logging. Valid values: `enable`, `disable`.

func (FilterOutput) Radius

func (o FilterOutput) Radius() pulumi.StringOutput

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

func (FilterOutput) Severity

func (o FilterOutput) Severity() pulumi.StringOutput

Log to disk every message above and including this severity level. Valid values: `emergency`, `alert`, `critical`, `error`, `warning`, `notification`, `information`, `debug`.

func (FilterOutput) SnifferTraffic

func (o FilterOutput) SnifferTraffic() pulumi.StringOutput

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

func (FilterOutput) Ssh

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

func (FilterOutput) SslvpnLogAdm

func (o FilterOutput) SslvpnLogAdm() pulumi.StringOutput

Enable/disable SSL administrator login logging. Valid values: `enable`, `disable`.

func (FilterOutput) SslvpnLogAuth

func (o FilterOutput) SslvpnLogAuth() pulumi.StringOutput

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

func (FilterOutput) SslvpnLogSession

func (o FilterOutput) SslvpnLogSession() pulumi.StringOutput

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

func (FilterOutput) System

func (o FilterOutput) System() pulumi.StringOutput

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

func (FilterOutput) ToFilterOutput

func (o FilterOutput) ToFilterOutput() FilterOutput

func (FilterOutput) ToFilterOutputWithContext

func (o FilterOutput) ToFilterOutputWithContext(ctx context.Context) FilterOutput

func (FilterOutput) Vdomparam

func (o FilterOutput) Vdomparam() pulumi.StringOutput

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 (FilterOutput) VipSsl

func (o FilterOutput) VipSsl() pulumi.StringOutput

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

func (FilterOutput) Voip

func (o FilterOutput) Voip() pulumi.StringOutput

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

func (FilterOutput) WanOpt

func (o FilterOutput) WanOpt() pulumi.StringOutput

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

func (FilterOutput) WirelessActivity

func (o FilterOutput) WirelessActivity() pulumi.StringOutput

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

func (FilterOutput) ZtnaTraffic

func (o FilterOutput) ZtnaTraffic() pulumi.StringOutput

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

type FilterState

type FilterState struct {
	// Enable/disable admin login/logout logging. Valid values: `enable`, `disable`.
	Admin pulumi.StringPtrInput
	// Enable/disable anomaly logging. Valid values: `enable`, `disable`.
	Anomaly pulumi.StringPtrInput
	// Enable/disable firewall authentication logging. Valid values: `enable`, `disable`.
	Auth pulumi.StringPtrInput
	// Enable/disable CPU & memory usage logging every 5 minutes. Valid values: `enable`, `disable`.
	CpuMemoryUsage pulumi.StringPtrInput
	// Enable/disable DHCP service messages logging. Valid values: `enable`, `disable`.
	Dhcp pulumi.StringPtrInput
	// Enable/disable DLP archive logging. Valid values: `enable`, `disable`.
	DlpArchive pulumi.StringPtrInput
	// Enable/disable detailed DNS event logging. Valid values: `enable`, `disable`.
	Dns 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 event logging. Valid values: `enable`, `disable`.
	Event pulumi.StringPtrInput
	// Disk log filter.
	Filter pulumi.StringPtrInput
	// Include/exclude logs that match the filter. Valid values: `include`, `exclude`.
	FilterType pulumi.StringPtrInput
	// Enable/disable Forti-Switch logging. Valid values: `enable`, `disable`.
	FortiSwitch pulumi.StringPtrInput
	// Enable/disable forward traffic logging. Valid values: `enable`, `disable`.
	ForwardTraffic pulumi.StringPtrInput
	// Free Style Filters The structure of `freeStyle` block is documented below.
	FreeStyles FilterFreeStyleArrayInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 GTP messages logging. Valid values: `enable`, `disable`.
	Gtp pulumi.StringPtrInput
	// Enable/disable HA logging. Valid values: `enable`, `disable`.
	Ha pulumi.StringPtrInput
	// Enable/disable IPsec negotiation messages logging. Valid values: `enable`, `disable`.
	Ipsec pulumi.StringPtrInput
	// Enable/disable VIP real server health monitoring logging. Valid values: `enable`, `disable`.
	LdbMonitor pulumi.StringPtrInput
	// Enable/disable local in or out traffic logging. Valid values: `enable`, `disable`.
	LocalTraffic pulumi.StringPtrInput
	// Enable/disable multicast traffic logging. Valid values: `enable`, `disable`.
	MulticastTraffic pulumi.StringPtrInput
	// Enable/disable netscan discovery event logging.
	NetscanDiscovery pulumi.StringPtrInput
	// Enable/disable netscan vulnerability event logging.
	NetscanVulnerability pulumi.StringPtrInput
	// Enable/disable pattern update logging. Valid values: `enable`, `disable`.
	Pattern pulumi.StringPtrInput
	// Enable/disable L2TP/PPTP/PPPoE logging. Valid values: `enable`, `disable`.
	Ppp pulumi.StringPtrInput
	// Enable/disable RADIUS messages logging. Valid values: `enable`, `disable`.
	Radius pulumi.StringPtrInput
	// Log to disk every message above and including this severity level. Valid values: `emergency`, `alert`, `critical`, `error`, `warning`, `notification`, `information`, `debug`.
	Severity pulumi.StringPtrInput
	// Enable/disable sniffer traffic logging. Valid values: `enable`, `disable`.
	SnifferTraffic pulumi.StringPtrInput
	// Enable/disable SSH logging. Valid values: `enable`, `disable`.
	Ssh pulumi.StringPtrInput
	// Enable/disable SSL administrator login logging. Valid values: `enable`, `disable`.
	SslvpnLogAdm pulumi.StringPtrInput
	// Enable/disable SSL user authentication logging. Valid values: `enable`, `disable`.
	SslvpnLogAuth pulumi.StringPtrInput
	// Enable/disable SSL session logging. Valid values: `enable`, `disable`.
	SslvpnLogSession pulumi.StringPtrInput
	// Enable/disable system activity logging. Valid values: `enable`, `disable`.
	System 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 VIP SSL logging. Valid values: `enable`, `disable`.
	VipSsl pulumi.StringPtrInput
	// Enable/disable VoIP logging. Valid values: `enable`, `disable`.
	Voip pulumi.StringPtrInput
	// Enable/disable WAN optimization event logging. Valid values: `enable`, `disable`.
	WanOpt pulumi.StringPtrInput
	// Enable/disable wireless activity event logging. Valid values: `enable`, `disable`.
	WirelessActivity pulumi.StringPtrInput
	// Enable/disable ztna traffic logging. Valid values: `enable`, `disable`.
	ZtnaTraffic pulumi.StringPtrInput
}

func (FilterState) ElementType

func (FilterState) ElementType() reflect.Type

type Setting

type Setting struct {
	pulumi.CustomResourceState

	// Action to take when disk is full. The system can overwrite the oldest log messages or stop logging when the disk is full (default = overwrite). Valid values: `overwrite`, `nolog`.
	Diskfull pulumi.StringOutput `pulumi:"diskfull"`
	// DLP archive quota (MB).
	DlpArchiveQuota pulumi.IntOutput `pulumi:"dlpArchiveQuota"`
	// Log full final warning threshold as a percent (3 - 100, default = 95).
	FullFinalWarningThreshold pulumi.IntOutput `pulumi:"fullFinalWarningThreshold"`
	// Log full first warning threshold as a percent (1 - 98, default = 75).
	FullFirstWarningThreshold pulumi.IntOutput `pulumi:"fullFirstWarningThreshold"`
	// Log full second warning threshold as a percent (2 - 99, default = 90).
	FullSecondWarningThreshold pulumi.IntOutput `pulumi:"fullSecondWarningThreshold"`
	// Specify outgoing interface to reach server.
	Interface pulumi.StringOutput `pulumi:"interface"`
	// Specify how to select outgoing interface to reach server. Valid values: `auto`, `sdwan`, `specify`.
	InterfaceSelectMethod pulumi.StringOutput `pulumi:"interfaceSelectMethod"`
	// Enable/disable IPS packet archiving to the local disk. Valid values: `enable`, `disable`.
	IpsArchive pulumi.StringOutput `pulumi:"ipsArchive"`
	// Disk log quota (MB).
	LogQuota pulumi.IntOutput `pulumi:"logQuota"`
	// Maximum log file size before rolling (1 - 100 Mbytes).
	MaxLogFileSize pulumi.IntOutput `pulumi:"maxLogFileSize"`
	// Maximum size of policy sniffer in MB (0 means unlimited).
	MaxPolicyPacketCaptureSize pulumi.IntOutput `pulumi:"maxPolicyPacketCaptureSize"`
	// Delete log files older than (days).
	MaximumLogAge pulumi.IntOutput `pulumi:"maximumLogAge"`
	// Report db quota (MB).
	ReportQuota pulumi.IntOutput `pulumi:"reportQuota"`
	// Day of week on which to roll log file. Valid values: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
	RollDay pulumi.StringOutput `pulumi:"rollDay"`
	// Frequency to check log file for rolling. Valid values: `daily`, `weekly`.
	RollSchedule pulumi.StringOutput `pulumi:"rollSchedule"`
	// Time of day to roll the log file (hh:mm).
	RollTime pulumi.StringOutput `pulumi:"rollTime"`
	// Source IP address to use for uploading disk log files.
	SourceIp pulumi.StringOutput `pulumi:"sourceIp"`
	// Enable/disable local disk logging. Valid values: `enable`, `disable`.
	Status pulumi.StringOutput `pulumi:"status"`
	// Enable/disable uploading log files when they are rolled. Valid values: `enable`, `disable`.
	Upload pulumi.StringOutput `pulumi:"upload"`
	// Delete log files after uploading (default = enable). Valid values: `enable`, `disable`.
	UploadDeleteFiles pulumi.StringOutput `pulumi:"uploadDeleteFiles"`
	// The type of server to upload log files to. Only FTP is currently supported. Valid values: `ftp-server`.
	UploadDestination pulumi.StringOutput `pulumi:"uploadDestination"`
	// Enable/disable encrypted FTPS communication to upload log files. Valid values: `default`, `high`, `low`, `disable`.
	UploadSslConn pulumi.StringOutput `pulumi:"uploadSslConn"`
	// The remote directory on the FTP server to upload log files to.
	Uploaddir pulumi.StringOutput `pulumi:"uploaddir"`
	// IP address of the FTP server to upload log files to.
	Uploadip pulumi.StringOutput `pulumi:"uploadip"`
	// Password required to log into the FTP server to upload disk log files.
	Uploadpass pulumi.StringPtrOutput `pulumi:"uploadpass"`
	// TCP port to use for communicating with the FTP server (default = 21).
	Uploadport pulumi.IntOutput `pulumi:"uploadport"`
	// Set the schedule for uploading log files to the FTP server (default = disable = upload when rolling). Valid values: `disable`, `enable`.
	Uploadsched pulumi.StringOutput `pulumi:"uploadsched"`
	// Time of day at which log files are uploaded if uploadsched is enabled (hh:mm or hh).
	Uploadtime pulumi.StringOutput `pulumi:"uploadtime"`
	// Types of log files to upload. Separate multiple entries with a space.
	Uploadtype pulumi.StringOutput `pulumi:"uploadtype"`
	// Username required to log into the FTP server to upload disk log files.
	Uploaduser pulumi.StringOutput `pulumi:"uploaduser"`
	// 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.StringOutput `pulumi:"vdomparam"`
}

Settings for local disk logging.

## Example Usage

```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{
			Diskfull:                   pulumi.String("overwrite"),
			DlpArchiveQuota:            pulumi.Int(0),
			FullFinalWarningThreshold:  pulumi.Int(95),
			FullFirstWarningThreshold:  pulumi.Int(75),
			FullSecondWarningThreshold: pulumi.Int(90),
			IpsArchive:                 pulumi.String("enable"),
			LogQuota:                   pulumi.Int(0),
			MaxLogFileSize:             pulumi.Int(20),
			MaxPolicyPacketCaptureSize: pulumi.Int(100),
			MaximumLogAge:              pulumi.Int(7),
			ReportQuota:                pulumi.Int(0),
			RollDay:                    pulumi.String("sunday"),
			RollSchedule:               pulumi.String("daily"),
			RollTime:                   pulumi.String("00:00"),
			SourceIp:                   pulumi.String("0.0.0.0"),
			Status:                     pulumi.String("enable"),
			Upload:                     pulumi.String("disable"),
			UploadDeleteFiles:          pulumi.String("enable"),
			UploadDestination:          pulumi.String("ftp-server"),
			UploadSslConn:              pulumi.String("default"),
			Uploadip:                   pulumi.String("0.0.0.0"),
			Uploadport:                 pulumi.Int(21),
			Uploadsched:                pulumi.String("disable"),
			Uploadtime:                 pulumi.String("00:00"),
			Uploadtype:                 pulumi.String("traffic event virus webfilter IPS spamfilter dlp-archive anomaly voip dlp app-ctrl waf netscan gtp dns"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

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

$ 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 {
	// Action to take when disk is full. The system can overwrite the oldest log messages or stop logging when the disk is full (default = overwrite). Valid values: `overwrite`, `nolog`.
	Diskfull pulumi.StringPtrInput
	// DLP archive quota (MB).
	DlpArchiveQuota pulumi.IntPtrInput
	// Log full final warning threshold as a percent (3 - 100, default = 95).
	FullFinalWarningThreshold pulumi.IntPtrInput
	// Log full first warning threshold as a percent (1 - 98, default = 75).
	FullFirstWarningThreshold pulumi.IntPtrInput
	// Log full second warning threshold as a percent (2 - 99, default = 90).
	FullSecondWarningThreshold pulumi.IntPtrInput
	// Specify outgoing interface to reach server.
	Interface pulumi.StringPtrInput
	// Specify how to select outgoing interface to reach server. Valid values: `auto`, `sdwan`, `specify`.
	InterfaceSelectMethod pulumi.StringPtrInput
	// Enable/disable IPS packet archiving to the local disk. Valid values: `enable`, `disable`.
	IpsArchive pulumi.StringPtrInput
	// Disk log quota (MB).
	LogQuota pulumi.IntPtrInput
	// Maximum log file size before rolling (1 - 100 Mbytes).
	MaxLogFileSize pulumi.IntPtrInput
	// Maximum size of policy sniffer in MB (0 means unlimited).
	MaxPolicyPacketCaptureSize pulumi.IntPtrInput
	// Delete log files older than (days).
	MaximumLogAge pulumi.IntPtrInput
	// Report db quota (MB).
	ReportQuota pulumi.IntPtrInput
	// Day of week on which to roll log file. Valid values: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
	RollDay pulumi.StringPtrInput
	// Frequency to check log file for rolling. Valid values: `daily`, `weekly`.
	RollSchedule pulumi.StringPtrInput
	// Time of day to roll the log file (hh:mm).
	RollTime pulumi.StringPtrInput
	// Source IP address to use for uploading disk log files.
	SourceIp pulumi.StringPtrInput
	// Enable/disable local disk logging. Valid values: `enable`, `disable`.
	Status pulumi.StringInput
	// Enable/disable uploading log files when they are rolled. Valid values: `enable`, `disable`.
	Upload pulumi.StringPtrInput
	// Delete log files after uploading (default = enable). Valid values: `enable`, `disable`.
	UploadDeleteFiles pulumi.StringPtrInput
	// The type of server to upload log files to. Only FTP is currently supported. Valid values: `ftp-server`.
	UploadDestination pulumi.StringPtrInput
	// Enable/disable encrypted FTPS communication to upload log files. Valid values: `default`, `high`, `low`, `disable`.
	UploadSslConn pulumi.StringPtrInput
	// The remote directory on the FTP server to upload log files to.
	Uploaddir pulumi.StringPtrInput
	// IP address of the FTP server to upload log files to.
	Uploadip pulumi.StringPtrInput
	// Password required to log into the FTP server to upload disk log files.
	Uploadpass pulumi.StringPtrInput
	// TCP port to use for communicating with the FTP server (default = 21).
	Uploadport pulumi.IntPtrInput
	// Set the schedule for uploading log files to the FTP server (default = disable = upload when rolling). Valid values: `disable`, `enable`.
	Uploadsched pulumi.StringPtrInput
	// Time of day at which log files are uploaded if uploadsched is enabled (hh:mm or hh).
	Uploadtime pulumi.StringPtrInput
	// Types of log files to upload. Separate multiple entries with a space.
	Uploadtype pulumi.StringPtrInput
	// Username required to log into the FTP server to upload disk log files.
	Uploaduser 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 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) Diskfull

func (o SettingOutput) Diskfull() pulumi.StringOutput

Action to take when disk is full. The system can overwrite the oldest log messages or stop logging when the disk is full (default = overwrite). Valid values: `overwrite`, `nolog`.

func (SettingOutput) DlpArchiveQuota

func (o SettingOutput) DlpArchiveQuota() pulumi.IntOutput

DLP archive quota (MB).

func (SettingOutput) ElementType

func (SettingOutput) ElementType() reflect.Type

func (SettingOutput) FullFinalWarningThreshold

func (o SettingOutput) FullFinalWarningThreshold() pulumi.IntOutput

Log full final warning threshold as a percent (3 - 100, default = 95).

func (SettingOutput) FullFirstWarningThreshold

func (o SettingOutput) FullFirstWarningThreshold() pulumi.IntOutput

Log full first warning threshold as a percent (1 - 98, default = 75).

func (SettingOutput) FullSecondWarningThreshold

func (o SettingOutput) FullSecondWarningThreshold() pulumi.IntOutput

Log full second warning threshold as a percent (2 - 99, default = 90).

func (SettingOutput) Interface

func (o SettingOutput) Interface() pulumi.StringOutput

Specify outgoing interface to reach server.

func (SettingOutput) InterfaceSelectMethod

func (o SettingOutput) InterfaceSelectMethod() pulumi.StringOutput

Specify how to select outgoing interface to reach server. Valid values: `auto`, `sdwan`, `specify`.

func (SettingOutput) IpsArchive

func (o SettingOutput) IpsArchive() pulumi.StringOutput

Enable/disable IPS packet archiving to the local disk. Valid values: `enable`, `disable`.

func (SettingOutput) LogQuota

func (o SettingOutput) LogQuota() pulumi.IntOutput

Disk log quota (MB).

func (SettingOutput) MaxLogFileSize

func (o SettingOutput) MaxLogFileSize() pulumi.IntOutput

Maximum log file size before rolling (1 - 100 Mbytes).

func (SettingOutput) MaxPolicyPacketCaptureSize

func (o SettingOutput) MaxPolicyPacketCaptureSize() pulumi.IntOutput

Maximum size of policy sniffer in MB (0 means unlimited).

func (SettingOutput) MaximumLogAge

func (o SettingOutput) MaximumLogAge() pulumi.IntOutput

Delete log files older than (days).

func (SettingOutput) ReportQuota

func (o SettingOutput) ReportQuota() pulumi.IntOutput

Report db quota (MB).

func (SettingOutput) RollDay

func (o SettingOutput) RollDay() pulumi.StringOutput

Day of week on which to roll log file. Valid values: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.

func (SettingOutput) RollSchedule

func (o SettingOutput) RollSchedule() pulumi.StringOutput

Frequency to check log file for rolling. Valid values: `daily`, `weekly`.

func (SettingOutput) RollTime

func (o SettingOutput) RollTime() pulumi.StringOutput

Time of day to roll the log file (hh:mm).

func (SettingOutput) SourceIp

func (o SettingOutput) SourceIp() pulumi.StringOutput

Source IP address to use for uploading disk log files.

func (SettingOutput) Status

func (o SettingOutput) Status() pulumi.StringOutput

Enable/disable local disk logging. 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) Upload

func (o SettingOutput) Upload() pulumi.StringOutput

Enable/disable uploading log files when they are rolled. Valid values: `enable`, `disable`.

func (SettingOutput) UploadDeleteFiles

func (o SettingOutput) UploadDeleteFiles() pulumi.StringOutput

Delete log files after uploading (default = enable). Valid values: `enable`, `disable`.

func (SettingOutput) UploadDestination

func (o SettingOutput) UploadDestination() pulumi.StringOutput

The type of server to upload log files to. Only FTP is currently supported. Valid values: `ftp-server`.

func (SettingOutput) UploadSslConn

func (o SettingOutput) UploadSslConn() pulumi.StringOutput

Enable/disable encrypted FTPS communication to upload log files. Valid values: `default`, `high`, `low`, `disable`.

func (SettingOutput) Uploaddir

func (o SettingOutput) Uploaddir() pulumi.StringOutput

The remote directory on the FTP server to upload log files to.

func (SettingOutput) Uploadip

func (o SettingOutput) Uploadip() pulumi.StringOutput

IP address of the FTP server to upload log files to.

func (SettingOutput) Uploadpass

func (o SettingOutput) Uploadpass() pulumi.StringPtrOutput

Password required to log into the FTP server to upload disk log files.

func (SettingOutput) Uploadport

func (o SettingOutput) Uploadport() pulumi.IntOutput

TCP port to use for communicating with the FTP server (default = 21).

func (SettingOutput) Uploadsched

func (o SettingOutput) Uploadsched() pulumi.StringOutput

Set the schedule for uploading log files to the FTP server (default = disable = upload when rolling). Valid values: `disable`, `enable`.

func (SettingOutput) Uploadtime

func (o SettingOutput) Uploadtime() pulumi.StringOutput

Time of day at which log files are uploaded if uploadsched is enabled (hh:mm or hh).

func (SettingOutput) Uploadtype

func (o SettingOutput) Uploadtype() pulumi.StringOutput

Types of log files to upload. Separate multiple entries with a space.

func (SettingOutput) Uploaduser

func (o SettingOutput) Uploaduser() pulumi.StringOutput

Username required to log into the FTP server to upload disk log files.

func (SettingOutput) Vdomparam

func (o SettingOutput) Vdomparam() pulumi.StringOutput

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 {
	// Action to take when disk is full. The system can overwrite the oldest log messages or stop logging when the disk is full (default = overwrite). Valid values: `overwrite`, `nolog`.
	Diskfull pulumi.StringPtrInput
	// DLP archive quota (MB).
	DlpArchiveQuota pulumi.IntPtrInput
	// Log full final warning threshold as a percent (3 - 100, default = 95).
	FullFinalWarningThreshold pulumi.IntPtrInput
	// Log full first warning threshold as a percent (1 - 98, default = 75).
	FullFirstWarningThreshold pulumi.IntPtrInput
	// Log full second warning threshold as a percent (2 - 99, default = 90).
	FullSecondWarningThreshold pulumi.IntPtrInput
	// Specify outgoing interface to reach server.
	Interface pulumi.StringPtrInput
	// Specify how to select outgoing interface to reach server. Valid values: `auto`, `sdwan`, `specify`.
	InterfaceSelectMethod pulumi.StringPtrInput
	// Enable/disable IPS packet archiving to the local disk. Valid values: `enable`, `disable`.
	IpsArchive pulumi.StringPtrInput
	// Disk log quota (MB).
	LogQuota pulumi.IntPtrInput
	// Maximum log file size before rolling (1 - 100 Mbytes).
	MaxLogFileSize pulumi.IntPtrInput
	// Maximum size of policy sniffer in MB (0 means unlimited).
	MaxPolicyPacketCaptureSize pulumi.IntPtrInput
	// Delete log files older than (days).
	MaximumLogAge pulumi.IntPtrInput
	// Report db quota (MB).
	ReportQuota pulumi.IntPtrInput
	// Day of week on which to roll log file. Valid values: `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
	RollDay pulumi.StringPtrInput
	// Frequency to check log file for rolling. Valid values: `daily`, `weekly`.
	RollSchedule pulumi.StringPtrInput
	// Time of day to roll the log file (hh:mm).
	RollTime pulumi.StringPtrInput
	// Source IP address to use for uploading disk log files.
	SourceIp pulumi.StringPtrInput
	// Enable/disable local disk logging. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput
	// Enable/disable uploading log files when they are rolled. Valid values: `enable`, `disable`.
	Upload pulumi.StringPtrInput
	// Delete log files after uploading (default = enable). Valid values: `enable`, `disable`.
	UploadDeleteFiles pulumi.StringPtrInput
	// The type of server to upload log files to. Only FTP is currently supported. Valid values: `ftp-server`.
	UploadDestination pulumi.StringPtrInput
	// Enable/disable encrypted FTPS communication to upload log files. Valid values: `default`, `high`, `low`, `disable`.
	UploadSslConn pulumi.StringPtrInput
	// The remote directory on the FTP server to upload log files to.
	Uploaddir pulumi.StringPtrInput
	// IP address of the FTP server to upload log files to.
	Uploadip pulumi.StringPtrInput
	// Password required to log into the FTP server to upload disk log files.
	Uploadpass pulumi.StringPtrInput
	// TCP port to use for communicating with the FTP server (default = 21).
	Uploadport pulumi.IntPtrInput
	// Set the schedule for uploading log files to the FTP server (default = disable = upload when rolling). Valid values: `disable`, `enable`.
	Uploadsched pulumi.StringPtrInput
	// Time of day at which log files are uploaded if uploadsched is enabled (hh:mm or hh).
	Uploadtime pulumi.StringPtrInput
	// Types of log files to upload. Separate multiple entries with a space.
	Uploadtype pulumi.StringPtrInput
	// Username required to log into the FTP server to upload disk log files.
	Uploaduser 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

Jump to

Keyboard shortcuts

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