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

fortimanager.SystemLocallogMemorySetting

Explore with Pulumi AI

Settings for memory buffer.

Example Usage

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

const trname = new fortimanager.SystemLocallogMemorySetting("trname", {
    diskfull: "overwrite",
    severity: "warning",
    status: "disable",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.SystemLocallogMemorySetting("trname",
    diskfull="overwrite",
    severity="warning",
    status="disable")
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.NewSystemLocallogMemorySetting(ctx, "trname", &fortimanager.SystemLocallogMemorySettingArgs{
			Diskfull: pulumi.String("overwrite"),
			Severity: pulumi.String("warning"),
			Status:   pulumi.String("disable"),
		})
		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.SystemLocallogMemorySetting("trname", new()
    {
        Diskfull = "overwrite",
        Severity = "warning",
        Status = "disable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemLocallogMemorySetting;
import com.pulumi.fortimanager.SystemLocallogMemorySettingArgs;
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 SystemLocallogMemorySetting("trname", SystemLocallogMemorySettingArgs.builder()
            .diskfull("overwrite")
            .severity("warning")
            .status("disable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:SystemLocallogMemorySetting
    properties:
      diskfull: overwrite
      severity: warning
      status: disable
Copy

Create SystemLocallogMemorySetting Resource

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

Constructor syntax

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

@overload
def SystemLocallogMemorySetting(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                diskfull: Optional[str] = None,
                                severity: Optional[str] = None,
                                status: Optional[str] = None,
                                system_locallog_memory_setting_id: Optional[str] = None)
func NewSystemLocallogMemorySetting(ctx *Context, name string, args *SystemLocallogMemorySettingArgs, opts ...ResourceOption) (*SystemLocallogMemorySetting, error)
public SystemLocallogMemorySetting(string name, SystemLocallogMemorySettingArgs? args = null, CustomResourceOptions? opts = null)
public SystemLocallogMemorySetting(String name, SystemLocallogMemorySettingArgs args)
public SystemLocallogMemorySetting(String name, SystemLocallogMemorySettingArgs args, CustomResourceOptions options)
type: fortimanager:SystemLocallogMemorySetting
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 SystemLocallogMemorySettingArgs
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 SystemLocallogMemorySettingArgs
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 SystemLocallogMemorySettingArgs
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 SystemLocallogMemorySettingArgs
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. SystemLocallogMemorySettingArgs
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 systemLocallogMemorySettingResource = new Fortimanager.SystemLocallogMemorySetting("systemLocallogMemorySettingResource", new()
{
    Diskfull = "string",
    Severity = "string",
    Status = "string",
    SystemLocallogMemorySettingId = "string",
});
Copy
example, err := fortimanager.NewSystemLocallogMemorySetting(ctx, "systemLocallogMemorySettingResource", &fortimanager.SystemLocallogMemorySettingArgs{
Diskfull: pulumi.String("string"),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
SystemLocallogMemorySettingId: pulumi.String("string"),
})
Copy
var systemLocallogMemorySettingResource = new SystemLocallogMemorySetting("systemLocallogMemorySettingResource", SystemLocallogMemorySettingArgs.builder()
    .diskfull("string")
    .severity("string")
    .status("string")
    .systemLocallogMemorySettingId("string")
    .build());
Copy
system_locallog_memory_setting_resource = fortimanager.SystemLocallogMemorySetting("systemLocallogMemorySettingResource",
    diskfull="string",
    severity="string",
    status="string",
    system_locallog_memory_setting_id="string")
Copy
const systemLocallogMemorySettingResource = new fortimanager.SystemLocallogMemorySetting("systemLocallogMemorySettingResource", {
    diskfull: "string",
    severity: "string",
    status: "string",
    systemLocallogMemorySettingId: "string",
});
Copy
type: fortimanager:SystemLocallogMemorySetting
properties:
    diskfull: string
    severity: string
    status: string
    systemLocallogMemorySettingId: string
Copy

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

Diskfull string
Action upon disk full. overwrite - Overwrite oldest log when disk is full. nolog - Stop logging when disk is full. Valid values: overwrite, nolog.
Severity string
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
Status string
Enable/disable memory buffer log. disable - Do not log to memory buffer. enable - Log to memory buffer. Valid values: disable, enable.
SystemLocallogMemorySettingId string
an identifier for the resource.
Diskfull string
Action upon disk full. overwrite - Overwrite oldest log when disk is full. nolog - Stop logging when disk is full. Valid values: overwrite, nolog.
Severity string
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
Status string
Enable/disable memory buffer log. disable - Do not log to memory buffer. enable - Log to memory buffer. Valid values: disable, enable.
SystemLocallogMemorySettingId string
an identifier for the resource.
diskfull String
Action upon disk full. overwrite - Overwrite oldest log when disk is full. nolog - Stop logging when disk is full. Valid values: overwrite, nolog.
severity String
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status String
Enable/disable memory buffer log. disable - Do not log to memory buffer. enable - Log to memory buffer. Valid values: disable, enable.
systemLocallogMemorySettingId String
an identifier for the resource.
diskfull string
Action upon disk full. overwrite - Overwrite oldest log when disk is full. nolog - Stop logging when disk is full. Valid values: overwrite, nolog.
severity string
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status string
Enable/disable memory buffer log. disable - Do not log to memory buffer. enable - Log to memory buffer. Valid values: disable, enable.
systemLocallogMemorySettingId string
an identifier for the resource.
diskfull str
Action upon disk full. overwrite - Overwrite oldest log when disk is full. nolog - Stop logging when disk is full. Valid values: overwrite, nolog.
severity str
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status str
Enable/disable memory buffer log. disable - Do not log to memory buffer. enable - Log to memory buffer. Valid values: disable, enable.
system_locallog_memory_setting_id str
an identifier for the resource.
diskfull String
Action upon disk full. overwrite - Overwrite oldest log when disk is full. nolog - Stop logging when disk is full. Valid values: overwrite, nolog.
severity String
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status String
Enable/disable memory buffer log. disable - Do not log to memory buffer. enable - Log to memory buffer. Valid values: disable, enable.
systemLocallogMemorySettingId String
an identifier for the resource.

Outputs

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

Get an existing SystemLocallogMemorySetting 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?: SystemLocallogMemorySettingState, opts?: CustomResourceOptions): SystemLocallogMemorySetting
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        diskfull: Optional[str] = None,
        severity: Optional[str] = None,
        status: Optional[str] = None,
        system_locallog_memory_setting_id: Optional[str] = None) -> SystemLocallogMemorySetting
func GetSystemLocallogMemorySetting(ctx *Context, name string, id IDInput, state *SystemLocallogMemorySettingState, opts ...ResourceOption) (*SystemLocallogMemorySetting, error)
public static SystemLocallogMemorySetting Get(string name, Input<string> id, SystemLocallogMemorySettingState? state, CustomResourceOptions? opts = null)
public static SystemLocallogMemorySetting get(String name, Output<String> id, SystemLocallogMemorySettingState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:SystemLocallogMemorySetting    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Diskfull string
Action upon disk full. overwrite - Overwrite oldest log when disk is full. nolog - Stop logging when disk is full. Valid values: overwrite, nolog.
Severity string
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
Status string
Enable/disable memory buffer log. disable - Do not log to memory buffer. enable - Log to memory buffer. Valid values: disable, enable.
SystemLocallogMemorySettingId string
an identifier for the resource.
Diskfull string
Action upon disk full. overwrite - Overwrite oldest log when disk is full. nolog - Stop logging when disk is full. Valid values: overwrite, nolog.
Severity string
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
Status string
Enable/disable memory buffer log. disable - Do not log to memory buffer. enable - Log to memory buffer. Valid values: disable, enable.
SystemLocallogMemorySettingId string
an identifier for the resource.
diskfull String
Action upon disk full. overwrite - Overwrite oldest log when disk is full. nolog - Stop logging when disk is full. Valid values: overwrite, nolog.
severity String
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status String
Enable/disable memory buffer log. disable - Do not log to memory buffer. enable - Log to memory buffer. Valid values: disable, enable.
systemLocallogMemorySettingId String
an identifier for the resource.
diskfull string
Action upon disk full. overwrite - Overwrite oldest log when disk is full. nolog - Stop logging when disk is full. Valid values: overwrite, nolog.
severity string
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status string
Enable/disable memory buffer log. disable - Do not log to memory buffer. enable - Log to memory buffer. Valid values: disable, enable.
systemLocallogMemorySettingId string
an identifier for the resource.
diskfull str
Action upon disk full. overwrite - Overwrite oldest log when disk is full. nolog - Stop logging when disk is full. Valid values: overwrite, nolog.
severity str
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status str
Enable/disable memory buffer log. disable - Do not log to memory buffer. enable - Log to memory buffer. Valid values: disable, enable.
system_locallog_memory_setting_id str
an identifier for the resource.
diskfull String
Action upon disk full. overwrite - Overwrite oldest log when disk is full. nolog - Stop logging when disk is full. Valid values: overwrite, nolog.
severity String
Least severity level to log. emergency - Emergency level. alert - Alert level. critical - Critical level. error - Error level. warning - Warning level. notification - Notification level. information - Information level. debug - Debug level. Valid values: emergency, alert, critical, error, warning, notification, information, debug.
status String
Enable/disable memory buffer log. disable - Do not log to memory buffer. enable - Log to memory buffer. Valid values: disable, enable.
systemLocallogMemorySettingId String
an identifier for the resource.

Import

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/systemLocallogMemorySetting:SystemLocallogMemorySetting labelname SystemLocallogMemorySetting
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.