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

fortimanager.SystemSnmpSysinfo

Explore with Pulumi AI

SNMP configuration.

Example Usage

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

const trname = new fortimanager.SystemSnmpSysinfo("trname", {status: "enable"});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.SystemSnmpSysinfo("trname", status="enable")
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.NewSystemSnmpSysinfo(ctx, "trname", &fortimanager.SystemSnmpSysinfoArgs{
			Status: pulumi.String("enable"),
		})
		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.SystemSnmpSysinfo("trname", new()
    {
        Status = "enable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemSnmpSysinfo;
import com.pulumi.fortimanager.SystemSnmpSysinfoArgs;
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 SystemSnmpSysinfo("trname", SystemSnmpSysinfoArgs.builder()
            .status("enable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:SystemSnmpSysinfo
    properties:
      status: enable
Copy

Create SystemSnmpSysinfo Resource

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

Constructor syntax

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

@overload
def SystemSnmpSysinfo(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      contact_info: Optional[str] = None,
                      description: Optional[str] = None,
                      engine_id: Optional[str] = None,
                      location: Optional[str] = None,
                      status: Optional[str] = None,
                      system_snmp_sysinfo_id: Optional[str] = None,
                      trap_cpu_high_exclude_nice_threshold: Optional[float] = None,
                      trap_high_cpu_threshold: Optional[float] = None,
                      trap_low_memory_threshold: Optional[float] = None)
func NewSystemSnmpSysinfo(ctx *Context, name string, args *SystemSnmpSysinfoArgs, opts ...ResourceOption) (*SystemSnmpSysinfo, error)
public SystemSnmpSysinfo(string name, SystemSnmpSysinfoArgs? args = null, CustomResourceOptions? opts = null)
public SystemSnmpSysinfo(String name, SystemSnmpSysinfoArgs args)
public SystemSnmpSysinfo(String name, SystemSnmpSysinfoArgs args, CustomResourceOptions options)
type: fortimanager:SystemSnmpSysinfo
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 SystemSnmpSysinfoArgs
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 SystemSnmpSysinfoArgs
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 SystemSnmpSysinfoArgs
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 SystemSnmpSysinfoArgs
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. SystemSnmpSysinfoArgs
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 systemSnmpSysinfoResource = new Fortimanager.SystemSnmpSysinfo("systemSnmpSysinfoResource", new()
{
    ContactInfo = "string",
    Description = "string",
    EngineId = "string",
    Location = "string",
    Status = "string",
    SystemSnmpSysinfoId = "string",
    TrapCpuHighExcludeNiceThreshold = 0,
    TrapHighCpuThreshold = 0,
    TrapLowMemoryThreshold = 0,
});
Copy
example, err := fortimanager.NewSystemSnmpSysinfo(ctx, "systemSnmpSysinfoResource", &fortimanager.SystemSnmpSysinfoArgs{
ContactInfo: pulumi.String("string"),
Description: pulumi.String("string"),
EngineId: pulumi.String("string"),
Location: pulumi.String("string"),
Status: pulumi.String("string"),
SystemSnmpSysinfoId: pulumi.String("string"),
TrapCpuHighExcludeNiceThreshold: pulumi.Float64(0),
TrapHighCpuThreshold: pulumi.Float64(0),
TrapLowMemoryThreshold: pulumi.Float64(0),
})
Copy
var systemSnmpSysinfoResource = new SystemSnmpSysinfo("systemSnmpSysinfoResource", SystemSnmpSysinfoArgs.builder()
    .contactInfo("string")
    .description("string")
    .engineId("string")
    .location("string")
    .status("string")
    .systemSnmpSysinfoId("string")
    .trapCpuHighExcludeNiceThreshold(0)
    .trapHighCpuThreshold(0)
    .trapLowMemoryThreshold(0)
    .build());
Copy
system_snmp_sysinfo_resource = fortimanager.SystemSnmpSysinfo("systemSnmpSysinfoResource",
    contact_info="string",
    description="string",
    engine_id="string",
    location="string",
    status="string",
    system_snmp_sysinfo_id="string",
    trap_cpu_high_exclude_nice_threshold=0,
    trap_high_cpu_threshold=0,
    trap_low_memory_threshold=0)
Copy
const systemSnmpSysinfoResource = new fortimanager.SystemSnmpSysinfo("systemSnmpSysinfoResource", {
    contactInfo: "string",
    description: "string",
    engineId: "string",
    location: "string",
    status: "string",
    systemSnmpSysinfoId: "string",
    trapCpuHighExcludeNiceThreshold: 0,
    trapHighCpuThreshold: 0,
    trapLowMemoryThreshold: 0,
});
Copy
type: fortimanager:SystemSnmpSysinfo
properties:
    contactInfo: string
    description: string
    engineId: string
    location: string
    status: string
    systemSnmpSysinfoId: string
    trapCpuHighExcludeNiceThreshold: 0
    trapHighCpuThreshold: 0
    trapLowMemoryThreshold: 0
Copy

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

ContactInfo string
Contact information.
Description string
System description.
EngineId string
Local SNMP engineID string (maximum 24 characters).
Location string
System location.
Status string
Enable/disable SNMP. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
SystemSnmpSysinfoId string
an identifier for the resource.
TrapCpuHighExcludeNiceThreshold double
SNMP trap for CPU usage threshold (exclude NICE processes).
TrapHighCpuThreshold double
SNMP trap for CPU usage threshold.
TrapLowMemoryThreshold double
SNMP trap for memory usage threshold.
ContactInfo string
Contact information.
Description string
System description.
EngineId string
Local SNMP engineID string (maximum 24 characters).
Location string
System location.
Status string
Enable/disable SNMP. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
SystemSnmpSysinfoId string
an identifier for the resource.
TrapCpuHighExcludeNiceThreshold float64
SNMP trap for CPU usage threshold (exclude NICE processes).
TrapHighCpuThreshold float64
SNMP trap for CPU usage threshold.
TrapLowMemoryThreshold float64
SNMP trap for memory usage threshold.
contactInfo String
Contact information.
description String
System description.
engineId String
Local SNMP engineID string (maximum 24 characters).
location String
System location.
status String
Enable/disable SNMP. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
systemSnmpSysinfoId String
an identifier for the resource.
trapCpuHighExcludeNiceThreshold Double
SNMP trap for CPU usage threshold (exclude NICE processes).
trapHighCpuThreshold Double
SNMP trap for CPU usage threshold.
trapLowMemoryThreshold Double
SNMP trap for memory usage threshold.
contactInfo string
Contact information.
description string
System description.
engineId string
Local SNMP engineID string (maximum 24 characters).
location string
System location.
status string
Enable/disable SNMP. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
systemSnmpSysinfoId string
an identifier for the resource.
trapCpuHighExcludeNiceThreshold number
SNMP trap for CPU usage threshold (exclude NICE processes).
trapHighCpuThreshold number
SNMP trap for CPU usage threshold.
trapLowMemoryThreshold number
SNMP trap for memory usage threshold.
contact_info str
Contact information.
description str
System description.
engine_id str
Local SNMP engineID string (maximum 24 characters).
location str
System location.
status str
Enable/disable SNMP. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
system_snmp_sysinfo_id str
an identifier for the resource.
trap_cpu_high_exclude_nice_threshold float
SNMP trap for CPU usage threshold (exclude NICE processes).
trap_high_cpu_threshold float
SNMP trap for CPU usage threshold.
trap_low_memory_threshold float
SNMP trap for memory usage threshold.
contactInfo String
Contact information.
description String
System description.
engineId String
Local SNMP engineID string (maximum 24 characters).
location String
System location.
status String
Enable/disable SNMP. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
systemSnmpSysinfoId String
an identifier for the resource.
trapCpuHighExcludeNiceThreshold Number
SNMP trap for CPU usage threshold (exclude NICE processes).
trapHighCpuThreshold Number
SNMP trap for CPU usage threshold.
trapLowMemoryThreshold Number
SNMP trap for memory usage threshold.

Outputs

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

Get an existing SystemSnmpSysinfo 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?: SystemSnmpSysinfoState, opts?: CustomResourceOptions): SystemSnmpSysinfo
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        contact_info: Optional[str] = None,
        description: Optional[str] = None,
        engine_id: Optional[str] = None,
        location: Optional[str] = None,
        status: Optional[str] = None,
        system_snmp_sysinfo_id: Optional[str] = None,
        trap_cpu_high_exclude_nice_threshold: Optional[float] = None,
        trap_high_cpu_threshold: Optional[float] = None,
        trap_low_memory_threshold: Optional[float] = None) -> SystemSnmpSysinfo
func GetSystemSnmpSysinfo(ctx *Context, name string, id IDInput, state *SystemSnmpSysinfoState, opts ...ResourceOption) (*SystemSnmpSysinfo, error)
public static SystemSnmpSysinfo Get(string name, Input<string> id, SystemSnmpSysinfoState? state, CustomResourceOptions? opts = null)
public static SystemSnmpSysinfo get(String name, Output<String> id, SystemSnmpSysinfoState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:SystemSnmpSysinfo    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:
ContactInfo string
Contact information.
Description string
System description.
EngineId string
Local SNMP engineID string (maximum 24 characters).
Location string
System location.
Status string
Enable/disable SNMP. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
SystemSnmpSysinfoId string
an identifier for the resource.
TrapCpuHighExcludeNiceThreshold double
SNMP trap for CPU usage threshold (exclude NICE processes).
TrapHighCpuThreshold double
SNMP trap for CPU usage threshold.
TrapLowMemoryThreshold double
SNMP trap for memory usage threshold.
ContactInfo string
Contact information.
Description string
System description.
EngineId string
Local SNMP engineID string (maximum 24 characters).
Location string
System location.
Status string
Enable/disable SNMP. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
SystemSnmpSysinfoId string
an identifier for the resource.
TrapCpuHighExcludeNiceThreshold float64
SNMP trap for CPU usage threshold (exclude NICE processes).
TrapHighCpuThreshold float64
SNMP trap for CPU usage threshold.
TrapLowMemoryThreshold float64
SNMP trap for memory usage threshold.
contactInfo String
Contact information.
description String
System description.
engineId String
Local SNMP engineID string (maximum 24 characters).
location String
System location.
status String
Enable/disable SNMP. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
systemSnmpSysinfoId String
an identifier for the resource.
trapCpuHighExcludeNiceThreshold Double
SNMP trap for CPU usage threshold (exclude NICE processes).
trapHighCpuThreshold Double
SNMP trap for CPU usage threshold.
trapLowMemoryThreshold Double
SNMP trap for memory usage threshold.
contactInfo string
Contact information.
description string
System description.
engineId string
Local SNMP engineID string (maximum 24 characters).
location string
System location.
status string
Enable/disable SNMP. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
systemSnmpSysinfoId string
an identifier for the resource.
trapCpuHighExcludeNiceThreshold number
SNMP trap for CPU usage threshold (exclude NICE processes).
trapHighCpuThreshold number
SNMP trap for CPU usage threshold.
trapLowMemoryThreshold number
SNMP trap for memory usage threshold.
contact_info str
Contact information.
description str
System description.
engine_id str
Local SNMP engineID string (maximum 24 characters).
location str
System location.
status str
Enable/disable SNMP. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
system_snmp_sysinfo_id str
an identifier for the resource.
trap_cpu_high_exclude_nice_threshold float
SNMP trap for CPU usage threshold (exclude NICE processes).
trap_high_cpu_threshold float
SNMP trap for CPU usage threshold.
trap_low_memory_threshold float
SNMP trap for memory usage threshold.
contactInfo String
Contact information.
description String
System description.
engineId String
Local SNMP engineID string (maximum 24 characters).
location String
System location.
status String
Enable/disable SNMP. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
systemSnmpSysinfoId String
an identifier for the resource.
trapCpuHighExcludeNiceThreshold Number
SNMP trap for CPU usage threshold (exclude NICE processes).
trapHighCpuThreshold Number
SNMP trap for CPU usage threshold.
trapLowMemoryThreshold Number
SNMP trap for memory usage threshold.

Import

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

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