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

fortimanager.SystemLogRatelimitDevice

Explore with Pulumi AI

Device log rate limit.

This resource is a sub resource for variable device of resource fortimanager.SystemLogRatelimit. Conflict and overwrite may occur if use both of them.

Create SystemLogRatelimitDevice Resource

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

Constructor syntax

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

@overload
def SystemLogRatelimitDevice(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             device: Optional[str] = None,
                             filter_type: Optional[str] = None,
                             fosid: Optional[float] = None,
                             ratelimit: Optional[float] = None,
                             system_log_ratelimit_device_id: Optional[str] = None)
func NewSystemLogRatelimitDevice(ctx *Context, name string, args *SystemLogRatelimitDeviceArgs, opts ...ResourceOption) (*SystemLogRatelimitDevice, error)
public SystemLogRatelimitDevice(string name, SystemLogRatelimitDeviceArgs? args = null, CustomResourceOptions? opts = null)
public SystemLogRatelimitDevice(String name, SystemLogRatelimitDeviceArgs args)
public SystemLogRatelimitDevice(String name, SystemLogRatelimitDeviceArgs args, CustomResourceOptions options)
type: fortimanager:SystemLogRatelimitDevice
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 SystemLogRatelimitDeviceArgs
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 SystemLogRatelimitDeviceInitArgs
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 SystemLogRatelimitDeviceArgs
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 SystemLogRatelimitDeviceArgs
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. SystemLogRatelimitDeviceArgs
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 systemLogRatelimitDeviceResource = new Fortimanager.SystemLogRatelimitDevice("systemLogRatelimitDeviceResource", new()
{
    Device = "string",
    FilterType = "string",
    Fosid = 0,
    Ratelimit = 0,
    SystemLogRatelimitDeviceId = "string",
});
Copy
example, err := fortimanager.NewSystemLogRatelimitDevice(ctx, "systemLogRatelimitDeviceResource", &fortimanager.SystemLogRatelimitDeviceArgs{
Device: pulumi.String("string"),
FilterType: pulumi.String("string"),
Fosid: pulumi.Float64(0),
Ratelimit: pulumi.Float64(0),
SystemLogRatelimitDeviceId: pulumi.String("string"),
})
Copy
var systemLogRatelimitDeviceResource = new SystemLogRatelimitDevice("systemLogRatelimitDeviceResource", SystemLogRatelimitDeviceArgs.builder()
    .device("string")
    .filterType("string")
    .fosid(0)
    .ratelimit(0)
    .systemLogRatelimitDeviceId("string")
    .build());
Copy
system_log_ratelimit_device_resource = fortimanager.SystemLogRatelimitDevice("systemLogRatelimitDeviceResource",
    device="string",
    filter_type="string",
    fosid=0,
    ratelimit=0,
    system_log_ratelimit_device_id="string")
Copy
const systemLogRatelimitDeviceResource = new fortimanager.SystemLogRatelimitDevice("systemLogRatelimitDeviceResource", {
    device: "string",
    filterType: "string",
    fosid: 0,
    ratelimit: 0,
    systemLogRatelimitDeviceId: "string",
});
Copy
type: fortimanager:SystemLogRatelimitDevice
properties:
    device: string
    filterType: string
    fosid: 0
    ratelimit: 0
    systemLogRatelimitDeviceId: string
Copy

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

Device string
Device(s) filter according to filter-type setting, wildcard expression supported.
FilterType string
Device filter type. devid - Device ID. Valid values: devid.
Fosid double
Device filter ID.
Ratelimit double
Maximum device log rate limit.
SystemLogRatelimitDeviceId string
an identifier for the resource with format {{fosid}}.
Device string
Device(s) filter according to filter-type setting, wildcard expression supported.
FilterType string
Device filter type. devid - Device ID. Valid values: devid.
Fosid float64
Device filter ID.
Ratelimit float64
Maximum device log rate limit.
SystemLogRatelimitDeviceId string
an identifier for the resource with format {{fosid}}.
device String
Device(s) filter according to filter-type setting, wildcard expression supported.
filterType String
Device filter type. devid - Device ID. Valid values: devid.
fosid Double
Device filter ID.
ratelimit Double
Maximum device log rate limit.
systemLogRatelimitDeviceId String
an identifier for the resource with format {{fosid}}.
device string
Device(s) filter according to filter-type setting, wildcard expression supported.
filterType string
Device filter type. devid - Device ID. Valid values: devid.
fosid number
Device filter ID.
ratelimit number
Maximum device log rate limit.
systemLogRatelimitDeviceId string
an identifier for the resource with format {{fosid}}.
device str
Device(s) filter according to filter-type setting, wildcard expression supported.
filter_type str
Device filter type. devid - Device ID. Valid values: devid.
fosid float
Device filter ID.
ratelimit float
Maximum device log rate limit.
system_log_ratelimit_device_id str
an identifier for the resource with format {{fosid}}.
device String
Device(s) filter according to filter-type setting, wildcard expression supported.
filterType String
Device filter type. devid - Device ID. Valid values: devid.
fosid Number
Device filter ID.
ratelimit Number
Maximum device log rate limit.
systemLogRatelimitDeviceId String
an identifier for the resource with format {{fosid}}.

Outputs

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

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

Import

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

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