1. Packages
  2. Fortios
  3. API Docs
  4. log
  5. log/disk
  6. Setting
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.log/disk.Setting

Explore with Pulumi AI

Settings for local disk logging.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";

const trname = new fortios.log.disk.Setting("trname", {
    diskfull: "overwrite",
    dlpArchiveQuota: 0,
    fullFinalWarningThreshold: 95,
    fullFirstWarningThreshold: 75,
    fullSecondWarningThreshold: 90,
    ipsArchive: "enable",
    logQuota: 0,
    maxLogFileSize: 20,
    maxPolicyPacketCaptureSize: 100,
    maximumLogAge: 7,
    reportQuota: 0,
    rollDay: "sunday",
    rollSchedule: "daily",
    rollTime: "00:00",
    sourceIp: "0.0.0.0",
    status: "enable",
    upload: "disable",
    uploadDeleteFiles: "enable",
    uploadDestination: "ftp-server",
    uploadSslConn: "default",
    uploadip: "0.0.0.0",
    uploadport: 21,
    uploadsched: "disable",
    uploadtime: "00:00",
    uploadtype: "traffic event virus webfilter IPS spamfilter dlp-archive anomaly voip dlp app-ctrl waf netscan gtp dns",
});
Copy
import pulumi
import pulumiverse_fortios as fortios

trname = fortios.log.disk.Setting("trname",
    diskfull="overwrite",
    dlp_archive_quota=0,
    full_final_warning_threshold=95,
    full_first_warning_threshold=75,
    full_second_warning_threshold=90,
    ips_archive="enable",
    log_quota=0,
    max_log_file_size=20,
    max_policy_packet_capture_size=100,
    maximum_log_age=7,
    report_quota=0,
    roll_day="sunday",
    roll_schedule="daily",
    roll_time="00:00",
    source_ip="0.0.0.0",
    status="enable",
    upload="disable",
    upload_delete_files="enable",
    upload_destination="ftp-server",
    upload_ssl_conn="default",
    uploadip="0.0.0.0",
    uploadport=21,
    uploadsched="disable",
    uploadtime="00:00",
    uploadtype="traffic event virus webfilter IPS spamfilter dlp-archive anomaly voip dlp app-ctrl waf netscan gtp dns")
