1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. SystemLogSettingsRollinglocal
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.SystemLogSettingsRollinglocal

Explore with Pulumi AI

Log rolling policy for local logs.

This resource is a sub resource for variable rolling_local of resource fortimanager.SystemLogSettings. Conflict and overwrite may occur if use both of them.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.SystemLogSettingsRollinglocal("trname", {
    days: ["sun"],
    passwords: ["fortinet"],
    username: "admin",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.SystemLogSettingsRollinglocal("trname",
    days=["sun"],
    passwords=["fortinet"],
    username="admin")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewSystemLogSettingsRollinglocal(ctx, "trname", &fortimanager.SystemLogSettingsRollinglocalArgs{
			Days: pulumi.StringArray{
				pulumi.String("sun"),
			},
			Passwords: pulumi.StringArray{
				pulumi.String("fortinet"),
			},
			Username: pulumi.String("admin"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.SystemLogSettingsRollinglocal("trname", new()
    {
        Days = new[]
        {
            "sun",
        },
        Passwords = new[]
        {
            "fortinet",
        },
        Username = "admin",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemLogSettingsRollinglocal;
import com.pulumi.fortimanager.SystemLogSettingsRollinglocalArgs;
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 SystemLogSettingsRollinglocal("trname", SystemLogSettingsRollinglocalArgs.builder()
            .days("sun")
            .passwords("fortinet")
            .username("admin")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:SystemLogSettingsRollinglocal
    properties:
      days:
        - sun
      passwords:
        - fortinet
      username: admin
Copy

Create SystemLogSettingsRollinglocal Resource

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

Constructor syntax

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

@overload
def SystemLogSettingsRollinglocal(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  days: Optional[Sequence[str]] = None,
                                  del_files: Optional[str] = None,
                                  directory: Optional[str] = None,
                                  file_size: Optional[float] = None,
                                  gzip_format: Optional[str] = None,
                                  hour: Optional[float] = None,
                                  ip: Optional[str] = None,
                                  ip2: Optional[str] = None,
                                  ip3: Optional[str] = None,
                                  log_format: Optional[str] = None,
                                  min: Optional[float] = None,
                                  password2s: Optional[Sequence[str]] = None,
                                  password3s: Optional[Sequence[str]] = None,
                                  passwords: Optional[Sequence[str]] = None,
                                  port: Optional[float] = None,
                                  port2: Optional[float] = None,
                                  port3: Optional[float] = None,
                                  rolling_upgrade_status: Optional[float] = None,
                                  server: Optional[str] = None,
                                  server2: Optional[str] = None,
                                  server3: Optional[str] = None,
                                  server_type: Optional[str] = None,
                                  system_log_settings_rollinglocal_id: Optional[str] = None,
                                  upload: Optional[str] = None,
                                  upload_hour: Optional[float] = None,
                                  upload_mode: Optional[str] = None,
                                  upload_trigger: Optional[str] = None,
                                  username: Optional[str] = None,
                                  username2: Optional[str] = None,
                                  username3: Optional[str] = None,
                                  when: Optional[str] = None)
func NewSystemLogSettingsRollinglocal(ctx *Context, name string, args *SystemLogSettingsRollinglocalArgs, opts ...ResourceOption) (*SystemLogSettingsRollinglocal, error)
public SystemLogSettingsRollinglocal(string name, SystemLogSettingsRollinglocalArgs? args = null, CustomResourceOptions? opts = null)
public SystemLogSettingsRollinglocal(String name, SystemLogSettingsRollinglocalArgs args)
public SystemLogSettingsRollinglocal(String name, SystemLogSettingsRollinglocalArgs args, CustomResourceOptions options)
type: fortimanager:SystemLogSettingsRollinglocal
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 SystemLogSettingsRollinglocalArgs
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 SystemLogSettingsRollinglocalArgs
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 SystemLogSettingsRollinglocalArgs
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 SystemLogSettingsRollinglocalArgs
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. SystemLogSettingsRollinglocalArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var systemLogSettingsRollinglocalResource = new Fortimanager.SystemLogSettingsRollinglocal("systemLogSettingsRollinglocalResource", new()
{
    Days = new[]
    {
        "string",
    },
    DelFiles = "string",
    Directory = "string",
    FileSize = 0,
    GzipFormat = "string",
    Hour = 0,
    Ip = "string",
    Ip2 = "string",
    Ip3 = "string",
    LogFormat = "string",
    Min = 0,
    Password2s = new[]
    {
        "string",
    },
    Password3s = new[]
    {
        "string",
    },
    Passwords = new[]
    {
        "string",
    },
    Port = 0,
    Port2 = 0,
    Port3 = 0,
    RollingUpgradeStatus = 0,
    Server = "string",
    Server2 = "string",
    Server3 = "string",
    ServerType = "string",
    SystemLogSettingsRollinglocalId = "string",
    Upload = "string",
    UploadHour = 0,
    UploadMode = "string",
    UploadTrigger = "string",
    Username = "string",
    Username2 = "string",
    Username3 = "string",
    When = "string",
});
Copy
example, err := fortimanager.NewSystemLogSettingsRollinglocal(ctx, "systemLogSettingsRollinglocalResource", &fortimanager.SystemLogSettingsRollinglocalArgs{
	Days: pulumi.StringArray{
		pulumi.String("string"),
	},
	DelFiles:   pulumi.String("string"),
	Directory:  pulumi.String("string"),
	FileSize:   pulumi.Float64(0),
	GzipFormat: pulumi.String("string"),
	Hour:       pulumi.Float64(0),
	Ip:         pulumi.String("string"),
	Ip2:        pulumi.String("string"),
	Ip3:        pulumi.String("string"),
	LogFormat:  pulumi.String("string"),
	Min:        pulumi.Float64(0),
	Password2s: pulumi.StringArray{
		pulumi.String("string"),
	},
	Password3s: pulumi.StringArray{
		pulumi.String("string"),
	},
	Passwords: pulumi.StringArray{
		pulumi.String("string"),
	},
	Port:                            pulumi.Float64(0),
	Port2:                           pulumi.Float64(0),
	Port3:                           pulumi.Float64(0),
	RollingUpgradeStatus:            pulumi.Float64(0),
	Server:                          pulumi.String("string"),
	Server2:                         pulumi.String("string"),
	Server3:                         pulumi.String("string"),
	ServerType:                      pulumi.String("string"),
	SystemLogSettingsRollinglocalId: pulumi.String("string"),
	Upload:                          pulumi.String("string"),
	UploadHour:                      pulumi.Float64(0),
	UploadMode:                      pulumi.String("string"),
	UploadTrigger:                   pulumi.String("string"),
	Username:                        pulumi.String("string"),
	Username2:                       pulumi.String("string"),
	Username3:                       pulumi.String("string"),
	When:                            pulumi.String("string"),
})
Copy
var systemLogSettingsRollinglocalResource = new SystemLogSettingsRollinglocal("systemLogSettingsRollinglocalResource", SystemLogSettingsRollinglocalArgs.builder()
    .days("string")
    .delFiles("string")
    .directory("string")
    .fileSize(0)
    .gzipFormat("string")
    .hour(0)
    .ip("string")
    .ip2("string")
    .ip3("string")
    .logFormat("string")
    .min(0)
    .password2s("string")
    .password3s("string")
    .passwords("string")
    .port(0)
    .port2(0)
    .port3(0)
    .rollingUpgradeStatus(0)
    .server("string")
    .server2("string")
    .server3("string")
    .serverType("string")
    .systemLogSettingsRollinglocalId("string")
    .upload("string")
    .uploadHour(0)
    .uploadMode("string")
    .uploadTrigger("string")
    .username("string")
    .username2("string")
    .username3("string")
    .when("string")
    .build());
Copy
system_log_settings_rollinglocal_resource = fortimanager.SystemLogSettingsRollinglocal("systemLogSettingsRollinglocalResource",
    days=["string"],
    del_files="string",
    directory="string",
    file_size=0,
    gzip_format="string",
    hour=0,
    ip="string",
    ip2="string",
    ip3="string",
    log_format="string",
    min=0,
    password2s=["string"],
    password3s=["string"],
    passwords=["string"],
    port=0,
    port2=0,
    port3=0,
    rolling_upgrade_status=0,
    server="string",
    server2="string",
    server3="string",
    server_type="string",
    system_log_settings_rollinglocal_id="string",
    upload="string",
    upload_hour=0,
    upload_mode="string",
    upload_trigger="string",
    username="string",
    username2="string",
    username3="string",
    when="string")
Copy
const systemLogSettingsRollinglocalResource = new fortimanager.SystemLogSettingsRollinglocal("systemLogSettingsRollinglocalResource", {
    days: ["string"],
    delFiles: "string",
    directory: "string",
    fileSize: 0,
    gzipFormat: "string",
    hour: 0,
    ip: "string",
    ip2: "string",
    ip3: "string",
    logFormat: "string",
    min: 0,
    password2s: ["string"],
    password3s: ["string"],
    passwords: ["string"],
    port: 0,
    port2: 0,
    port3: 0,
    rollingUpgradeStatus: 0,
    server: "string",
    server2: "string",
    server3: "string",
    serverType: "string",
    systemLogSettingsRollinglocalId: "string",
    upload: "string",
    uploadHour: 0,
    uploadMode: "string",
    uploadTrigger: "string",
    username: "string",
    username2: "string",
    username3: "string",
    when: "string",
});
Copy
type: fortimanager:SystemLogSettingsRollinglocal
properties:
    days:
        - string
    delFiles: string
    directory: string
    fileSize: 0
    gzipFormat: string
    hour: 0
    ip: string
    ip2: string
    ip3: string
    logFormat: string
    min: 0
    password2s:
        - string
    password3s:
        - string
    passwords:
        - string
    port: 0
    port2: 0
    port3: 0
    rollingUpgradeStatus: 0
    server: string
    server2: string
    server3: string
    serverType: string
    systemLogSettingsRollinglocalId: string
    upload: string
    uploadHour: 0
    uploadMode: string
    uploadTrigger: string
    username: string
    username2: string
    username3: string
    when: string
Copy

SystemLogSettingsRollinglocal 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 SystemLogSettingsRollinglocal resource accepts the following input properties:

Days List<string>
Log files rolling schedule (days of week). sun - Sunday. mon - Monday. tue - Tuesday. wed - Wednesday. thu - Thursday. fri - Friday. sat - Saturday. Valid values: sun, mon, tue, wed, thu, fri, sat.
DelFiles string
Enable/disable log file deletion after uploading. disable - Disable log file deletion. enable - Enable log file deletion. Valid values: disable, enable.
Directory string
Upload server directory, for Unix server, use absolute
FileSize double
Roll log files when they reach this size (MB).
GzipFormat string
Enable/disable compression of uploaded log files. disable - Disable compression. enable - Enable compression. Valid values: disable, enable.
Hour double
Log files rolling schedule (hour).
Ip string
Upload server IP address.
Ip2 string
Upload server IP2 address.
Ip3 string
Upload server IP3 address.
LogFormat string
Format of uploaded log files. native - Native format (text or compact). text - Text format (convert if necessary). csv - CSV (comma-separated value) format. Valid values: native, text, csv.
Min double
Log files rolling schedule (minutes).
Password2s List<string>
Upload server login password2.
Password3s List<string>
Upload server login password3.
Passwords List<string>
Upload server login password.
Port double
Upload server IP1 port number.
Port2 double
Upload server IP2 port number.
Port3 double
Upload server IP3 port number.
RollingUpgradeStatus double
rolling upgrade status (1|0).
Server string
Upload server FQDN/IP.
Server2 string
Upload server2 FQDN/IP.
Server3 string
Upload server3 FQDN/IP.
ServerType string
Upload server type. ftp - Upload via FTP. sftp - Upload via SFTP. scp - Upload via SCP. Valid values: ftp, sftp, scp.
SystemLogSettingsRollinglocalId string
an identifier for the resource.
Upload string
Enable/disable log file uploads. disable - Disable log files uploading. enable - Enable log files uploading. Valid values: disable, enable.
UploadHour double
Log files upload schedule (hour).
UploadMode string
Upload mode with multiple servers. backup - Servers are attempted and used one after the other upon failure to connect. mirror - All configured servers are attempted and used. Valid values: backup, mirror.
UploadTrigger string
Event triggering log files upload. on-roll - Upload log files after they are rolled. on-schedule - Upload log files daily. Valid values: on-roll, on-schedule.
Username string
Upload server login username.
Username2 string
Upload server login username2.
Username3 string
Upload server login username3.
When string
Roll log files periodically. none - Do not roll log files periodically. daily - Roll log files daily. weekly - Roll log files on certain days of week. Valid values: none, daily, weekly.
Days []string
Log files rolling schedule (days of week). sun - Sunday. mon - Monday. tue - Tuesday. wed - Wednesday. thu - Thursday. fri - Friday. sat - Saturday. Valid values: sun, mon, tue, wed, thu, fri, sat.
DelFiles string
Enable/disable log file deletion after uploading. disable - Disable log file deletion. enable - Enable log file deletion. Valid values: disable, enable.
Directory string
Upload server directory, for Unix server, use absolute
FileSize float64
Roll log files when they reach this size (MB).
GzipFormat string
Enable/disable compression of uploaded log files. disable - Disable compression. enable - Enable compression. Valid values: disable, enable.
Hour float64
Log files rolling schedule (hour).
Ip string
Upload server IP address.
Ip2 string
Upload server IP2 address.
Ip3 string
Upload server IP3 address.
LogFormat string
Format of uploaded log files. native - Native format (text or compact). text - Text format (convert if necessary). csv - CSV (comma-separated value) format. Valid values: native, text, csv.
Min float64
Log files rolling schedule (minutes).
Password2s []string
Upload server login password2.
Password3s []string
Upload server login password3.
Passwords []string
Upload server login password.
Port float64
Upload server IP1 port number.
Port2 float64
Upload server IP2 port number.
Port3 float64
Upload server IP3 port number.
RollingUpgradeStatus float64
rolling upgrade status (1|0).
Server string
Upload server FQDN/IP.
Server2 string
Upload server2 FQDN/IP.
Server3 string
Upload server3 FQDN/IP.
ServerType string
Upload server type. ftp - Upload via FTP. sftp - Upload via SFTP. scp - Upload via SCP. Valid values: ftp, sftp, scp.
SystemLogSettingsRollinglocalId string
an identifier for the resource.
Upload string
Enable/disable log file uploads. disable - Disable log files uploading. enable - Enable log files uploading. Valid values: disable, enable.
UploadHour float64
Log files upload schedule (hour).
UploadMode string
Upload mode with multiple servers. backup - Servers are attempted and used one after the other upon failure to connect. mirror - All configured servers are attempted and used. Valid values: backup, mirror.
UploadTrigger string
Event triggering log files upload. on-roll - Upload log files after they are rolled. on-schedule - Upload log files daily. Valid values: on-roll, on-schedule.
Username string
Upload server login username.
Username2 string
Upload server login username2.
Username3 string
Upload server login username3.
When string
Roll log files periodically. none - Do not roll log files periodically. daily - Roll log files daily. weekly - Roll log files on certain days of week. Valid values: none, daily, weekly.
days List<String>
Log files rolling schedule (days of week). sun - Sunday. mon - Monday. tue - Tuesday. wed - Wednesday. thu - Thursday. fri - Friday. sat - Saturday. Valid values: sun, mon, tue, wed, thu, fri, sat.
delFiles String
Enable/disable log file deletion after uploading. disable - Disable log file deletion. enable - Enable log file deletion. Valid values: disable, enable.
directory String
Upload server directory, for Unix server, use absolute
fileSize Double
Roll log files when they reach this size (MB).
gzipFormat String
Enable/disable compression of uploaded log files. disable - Disable compression. enable - Enable compression. Valid values: disable, enable.
hour Double
Log files rolling schedule (hour).
ip String
Upload server IP address.
ip2 String
Upload server IP2 address.
ip3 String
Upload server IP3 address.
logFormat String
Format of uploaded log files. native - Native format (text or compact). text - Text format (convert if necessary). csv - CSV (comma-separated value) format. Valid values: native, text, csv.
min Double
Log files rolling schedule (minutes).
password2s List<String>
Upload server login password2.
password3s List<String>
Upload server login password3.
passwords List<String>
Upload server login password.
port Double
Upload server IP1 port number.
port2 Double
Upload server IP2 port number.
port3 Double
Upload server IP3 port number.
rollingUpgradeStatus Double
rolling upgrade status (1|0).
server String
Upload server FQDN/IP.
server2 String
Upload server2 FQDN/IP.
server3 String
Upload server3 FQDN/IP.
serverType String
Upload server type. ftp - Upload via FTP. sftp - Upload via SFTP. scp - Upload via SCP. Valid values: ftp, sftp, scp.
systemLogSettingsRollinglocalId String
an identifier for the resource.
upload String
Enable/disable log file uploads. disable - Disable log files uploading. enable - Enable log files uploading. Valid values: disable, enable.
uploadHour Double
Log files upload schedule (hour).
uploadMode String
Upload mode with multiple servers. backup - Servers are attempted and used one after the other upon failure to connect. mirror - All configured servers are attempted and used. Valid values: backup, mirror.
uploadTrigger String
Event triggering log files upload. on-roll - Upload log files after they are rolled. on-schedule - Upload log files daily. Valid values: on-roll, on-schedule.
username String
Upload server login username.
username2 String
Upload server login username2.
username3 String
Upload server login username3.
when String
Roll log files periodically. none - Do not roll log files periodically. daily - Roll log files daily. weekly - Roll log files on certain days of week. Valid values: none, daily, weekly.
days string[]
Log files rolling schedule (days of week). sun - Sunday. mon - Monday. tue - Tuesday. wed - Wednesday. thu - Thursday. fri - Friday. sat - Saturday. Valid values: sun, mon, tue, wed, thu, fri, sat.
delFiles string
Enable/disable log file deletion after uploading. disable - Disable log file deletion. enable - Enable log file deletion. Valid values: disable, enable.
directory string
Upload server directory, for Unix server, use absolute
fileSize number
Roll log files when they reach this size (MB).
gzipFormat string
Enable/disable compression of uploaded log files. disable - Disable compression. enable - Enable compression. Valid values: disable, enable.
hour number
Log files rolling schedule (hour).
ip string
Upload server IP address.
ip2 string
Upload server IP2 address.
ip3 string
Upload server IP3 address.
logFormat string
Format of uploaded log files. native - Native format (text or compact). text - Text format (convert if necessary). csv - CSV (comma-separated value) format. Valid values: native, text, csv.
min number
Log files rolling schedule (minutes).
password2s string[]
Upload server login password2.
password3s string[]
Upload server login password3.
passwords string[]
Upload server login password.
port number
Upload server IP1 port number.
port2 number
Upload server IP2 port number.
port3 number
Upload server IP3 port number.
rollingUpgradeStatus number
rolling upgrade status (1|0).
server string
Upload server FQDN/IP.
server2 string
Upload server2 FQDN/IP.
server3 string
Upload server3 FQDN/IP.
serverType string
Upload server type. ftp - Upload via FTP. sftp - Upload via SFTP. scp - Upload via SCP. Valid values: ftp, sftp, scp.
systemLogSettingsRollinglocalId string
an identifier for the resource.
upload string
Enable/disable log file uploads. disable - Disable log files uploading. enable - Enable log files uploading. Valid values: disable, enable.
uploadHour number
Log files upload schedule (hour).
uploadMode string
Upload mode with multiple servers. backup - Servers are attempted and used one after the other upon failure to connect. mirror - All configured servers are attempted and used. Valid values: backup, mirror.
uploadTrigger string
Event triggering log files upload. on-roll - Upload log files after they are rolled. on-schedule - Upload log files daily. Valid values: on-roll, on-schedule.
username string
Upload server login username.
username2 string
Upload server login username2.
username3 string
Upload server login username3.
when string
Roll log files periodically. none - Do not roll log files periodically. daily - Roll log files daily. weekly - Roll log files on certain days of week. Valid values: none, daily, weekly.
days Sequence[str]
Log files rolling schedule (days of week). sun - Sunday. mon - Monday. tue - Tuesday. wed - Wednesday. thu - Thursday. fri - Friday. sat - Saturday. Valid values: sun, mon, tue, wed, thu, fri, sat.
del_files str
Enable/disable log file deletion after uploading. disable - Disable log file deletion. enable - Enable log file deletion. Valid values: disable, enable.
directory str
Upload server directory, for Unix server, use absolute
file_size float
Roll log files when they reach this size (MB).
gzip_format str
Enable/disable compression of uploaded log files. disable - Disable compression. enable - Enable compression. Valid values: disable, enable.
hour float
Log files rolling schedule (hour).
ip str
Upload server IP address.
ip2 str
Upload server IP2 address.
ip3 str
Upload server IP3 address.
log_format str
Format of uploaded log files. native - Native format (text or compact). text - Text format (convert if necessary). csv - CSV (comma-separated value) format. Valid values: native, text, csv.
min float
Log files rolling schedule (minutes).
password2s Sequence[str]
Upload server login password2.
password3s Sequence[str]
Upload server login password3.
passwords Sequence[str]
Upload server login password.
port float
Upload server IP1 port number.
port2 float
Upload server IP2 port number.
port3 float
Upload server IP3 port number.
rolling_upgrade_status float
rolling upgrade status (1|0).
server str
Upload server FQDN/IP.
server2 str
Upload server2 FQDN/IP.
server3 str
Upload server3 FQDN/IP.
server_type str
Upload server type. ftp - Upload via FTP. sftp - Upload via SFTP. scp - Upload via SCP. Valid values: ftp, sftp, scp.
system_log_settings_rollinglocal_id str
an identifier for the resource.
upload str
Enable/disable log file uploads. disable - Disable log files uploading. enable - Enable log files uploading. Valid values: disable, enable.
upload_hour float
Log files upload schedule (hour).
upload_mode str
Upload mode with multiple servers. backup - Servers are attempted and used one after the other upon failure to connect. mirror - All configured servers are attempted and used. Valid values: backup, mirror.
upload_trigger str
Event triggering log files upload. on-roll - Upload log files after they are rolled. on-schedule - Upload log files daily. Valid values: on-roll, on-schedule.
username str
Upload server login username.
username2 str
Upload server login username2.
username3 str
Upload server login username3.
when str
Roll log files periodically. none - Do not roll log files periodically. daily - Roll log files daily. weekly - Roll log files on certain days of week. Valid values: none, daily, weekly.
days List<String>
Log files rolling schedule (days of week). sun - Sunday. mon - Monday. tue - Tuesday. wed - Wednesday. thu - Thursday. fri - Friday. sat - Saturday. Valid values: sun, mon, tue, wed, thu, fri, sat.
delFiles String
Enable/disable log file deletion after uploading. disable - Disable log file deletion. enable - Enable log file deletion. Valid values: disable, enable.
directory String
Upload server directory, for Unix server, use absolute
fileSize Number
Roll log files when they reach this size (MB).
gzipFormat String
Enable/disable compression of uploaded log files. disable - Disable compression. enable - Enable compression. Valid values: disable, enable.
hour Number
Log files rolling schedule (hour).
ip String
Upload server IP address.
ip2 String
Upload server IP2 address.
ip3 String
Upload server IP3 address.
logFormat String
Format of uploaded log files. native - Native format (text or compact). text - Text format (convert if necessary). csv - CSV (comma-separated value) format. Valid values: native, text, csv.
min Number
Log files rolling schedule (minutes).
password2s List<String>
Upload server login password2.
password3s List<String>
Upload server login password3.
passwords List<String>
Upload server login password.
port Number
Upload server IP1 port number.
port2 Number
Upload server IP2 port number.
port3 Number
Upload server IP3 port number.
rollingUpgradeStatus Number
rolling upgrade status (1|0).
server String
Upload server FQDN/IP.
server2 String
Upload server2 FQDN/IP.
server3 String
Upload server3 FQDN/IP.
serverType String
Upload server type. ftp - Upload via FTP. sftp - Upload via SFTP. scp - Upload via SCP. Valid values: ftp, sftp, scp.
systemLogSettingsRollinglocalId String
an identifier for the resource.
upload String
Enable/disable log file uploads. disable - Disable log files uploading. enable - Enable log files uploading. Valid values: disable, enable.
uploadHour Number
Log files upload schedule (hour).
uploadMode String
Upload mode with multiple servers. backup - Servers are attempted and used one after the other upon failure to connect. mirror - All configured servers are attempted and used. Valid values: backup, mirror.
uploadTrigger String
Event triggering log files upload. on-roll - Upload log files after they are rolled. on-schedule - Upload log files daily. Valid values: on-roll, on-schedule.
username String
Upload server login username.
username2 String
Upload server login username2.
username3 String
Upload server login username3.
when String
Roll log files periodically. none - Do not roll log files periodically. daily - Roll log files daily. weekly - Roll log files on certain days of week. Valid values: none, daily, weekly.

Outputs

All input properties are implicitly available as output properties. Additionally, the SystemLogSettingsRollinglocal 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 SystemLogSettingsRollinglocal Resource

Get an existing SystemLogSettingsRollinglocal 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?: SystemLogSettingsRollinglocalState, opts?: CustomResourceOptions): SystemLogSettingsRollinglocal
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        days: Optional[Sequence[str]] = None,
        del_files: Optional[str] = None,
        directory: Optional[str] = None,
        file_size: Optional[float] = None,
        gzip_format: Optional[str] = None,
        hour: Optional[float] = None,
        ip: Optional[str] = None,
        ip2: Optional[str] = None,
        ip3: Optional[str] = None,
        log_format: Optional[str] = None,
        min: Optional[float] = None,
        password2s: Optional[Sequence[str]] = None,
        password3s: Optional[Sequence[str]] = None,
        passwords: Optional[Sequence[str]] = None,
        port: Optional[float] = None,
        port2: Optional[float] = None,
        port3: Optional[float] = None,
        rolling_upgrade_status: Optional[float] = None,
        server: Optional[str] = None,
        server2: Optional[str] = None,
        server3: Optional[str] = None,
        server_type: Optional[str] = None,
        system_log_settings_rollinglocal_id: Optional[str] = None,
        upload: Optional[str] = None,
        upload_hour: Optional[float] = None,
        upload_mode: Optional[str] = None,
        upload_trigger: Optional[str] = None,
        username: Optional[str] = None,
        username2: Optional[str] = None,
        username3: Optional[str] = None,
        when: Optional[str] = None) -> SystemLogSettingsRollinglocal
func GetSystemLogSettingsRollinglocal(ctx *Context, name string, id IDInput, state *SystemLogSettingsRollinglocalState, opts ...ResourceOption) (*SystemLogSettingsRollinglocal, error)
public static SystemLogSettingsRollinglocal Get(string name, Input<string> id, SystemLogSettingsRollinglocalState? state, CustomResourceOptions? opts = null)
public static SystemLogSettingsRollinglocal get(String name, Output<String> id, SystemLogSettingsRollinglocalState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:SystemLogSettingsRollinglocal    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:
Days List<string>
Log files rolling schedule (days of week). sun - Sunday. mon - Monday. tue - Tuesday. wed - Wednesday. thu - Thursday. fri - Friday. sat - Saturday. Valid values: sun, mon, tue, wed, thu, fri, sat.
DelFiles string
Enable/disable log file deletion after uploading. disable - Disable log file deletion. enable - Enable log file deletion. Valid values: disable, enable.
Directory string
Upload server directory, for Unix server, use absolute
FileSize double
Roll log files when they reach this size (MB).
GzipFormat string
Enable/disable compression of uploaded log files. disable - Disable compression. enable - Enable compression. Valid values: disable, enable.
Hour double
Log files rolling schedule (hour).
Ip string
Upload server IP address.
Ip2 string
Upload server IP2 address.
Ip3 string
Upload server IP3 address.
LogFormat string
Format of uploaded log files. native - Native format (text or compact). text - Text format (convert if necessary). csv - CSV (comma-separated value) format. Valid values: native, text, csv.
Min double
Log files rolling schedule (minutes).
Password2s List<string>
Upload server login password2.
Password3s List<string>
Upload server login password3.
Passwords List<string>
Upload server login password.
Port double
Upload server IP1 port number.
Port2 double
Upload server IP2 port number.
Port3 double
Upload server IP3 port number.
RollingUpgradeStatus double
rolling upgrade status (1|0).
Server string
Upload server FQDN/IP.
Server2 string
Upload server2 FQDN/IP.
Server3 string
Upload server3 FQDN/IP.
ServerType string
Upload server type. ftp - Upload via FTP. sftp - Upload via SFTP. scp - Upload via SCP. Valid values: ftp, sftp, scp.
SystemLogSettingsRollinglocalId string
an identifier for the resource.
Upload string
Enable/disable log file uploads. disable - Disable log files uploading. enable - Enable log files uploading. Valid values: disable, enable.
UploadHour double
Log files upload schedule (hour).
UploadMode string
Upload mode with multiple servers. backup - Servers are attempted and used one after the other upon failure to connect. mirror - All configured servers are attempted and used. Valid values: backup, mirror.
UploadTrigger string
Event triggering log files upload. on-roll - Upload log files after they are rolled. on-schedule - Upload log files daily. Valid values: on-roll, on-schedule.
Username string
Upload server login username.
Username2 string
Upload server login username2.
Username3 string
Upload server login username3.
When string
Roll log files periodically. none - Do not roll log files periodically. daily - Roll log files daily. weekly - Roll log files on certain days of week. Valid values: none, daily, weekly.
Days []string
Log files rolling schedule (days of week). sun - Sunday. mon - Monday. tue - Tuesday. wed - Wednesday. thu - Thursday. fri - Friday. sat - Saturday. Valid values: sun, mon, tue, wed, thu, fri, sat.
DelFiles string
Enable/disable log file deletion after uploading. disable - Disable log file deletion. enable - Enable log file deletion. Valid values: disable, enable.
Directory string
Upload server directory, for Unix server, use absolute
FileSize float64
Roll log files when they reach this size (MB).
GzipFormat string
Enable/disable compression of uploaded log files. disable - Disable compression. enable - Enable compression. Valid values: disable, enable.
Hour float64
Log files rolling schedule (hour).
Ip string
Upload server IP address.
Ip2 string
Upload server IP2 address.
Ip3 string
Upload server IP3 address.
LogFormat string
Format of uploaded log files. native - Native format (text or compact). text - Text format (convert if necessary). csv - CSV (comma-separated value) format. Valid values: native, text, csv.
Min float64
Log files rolling schedule (minutes).
Password2s []string
Upload server login password2.
Password3s []string
Upload server login password3.
Passwords []string
Upload server login password.
Port float64
Upload server IP1 port number.
Port2 float64
Upload server IP2 port number.
Port3 float64
Upload server IP3 port number.
RollingUpgradeStatus float64
rolling upgrade status (1|0).
Server string
Upload server FQDN/IP.
Server2 string
Upload server2 FQDN/IP.
Server3 string
Upload server3 FQDN/IP.
ServerType string
Upload server type. ftp - Upload via FTP. sftp - Upload via SFTP. scp - Upload via SCP. Valid values: ftp, sftp, scp.
SystemLogSettingsRollinglocalId string
an identifier for the resource.
Upload string
Enable/disable log file uploads. disable - Disable log files uploading. enable - Enable log files uploading. Valid values: disable, enable.
UploadHour float64
Log files upload schedule (hour).
UploadMode string
Upload mode with multiple servers. backup - Servers are attempted and used one after the other upon failure to connect. mirror - All configured servers are attempted and used. Valid values: backup, mirror.
UploadTrigger string
Event triggering log files upload. on-roll - Upload log files after they are rolled. on-schedule - Upload log files daily. Valid values: on-roll, on-schedule.
Username string
Upload server login username.
Username2 string
Upload server login username2.
Username3 string
Upload server login username3.
When string
Roll log files periodically. none - Do not roll log files periodically. daily - Roll log files daily. weekly - Roll log files on certain days of week. Valid values: none, daily, weekly.
days List<String>
Log files rolling schedule (days of week). sun - Sunday. mon - Monday. tue - Tuesday. wed - Wednesday. thu - Thursday. fri - Friday. sat - Saturday. Valid values: sun, mon, tue, wed, thu, fri, sat.
delFiles String
Enable/disable log file deletion after uploading. disable - Disable log file deletion. enable - Enable log file deletion. Valid values: disable, enable.
directory String
Upload server directory, for Unix server, use absolute
fileSize Double
Roll log files when they reach this size (MB).
gzipFormat String
Enable/disable compression of uploaded log files. disable - Disable compression. enable - Enable compression. Valid values: disable, enable.
hour Double
Log files rolling schedule (hour).
ip String
Upload server IP address.
ip2 String
Upload server IP2 address.
ip3 String
Upload server IP3 address.
logFormat String
Format of uploaded log files. native - Native format (text or compact). text - Text format (convert if necessary). csv - CSV (comma-separated value) format. Valid values: native, text, csv.
min Double
Log files rolling schedule (minutes).
password2s List<String>
Upload server login password2.
password3s List<String>
Upload server login password3.
passwords List<String>
Upload server login password.
port Double
Upload server IP1 port number.
port2 Double
Upload server IP2 port number.
port3 Double
Upload server IP3 port number.
rollingUpgradeStatus Double
rolling upgrade status (1|0).
server String
Upload server FQDN/IP.
server2 String
Upload server2 FQDN/IP.
server3 String
Upload server3 FQDN/IP.
serverType String
Upload server type. ftp - Upload via FTP. sftp - Upload via SFTP. scp - Upload via SCP. Valid values: ftp, sftp, scp.
systemLogSettingsRollinglocalId String
an identifier for the resource.
upload String
Enable/disable log file uploads. disable - Disable log files uploading. enable - Enable log files uploading. Valid values: disable, enable.
uploadHour Double
Log files upload schedule (hour).
uploadMode String
Upload mode with multiple servers. backup - Servers are attempted and used one after the other upon failure to connect. mirror - All configured servers are attempted and used. Valid values: backup, mirror.
uploadTrigger String
Event triggering log files upload. on-roll - Upload log files after they are rolled. on-schedule - Upload log files daily. Valid values: on-roll, on-schedule.
username String
Upload server login username.
username2 String
Upload server login username2.
username3 String
Upload server login username3.
when String
Roll log files periodically. none - Do not roll log files periodically. daily - Roll log files daily. weekly - Roll log files on certain days of week. Valid values: none, daily, weekly.
days string[]
Log files rolling schedule (days of week). sun - Sunday. mon - Monday. tue - Tuesday. wed - Wednesday. thu - Thursday. fri - Friday. sat - Saturday. Valid values: sun, mon, tue, wed, thu, fri, sat.
delFiles string
Enable/disable log file deletion after uploading. disable - Disable log file deletion. enable - Enable log file deletion. Valid values: disable, enable.
directory string
Upload server directory, for Unix server, use absolute
fileSize number
Roll log files when they reach this size (MB).
gzipFormat string
Enable/disable compression of uploaded log files. disable - Disable compression. enable - Enable compression. Valid values: disable, enable.
hour number
Log files rolling schedule (hour).
ip string
Upload server IP address.
ip2 string
Upload server IP2 address.
ip3 string
Upload server IP3 address.
logFormat string
Format of uploaded log files. native - Native format (text or compact). text - Text format (convert if necessary). csv - CSV (comma-separated value) format. Valid values: native, text, csv.
min number
Log files rolling schedule (minutes).
password2s string[]
Upload server login password2.
password3s string[]
Upload server login password3.
passwords string[]
Upload server login password.
port number
Upload server IP1 port number.
port2 number
Upload server IP2 port number.
port3 number
Upload server IP3 port number.
rollingUpgradeStatus number
rolling upgrade status (1|0).
server string
Upload server FQDN/IP.
server2 string
Upload server2 FQDN/IP.
server3 string
Upload server3 FQDN/IP.
serverType string
Upload server type. ftp - Upload via FTP. sftp - Upload via SFTP. scp - Upload via SCP. Valid values: ftp, sftp, scp.
systemLogSettingsRollinglocalId string
an identifier for the resource.
upload string
Enable/disable log file uploads. disable - Disable log files uploading. enable - Enable log files uploading. Valid values: disable, enable.
uploadHour number
Log files upload schedule (hour).
uploadMode string
Upload mode with multiple servers. backup - Servers are attempted and used one after the other upon failure to connect. mirror - All configured servers are attempted and used. Valid values: backup, mirror.
uploadTrigger string
Event triggering log files upload. on-roll - Upload log files after they are rolled. on-schedule - Upload log files daily. Valid values: on-roll, on-schedule.
username string
Upload server login username.
username2 string
Upload server login username2.
username3 string
Upload server login username3.
when string
Roll log files periodically. none - Do not roll log files periodically. daily - Roll log files daily. weekly - Roll log files on certain days of week. Valid values: none, daily, weekly.
days Sequence[str]
Log files rolling schedule (days of week). sun - Sunday. mon - Monday. tue - Tuesday. wed - Wednesday. thu - Thursday. fri - Friday. sat - Saturday. Valid values: sun, mon, tue, wed, thu, fri, sat.
del_files str
Enable/disable log file deletion after uploading. disable - Disable log file deletion. enable - Enable log file deletion. Valid values: disable, enable.
directory str
Upload server directory, for Unix server, use absolute
file_size float
Roll log files when they reach this size (MB).
gzip_format str
Enable/disable compression of uploaded log files. disable - Disable compression. enable - Enable compression. Valid values: disable, enable.
hour float
Log files rolling schedule (hour).
ip str
Upload server IP address.
ip2 str
Upload server IP2 address.
ip3 str
Upload server IP3 address.
log_format str
Format of uploaded log files. native - Native format (text or compact). text - Text format (convert if necessary). csv - CSV (comma-separated value) format. Valid values: native, text, csv.
min float
Log files rolling schedule (minutes).
password2s Sequence[str]
Upload server login password2.
password3s Sequence[str]
Upload server login password3.
passwords Sequence[str]
Upload server login password.
port float
Upload server IP1 port number.
port2 float
Upload server IP2 port number.
port3 float
Upload server IP3 port number.
rolling_upgrade_status float
rolling upgrade status (1|0).
server str
Upload server FQDN/IP.
server2 str
Upload server2 FQDN/IP.
server3 str
Upload server3 FQDN/IP.
server_type str
Upload server type. ftp - Upload via FTP. sftp - Upload via SFTP. scp - Upload via SCP. Valid values: ftp, sftp, scp.
system_log_settings_rollinglocal_id str
an identifier for the resource.
upload str
Enable/disable log file uploads. disable - Disable log files uploading. enable - Enable log files uploading. Valid values: disable, enable.
upload_hour float
Log files upload schedule (hour).
upload_mode str
Upload mode with multiple servers. backup - Servers are attempted and used one after the other upon failure to connect. mirror - All configured servers are attempted and used. Valid values: backup, mirror.
upload_trigger str
Event triggering log files upload. on-roll - Upload log files after they are rolled. on-schedule - Upload log files daily. Valid values: on-roll, on-schedule.
username str
Upload server login username.
username2 str
Upload server login username2.
username3 str
Upload server login username3.
when str
Roll log files periodically. none - Do not roll log files periodically. daily - Roll log files daily. weekly - Roll log files on certain days of week. Valid values: none, daily, weekly.
days List<String>
Log files rolling schedule (days of week). sun - Sunday. mon - Monday. tue - Tuesday. wed - Wednesday. thu - Thursday. fri - Friday. sat - Saturday. Valid values: sun, mon, tue, wed, thu, fri, sat.
delFiles String
Enable/disable log file deletion after uploading. disable - Disable log file deletion. enable - Enable log file deletion. Valid values: disable, enable.
directory String
Upload server directory, for Unix server, use absolute
fileSize Number
Roll log files when they reach this size (MB).
gzipFormat String
Enable/disable compression of uploaded log files. disable - Disable compression. enable - Enable compression. Valid values: disable, enable.
hour Number
Log files rolling schedule (hour).
ip String
Upload server IP address.
ip2 String
Upload server IP2 address.
ip3 String
Upload server IP3 address.
logFormat String
Format of uploaded log files. native - Native format (text or compact). text - Text format (convert if necessary). csv - CSV (comma-separated value) format. Valid values: native, text, csv.
min Number
Log files rolling schedule (minutes).
password2s List<String>
Upload server login password2.
password3s List<String>
Upload server login password3.
passwords List<String>
Upload server login password.
port Number
Upload server IP1 port number.
port2 Number
Upload server IP2 port number.
port3 Number
Upload server IP3 port number.
rollingUpgradeStatus Number
rolling upgrade status (1|0).
server String
Upload server FQDN/IP.
server2 String
Upload server2 FQDN/IP.
server3 String
Upload server3 FQDN/IP.
serverType String
Upload server type. ftp - Upload via FTP. sftp - Upload via SFTP. scp - Upload via SCP. Valid values: ftp, sftp, scp.
systemLogSettingsRollinglocalId String
an identifier for the resource.
upload String
Enable/disable log file uploads. disable - Disable log files uploading. enable - Enable log files uploading. Valid values: disable, enable.
uploadHour Number
Log files upload schedule (hour).
uploadMode String
Upload mode with multiple servers. backup - Servers are attempted and used one after the other upon failure to connect. mirror - All configured servers are attempted and used. Valid values: backup, mirror.
uploadTrigger String
Event triggering log files upload. on-roll - Upload log files after they are rolled. on-schedule - Upload log files daily. Valid values: on-roll, on-schedule.
username String
Upload server login username.
username2 String
Upload server login username2.
username3 String
Upload server login username3.
when String
Roll log files periodically. none - Do not roll log files periodically. daily - Roll log files daily. weekly - Roll log files on certain days of week. Valid values: none, daily, weekly.

Import

System LogSettingsRollingLocal can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/systemLogSettingsRollinglocal:SystemLogSettingsRollinglocal labelname SystemLogSettingsRollingLocal
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

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

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.