1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. SystemLogDevicedisable
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.SystemLogDevicedisable

Explore with Pulumi AI

Disable client device logging.

Example Usage

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

const trname = new fortimanager.SystemLogDevicedisable("trname", {
    device: "terr-FGT",
    fosid: 1,
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.SystemLogDevicedisable("trname",
    device="terr-FGT",
    fosid=1)
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.NewSystemLogDevicedisable(ctx, "trname", &fortimanager.SystemLogDevicedisableArgs{
			Device: pulumi.String("terr-FGT"),
			Fosid:  pulumi.Float64(1),
		})
		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.SystemLogDevicedisable("trname", new()
    {
        Device = "terr-FGT",
        Fosid = 1,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemLogDevicedisable;
import com.pulumi.fortimanager.SystemLogDevicedisableArgs;
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 SystemLogDevicedisable("trname", SystemLogDevicedisableArgs.builder()
            .device("terr-FGT")
            .fosid("1")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:SystemLogDevicedisable
    properties:
      device: terr-FGT
      fosid: '1'
Copy

Create SystemLogDevicedisable Resource

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

Constructor syntax

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

@overload
def SystemLogDevicedisable(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           device: Optional[str] = None,
                           fosid: Optional[float] = None,
                           system_log_devicedisable_id: Optional[str] = None,
                           ttl: Optional[str] = None)
func NewSystemLogDevicedisable(ctx *Context, name string, args *SystemLogDevicedisableArgs, opts ...ResourceOption) (*SystemLogDevicedisable, error)
public SystemLogDevicedisable(string name, SystemLogDevicedisableArgs? args = null, CustomResourceOptions? opts = null)
public SystemLogDevicedisable(String name, SystemLogDevicedisableArgs args)
public SystemLogDevicedisable(String name, SystemLogDevicedisableArgs args, CustomResourceOptions options)
type: fortimanager:SystemLogDevicedisable
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 SystemLogDevicedisableArgs
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 SystemLogDevicedisableArgs
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 SystemLogDevicedisableArgs
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 SystemLogDevicedisableArgs
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. SystemLogDevicedisableArgs
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 systemLogDevicedisableResource = new Fortimanager.SystemLogDevicedisable("systemLogDevicedisableResource", new()
{
    Device = "string",
    Fosid = 0,
    SystemLogDevicedisableId = "string",
    Ttl = "string",
});
Copy
example, err := fortimanager.NewSystemLogDevicedisable(ctx, "systemLogDevicedisableResource", &fortimanager.SystemLogDevicedisableArgs{
Device: pulumi.String("string"),
Fosid: pulumi.Float64(0),
SystemLogDevicedisableId: pulumi.String("string"),
Ttl: pulumi.String("string"),
})
Copy
var systemLogDevicedisableResource = new SystemLogDevicedisable("systemLogDevicedisableResource", SystemLogDevicedisableArgs.builder()
    .device("string")
    .fosid(0)
    .systemLogDevicedisableId("string")
    .ttl("string")
    .build());
Copy
system_log_devicedisable_resource = fortimanager.SystemLogDevicedisable("systemLogDevicedisableResource",
    device="string",
    fosid=0,
    system_log_devicedisable_id="string",
    ttl="string")
Copy
const systemLogDevicedisableResource = new fortimanager.SystemLogDevicedisable("systemLogDevicedisableResource", {
    device: "string",
    fosid: 0,
    systemLogDevicedisableId: "string",
    ttl: "string",
});
Copy
type: fortimanager:SystemLogDevicedisable
properties:
    device: string
    fosid: 0
    systemLogDevicedisableId: string
    ttl: string
Copy

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

Device string
Device to be disabled logging
Fosid double
ID of device logging disable entry.
SystemLogDevicedisableId string
an identifier for the resource with format {{fosid}}.
Ttl string
Time to Live
Device string
Device to be disabled logging
Fosid float64
ID of device logging disable entry.
SystemLogDevicedisableId string
an identifier for the resource with format {{fosid}}.
Ttl string
Time to Live
device String
Device to be disabled logging
fosid Double
ID of device logging disable entry.
systemLogDevicedisableId String
an identifier for the resource with format {{fosid}}.
ttl String
Time to Live
device string
Device to be disabled logging
fosid number
ID of device logging disable entry.
systemLogDevicedisableId string
an identifier for the resource with format {{fosid}}.
ttl string
Time to Live
device str
Device to be disabled logging
fosid float
ID of device logging disable entry.
system_log_devicedisable_id str
an identifier for the resource with format {{fosid}}.
ttl str
Time to Live
device String
Device to be disabled logging
fosid Number
ID of device logging disable entry.
systemLogDevicedisableId String
an identifier for the resource with format {{fosid}}.
ttl String
Time to Live

Outputs

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

Get an existing SystemLogDevicedisable 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?: SystemLogDevicedisableState, opts?: CustomResourceOptions): SystemLogDevicedisable
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        device: Optional[str] = None,
        fosid: Optional[float] = None,
        system_log_devicedisable_id: Optional[str] = None,
        ttl: Optional[str] = None) -> SystemLogDevicedisable
func GetSystemLogDevicedisable(ctx *Context, name string, id IDInput, state *SystemLogDevicedisableState, opts ...ResourceOption) (*SystemLogDevicedisable, error)
public static SystemLogDevicedisable Get(string name, Input<string> id, SystemLogDevicedisableState? state, CustomResourceOptions? opts = null)
public static SystemLogDevicedisable get(String name, Output<String> id, SystemLogDevicedisableState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:SystemLogDevicedisable    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:
Device string
Device to be disabled logging
Fosid double
ID of device logging disable entry.
SystemLogDevicedisableId string
an identifier for the resource with format {{fosid}}.
Ttl string
Time to Live
Device string
Device to be disabled logging
Fosid float64
ID of device logging disable entry.
SystemLogDevicedisableId string
an identifier for the resource with format {{fosid}}.
Ttl string
Time to Live
device String
Device to be disabled logging
fosid Double
ID of device logging disable entry.
systemLogDevicedisableId String
an identifier for the resource with format {{fosid}}.
ttl String
Time to Live
device string
Device to be disabled logging
fosid number
ID of device logging disable entry.
systemLogDevicedisableId string
an identifier for the resource with format {{fosid}}.
ttl string
Time to Live
device str
Device to be disabled logging
fosid float
ID of device logging disable entry.
system_log_devicedisable_id str
an identifier for the resource with format {{fosid}}.
ttl str
Time to Live
device String
Device to be disabled logging
fosid Number
ID of device logging disable entry.
systemLogDevicedisableId String
an identifier for the resource with format {{fosid}}.
ttl String
Time to Live

Import

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/systemLogDevicedisable:SystemLogDevicedisable labelname {{fosid}}
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.