Copy
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
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortios.Log.Disk.Setting("trname", new()
    {
        Diskfull = "overwrite",
        DlpArchiveQuota = 0,
        FullFinalWarningThreshold = 95,
        FullFirstWarningThreshold = 75,
        FullSecondWarningThreshold = 90,
        IpsArchive = "enable",
        LogQuota = 0,
        MaxLogFileSize = 20,
        MaxPolicyPacketCaptureSize = 100,
        MaximumLogAge = 7,
        ReportQuota = 0,
        RollDay = "sunday",
        RollSchedule = "daily",
        RollTime = "00:00",
        SourceIp = "0.0.0.0",
        Status = "enable",
        Upload = "disable",
        UploadDeleteFiles = "enable",
        UploadDestination = "ftp-server",
        UploadSslConn = "default",
        Uploadip = "0.0.0.0",
        Uploadport = 21,
        Uploadsched = "disable",
        Uploadtime = "00:00",
        Uploadtype = "traffic event virus webfilter IPS spamfilter dlp-archive anomaly voip dlp app-ctrl waf netscan gtp dns",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.log.Setting;
import com.pulumi.fortios.log.SettingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var trname = new Setting("trname", SettingArgs.builder()
            .diskfull("overwrite")
            .dlpArchiveQuota(0)
            .fullFinalWarningThreshold(95)
            .fullFirstWarningThreshold(75)
            .fullSecondWarningThreshold(90)
            .ipsArchive("enable")
            .logQuota(0)
            .maxLogFileSize(20)
            .maxPolicyPacketCaptureSize(100)
            .maximumLogAge(7)
            .reportQuota(0)
            .rollDay("sunday")
            .rollSchedule("daily")
            .rollTime("00:00")
            .sourceIp("0.0.0.0")
            .status("enable")
            .upload("disable")
            .uploadDeleteFiles("enable")
            .uploadDestination("ftp-server")
            .uploadSslConn("default")
            .uploadip("0.0.0.0")
            .uploadport(21)
            .uploadsched("disable")
            .uploadtime("00:00")
            .uploadtype("traffic event virus webfilter IPS spamfilter dlp-archive anomaly voip dlp app-ctrl waf netscan gtp dns")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortios:log/disk:Setting
    properties:
      diskfull: overwrite
      dlpArchiveQuota: 0
      fullFinalWarningThreshold: 95
      fullFirstWarningThreshold: 75
      fullSecondWarningThreshold: 90
      ipsArchive: enable
      logQuota: 0
      maxLogFileSize: 20
      maxPolicyPacketCaptureSize: 100
      maximumLogAge: 7
      reportQuota: 0
      rollDay: sunday
      rollSchedule: daily
      rollTime: 00:00
      sourceIp: 0.0.0.0
      status: enable
      upload: disable
      uploadDeleteFiles: enable
      uploadDestination: ftp-server
      uploadSslConn: default
      uploadip: 0.0.0.0
      uploadport: 21
      uploadsched: disable
      uploadtime: 00:00
      uploadtype: traffic event virus webfilter IPS spamfilter dlp-archive anomaly voip dlp app-ctrl waf netscan gtp dns
Copy

Create Setting Resource

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

Constructor syntax

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

@overload
def Setting(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            status: Optional[str] = None,
            roll_schedule: Optional[str] = None,
            upload_ssl_conn: Optional[str] = None,
            full_first_warning_threshold: Optional[int] = None,
            full_second_warning_threshold: Optional[int] = None,
            interface: Optional[str] = None,
            interface_select_method: Optional[str] = None,
            ips_archive: Optional[str] = None,
            log_quota: Optional[int] = None,
            max_log_file_size: Optional[int] = None,
            max_policy_packet_capture_size: Optional[int] = None,
            maximum_log_age: Optional[int] = None,
            report_quota: Optional[int] = None,
            roll_day: Optional[str] = None,
            diskfull: Optional[str] = None,
            full_final_warning_threshold: Optional[int] = None,
            roll_time: Optional[str] = None,
            uploadip: Optional[str] = None,
            upload: Optional[str] = None,
            upload_delete_files: Optional[str] = None,
            upload_destination: Optional[str] = None,
            source_ip: Optional[str] = None,
            uploaddir: Optional[str] = None,
            dlp_archive_quota: Optional[int] = None,
            uploadpass: Optional[str] = None,
            uploadport: Optional[int] = None,
            uploadsched: Optional[str] = None,
            uploadtime: Optional[str] = None,
            uploadtype: Optional[str] = None,
            uploaduser: Optional[str] = None,
            vdomparam: Optional[str] = None)
func NewSetting(ctx *Context, name string, args SettingArgs, opts ...ResourceOption) (*Setting, error)
public Setting(string name, SettingArgs args, CustomResourceOptions? opts = null)
public Setting(String name, SettingArgs args)
public Setting(String name, SettingArgs args, CustomResourceOptions options)
type: fortios:log/disk/setting:Setting
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SettingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SettingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SettingArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Setting Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Setting resource accepts the following input properties:

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

Outputs

All input properties are implicitly available as output properties. Additionally, the Setting resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing Setting Resource

Get an existing Setting resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SettingState, opts?: CustomResourceOptions): Setting
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        diskfull: Optional[str] = None,
        dlp_archive_quota: Optional[int] = None,
        full_final_warning_threshold: Optional[int] = None,
        full_first_warning_threshold: Optional[int] = None,
        full_second_warning_threshold: Optional[int] = None,
        interface: Optional[str] = None,
        interface_select_method: Optional[str] = None,
        ips_archive: Optional[str] = None,
        log_quota: Optional[int] = None,
        max_log_file_size: Optional[int] = None,
        max_policy_packet_capture_size: Optional[int] = None,
        maximum_log_age: Optional[int] = None,
        report_quota: Optional[int] = None,
        roll_day: Optional[str] = None,
        roll_schedule: Optional[str] = None,
        roll_time: Optional[str] = None,
        source_ip: Optional[str] = None,
        status: Optional[str] = None,
        upload: Optional[str] = None,
        upload_delete_files: Optional[str] = None,
        upload_destination: Optional[str] = None,
        upload_ssl_conn: Optional[str] = None,
        uploaddir: Optional[str] = None,
        uploadip: Optional[str] = None,
        uploadpass: Optional[str] = None,
        uploadport: Optional[int] = None,
        uploadsched: Optional[str] = None,
        uploadtime: Optional[str] = None,
        uploadtype: Optional[str] = None,
        uploaduser: Optional[str] = None,
        vdomparam: Optional[str] = None) -> Setting
func GetSetting(ctx *Context, name string, id IDInput, state *SettingState, opts ...ResourceOption) (*Setting, error)
public static Setting Get(string name, Input<string> id, SettingState? state, CustomResourceOptions? opts = null)
public static Setting get(String name, Output<String> id, SettingState state, CustomResourceOptions options)
resources:  _:    type: fortios:log/disk/setting:Setting    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Diskfull string
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.
DlpArchiveQuota int
DLP archive quota (MB).
FullFinalWarningThreshold int
Log full final warning threshold as a percent (3 - 100, default = 95).
FullFirstWarningThreshold int
Log full first warning threshold as a percent (1 - 98, default = 75).
FullSecondWarningThreshold int
Log full second warning threshold as a percent (2 - 99, default = 90).
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
IpsArchive string
Enable/disable IPS packet archiving to the local disk. Valid values: enable, disable.
LogQuota int
Disk log quota (MB).
MaxLogFileSize int
Maximum log file size before rolling (1 - 100 Mbytes).
MaxPolicyPacketCaptureSize int
Maximum size of policy sniffer in MB (0 means unlimited).
MaximumLogAge int
Delete log files older than (days).
ReportQuota int
Report db quota (MB).
RollDay string
Day of week on which to roll log file. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
RollSchedule string
Frequency to check log file for rolling. Valid values: daily, weekly.
RollTime string
Time of day to roll the log file (hh:mm).
SourceIp string
Source IP address to use for uploading disk log files.
Status string
Enable/disable local disk logging. Valid values: enable, disable.
Upload string
Enable/disable uploading log files when they are rolled. Valid values: enable, disable.
UploadDeleteFiles string
Delete log files after uploading (default = enable). Valid values: enable, disable.
UploadDestination string
The type of server to upload log files to. Only FTP is currently supported. Valid values: ftp-server.
UploadSslConn string
Enable/disable encrypted FTPS communication to upload log files. Valid values: default, high, low, disable.
Uploaddir string
The remote directory on the FTP server to upload log files to.
Uploadip string
IP address of the FTP server to upload log files to.
Uploadpass string
Password required to log into the FTP server to upload disk log files.
Uploadport int
TCP port to use for communicating with the FTP server (default = 21).
Uploadsched string
Set the schedule for uploading log files to the FTP server (default = disable = upload when rolling). Valid values: disable, enable.
Uploadtime string
Time of day at which log files are uploaded if uploadsched is enabled (hh:mm or hh).
Uploadtype string
Types of log files to upload. Separate multiple entries with a space.
Uploaduser string
Username required to log into the FTP server to upload disk log files.
Vdomparam Changes to this property will trigger replacement. string
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.
Diskfull string
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.
DlpArchiveQuota int
DLP archive quota (MB).
FullFinalWarningThreshold int
Log full final warning threshold as a percent (3 - 100, default = 95).
FullFirstWarningThreshold int
Log full first warning threshold as a percent (1 - 98, default = 75).
FullSecondWarningThreshold int
Log full second warning threshold as a percent (2 - 99, default = 90).
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
IpsArchive string
Enable/disable IPS packet archiving to the local disk. Valid values: enable, disable.
LogQuota int
Disk log quota (MB).
MaxLogFileSize int
Maximum log file size before rolling (1 - 100 Mbytes).
MaxPolicyPacketCaptureSize int
Maximum size of policy sniffer in MB (0 means unlimited).
MaximumLogAge int
Delete log files older than (days).
ReportQuota int
Report db quota (MB).
RollDay string
Day of week on which to roll log file. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
RollSchedule string
Frequency to check log file for rolling. Valid values: daily, weekly.
RollTime string
Time of day to roll the log file (hh:mm).
SourceIp string
Source IP address to use for uploading disk log files.
Status string
Enable/disable local disk logging. Valid values: enable, disable.
Upload string
Enable/disable uploading log files when they are rolled. Valid values: enable, disable.
UploadDeleteFiles string
Delete log files after uploading (default = enable). Valid values: enable, disable.
UploadDestination string
The type of server to upload log files to. Only FTP is currently supported. Valid values: ftp-server.
UploadSslConn string
Enable/disable encrypted FTPS communication to upload log files. Valid values: default, high, low, disable.
Uploaddir string
The remote directory on the FTP server to upload log files to.
Uploadip string
IP address of the FTP server to upload log files to.
Uploadpass string
Password required to log into the FTP server to upload disk log files.
Uploadport int
TCP port to use for communicating with the FTP server (default = 21).
Uploadsched string
Set the schedule for uploading log files to the FTP server (default = disable = upload when rolling). Valid values: disable, enable.
Uploadtime string
Time of day at which log files are uploaded if uploadsched is enabled (hh:mm or hh).
Uploadtype string
Types of log files to upload. Separate multiple entries with a space.
Uploaduser string
Username required to log into the FTP server to upload disk log files.
Vdomparam Changes to this property will trigger replacement. string
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.
diskfull String
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.
dlpArchiveQuota Integer
DLP archive quota (MB).
fullFinalWarningThreshold Integer
Log full final warning threshold as a percent (3 - 100, default = 95).
fullFirstWarningThreshold Integer
Log full first warning threshold as a percent (1 - 98, default = 75).
fullSecondWarningThreshold Integer
Log full second warning threshold as a percent (2 - 99, default = 90).
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interface_ String
Specify outgoing interface to reach server.
ipsArchive String
Enable/disable IPS packet archiving to the local disk. Valid values: enable, disable.
logQuota Integer
Disk log quota (MB).
maxLogFileSize Integer
Maximum log file size before rolling (1 - 100 Mbytes).
maxPolicyPacketCaptureSize Integer
Maximum size of policy sniffer in MB (0 means unlimited).
maximumLogAge Integer
Delete log files older than (days).
reportQuota Integer
Report db quota (MB).
rollDay String
Day of week on which to roll log file. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
rollSchedule String
Frequency to check log file for rolling. Valid values: daily, weekly.
rollTime String
Time of day to roll the log file (hh:mm).
sourceIp String
Source IP address to use for uploading disk log files.
status String
Enable/disable local disk logging. Valid values: enable, disable.
upload String
Enable/disable uploading log files when they are rolled. Valid values: enable, disable.
uploadDeleteFiles String
Delete log files after uploading (default = enable). Valid values: enable, disable.
uploadDestination String
The type of server to upload log files to. Only FTP is currently supported. Valid values: ftp-server.
uploadSslConn String
Enable/disable encrypted FTPS communication to upload log files. Valid values: default, high, low, disable.
uploaddir String
The remote directory on the FTP server to upload log files to.
uploadip String
IP address of the FTP server to upload log files to.
uploadpass String
Password required to log into the FTP server to upload disk log files.
uploadport Integer
TCP port to use for communicating with the FTP server (default = 21).
uploadsched String
Set the schedule for uploading log files to the FTP server (default = disable = upload when rolling). Valid values: disable, enable.
uploadtime String
Time of day at which log files are uploaded if uploadsched is enabled (hh:mm or hh).
uploadtype String
Types of log files to upload. Separate multiple entries with a space.
uploaduser String
Username required to log into the FTP server to upload disk log files.
vdomparam Changes to this property will trigger replacement. String
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.
diskfull string
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.
dlpArchiveQuota number
DLP archive quota (MB).
fullFinalWarningThreshold number
Log full final warning threshold as a percent (3 - 100, default = 95).
fullFirstWarningThreshold number
Log full first warning threshold as a percent (1 - 98, default = 75).
fullSecondWarningThreshold number
Log full second warning threshold as a percent (2 - 99, default = 90).
interface string
Specify outgoing interface to reach server.
interfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
ipsArchive string
Enable/disable IPS packet archiving to the local disk. Valid values: enable, disable.
logQuota number
Disk log quota (MB).
maxLogFileSize number
Maximum log file size before rolling (1 - 100 Mbytes).
maxPolicyPacketCaptureSize number
Maximum size of policy sniffer in MB (0 means unlimited).
maximumLogAge number
Delete log files older than (days).
reportQuota number
Report db quota (MB).
rollDay string
Day of week on which to roll log file. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
rollSchedule string
Frequency to check log file for rolling. Valid values: daily, weekly.
rollTime string
Time of day to roll the log file (hh:mm).
sourceIp string
Source IP address to use for uploading disk log files.
status string
Enable/disable local disk logging. Valid values: enable, disable.
upload string
Enable/disable uploading log files when they are rolled. Valid values: enable, disable.
uploadDeleteFiles string
Delete log files after uploading (default = enable). Valid values: enable, disable.
uploadDestination string
The type of server to upload log files to. Only FTP is currently supported. Valid values: ftp-server.
uploadSslConn string
Enable/disable encrypted FTPS communication to upload log files. Valid values: default, high, low, disable.
uploaddir string
The remote directory on the FTP server to upload log files to.
uploadip string
IP address of the FTP server to upload log files to.
uploadpass string
Password required to log into the FTP server to upload disk log files.
uploadport number
TCP port to use for communicating with the FTP server (default = 21).
uploadsched string
Set the schedule for uploading log files to the FTP server (default = disable = upload when rolling). Valid values: disable, enable.
uploadtime string
Time of day at which log files are uploaded if uploadsched is enabled (hh:mm or hh).
uploadtype string
Types of log files to upload. Separate multiple entries with a space.
uploaduser string
Username required to log into the FTP server to upload disk log files.
vdomparam Changes to this property will trigger replacement. string
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.
diskfull str
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.
dlp_archive_quota int
DLP archive quota (MB).
full_final_warning_threshold int
Log full final warning threshold as a percent (3 - 100, default = 95).
full_first_warning_threshold int
Log full first warning threshold as a percent (1 - 98, default = 75).
full_second_warning_threshold int
Log full second warning threshold as a percent (2 - 99, default = 90).
interface str
Specify outgoing interface to reach server.
interface_select_method str
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
ips_archive str
Enable/disable IPS packet archiving to the local disk. Valid values: enable, disable.
log_quota int
Disk log quota (MB).
max_log_file_size int
Maximum log file size before rolling (1 - 100 Mbytes).
max_policy_packet_capture_size int
Maximum size of policy sniffer in MB (0 means unlimited).
maximum_log_age int
Delete log files older than (days).
report_quota int
Report db quota (MB).
roll_day str
Day of week on which to roll log file. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
roll_schedule str
Frequency to check log file for rolling. Valid values: daily, weekly.
roll_time str
Time of day to roll the log file (hh:mm).
source_ip str
Source IP address to use for uploading disk log files.
status str
Enable/disable local disk logging. Valid values: enable, disable.
upload str
Enable/disable uploading log files when they are rolled. Valid values: enable, disable.
upload_delete_files str
Delete log files after uploading (default = enable). Valid values: enable, disable.
upload_destination str
The type of server to upload log files to. Only FTP is currently supported. Valid values: ftp-server.
upload_ssl_conn str
Enable/disable encrypted FTPS communication to upload log files. Valid values: default, high, low, disable.
uploaddir str
The remote directory on the FTP server to upload log files to.
uploadip str
IP address of the FTP server to upload log files to.
uploadpass str
Password required to log into the FTP server to upload disk log files.
uploadport int
TCP port to use for communicating with the FTP server (default = 21).
uploadsched str
Set the schedule for uploading log files to the FTP server (default = disable = upload when rolling). Valid values: disable, enable.
uploadtime str
Time of day at which log files are uploaded if uploadsched is enabled (hh:mm or hh).
uploadtype str
Types of log files to upload. Separate multiple entries with a space.
uploaduser str
Username required to log into the FTP server to upload disk log files.
vdomparam Changes to this property will trigger replacement. str
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.
diskfull String
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.
dlpArchiveQuota Number
DLP archive quota (MB).
fullFinalWarningThreshold Number
Log full final warning threshold as a percent (3 - 100, default = 95).
fullFirstWarningThreshold Number
Log full first warning threshold as a percent (1 - 98, default = 75).
fullSecondWarningThreshold Number
Log full second warning threshold as a percent (2 - 99, default = 90).
interface String
Specify outgoing interface to reach server.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
ipsArchive String
Enable/disable IPS packet archiving to the local disk. Valid values: enable, disable.
logQuota Number
Disk log quota (MB).
maxLogFileSize Number
Maximum log file size before rolling (1 - 100 Mbytes).
maxPolicyPacketCaptureSize Number
Maximum size of policy sniffer in MB (0 means unlimited).
maximumLogAge Number
Delete log files older than (days).
reportQuota Number
Report db quota (MB).
rollDay String
Day of week on which to roll log file. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
rollSchedule String
Frequency to check log file for rolling. Valid values: daily, weekly.
rollTime String
Time of day to roll the log file (hh:mm).
sourceIp String
Source IP address to use for uploading disk log files.
status String
Enable/disable local disk logging. Valid values: enable, disable.
upload String
Enable/disable uploading log files when they are rolled. Valid values: enable, disable.
uploadDeleteFiles String
Delete log files after uploading (default = enable). Valid values: enable, disable.
uploadDestination String
The type of server to upload log files to. Only FTP is currently supported. Valid values: ftp-server.
uploadSslConn String
Enable/disable encrypted FTPS communication to upload log files. Valid values: default, high, low, disable.
uploaddir String
The remote directory on the FTP server to upload log files to.
uploadip String
IP address of the FTP server to upload log files to.
uploadpass String
Password required to log into the FTP server to upload disk log files.
uploadport Number
TCP port to use for communicating with the FTP server (default = 21).
uploadsched String
Set the schedule for uploading log files to the FTP server (default = disable = upload when rolling). Valid values: disable, enable.
uploadtime String
Time of day at which log files are uploaded if uploadsched is enabled (hh:mm or hh).
uploadtype String
Types of log files to upload. Separate multiple entries with a space.
uploaduser String
Username required to log into the FTP server to upload disk log files.
vdomparam Changes to this property will trigger replacement. String
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.

Import

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

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

If you do not want to import arguments of block:

$ export “FORTIOS_IMPORT_TABLE”=“false”

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

$ unset “FORTIOS_IMPORT_TABLE”

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortios pulumiverse/pulumi-fortios
License
Apache-2.0
Notes
This Pulumi package is based on the fortios Terraform Provider.