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

fortimanager.ObjectLogNpuserver

Explore with Pulumi AI

Configure all the log servers and create the server groups.

The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • server_group: fortimanager.ObjectLogNpuserverServergroup
  • server_info: fortimanager.ObjectLogNpuserverServerinfo

Example Usage

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

const trname = new fortimanager.ObjectLogNpuserver("trname", {
    logProcessing: "no-drop",
    serverInfos: [{
        destPort: 60,
        id: 2,
        ipFamily: "v4",
        ipv4Server: "34.5.6.9",
    }],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectLogNpuserver("trname",
    log_processing="no-drop",
    server_infos=[{
        "dest_port": 60,
        "id": 2,
        "ip_family": "v4",
        "ipv4_server": "34.5.6.9",
    }])
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.NewObjectLogNpuserver(ctx, "trname", &fortimanager.ObjectLogNpuserverArgs{
			LogProcessing: pulumi.String("no-drop"),
			ServerInfos: fortimanager.ObjectLogNpuserverServerInfoTypeArray{
				&fortimanager.ObjectLogNpuserverServerInfoTypeArgs{
					DestPort:   pulumi.Float64(60),
					Id:         pulumi.Float64(2),
					IpFamily:   pulumi.String("v4"),
					Ipv4Server: pulumi.String("34.5.6.9"),
				},
			},
		})
		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.ObjectLogNpuserver("trname", new()
    {
        LogProcessing = "no-drop",
        ServerInfos = new[]
        {
            new Fortimanager.Inputs.ObjectLogNpuserverServerInfoArgs
            {
                DestPort = 60,
                Id = 2,
                IpFamily = "v4",
                Ipv4Server = "34.5.6.9",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectLogNpuserver;
import com.pulumi.fortimanager.ObjectLogNpuserverArgs;
import com.pulumi.fortimanager.inputs.ObjectLogNpuserverServerInfoArgs;
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 ObjectLogNpuserver("trname", ObjectLogNpuserverArgs.builder()
            .logProcessing("no-drop")
            .serverInfos(ObjectLogNpuserverServerInfoArgs.builder()
                .destPort(60)
                .id(2)
                .ipFamily("v4")
                .ipv4Server("34.5.6.9")
                .build())
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectLogNpuserver
    properties:
      logProcessing: no-drop
      serverInfos:
        - destPort: 60
          id: 2
          ipFamily: v4
          ipv4Server: 34.5.6.9
Copy

Create ObjectLogNpuserver Resource

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

Constructor syntax

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

@overload
def ObjectLogNpuserver(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       adom: Optional[str] = None,
                       dynamic_sort_subtable: Optional[str] = None,
                       enforce_seq_order: Optional[str] = None,
                       log_processing: Optional[str] = None,
                       log_processor: Optional[str] = None,
                       netflow_ver: Optional[str] = None,
                       object_log_npuserver_id: Optional[str] = None,
                       scopetype: Optional[str] = None,
                       server_groups: Optional[Sequence[ObjectLogNpuserverServerGroupArgs]] = None,
                       server_infos: Optional[Sequence[ObjectLogNpuserverServerInfoArgs]] = None,
                       syslog_facility: Optional[float] = None,
                       syslog_severity: Optional[float] = None)
func NewObjectLogNpuserver(ctx *Context, name string, args *ObjectLogNpuserverArgs, opts ...ResourceOption) (*ObjectLogNpuserver, error)
public ObjectLogNpuserver(string name, ObjectLogNpuserverArgs? args = null, CustomResourceOptions? opts = null)
public ObjectLogNpuserver(String name, ObjectLogNpuserverArgs args)
public ObjectLogNpuserver(String name, ObjectLogNpuserverArgs args, CustomResourceOptions options)
type: fortimanager:ObjectLogNpuserver
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 ObjectLogNpuserverArgs
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 ObjectLogNpuserverArgs
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 ObjectLogNpuserverArgs
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 ObjectLogNpuserverArgs
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. ObjectLogNpuserverArgs
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 objectLogNpuserverResource = new Fortimanager.ObjectLogNpuserver("objectLogNpuserverResource", new()
{
    Adom = "string",
    DynamicSortSubtable = "string",
    EnforceSeqOrder = "string",
    LogProcessing = "string",
    LogProcessor = "string",
    NetflowVer = "string",
    ObjectLogNpuserverId = "string",
    Scopetype = "string",
    ServerGroups = new[]
    {
        new Fortimanager.Inputs.ObjectLogNpuserverServerGroupArgs
        {
            GroupName = "string",
            LogFormat = "string",
            LogGenEvent = "string",
            LogMode = "string",
            LogTxMode = "string",
            LogUserInfo = "string",
            ServerNumber = 0,
            ServerStartId = 0,
            SwLogFlags = "string",
        },
    },
    ServerInfos = new[]
    {
        new Fortimanager.Inputs.ObjectLogNpuserverServerInfoArgs
        {
            DestPort = 0,
            Id = 0,
            IpFamily = "string",
            Ipv4Server = "string",
            Ipv6Server = "string",
            LogTransport = "string",
            SourcePort = 0,
            TemplateTxTimeout = 0,
            Vdom = "string",
        },
    },
    SyslogFacility = 0,
    SyslogSeverity = 0,
});
Copy
example, err := fortimanager.NewObjectLogNpuserver(ctx, "objectLogNpuserverResource", &fortimanager.ObjectLogNpuserverArgs{
Adom: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
EnforceSeqOrder: pulumi.String("string"),
LogProcessing: pulumi.String("string"),
LogProcessor: pulumi.String("string"),
NetflowVer: pulumi.String("string"),
ObjectLogNpuserverId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
ServerGroups: .ObjectLogNpuserverServerGroupTypeArray{
&.ObjectLogNpuserverServerGroupTypeArgs{
GroupName: pulumi.String("string"),
LogFormat: pulumi.String("string"),
LogGenEvent: pulumi.String("string"),
LogMode: pulumi.String("string"),
LogTxMode: pulumi.String("string"),
LogUserInfo: pulumi.String("string"),
ServerNumber: pulumi.Float64(0),
ServerStartId: pulumi.Float64(0),
SwLogFlags: pulumi.String("string"),
},
},
ServerInfos: .ObjectLogNpuserverServerInfoTypeArray{
&.ObjectLogNpuserverServerInfoTypeArgs{
DestPort: pulumi.Float64(0),
Id: pulumi.Float64(0),
IpFamily: pulumi.String("string"),
Ipv4Server: pulumi.String("string"),
Ipv6Server: pulumi.String("string"),
LogTransport: pulumi.String("string"),
SourcePort: pulumi.Float64(0),
TemplateTxTimeout: pulumi.Float64(0),
Vdom: pulumi.String("string"),
},
},
SyslogFacility: pulumi.Float64(0),
SyslogSeverity: pulumi.Float64(0),
})
Copy
var objectLogNpuserverResource = new ObjectLogNpuserver("objectLogNpuserverResource", ObjectLogNpuserverArgs.builder()
    .adom("string")
    .dynamicSortSubtable("string")
    .enforceSeqOrder("string")
    .logProcessing("string")
    .logProcessor("string")
    .netflowVer("string")
    .objectLogNpuserverId("string")
    .scopetype("string")
    .serverGroups(ObjectLogNpuserverServerGroupArgs.builder()
        .groupName("string")
        .logFormat("string")
        .logGenEvent("string")
        .logMode("string")
        .logTxMode("string")
        .logUserInfo("string")
        .serverNumber(0)
        .serverStartId(0)
        .swLogFlags("string")
        .build())
    .serverInfos(ObjectLogNpuserverServerInfoArgs.builder()
        .destPort(0)
        .id(0)
        .ipFamily("string")
        .ipv4Server("string")
        .ipv6Server("string")
        .logTransport("string")
        .sourcePort(0)
        .templateTxTimeout(0)
        .vdom("string")
        .build())
    .syslogFacility(0)
    .syslogSeverity(0)
    .build());
Copy
object_log_npuserver_resource = fortimanager.ObjectLogNpuserver("objectLogNpuserverResource",
    adom="string",
    dynamic_sort_subtable="string",
    enforce_seq_order="string",
    log_processing="string",
    log_processor="string",
    netflow_ver="string",
    object_log_npuserver_id="string",
    scopetype="string",
    server_groups=[{
        "group_name": "string",
        "log_format": "string",
        "log_gen_event": "string",
        "log_mode": "string",
        "log_tx_mode": "string",
        "log_user_info": "string",
        "server_number": 0,
        "server_start_id": 0,
        "sw_log_flags": "string",
    }],
    server_infos=[{
        "dest_port": 0,
        "id": 0,
        "ip_family": "string",
        "ipv4_server": "string",
        "ipv6_server": "string",
        "log_transport": "string",
        "source_port": 0,
        "template_tx_timeout": 0,
        "vdom": "string",
    }],
    syslog_facility=0,
    syslog_severity=0)
Copy
const objectLogNpuserverResource = new fortimanager.ObjectLogNpuserver("objectLogNpuserverResource", {
    adom: "string",
    dynamicSortSubtable: "string",
    enforceSeqOrder: "string",
    logProcessing: "string",
    logProcessor: "string",
    netflowVer: "string",
    objectLogNpuserverId: "string",
    scopetype: "string",
    serverGroups: [{
        groupName: "string",
        logFormat: "string",
        logGenEvent: "string",
        logMode: "string",
        logTxMode: "string",
        logUserInfo: "string",
        serverNumber: 0,
        serverStartId: 0,
        swLogFlags: "string",
    }],
    serverInfos: [{
        destPort: 0,
        id: 0,
        ipFamily: "string",
        ipv4Server: "string",
        ipv6Server: "string",
        logTransport: "string",
        sourcePort: 0,
        templateTxTimeout: 0,
        vdom: "string",
    }],
    syslogFacility: 0,
    syslogSeverity: 0,
});
Copy
type: fortimanager:ObjectLogNpuserver
properties:
    adom: string
    dynamicSortSubtable: string
    enforceSeqOrder: string
    logProcessing: string
    logProcessor: string
    netflowVer: string
    objectLogNpuserverId: string
    scopetype: string
    serverGroups:
        - groupName: string
          logFormat: string
          logGenEvent: string
          logMode: string
          logTxMode: string
          logUserInfo: string
          serverNumber: 0
          serverStartId: 0
          swLogFlags: string
    serverInfos:
        - destPort: 0
          id: 0
          ipFamily: string
          ipv4Server: string
          ipv6Server: string
          logTransport: string
          sourcePort: 0
          templateTxTimeout: 0
          vdom: string
    syslogFacility: 0
    syslogSeverity: 0
Copy

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

Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
EnforceSeqOrder string
sw session netflow logs will be delivered in strict order if the option is enabled. Please do not switch the option while sw traffic is passing through. Valid values: disable, enable.
LogProcessing string
configure log processed by host to drop or no drop. Valid values: may-drop, no-drop.
LogProcessor string
configure the log module. Valid values: hardware, host.
NetflowVer string
configure the netfow verson. Valid values: v9, v10.
ObjectLogNpuserverId string
an identifier for the resource.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
ServerGroups List<ObjectLogNpuserverServerGroup>
Server-Group. The structure of server_group block is documented below.
ServerInfos List<ObjectLogNpuserverServerInfo>
Server-Info. The structure of server_info block is documented below.
SyslogFacility double
configure the syslog facility.
SyslogSeverity double
configure the syslog severity.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
EnforceSeqOrder string
sw session netflow logs will be delivered in strict order if the option is enabled. Please do not switch the option while sw traffic is passing through. Valid values: disable, enable.
LogProcessing string
configure log processed by host to drop or no drop. Valid values: may-drop, no-drop.
LogProcessor string
configure the log module. Valid values: hardware, host.
NetflowVer string
configure the netfow verson. Valid values: v9, v10.
ObjectLogNpuserverId string
an identifier for the resource.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
ServerGroups []ObjectLogNpuserverServerGroupTypeArgs
Server-Group. The structure of server_group block is documented below.
ServerInfos []ObjectLogNpuserverServerInfoTypeArgs
Server-Info. The structure of server_info block is documented below.
SyslogFacility float64
configure the syslog facility.
SyslogSeverity float64
configure the syslog severity.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
enforceSeqOrder String
sw session netflow logs will be delivered in strict order if the option is enabled. Please do not switch the option while sw traffic is passing through. Valid values: disable, enable.
logProcessing String
configure log processed by host to drop or no drop. Valid values: may-drop, no-drop.
logProcessor String
configure the log module. Valid values: hardware, host.
netflowVer String
configure the netfow verson. Valid values: v9, v10.
objectLogNpuserverId String
an identifier for the resource.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
serverGroups List<ObjectLogNpuserverServerGroup>
Server-Group. The structure of server_group block is documented below.
serverInfos List<ObjectLogNpuserverServerInfo>
Server-Info. The structure of server_info block is documented below.
syslogFacility Double
configure the syslog facility.
syslogSeverity Double
configure the syslog severity.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
enforceSeqOrder string
sw session netflow logs will be delivered in strict order if the option is enabled. Please do not switch the option while sw traffic is passing through. Valid values: disable, enable.
logProcessing string
configure log processed by host to drop or no drop. Valid values: may-drop, no-drop.
logProcessor string
configure the log module. Valid values: hardware, host.
netflowVer string
configure the netfow verson. Valid values: v9, v10.
objectLogNpuserverId string
an identifier for the resource.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
serverGroups ObjectLogNpuserverServerGroup[]
Server-Group. The structure of server_group block is documented below.
serverInfos ObjectLogNpuserverServerInfo[]
Server-Info. The structure of server_info block is documented below.
syslogFacility number
configure the syslog facility.
syslogSeverity number
configure the syslog severity.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
enforce_seq_order str
sw session netflow logs will be delivered in strict order if the option is enabled. Please do not switch the option while sw traffic is passing through. Valid values: disable, enable.
log_processing str
configure log processed by host to drop or no drop. Valid values: may-drop, no-drop.
log_processor str
configure the log module. Valid values: hardware, host.
netflow_ver str
configure the netfow verson. Valid values: v9, v10.
object_log_npuserver_id str
an identifier for the resource.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
server_groups Sequence[ObjectLogNpuserverServerGroupArgs]
Server-Group. The structure of server_group block is documented below.
server_infos Sequence[ObjectLogNpuserverServerInfoArgs]
Server-Info. The structure of server_info block is documented below.
syslog_facility float
configure the syslog facility.
syslog_severity float
configure the syslog severity.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
enforceSeqOrder String
sw session netflow logs will be delivered in strict order if the option is enabled. Please do not switch the option while sw traffic is passing through. Valid values: disable, enable.
logProcessing String
configure log processed by host to drop or no drop. Valid values: may-drop, no-drop.
logProcessor String
configure the log module. Valid values: hardware, host.
netflowVer String
configure the netfow verson. Valid values: v9, v10.
objectLogNpuserverId String
an identifier for the resource.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
serverGroups List<Property Map>
Server-Group. The structure of server_group block is documented below.
serverInfos List<Property Map>
Server-Info. The structure of server_info block is documented below.
syslogFacility Number
configure the syslog facility.
syslogSeverity Number
configure the syslog severity.

Outputs

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

Get an existing ObjectLogNpuserver 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?: ObjectLogNpuserverState, opts?: CustomResourceOptions): ObjectLogNpuserver
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        enforce_seq_order: Optional[str] = None,
        log_processing: Optional[str] = None,
        log_processor: Optional[str] = None,
        netflow_ver: Optional[str] = None,
        object_log_npuserver_id: Optional[str] = None,
        scopetype: Optional[str] = None,
        server_groups: Optional[Sequence[ObjectLogNpuserverServerGroupArgs]] = None,
        server_infos: Optional[Sequence[ObjectLogNpuserverServerInfoArgs]] = None,
        syslog_facility: Optional[float] = None,
        syslog_severity: Optional[float] = None) -> ObjectLogNpuserver
func GetObjectLogNpuserver(ctx *Context, name string, id IDInput, state *ObjectLogNpuserverState, opts ...ResourceOption) (*ObjectLogNpuserver, error)
public static ObjectLogNpuserver Get(string name, Input<string> id, ObjectLogNpuserverState? state, CustomResourceOptions? opts = null)
public static ObjectLogNpuserver get(String name, Output<String> id, ObjectLogNpuserverState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectLogNpuserver    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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
EnforceSeqOrder string
sw session netflow logs will be delivered in strict order if the option is enabled. Please do not switch the option while sw traffic is passing through. Valid values: disable, enable.
LogProcessing string
configure log processed by host to drop or no drop. Valid values: may-drop, no-drop.
LogProcessor string
configure the log module. Valid values: hardware, host.
NetflowVer string
configure the netfow verson. Valid values: v9, v10.
ObjectLogNpuserverId string
an identifier for the resource.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
ServerGroups List<ObjectLogNpuserverServerGroup>
Server-Group. The structure of server_group block is documented below.
ServerInfos List<ObjectLogNpuserverServerInfo>
Server-Info. The structure of server_info block is documented below.
SyslogFacility double
configure the syslog facility.
SyslogSeverity double
configure the syslog severity.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
EnforceSeqOrder string
sw session netflow logs will be delivered in strict order if the option is enabled. Please do not switch the option while sw traffic is passing through. Valid values: disable, enable.
LogProcessing string
configure log processed by host to drop or no drop. Valid values: may-drop, no-drop.
LogProcessor string
configure the log module. Valid values: hardware, host.
NetflowVer string
configure the netfow verson. Valid values: v9, v10.
ObjectLogNpuserverId string
an identifier for the resource.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
ServerGroups []ObjectLogNpuserverServerGroupTypeArgs
Server-Group. The structure of server_group block is documented below.
ServerInfos []ObjectLogNpuserverServerInfoTypeArgs
Server-Info. The structure of server_info block is documented below.
SyslogFacility float64
configure the syslog facility.
SyslogSeverity float64
configure the syslog severity.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
enforceSeqOrder String
sw session netflow logs will be delivered in strict order if the option is enabled. Please do not switch the option while sw traffic is passing through. Valid values: disable, enable.
logProcessing String
configure log processed by host to drop or no drop. Valid values: may-drop, no-drop.
logProcessor String
configure the log module. Valid values: hardware, host.
netflowVer String
configure the netfow verson. Valid values: v9, v10.
objectLogNpuserverId String
an identifier for the resource.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
serverGroups List<ObjectLogNpuserverServerGroup>
Server-Group. The structure of server_group block is documented below.
serverInfos List<ObjectLogNpuserverServerInfo>
Server-Info. The structure of server_info block is documented below.
syslogFacility Double
configure the syslog facility.
syslogSeverity Double
configure the syslog severity.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
enforceSeqOrder string
sw session netflow logs will be delivered in strict order if the option is enabled. Please do not switch the option while sw traffic is passing through. Valid values: disable, enable.
logProcessing string
configure log processed by host to drop or no drop. Valid values: may-drop, no-drop.
logProcessor string
configure the log module. Valid values: hardware, host.
netflowVer string
configure the netfow verson. Valid values: v9, v10.
objectLogNpuserverId string
an identifier for the resource.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
serverGroups ObjectLogNpuserverServerGroup[]
Server-Group. The structure of server_group block is documented below.
serverInfos ObjectLogNpuserverServerInfo[]
Server-Info. The structure of server_info block is documented below.
syslogFacility number
configure the syslog facility.
syslogSeverity number
configure the syslog severity.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
enforce_seq_order str
sw session netflow logs will be delivered in strict order if the option is enabled. Please do not switch the option while sw traffic is passing through. Valid values: disable, enable.
log_processing str
configure log processed by host to drop or no drop. Valid values: may-drop, no-drop.
log_processor str
configure the log module. Valid values: hardware, host.
netflow_ver str
configure the netfow verson. Valid values: v9, v10.
object_log_npuserver_id str
an identifier for the resource.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
server_groups Sequence[ObjectLogNpuserverServerGroupArgs]
Server-Group. The structure of server_group block is documented below.
server_infos Sequence[ObjectLogNpuserverServerInfoArgs]
Server-Info. The structure of server_info block is documented below.
syslog_facility float
configure the syslog facility.
syslog_severity float
configure the syslog severity.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
enforceSeqOrder String
sw session netflow logs will be delivered in strict order if the option is enabled. Please do not switch the option while sw traffic is passing through. Valid values: disable, enable.
logProcessing String
configure log processed by host to drop or no drop. Valid values: may-drop, no-drop.
logProcessor String
configure the log module. Valid values: hardware, host.
netflowVer String
configure the netfow verson. Valid values: v9, v10.
objectLogNpuserverId String
an identifier for the resource.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
serverGroups List<Property Map>
Server-Group. The structure of server_group block is documented below.
serverInfos List<Property Map>
Server-Info. The structure of server_info block is documented below.
syslogFacility Number
configure the syslog facility.
syslogSeverity Number
configure the syslog severity.

Supporting Types

ObjectLogNpuserverServerGroup
, ObjectLogNpuserverServerGroupArgs

GroupName string
server group name.
LogFormat string
Set the log format Valid values: syslog, netflow.
LogGenEvent string
Enable/disbale generating event for Per-Mapping log Valid values: disable, enable.
LogMode string
Set the log mode Valid values: per-session, per-nat-mapping, per-session-ending.
LogTxMode string
Configure log transmit mode. Valid values: multicast, roundrobin.
LogUserInfo string
Enable/disbale logging user information. Valid values: disable, enable.
ServerNumber double
server number in this group.
ServerStartId double
the start id of the continuous server series in this group,[1,16].
SwLogFlags string
Set flags for software logging via driver. Valid values: tcp-udp-only, enable-all-log, disable-all-log.
GroupName string
server group name.
LogFormat string
Set the log format Valid values: syslog, netflow.
LogGenEvent string
Enable/disbale generating event for Per-Mapping log Valid values: disable, enable.
LogMode string
Set the log mode Valid values: per-session, per-nat-mapping, per-session-ending.
LogTxMode string
Configure log transmit mode. Valid values: multicast, roundrobin.
LogUserInfo string
Enable/disbale logging user information. Valid values: disable, enable.
ServerNumber float64
server number in this group.
ServerStartId float64
the start id of the continuous server series in this group,[1,16].
SwLogFlags string
Set flags for software logging via driver. Valid values: tcp-udp-only, enable-all-log, disable-all-log.
groupName String
server group name.
logFormat String
Set the log format Valid values: syslog, netflow.
logGenEvent String
Enable/disbale generating event for Per-Mapping log Valid values: disable, enable.
logMode String
Set the log mode Valid values: per-session, per-nat-mapping, per-session-ending.
logTxMode String
Configure log transmit mode. Valid values: multicast, roundrobin.
logUserInfo String
Enable/disbale logging user information. Valid values: disable, enable.
serverNumber Double
server number in this group.
serverStartId Double
the start id of the continuous server series in this group,[1,16].
swLogFlags String
Set flags for software logging via driver. Valid values: tcp-udp-only, enable-all-log, disable-all-log.
groupName string
server group name.
logFormat string
Set the log format Valid values: syslog, netflow.
logGenEvent string
Enable/disbale generating event for Per-Mapping log Valid values: disable, enable.
logMode string
Set the log mode Valid values: per-session, per-nat-mapping, per-session-ending.
logTxMode string
Configure log transmit mode. Valid values: multicast, roundrobin.
logUserInfo string
Enable/disbale logging user information. Valid values: disable, enable.
serverNumber number
server number in this group.
serverStartId number
the start id of the continuous server series in this group,[1,16].
swLogFlags string
Set flags for software logging via driver. Valid values: tcp-udp-only, enable-all-log, disable-all-log.
group_name str
server group name.
log_format str
Set the log format Valid values: syslog, netflow.
log_gen_event str
Enable/disbale generating event for Per-Mapping log Valid values: disable, enable.
log_mode str
Set the log mode Valid values: per-session, per-nat-mapping, per-session-ending.
log_tx_mode str
Configure log transmit mode. Valid values: multicast, roundrobin.
log_user_info str
Enable/disbale logging user information. Valid values: disable, enable.
server_number float
server number in this group.
server_start_id float
the start id of the continuous server series in this group,[1,16].
sw_log_flags str
Set flags for software logging via driver. Valid values: tcp-udp-only, enable-all-log, disable-all-log.
groupName String
server group name.
logFormat String
Set the log format Valid values: syslog, netflow.
logGenEvent String
Enable/disbale generating event for Per-Mapping log Valid values: disable, enable.
logMode String
Set the log mode Valid values: per-session, per-nat-mapping, per-session-ending.
logTxMode String
Configure log transmit mode. Valid values: multicast, roundrobin.
logUserInfo String
Enable/disbale logging user information. Valid values: disable, enable.
serverNumber Number
server number in this group.
serverStartId Number
the start id of the continuous server series in this group,[1,16].
swLogFlags String
Set flags for software logging via driver. Valid values: tcp-udp-only, enable-all-log, disable-all-log.

ObjectLogNpuserverServerInfo
, ObjectLogNpuserverServerInfoArgs

DestPort double
set the dest port for the log packet
Id double
server id.
IpFamily string
set the version the IP address Valid values: v4, v6.
Ipv4Server string
set the IPv4 address for the log server
Ipv6Server string
set the IPv6 address for the log server
LogTransport string
set transport protocol Valid values: udp, tcp.
SourcePort double
set the source port for the log packet
TemplateTxTimeout double
set the template tx timeout
Vdom string
Interface connected to the log server is in this virtual domain (VDOM).
DestPort float64
set the dest port for the log packet
Id float64
server id.
IpFamily string
set the version the IP address Valid values: v4, v6.
Ipv4Server string
set the IPv4 address for the log server
Ipv6Server string
set the IPv6 address for the log server
LogTransport string
set transport protocol Valid values: udp, tcp.
SourcePort float64
set the source port for the log packet
TemplateTxTimeout float64
set the template tx timeout
Vdom string
Interface connected to the log server is in this virtual domain (VDOM).
destPort Double
set the dest port for the log packet
id Double
server id.
ipFamily String
set the version the IP address Valid values: v4, v6.
ipv4Server String
set the IPv4 address for the log server
ipv6Server String
set the IPv6 address for the log server
logTransport String
set transport protocol Valid values: udp, tcp.
sourcePort Double
set the source port for the log packet
templateTxTimeout Double
set the template tx timeout
vdom String
Interface connected to the log server is in this virtual domain (VDOM).
destPort number
set the dest port for the log packet
id number
server id.
ipFamily string
set the version the IP address Valid values: v4, v6.
ipv4Server string
set the IPv4 address for the log server
ipv6Server string
set the IPv6 address for the log server
logTransport string
set transport protocol Valid values: udp, tcp.
sourcePort number
set the source port for the log packet
templateTxTimeout number
set the template tx timeout
vdom string
Interface connected to the log server is in this virtual domain (VDOM).
dest_port float
set the dest port for the log packet
id float
server id.
ip_family str
set the version the IP address Valid values: v4, v6.
ipv4_server str
set the IPv4 address for the log server
ipv6_server str
set the IPv6 address for the log server
log_transport str
set transport protocol Valid values: udp, tcp.
source_port float
set the source port for the log packet
template_tx_timeout float
set the template tx timeout
vdom str
Interface connected to the log server is in this virtual domain (VDOM).
destPort Number
set the dest port for the log packet
id Number
server id.
ipFamily String
set the version the IP address Valid values: v4, v6.
ipv4Server String
set the IPv4 address for the log server
ipv6Server String
set the IPv6 address for the log server
logTransport String
set transport protocol Valid values: udp, tcp.
sourcePort Number
set the source port for the log packet
templateTxTimeout Number
set the template tx timeout
vdom String
Interface connected to the log server is in this virtual domain (VDOM).

Import

ObjectLog NpuServer can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectLogNpuserver:ObjectLogNpuserver labelname ObjectLogNpuServer
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

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.