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",
});
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")
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
})
}
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",
});
});
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());
}
}
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
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,
full_first_warning_threshold: Optional[int] = None,
source_ip: Optional[str] = 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,
vdomparam: Optional[str] = None,
full_final_warning_threshold: Optional[int] = None,
dlp_archive_quota: Optional[int] = 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,
roll_time: 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 string
- The unique name of the resource.
- args SettingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args SettingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SettingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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
The Setting resource accepts the following input properties:
- Status 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
. - Dlp
Archive intQuota - DLP archive quota (MB).
- Full
Final intWarning Threshold - Log full final warning threshold as a percent (3 - 100, default = 95).
- Full
First intWarning Threshold - Log full first warning threshold as a percent (1 - 98, default = 75).
- Full
Second intWarning Threshold - Log full second warning threshold as a percent (2 - 99, default = 90).
- Interface string
- Specify outgoing interface to reach server.
- Interface
Select stringMethod - Specify how to select outgoing interface to reach server. Valid values:
auto
,sdwan
,specify
. - Ips
Archive string - Enable/disable IPS packet archiving to the local disk. Valid values:
enable
,disable
. - Log
Quota int - Disk log quota (MB).
- Max
Log intFile Size - Maximum log file size before rolling (1 - 100 Mbytes).
- Max
Policy intPacket Capture Size - Maximum size of policy sniffer in MB (0 means unlimited).
- Maximum
Log intAge - Delete log files older than (days).
- Report
Quota int - Report db quota (MB).
- Roll
Day string - Day of week on which to roll log file. Valid values:
sunday
,monday
,tuesday
,wednesday
,thursday
,friday
,saturday
. - Roll
Schedule string - Frequency to check log file for rolling. Valid values:
daily
,weekly
. - Roll
Time string - Time of day to roll the log file (hh:mm).
- Source
Ip 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
. - Upload
Delete stringFiles - Delete log files after uploading (default = enable). Valid values:
enable
,disable
. - Upload
Destination string - The type of server to upload log files to. Only FTP is currently supported. Valid values:
ftp-server
. - Upload
Ssl stringConn - 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 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 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
. - Dlp
Archive intQuota - DLP archive quota (MB).
- Full
Final intWarning Threshold - Log full final warning threshold as a percent (3 - 100, default = 95).
- Full
First intWarning Threshold - Log full first warning threshold as a percent (1 - 98, default = 75).
- Full
Second intWarning Threshold - Log full second warning threshold as a percent (2 - 99, default = 90).
- Interface string
- Specify outgoing interface to reach server.
- Interface
Select stringMethod - Specify how to select outgoing interface to reach server. Valid values:
auto
,sdwan
,specify
. - Ips
Archive string - Enable/disable IPS packet archiving to the local disk. Valid values:
enable
,disable
. - Log
Quota int - Disk log quota (MB).
- Max
Log intFile Size - Maximum log file size before rolling (1 - 100 Mbytes).
- Max
Policy intPacket Capture Size - Maximum size of policy sniffer in MB (0 means unlimited).
- Maximum
Log intAge - Delete log files older than (days).
- Report
Quota int - Report db quota (MB).
- Roll
Day string - Day of week on which to roll log file. Valid values:
sunday
,monday
,tuesday
,wednesday
,thursday
,friday
,saturday
. - Roll
Schedule string - Frequency to check log file for rolling. Valid values:
daily
,weekly
. - Roll
Time string - Time of day to roll the log file (hh:mm).
- Source
Ip 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
. - Upload
Delete stringFiles - Delete log files after uploading (default = enable). Valid values:
enable
,disable
. - Upload
Destination string - The type of server to upload log files to. Only FTP is currently supported. Valid values:
ftp-server
. - Upload
Ssl stringConn - 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 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 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
. - dlp
Archive IntegerQuota - DLP archive quota (MB).
- full
Final IntegerWarning Threshold - Log full final warning threshold as a percent (3 - 100, default = 95).
- full
First IntegerWarning Threshold - Log full first warning threshold as a percent (1 - 98, default = 75).
- full
Second IntegerWarning Threshold - Log full second warning threshold as a percent (2 - 99, default = 90).
- interface
Select StringMethod - Specify how to select outgoing interface to reach server. Valid values:
auto
,sdwan
,specify
. - interface_ String
- Specify outgoing interface to reach server.
- ips
Archive String - Enable/disable IPS packet archiving to the local disk. Valid values:
enable
,disable
. - log
Quota Integer - Disk log quota (MB).
- max
Log IntegerFile Size - Maximum log file size before rolling (1 - 100 Mbytes).
- max
Policy IntegerPacket Capture Size - Maximum size of policy sniffer in MB (0 means unlimited).
- maximum
Log IntegerAge - Delete log files older than (days).
- report
Quota Integer - Report db quota (MB).
- roll
Day String - Day of week on which to roll log file. Valid values:
sunday
,monday
,tuesday
,wednesday
,thursday
,friday
,saturday
. - roll
Schedule String - Frequency to check log file for rolling. Valid values:
daily
,weekly
. - roll
Time String - Time of day to roll the log file (hh:mm).
- source
Ip 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
. - upload
Delete StringFiles - Delete log files after uploading (default = enable). Valid values:
enable
,disable
. - upload
Destination String - The type of server to upload log files to. Only FTP is currently supported. Valid values:
ftp-server
. - upload
Ssl StringConn - 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 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 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
. - dlp
Archive numberQuota - DLP archive quota (MB).
- full
Final numberWarning Threshold - Log full final warning threshold as a percent (3 - 100, default = 95).
- full
First numberWarning Threshold - Log full first warning threshold as a percent (1 - 98, default = 75).
- full
Second numberWarning Threshold - Log full second warning threshold as a percent (2 - 99, default = 90).
- interface string
- Specify outgoing interface to reach server.
- interface
Select stringMethod - Specify how to select outgoing interface to reach server. Valid values:
auto
,sdwan
,specify
. - ips
Archive string - Enable/disable IPS packet archiving to the local disk. Valid values:
enable
,disable
. - log
Quota number - Disk log quota (MB).
- max
Log numberFile Size - Maximum log file size before rolling (1 - 100 Mbytes).
- max
Policy numberPacket Capture Size - Maximum size of policy sniffer in MB (0 means unlimited).
- maximum
Log numberAge - Delete log files older than (days).
- report
Quota number - Report db quota (MB).
- roll
Day string - Day of week on which to roll log file. Valid values:
sunday
,monday
,tuesday
,wednesday
,thursday
,friday
,saturday
. - roll
Schedule string - Frequency to check log file for rolling. Valid values:
daily
,weekly
. - roll
Time string - Time of day to roll the log file (hh:mm).
- source
Ip 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
. - upload
Delete stringFiles - Delete log files after uploading (default = enable). Valid values:
enable
,disable
. - upload
Destination string - The type of server to upload log files to. Only FTP is currently supported. Valid values:
ftp-server
. - upload
Ssl stringConn - 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 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 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_ intquota - DLP archive quota (MB).
- full_
final_ intwarning_ threshold - Log full final warning threshold as a percent (3 - 100, default = 95).
- full_
first_ intwarning_ threshold - Log full first warning threshold as a percent (1 - 98, default = 75).
- full_
second_ intwarning_ threshold - Log full second warning threshold as a percent (2 - 99, default = 90).
- interface str
- Specify outgoing interface to reach server.
- interface_
select_ strmethod - 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_ intfile_ size - Maximum log file size before rolling (1 - 100 Mbytes).
- max_
policy_ intpacket_ capture_ size - Maximum size of policy sniffer in MB (0 means unlimited).
- maximum_
log_ intage - 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_ strfiles - 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_ strconn - 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 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 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
. - dlp
Archive NumberQuota - DLP archive quota (MB).
- full
Final NumberWarning Threshold - Log full final warning threshold as a percent (3 - 100, default = 95).
- full
First NumberWarning Threshold - Log full first warning threshold as a percent (1 - 98, default = 75).
- full
Second NumberWarning Threshold - Log full second warning threshold as a percent (2 - 99, default = 90).
- interface String
- Specify outgoing interface to reach server.
- interface
Select StringMethod - Specify how to select outgoing interface to reach server. Valid values:
auto
,sdwan
,specify
. - ips
Archive String - Enable/disable IPS packet archiving to the local disk. Valid values:
enable
,disable
. - log
Quota Number - Disk log quota (MB).
- max
Log NumberFile Size - Maximum log file size before rolling (1 - 100 Mbytes).
- max
Policy NumberPacket Capture Size - Maximum size of policy sniffer in MB (0 means unlimited).
- maximum
Log NumberAge - Delete log files older than (days).
- report
Quota Number - Report db quota (MB).
- roll
Day String - Day of week on which to roll log file. Valid values:
sunday
,monday
,tuesday
,wednesday
,thursday
,friday
,saturday
. - roll
Schedule String - Frequency to check log file for rolling. Valid values:
daily
,weekly
. - roll
Time String - Time of day to roll the log file (hh:mm).
- source
Ip 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
. - upload
Delete StringFiles - Delete log files after uploading (default = enable). Valid values:
enable
,disable
. - upload
Destination String - The type of server to upload log files to. Only FTP is currently supported. Valid values:
ftp-server
. - upload
Ssl StringConn - 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 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- 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
. - Dlp
Archive intQuota - DLP archive quota (MB).
- Full
Final intWarning Threshold - Log full final warning threshold as a percent (3 - 100, default = 95).
- Full
First intWarning Threshold - Log full first warning threshold as a percent (1 - 98, default = 75).
- Full
Second intWarning Threshold - Log full second warning threshold as a percent (2 - 99, default = 90).
- Interface string
- Specify outgoing interface to reach server.
- Interface
Select stringMethod - Specify how to select outgoing interface to reach server. Valid values:
auto
,sdwan
,specify
. - Ips
Archive string - Enable/disable IPS packet archiving to the local disk. Valid values:
enable
,disable
. - Log
Quota int - Disk log quota (MB).
- Max
Log intFile Size - Maximum log file size before rolling (1 - 100 Mbytes).
- Max
Policy intPacket Capture Size - Maximum size of policy sniffer in MB (0 means unlimited).
- Maximum
Log intAge - Delete log files older than (days).
- Report
Quota int - Report db quota (MB).
- Roll
Day string - Day of week on which to roll log file. Valid values:
sunday
,monday
,tuesday
,wednesday
,thursday
,friday
,saturday
. - Roll
Schedule string - Frequency to check log file for rolling. Valid values:
daily
,weekly
. - Roll
Time string - Time of day to roll the log file (hh:mm).
- Source
Ip 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
. - Upload
Delete stringFiles - Delete log files after uploading (default = enable). Valid values:
enable
,disable
. - Upload
Destination string - The type of server to upload log files to. Only FTP is currently supported. Valid values:
ftp-server
. - Upload
Ssl stringConn - 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 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
. - Dlp
Archive intQuota - DLP archive quota (MB).
- Full
Final intWarning Threshold - Log full final warning threshold as a percent (3 - 100, default = 95).
- Full
First intWarning Threshold - Log full first warning threshold as a percent (1 - 98, default = 75).
- Full
Second intWarning Threshold - Log full second warning threshold as a percent (2 - 99, default = 90).
- Interface string
- Specify outgoing interface to reach server.
- Interface
Select stringMethod - Specify how to select outgoing interface to reach server. Valid values:
auto
,sdwan
,specify
. - Ips
Archive string - Enable/disable IPS packet archiving to the local disk. Valid values:
enable
,disable
. - Log
Quota int - Disk log quota (MB).
- Max
Log intFile Size - Maximum log file size before rolling (1 - 100 Mbytes).
- Max
Policy intPacket Capture Size - Maximum size of policy sniffer in MB (0 means unlimited).
- Maximum
Log intAge - Delete log files older than (days).
- Report
Quota int - Report db quota (MB).
- Roll
Day string - Day of week on which to roll log file. Valid values:
sunday
,monday
,tuesday
,wednesday
,thursday
,friday
,saturday
. - Roll
Schedule string - Frequency to check log file for rolling. Valid values:
daily
,weekly
. - Roll
Time string - Time of day to roll the log file (hh:mm).
- Source
Ip 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
. - Upload
Delete stringFiles - Delete log files after uploading (default = enable). Valid values:
enable
,disable
. - Upload
Destination string - The type of server to upload log files to. Only FTP is currently supported. Valid values:
ftp-server
. - Upload
Ssl stringConn - 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 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
. - dlp
Archive IntegerQuota - DLP archive quota (MB).
- full
Final IntegerWarning Threshold - Log full final warning threshold as a percent (3 - 100, default = 95).
- full
First IntegerWarning Threshold - Log full first warning threshold as a percent (1 - 98, default = 75).
- full
Second IntegerWarning Threshold - Log full second warning threshold as a percent (2 - 99, default = 90).
- interface
Select StringMethod - Specify how to select outgoing interface to reach server. Valid values:
auto
,sdwan
,specify
. - interface_ String
- Specify outgoing interface to reach server.
- ips
Archive String - Enable/disable IPS packet archiving to the local disk. Valid values:
enable
,disable
. - log
Quota Integer - Disk log quota (MB).
- max
Log IntegerFile Size - Maximum log file size before rolling (1 - 100 Mbytes).
- max
Policy IntegerPacket Capture Size - Maximum size of policy sniffer in MB (0 means unlimited).
- maximum
Log IntegerAge - Delete log files older than (days).
- report
Quota Integer - Report db quota (MB).
- roll
Day String - Day of week on which to roll log file. Valid values:
sunday
,monday
,tuesday
,wednesday
,thursday
,friday
,saturday
. - roll
Schedule String - Frequency to check log file for rolling. Valid values:
daily
,weekly
. - roll
Time String - Time of day to roll the log file (hh:mm).
- source
Ip 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
. - upload
Delete StringFiles - Delete log files after uploading (default = enable). Valid values:
enable
,disable
. - upload
Destination String - The type of server to upload log files to. Only FTP is currently supported. Valid values:
ftp-server
. - upload
Ssl StringConn - 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 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
. - dlp
Archive numberQuota - DLP archive quota (MB).
- full
Final numberWarning Threshold - Log full final warning threshold as a percent (3 - 100, default = 95).
- full
First numberWarning Threshold - Log full first warning threshold as a percent (1 - 98, default = 75).
- full
Second numberWarning Threshold - Log full second warning threshold as a percent (2 - 99, default = 90).
- interface string
- Specify outgoing interface to reach server.
- interface
Select stringMethod - Specify how to select outgoing interface to reach server. Valid values:
auto
,sdwan
,specify
. - ips
Archive string - Enable/disable IPS packet archiving to the local disk. Valid values:
enable
,disable
. - log
Quota number - Disk log quota (MB).
- max
Log numberFile Size - Maximum log file size before rolling (1 - 100 Mbytes).
- max
Policy numberPacket Capture Size - Maximum size of policy sniffer in MB (0 means unlimited).
- maximum
Log numberAge - Delete log files older than (days).
- report
Quota number - Report db quota (MB).
- roll
Day string - Day of week on which to roll log file. Valid values:
sunday
,monday
,tuesday
,wednesday
,thursday
,friday
,saturday
. - roll
Schedule string - Frequency to check log file for rolling. Valid values:
daily
,weekly
. - roll
Time string - Time of day to roll the log file (hh:mm).
- source
Ip 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
. - upload
Delete stringFiles - Delete log files after uploading (default = enable). Valid values:
enable
,disable
. - upload
Destination string - The type of server to upload log files to. Only FTP is currently supported. Valid values:
ftp-server
. - upload
Ssl stringConn - 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 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_ intquota - DLP archive quota (MB).
- full_
final_ intwarning_ threshold - Log full final warning threshold as a percent (3 - 100, default = 95).
- full_
first_ intwarning_ threshold - Log full first warning threshold as a percent (1 - 98, default = 75).
- full_
second_ intwarning_ threshold - Log full second warning threshold as a percent (2 - 99, default = 90).
- interface str
- Specify outgoing interface to reach server.
- interface_
select_ strmethod - 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_ intfile_ size - Maximum log file size before rolling (1 - 100 Mbytes).
- max_
policy_ intpacket_ capture_ size - Maximum size of policy sniffer in MB (0 means unlimited).
- maximum_
log_ intage - 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_ strfiles - 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_ strconn - 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 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
. - dlp
Archive NumberQuota - DLP archive quota (MB).
- full
Final NumberWarning Threshold - Log full final warning threshold as a percent (3 - 100, default = 95).
- full
First NumberWarning Threshold - Log full first warning threshold as a percent (1 - 98, default = 75).
- full
Second NumberWarning Threshold - Log full second warning threshold as a percent (2 - 99, default = 90).
- interface String
- Specify outgoing interface to reach server.
- interface
Select StringMethod - Specify how to select outgoing interface to reach server. Valid values:
auto
,sdwan
,specify
. - ips
Archive String - Enable/disable IPS packet archiving to the local disk. Valid values:
enable
,disable
. - log
Quota Number - Disk log quota (MB).
- max
Log NumberFile Size - Maximum log file size before rolling (1 - 100 Mbytes).
- max
Policy NumberPacket Capture Size - Maximum size of policy sniffer in MB (0 means unlimited).
- maximum
Log NumberAge - Delete log files older than (days).
- report
Quota Number - Report db quota (MB).
- roll
Day String - Day of week on which to roll log file. Valid values:
sunday
,monday
,tuesday
,wednesday
,thursday
,friday
,saturday
. - roll
Schedule String - Frequency to check log file for rolling. Valid values:
daily
,weekly
. - roll
Time String - Time of day to roll the log file (hh:mm).
- source
Ip 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
. - upload
Delete StringFiles - Delete log files after uploading (default = enable). Valid values:
enable
,disable
. - upload
Destination String - The type of server to upload log files to. Only FTP is currently supported. Valid values:
ftp-server
. - upload
Ssl StringConn - 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 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
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:log/disk/setting:Setting labelname LogDiskSetting
$ 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.