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

fortimanager.SystemLogTopology

Explore with Pulumi AI

Logging topology settings.

Example Usage

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

const trname = new fortimanager.SystemLogTopology("trname", {
    maxDepth: 10,
    maxDepthShare: 2,
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.SystemLogTopology("trname",
    max_depth=10,
    max_depth_share=2)
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.NewSystemLogTopology(ctx, "trname", &fortimanager.SystemLogTopologyArgs{
			MaxDepth:      pulumi.Float64(10),
			MaxDepthShare: pulumi.Float64(2),
		})
		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.SystemLogTopology("trname", new()
    {
        MaxDepth = 10,
        MaxDepthShare = 2,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemLogTopology;
import com.pulumi.fortimanager.SystemLogTopologyArgs;
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 SystemLogTopology("trname", SystemLogTopologyArgs.builder()
            .maxDepth(10)
            .maxDepthShare(2)
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:SystemLogTopology
    properties:
      maxDepth: 10
      maxDepthShare: 2
Copy

Create SystemLogTopology Resource

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

Constructor syntax

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

@overload
def SystemLogTopology(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      max_depth: Optional[float] = None,
                      max_depth_share: Optional[float] = None,
                      system_log_topology_id: Optional[str] = None)
func NewSystemLogTopology(ctx *Context, name string, args *SystemLogTopologyArgs, opts ...ResourceOption) (*SystemLogTopology, error)
public SystemLogTopology(string name, SystemLogTopologyArgs? args = null, CustomResourceOptions? opts = null)
public SystemLogTopology(String name, SystemLogTopologyArgs args)
public SystemLogTopology(String name, SystemLogTopologyArgs args, CustomResourceOptions options)
type: fortimanager:SystemLogTopology
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 SystemLogTopologyArgs
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 SystemLogTopologyArgs
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 SystemLogTopologyArgs
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 SystemLogTopologyArgs
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. SystemLogTopologyArgs
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 systemLogTopologyResource = new Fortimanager.SystemLogTopology("systemLogTopologyResource", new()
{
    MaxDepth = 0,
    MaxDepthShare = 0,
    SystemLogTopologyId = "string",
});
Copy
example, err := fortimanager.NewSystemLogTopology(ctx, "systemLogTopologyResource", &fortimanager.SystemLogTopologyArgs{
MaxDepth: pulumi.Float64(0),
MaxDepthShare: pulumi.Float64(0),
SystemLogTopologyId: pulumi.String("string"),
})
Copy
var systemLogTopologyResource = new SystemLogTopology("systemLogTopologyResource", SystemLogTopologyArgs.builder()
    .maxDepth(0)
    .maxDepthShare(0)
    .systemLogTopologyId("string")
    .build());
Copy
system_log_topology_resource = fortimanager.SystemLogTopology("systemLogTopologyResource",
    max_depth=0,
    max_depth_share=0,
    system_log_topology_id="string")
Copy
const systemLogTopologyResource = new fortimanager.SystemLogTopology("systemLogTopologyResource", {
    maxDepth: 0,
    maxDepthShare: 0,
    systemLogTopologyId: "string",
});
Copy
type: fortimanager:SystemLogTopology
properties:
    maxDepth: 0
    maxDepthShare: 0
    systemLogTopologyId: string
Copy

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

MaxDepth double
Maximum descend levels below this device.
MaxDepthShare double
Maximum descend levels below this device to share with upstream.
SystemLogTopologyId string
an identifier for the resource.
MaxDepth float64
Maximum descend levels below this device.
MaxDepthShare float64
Maximum descend levels below this device to share with upstream.
SystemLogTopologyId string
an identifier for the resource.
maxDepth Double
Maximum descend levels below this device.
maxDepthShare Double
Maximum descend levels below this device to share with upstream.
systemLogTopologyId String
an identifier for the resource.
maxDepth number
Maximum descend levels below this device.
maxDepthShare number
Maximum descend levels below this device to share with upstream.
systemLogTopologyId string
an identifier for the resource.
max_depth float
Maximum descend levels below this device.
max_depth_share float
Maximum descend levels below this device to share with upstream.
system_log_topology_id str
an identifier for the resource.
maxDepth Number
Maximum descend levels below this device.
maxDepthShare Number
Maximum descend levels below this device to share with upstream.
systemLogTopologyId String
an identifier for the resource.

Outputs

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

Get an existing SystemLogTopology 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?: SystemLogTopologyState, opts?: CustomResourceOptions): SystemLogTopology
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        max_depth: Optional[float] = None,
        max_depth_share: Optional[float] = None,
        system_log_topology_id: Optional[str] = None) -> SystemLogTopology
func GetSystemLogTopology(ctx *Context, name string, id IDInput, state *SystemLogTopologyState, opts ...ResourceOption) (*SystemLogTopology, error)
public static SystemLogTopology Get(string name, Input<string> id, SystemLogTopologyState? state, CustomResourceOptions? opts = null)
public static SystemLogTopology get(String name, Output<String> id, SystemLogTopologyState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:SystemLogTopology    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:
MaxDepth double
Maximum descend levels below this device.
MaxDepthShare double
Maximum descend levels below this device to share with upstream.
SystemLogTopologyId string
an identifier for the resource.
MaxDepth float64
Maximum descend levels below this device.
MaxDepthShare float64
Maximum descend levels below this device to share with upstream.
SystemLogTopologyId string
an identifier for the resource.
maxDepth Double
Maximum descend levels below this device.
maxDepthShare Double
Maximum descend levels below this device to share with upstream.
systemLogTopologyId String
an identifier for the resource.
maxDepth number
Maximum descend levels below this device.
maxDepthShare number
Maximum descend levels below this device to share with upstream.
systemLogTopologyId string
an identifier for the resource.
max_depth float
Maximum descend levels below this device.
max_depth_share float
Maximum descend levels below this device to share with upstream.
system_log_topology_id str
an identifier for the resource.
maxDepth Number
Maximum descend levels below this device.
maxDepthShare Number
Maximum descend levels below this device to share with upstream.
systemLogTopologyId String
an identifier for the resource.

Import

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

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