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

fortimanager.SystemLogRatelimitRatelimits

Explore with Pulumi AI

Per device or ADOM log rate limits.

This resource is a sub resource for variable ratelimits of resource fortimanager.SystemLogRatelimit. 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.SystemLogRatelimitRatelimits("trname", {
    filter: "1",
    fosid: 2,
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.SystemLogRatelimitRatelimits("trname",
    filter="1",
    fosid=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.NewSystemLogRatelimitRatelimits(ctx, "trname", &fortimanager.SystemLogRatelimitRatelimitsArgs{
			Filter: pulumi.String("1"),
			Fosid:  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.SystemLogRatelimitRatelimits("trname", new()
    {
        Filter = "1",
        Fosid = 2,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemLogRatelimitRatelimits;
import com.pulumi.fortimanager.SystemLogRatelimitRatelimitsArgs;
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 SystemLogRatelimitRatelimits("trname", SystemLogRatelimitRatelimitsArgs.builder()
            .filter(1)
            .fosid(2)
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:SystemLogRatelimitRatelimits
    properties:
      filter: 1
      fosid: 2
Copy

Create SystemLogRatelimitRatelimits Resource

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

Constructor syntax

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

@overload
def SystemLogRatelimitRatelimits(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 filter: Optional[str] = None,
                                 filter_type: Optional[str] = None,
                                 fosid: Optional[float] = None,
                                 ratelimit: Optional[float] = None,
                                 system_log_ratelimit_ratelimits_id: Optional[str] = None)
func NewSystemLogRatelimitRatelimits(ctx *Context, name string, args *SystemLogRatelimitRatelimitsArgs, opts ...ResourceOption) (*SystemLogRatelimitRatelimits, error)
public SystemLogRatelimitRatelimits(string name, SystemLogRatelimitRatelimitsArgs? args = null, CustomResourceOptions? opts = null)
public SystemLogRatelimitRatelimits(String name, SystemLogRatelimitRatelimitsArgs args)
public SystemLogRatelimitRatelimits(String name, SystemLogRatelimitRatelimitsArgs args, CustomResourceOptions options)
type: fortimanager:SystemLogRatelimitRatelimits
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 SystemLogRatelimitRatelimitsArgs
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 SystemLogRatelimitRatelimitsArgs
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 SystemLogRatelimitRatelimitsArgs
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 SystemLogRatelimitRatelimitsArgs
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. SystemLogRatelimitRatelimitsArgs
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 systemLogRatelimitRatelimitsResource = new Fortimanager.SystemLogRatelimitRatelimits("systemLogRatelimitRatelimitsResource", new()
{
    Filter = "string",
    FilterType = "string",
    Fosid = 0,
    Ratelimit = 0,
    SystemLogRatelimitRatelimitsId = "string",
});
Copy
example, err := fortimanager.NewSystemLogRatelimitRatelimits(ctx, "systemLogRatelimitRatelimitsResource", &fortimanager.SystemLogRatelimitRatelimitsArgs{
Filter: pulumi.String("string"),
FilterType: pulumi.String("string"),
Fosid: pulumi.Float64(0),
Ratelimit: pulumi.Float64(0),
SystemLogRatelimitRatelimitsId: pulumi.String("string"),
})
Copy
var systemLogRatelimitRatelimitsResource = new SystemLogRatelimitRatelimits("systemLogRatelimitRatelimitsResource", SystemLogRatelimitRatelimitsArgs.builder()
    .filter("string")
    .filterType("string")
    .fosid(0)
    .ratelimit(0)
    .systemLogRatelimitRatelimitsId("string")
    .build());
Copy
system_log_ratelimit_ratelimits_resource = fortimanager.SystemLogRatelimitRatelimits("systemLogRatelimitRatelimitsResource",
    filter="string",
    filter_type="string",
    fosid=0,
    ratelimit=0,
    system_log_ratelimit_ratelimits_id="string")
Copy
const systemLogRatelimitRatelimitsResource = new fortimanager.SystemLogRatelimitRatelimits("systemLogRatelimitRatelimitsResource", {
    filter: "string",
    filterType: "string",
    fosid: 0,
    ratelimit: 0,
    systemLogRatelimitRatelimitsId: "string",
});
Copy
type: fortimanager:SystemLogRatelimitRatelimits
properties:
    filter: string
    filterType: string
    fosid: 0
    ratelimit: 0
    systemLogRatelimitRatelimitsId: string
Copy

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

Filter string
Device or ADOM filter according to filter-type setting, wildcard expression supported.
FilterType string
Device filter type. devid - Device ID. adom - ADOM name. Valid values: devid, adom.
Fosid double
Filter ID.
Ratelimit double
Maximum log rate limit.
SystemLogRatelimitRatelimitsId string
an identifier for the resource with format {{fosid}}.
Filter string
Device or ADOM filter according to filter-type setting, wildcard expression supported.
FilterType string
Device filter type. devid - Device ID. adom - ADOM name. Valid values: devid, adom.
Fosid float64
Filter ID.
Ratelimit float64
Maximum log rate limit.
SystemLogRatelimitRatelimitsId string
an identifier for the resource with format {{fosid}}.
filter String
Device or ADOM filter according to filter-type setting, wildcard expression supported.
filterType String
Device filter type. devid - Device ID. adom - ADOM name. Valid values: devid, adom.
fosid Double
Filter ID.
ratelimit Double
Maximum log rate limit.
systemLogRatelimitRatelimitsId String
an identifier for the resource with format {{fosid}}.
filter string
Device or ADOM filter according to filter-type setting, wildcard expression supported.
filterType string
Device filter type. devid - Device ID. adom - ADOM name. Valid values: devid, adom.
fosid number
Filter ID.
ratelimit number
Maximum log rate limit.
systemLogRatelimitRatelimitsId string
an identifier for the resource with format {{fosid}}.
filter str
Device or ADOM filter according to filter-type setting, wildcard expression supported.
filter_type str
Device filter type. devid - Device ID. adom - ADOM name. Valid values: devid, adom.
fosid float
Filter ID.
ratelimit float
Maximum log rate limit.
system_log_ratelimit_ratelimits_id str
an identifier for the resource with format {{fosid}}.
filter String
Device or ADOM filter according to filter-type setting, wildcard expression supported.
filterType String
Device filter type. devid - Device ID. adom - ADOM name. Valid values: devid, adom.
fosid Number
Filter ID.
ratelimit Number
Maximum log rate limit.
systemLogRatelimitRatelimitsId String
an identifier for the resource with format {{fosid}}.

Outputs

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

Get an existing SystemLogRatelimitRatelimits 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?: SystemLogRatelimitRatelimitsState, opts?: CustomResourceOptions): SystemLogRatelimitRatelimits
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        filter: Optional[str] = None,
        filter_type: Optional[str] = None,
        fosid: Optional[float] = None,
        ratelimit: Optional[float] = None,
        system_log_ratelimit_ratelimits_id: Optional[str] = None) -> SystemLogRatelimitRatelimits
func GetSystemLogRatelimitRatelimits(ctx *Context, name string, id IDInput, state *SystemLogRatelimitRatelimitsState, opts ...ResourceOption) (*SystemLogRatelimitRatelimits, error)
public static SystemLogRatelimitRatelimits Get(string name, Input<string> id, SystemLogRatelimitRatelimitsState? state, CustomResourceOptions? opts = null)
public static SystemLogRatelimitRatelimits get(String name, Output<String> id, SystemLogRatelimitRatelimitsState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:SystemLogRatelimitRatelimits    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:
Filter string
Device or ADOM filter according to filter-type setting, wildcard expression supported.
FilterType string
Device filter type. devid - Device ID. adom - ADOM name. Valid values: devid, adom.
Fosid double
Filter ID.
Ratelimit double
Maximum log rate limit.
SystemLogRatelimitRatelimitsId string
an identifier for the resource with format {{fosid}}.
Filter string
Device or ADOM filter according to filter-type setting, wildcard expression supported.
FilterType string
Device filter type. devid - Device ID. adom - ADOM name. Valid values: devid, adom.
Fosid float64
Filter ID.
Ratelimit float64
Maximum log rate limit.
SystemLogRatelimitRatelimitsId string
an identifier for the resource with format {{fosid}}.
filter String
Device or ADOM filter according to filter-type setting, wildcard expression supported.
filterType String
Device filter type. devid - Device ID. adom - ADOM name. Valid values: devid, adom.
fosid Double
Filter ID.
ratelimit Double
Maximum log rate limit.
systemLogRatelimitRatelimitsId String
an identifier for the resource with format {{fosid}}.
filter string
Device or ADOM filter according to filter-type setting, wildcard expression supported.
filterType string
Device filter type. devid - Device ID. adom - ADOM name. Valid values: devid, adom.
fosid number
Filter ID.
ratelimit number
Maximum log rate limit.
systemLogRatelimitRatelimitsId string
an identifier for the resource with format {{fosid}}.
filter str
Device or ADOM filter according to filter-type setting, wildcard expression supported.
filter_type str
Device filter type. devid - Device ID. adom - ADOM name. Valid values: devid, adom.
fosid float
Filter ID.
ratelimit float
Maximum log rate limit.
system_log_ratelimit_ratelimits_id str
an identifier for the resource with format {{fosid}}.
filter String
Device or ADOM filter according to filter-type setting, wildcard expression supported.
filterType String
Device filter type. devid - Device ID. adom - ADOM name. Valid values: devid, adom.
fosid Number
Filter ID.
ratelimit Number
Maximum log rate limit.
systemLogRatelimitRatelimitsId String
an identifier for the resource with format {{fosid}}.

Import

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/systemLogRatelimitRatelimits:SystemLogRatelimitRatelimits 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.