1. Packages
  2. Fortios
  3. API Docs
  4. wirelesscontroller
  5. Snmp
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.wirelesscontroller.Snmp

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure SNMP. Applies to FortiOS Version >= 6.2.4.

    Create Snmp Resource

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

    Constructor syntax

    new Snmp(name: string, args?: SnmpArgs, opts?: CustomResourceOptions);
    @overload
    def Snmp(resource_name: str,
             args: Optional[SnmpArgs] = None,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Snmp(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             communities: Optional[Sequence[SnmpCommunityArgs]] = None,
             contact_info: Optional[str] = None,
             dynamic_sort_subtable: Optional[str] = None,
             engine_id: Optional[str] = None,
             get_all_tables: Optional[str] = None,
             trap_high_cpu_threshold: Optional[int] = None,
             trap_high_mem_threshold: Optional[int] = None,
             users: Optional[Sequence[SnmpUserArgs]] = None,
             vdomparam: Optional[str] = None)
    func NewSnmp(ctx *Context, name string, args *SnmpArgs, opts ...ResourceOption) (*Snmp, error)
    public Snmp(string name, SnmpArgs? args = null, CustomResourceOptions? opts = null)
    public Snmp(String name, SnmpArgs args)
    public Snmp(String name, SnmpArgs args, CustomResourceOptions options)
    
    type: fortios:wirelesscontroller:Snmp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SnmpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SnmpArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SnmpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SnmpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SnmpArgs
    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 snmpResource = new Fortios.Wirelesscontroller.Snmp("snmpResource", new()
    {
        Communities = new[]
        {
            new Fortios.Wirelesscontroller.Inputs.SnmpCommunityArgs
            {
                Hosts = new[]
                {
                    new Fortios.Wirelesscontroller.Inputs.SnmpCommunityHostArgs
                    {
                        Id = 0,
                        Ip = "string",
                    },
                },
                Id = 0,
                Name = "string",
                QueryV1Status = "string",
                QueryV2cStatus = "string",
                Status = "string",
                TrapV1Status = "string",
                TrapV2cStatus = "string",
            },
        },
        ContactInfo = "string",
        DynamicSortSubtable = "string",
        EngineId = "string",
        GetAllTables = "string",
        TrapHighCpuThreshold = 0,
        TrapHighMemThreshold = 0,
        Users = new[]
        {
            new Fortios.Wirelesscontroller.Inputs.SnmpUserArgs
            {
                AuthProto = "string",
                AuthPwd = "string",
                Name = "string",
                NotifyHosts = "string",
                PrivProto = "string",
                PrivPwd = "string",
                Queries = "string",
                SecurityLevel = "string",
                Status = "string",
                TrapStatus = "string",
            },
        },
        Vdomparam = "string",
    });
    
    example, err := wirelesscontroller.NewSnmp(ctx, "snmpResource", &wirelesscontroller.SnmpArgs{
    	Communities: wirelesscontroller.SnmpCommunityArray{
    		&wirelesscontroller.SnmpCommunityArgs{
    			Hosts: wirelesscontroller.SnmpCommunityHostArray{
    				&wirelesscontroller.SnmpCommunityHostArgs{
    					Id: pulumi.Int(0),
    					Ip: pulumi.String("string"),
    				},
    			},
    			Id:             pulumi.Int(0),
    			Name:           pulumi.String("string"),
    			QueryV1Status:  pulumi.String("string"),
    			QueryV2cStatus: pulumi.String("string"),
    			Status:         pulumi.String("string"),
    			TrapV1Status:   pulumi.String("string"),
    			TrapV2cStatus:  pulumi.String("string"),
    		},
    	},
    	ContactInfo:          pulumi.String("string"),
    	DynamicSortSubtable:  pulumi.String("string"),
    	EngineId:             pulumi.String("string"),
    	GetAllTables:         pulumi.String("string"),
    	TrapHighCpuThreshold: pulumi.Int(0),
    	TrapHighMemThreshold: pulumi.Int(0),
    	Users: wirelesscontroller.SnmpUserArray{
    		&wirelesscontroller.SnmpUserArgs{
    			AuthProto:     pulumi.String("string"),
    			AuthPwd:       pulumi.String("string"),
    			Name:          pulumi.String("string"),
    			NotifyHosts:   pulumi.String("string"),
    			PrivProto:     pulumi.String("string"),
    			PrivPwd:       pulumi.String("string"),
    			Queries:       pulumi.String("string"),
    			SecurityLevel: pulumi.String("string"),
    			Status:        pulumi.String("string"),
    			TrapStatus:    pulumi.String("string"),
    		},
    	},
    	Vdomparam: pulumi.String("string"),
    })
    
    var snmpResource = new Snmp("snmpResource", SnmpArgs.builder()
        .communities(SnmpCommunityArgs.builder()
            .hosts(SnmpCommunityHostArgs.builder()
                .id(0)
                .ip("string")
                .build())
            .id(0)
            .name("string")
            .queryV1Status("string")
            .queryV2cStatus("string")
            .status("string")
            .trapV1Status("string")
            .trapV2cStatus("string")
            .build())
        .contactInfo("string")
        .dynamicSortSubtable("string")
        .engineId("string")
        .getAllTables("string")
        .trapHighCpuThreshold(0)
        .trapHighMemThreshold(0)
        .users(SnmpUserArgs.builder()
            .authProto("string")
            .authPwd("string")
            .name("string")
            .notifyHosts("string")
            .privProto("string")
            .privPwd("string")
            .queries("string")
            .securityLevel("string")
            .status("string")
            .trapStatus("string")
            .build())
        .vdomparam("string")
        .build());
    
    snmp_resource = fortios.wirelesscontroller.Snmp("snmpResource",
        communities=[{
            "hosts": [{
                "id": 0,
                "ip": "string",
            }],
            "id": 0,
            "name": "string",
            "query_v1_status": "string",
            "query_v2c_status": "string",
            "status": "string",
            "trap_v1_status": "string",
            "trap_v2c_status": "string",
        }],
        contact_info="string",
        dynamic_sort_subtable="string",
        engine_id="string",
        get_all_tables="string",
        trap_high_cpu_threshold=0,
        trap_high_mem_threshold=0,
        users=[{
            "auth_proto": "string",
            "auth_pwd": "string",
            "name": "string",
            "notify_hosts": "string",
            "priv_proto": "string",
            "priv_pwd": "string",
            "queries": "string",
            "security_level": "string",
            "status": "string",
            "trap_status": "string",
        }],
        vdomparam="string")
    
    const snmpResource = new fortios.wirelesscontroller.Snmp("snmpResource", {
        communities: [{
            hosts: [{
                id: 0,
                ip: "string",
            }],
            id: 0,
            name: "string",
            queryV1Status: "string",
            queryV2cStatus: "string",
            status: "string",
            trapV1Status: "string",
            trapV2cStatus: "string",
        }],
        contactInfo: "string",
        dynamicSortSubtable: "string",
        engineId: "string",
        getAllTables: "string",
        trapHighCpuThreshold: 0,
        trapHighMemThreshold: 0,
        users: [{
            authProto: "string",
            authPwd: "string",
            name: "string",
            notifyHosts: "string",
            privProto: "string",
            privPwd: "string",
            queries: "string",
            securityLevel: "string",
            status: "string",
            trapStatus: "string",
        }],
        vdomparam: "string",
    });
    
    type: fortios:wirelesscontroller:Snmp
    properties:
        communities:
            - hosts:
                - id: 0
                  ip: string
              id: 0
              name: string
              queryV1Status: string
              queryV2cStatus: string
              status: string
              trapV1Status: string
              trapV2cStatus: string
        contactInfo: string
        dynamicSortSubtable: string
        engineId: string
        getAllTables: string
        trapHighCpuThreshold: 0
        trapHighMemThreshold: 0
        users:
            - authProto: string
              authPwd: string
              name: string
              notifyHosts: string
              privProto: string
              privPwd: string
              queries: string
              securityLevel: string
              status: string
              trapStatus: string
        vdomparam: string
    

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

    Communities List<Pulumiverse.Fortios.Wirelesscontroller.Inputs.SnmpCommunity>
    SNMP Community Configuration. The structure of community block is documented below.
    ContactInfo string
    Contact Information.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    EngineId string
    AC SNMP engineId string (maximum 24 characters).
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    TrapHighCpuThreshold int
    CPU usage when trap is sent.
    TrapHighMemThreshold int
    Memory usage when trap is sent.
    Users List<Pulumiverse.Fortios.Wirelesscontroller.Inputs.SnmpUser>
    SNMP User Configuration. The structure of user block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Communities []SnmpCommunityArgs
    SNMP Community Configuration. The structure of community block is documented below.
    ContactInfo string
    Contact Information.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    EngineId string
    AC SNMP engineId string (maximum 24 characters).
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    TrapHighCpuThreshold int
    CPU usage when trap is sent.
    TrapHighMemThreshold int
    Memory usage when trap is sent.
    Users []SnmpUserArgs
    SNMP User Configuration. The structure of user block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    communities List<SnmpCommunity>
    SNMP Community Configuration. The structure of community block is documented below.
    contactInfo String
    Contact Information.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    engineId String
    AC SNMP engineId string (maximum 24 characters).
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    trapHighCpuThreshold Integer
    CPU usage when trap is sent.
    trapHighMemThreshold Integer
    Memory usage when trap is sent.
    users List<SnmpUser>
    SNMP User Configuration. The structure of user block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    communities SnmpCommunity[]
    SNMP Community Configuration. The structure of community block is documented below.
    contactInfo string
    Contact Information.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    engineId string
    AC SNMP engineId string (maximum 24 characters).
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    trapHighCpuThreshold number
    CPU usage when trap is sent.
    trapHighMemThreshold number
    Memory usage when trap is sent.
    users SnmpUser[]
    SNMP User Configuration. The structure of user block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    communities Sequence[SnmpCommunityArgs]
    SNMP Community Configuration. The structure of community block is documented below.
    contact_info str
    Contact Information.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    engine_id str
    AC SNMP engineId string (maximum 24 characters).
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    trap_high_cpu_threshold int
    CPU usage when trap is sent.
    trap_high_mem_threshold int
    Memory usage when trap is sent.
    users Sequence[SnmpUserArgs]
    SNMP User Configuration. The structure of user block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    communities List<Property Map>
    SNMP Community Configuration. The structure of community block is documented below.
    contactInfo String
    Contact Information.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    engineId String
    AC SNMP engineId string (maximum 24 characters).
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    trapHighCpuThreshold Number
    CPU usage when trap is sent.
    trapHighMemThreshold Number
    Memory usage when trap is sent.
    users List<Property Map>
    SNMP User Configuration. The structure of user block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

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

    Get an existing Snmp 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?: SnmpState, opts?: CustomResourceOptions): Snmp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            communities: Optional[Sequence[SnmpCommunityArgs]] = None,
            contact_info: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            engine_id: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            trap_high_cpu_threshold: Optional[int] = None,
            trap_high_mem_threshold: Optional[int] = None,
            users: Optional[Sequence[SnmpUserArgs]] = None,
            vdomparam: Optional[str] = None) -> Snmp
    func GetSnmp(ctx *Context, name string, id IDInput, state *SnmpState, opts ...ResourceOption) (*Snmp, error)
    public static Snmp Get(string name, Input<string> id, SnmpState? state, CustomResourceOptions? opts = null)
    public static Snmp get(String name, Output<String> id, SnmpState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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:
    Communities List<Pulumiverse.Fortios.Wirelesscontroller.Inputs.SnmpCommunity>
    SNMP Community Configuration. The structure of community block is documented below.
    ContactInfo string
    Contact Information.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    EngineId string
    AC SNMP engineId string (maximum 24 characters).
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    TrapHighCpuThreshold int
    CPU usage when trap is sent.
    TrapHighMemThreshold int
    Memory usage when trap is sent.
    Users List<Pulumiverse.Fortios.Wirelesscontroller.Inputs.SnmpUser>
    SNMP User Configuration. The structure of user block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Communities []SnmpCommunityArgs
    SNMP Community Configuration. The structure of community block is documented below.
    ContactInfo string
    Contact Information.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    EngineId string
    AC SNMP engineId string (maximum 24 characters).
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    TrapHighCpuThreshold int
    CPU usage when trap is sent.
    TrapHighMemThreshold int
    Memory usage when trap is sent.
    Users []SnmpUserArgs
    SNMP User Configuration. The structure of user block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    communities List<SnmpCommunity>
    SNMP Community Configuration. The structure of community block is documented below.
    contactInfo String
    Contact Information.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    engineId String
    AC SNMP engineId string (maximum 24 characters).
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    trapHighCpuThreshold Integer
    CPU usage when trap is sent.
    trapHighMemThreshold Integer
    Memory usage when trap is sent.
    users List<SnmpUser>
    SNMP User Configuration. The structure of user block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    communities SnmpCommunity[]
    SNMP Community Configuration. The structure of community block is documented below.
    contactInfo string
    Contact Information.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    engineId string
    AC SNMP engineId string (maximum 24 characters).
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    trapHighCpuThreshold number
    CPU usage when trap is sent.
    trapHighMemThreshold number
    Memory usage when trap is sent.
    users SnmpUser[]
    SNMP User Configuration. The structure of user block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    communities Sequence[SnmpCommunityArgs]
    SNMP Community Configuration. The structure of community block is documented below.
    contact_info str
    Contact Information.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    engine_id str
    AC SNMP engineId string (maximum 24 characters).
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    trap_high_cpu_threshold int
    CPU usage when trap is sent.
    trap_high_mem_threshold int
    Memory usage when trap is sent.
    users Sequence[SnmpUserArgs]
    SNMP User Configuration. The structure of user block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    communities List<Property Map>
    SNMP Community Configuration. The structure of community block is documented below.
    contactInfo String
    Contact Information.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    engineId String
    AC SNMP engineId string (maximum 24 characters).
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    trapHighCpuThreshold Number
    CPU usage when trap is sent.
    trapHighMemThreshold Number
    Memory usage when trap is sent.
    users List<Property Map>
    SNMP User Configuration. The structure of user block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Supporting Types

    SnmpCommunity, SnmpCommunityArgs

    Hosts List<Pulumiverse.Fortios.Wirelesscontroller.Inputs.SnmpCommunityHost>
    Configure IPv4 SNMP managers (hosts). The structure of hosts block is documented below.
    Id int
    Community ID.
    Name string
    Community name.
    QueryV1Status string
    Enable/disable SNMP v1 queries. Valid values: enable, disable.
    QueryV2cStatus string
    Enable/disable SNMP v2c queries. Valid values: enable, disable.
    Status string
    Enable/disable this SNMP community. Valid values: enable, disable.
    TrapV1Status string
    Enable/disable SNMP v1 traps. Valid values: enable, disable.
    TrapV2cStatus string
    Enable/disable SNMP v2c traps. Valid values: enable, disable.
    Hosts []SnmpCommunityHost
    Configure IPv4 SNMP managers (hosts). The structure of hosts block is documented below.
    Id int
    Community ID.
    Name string
    Community name.
    QueryV1Status string
    Enable/disable SNMP v1 queries. Valid values: enable, disable.
    QueryV2cStatus string
    Enable/disable SNMP v2c queries. Valid values: enable, disable.
    Status string
    Enable/disable this SNMP community. Valid values: enable, disable.
    TrapV1Status string
    Enable/disable SNMP v1 traps. Valid values: enable, disable.
    TrapV2cStatus string
    Enable/disable SNMP v2c traps. Valid values: enable, disable.
    hosts List<SnmpCommunityHost>
    Configure IPv4 SNMP managers (hosts). The structure of hosts block is documented below.
    id Integer
    Community ID.
    name String
    Community name.
    queryV1Status String
    Enable/disable SNMP v1 queries. Valid values: enable, disable.
    queryV2cStatus String
    Enable/disable SNMP v2c queries. Valid values: enable, disable.
    status String
    Enable/disable this SNMP community. Valid values: enable, disable.
    trapV1Status String
    Enable/disable SNMP v1 traps. Valid values: enable, disable.
    trapV2cStatus String
    Enable/disable SNMP v2c traps. Valid values: enable, disable.
    hosts SnmpCommunityHost[]
    Configure IPv4 SNMP managers (hosts). The structure of hosts block is documented below.
    id number
    Community ID.
    name string
    Community name.
    queryV1Status string
    Enable/disable SNMP v1 queries. Valid values: enable, disable.
    queryV2cStatus string
    Enable/disable SNMP v2c queries. Valid values: enable, disable.
    status string
    Enable/disable this SNMP community. Valid values: enable, disable.
    trapV1Status string
    Enable/disable SNMP v1 traps. Valid values: enable, disable.
    trapV2cStatus string
    Enable/disable SNMP v2c traps. Valid values: enable, disable.
    hosts Sequence[SnmpCommunityHost]
    Configure IPv4 SNMP managers (hosts). The structure of hosts block is documented below.
    id int
    Community ID.
    name str
    Community name.
    query_v1_status str
    Enable/disable SNMP v1 queries. Valid values: enable, disable.
    query_v2c_status str
    Enable/disable SNMP v2c queries. Valid values: enable, disable.
    status str
    Enable/disable this SNMP community. Valid values: enable, disable.
    trap_v1_status str
    Enable/disable SNMP v1 traps. Valid values: enable, disable.
    trap_v2c_status str
    Enable/disable SNMP v2c traps. Valid values: enable, disable.
    hosts List<Property Map>
    Configure IPv4 SNMP managers (hosts). The structure of hosts block is documented below.
    id Number
    Community ID.
    name String
    Community name.
    queryV1Status String
    Enable/disable SNMP v1 queries. Valid values: enable, disable.
    queryV2cStatus String
    Enable/disable SNMP v2c queries. Valid values: enable, disable.
    status String
    Enable/disable this SNMP community. Valid values: enable, disable.
    trapV1Status String
    Enable/disable SNMP v1 traps. Valid values: enable, disable.
    trapV2cStatus String
    Enable/disable SNMP v2c traps. Valid values: enable, disable.

    SnmpCommunityHost, SnmpCommunityHostArgs

    Id int
    Host entry ID.
    Ip string
    IPv4 address of the SNMP manager (host).
    Id int
    Host entry ID.
    Ip string
    IPv4 address of the SNMP manager (host).
    id Integer
    Host entry ID.
    ip String
    IPv4 address of the SNMP manager (host).
    id number
    Host entry ID.
    ip string
    IPv4 address of the SNMP manager (host).
    id int
    Host entry ID.
    ip str
    IPv4 address of the SNMP manager (host).
    id Number
    Host entry ID.
    ip String
    IPv4 address of the SNMP manager (host).

    SnmpUser, SnmpUserArgs

    AuthProto string
    Authentication protocol. Valid values: md5, sha.
    AuthPwd string
    Password for authentication protocol.
    Name string
    SNMP User Name
    NotifyHosts string
    Configure SNMP User Notify Hosts.
    PrivProto string
    Privacy (encryption) protocol. Valid values: aes, des, aes256, aes256cisco.
    PrivPwd string
    Password for privacy (encryption) protocol.
    Queries string
    Enable/disable SNMP queries for this user. Valid values: enable, disable.
    SecurityLevel string
    Security level for message authentication and encryption. Valid values: no-auth-no-priv, auth-no-priv, auth-priv.
    Status string
    SNMP User Enable Valid values: enable, disable.
    TrapStatus string
    Enable/disable traps for this SNMP user. Valid values: enable, disable.
    AuthProto string
    Authentication protocol. Valid values: md5, sha.
    AuthPwd string
    Password for authentication protocol.
    Name string
    SNMP User Name
    NotifyHosts string
    Configure SNMP User Notify Hosts.
    PrivProto string
    Privacy (encryption) protocol. Valid values: aes, des, aes256, aes256cisco.
    PrivPwd string
    Password for privacy (encryption) protocol.
    Queries string
    Enable/disable SNMP queries for this user. Valid values: enable, disable.
    SecurityLevel string
    Security level for message authentication and encryption. Valid values: no-auth-no-priv, auth-no-priv, auth-priv.
    Status string
    SNMP User Enable Valid values: enable, disable.
    TrapStatus string
    Enable/disable traps for this SNMP user. Valid values: enable, disable.
    authProto String
    Authentication protocol. Valid values: md5, sha.
    authPwd String
    Password for authentication protocol.
    name String
    SNMP User Name
    notifyHosts String
    Configure SNMP User Notify Hosts.
    privProto String
    Privacy (encryption) protocol. Valid values: aes, des, aes256, aes256cisco.
    privPwd String
    Password for privacy (encryption) protocol.
    queries String
    Enable/disable SNMP queries for this user. Valid values: enable, disable.
    securityLevel String
    Security level for message authentication and encryption. Valid values: no-auth-no-priv, auth-no-priv, auth-priv.
    status String
    SNMP User Enable Valid values: enable, disable.
    trapStatus String
    Enable/disable traps for this SNMP user. Valid values: enable, disable.
    authProto string
    Authentication protocol. Valid values: md5, sha.
    authPwd string
    Password for authentication protocol.
    name string
    SNMP User Name
    notifyHosts string
    Configure SNMP User Notify Hosts.
    privProto string
    Privacy (encryption) protocol. Valid values: aes, des, aes256, aes256cisco.
    privPwd string
    Password for privacy (encryption) protocol.
    queries string
    Enable/disable SNMP queries for this user. Valid values: enable, disable.
    securityLevel string
    Security level for message authentication and encryption. Valid values: no-auth-no-priv, auth-no-priv, auth-priv.
    status string
    SNMP User Enable Valid values: enable, disable.
    trapStatus string
    Enable/disable traps for this SNMP user. Valid values: enable, disable.
    auth_proto str
    Authentication protocol. Valid values: md5, sha.
    auth_pwd str
    Password for authentication protocol.
    name str
    SNMP User Name
    notify_hosts str
    Configure SNMP User Notify Hosts.
    priv_proto str
    Privacy (encryption) protocol. Valid values: aes, des, aes256, aes256cisco.
    priv_pwd str
    Password for privacy (encryption) protocol.
    queries str
    Enable/disable SNMP queries for this user. Valid values: enable, disable.
    security_level str
    Security level for message authentication and encryption. Valid values: no-auth-no-priv, auth-no-priv, auth-priv.
    status str
    SNMP User Enable Valid values: enable, disable.
    trap_status str
    Enable/disable traps for this SNMP user. Valid values: enable, disable.
    authProto String
    Authentication protocol. Valid values: md5, sha.
    authPwd String
    Password for authentication protocol.
    name String
    SNMP User Name
    notifyHosts String
    Configure SNMP User Notify Hosts.
    privProto String
    Privacy (encryption) protocol. Valid values: aes, des, aes256, aes256cisco.
    privPwd String
    Password for privacy (encryption) protocol.
    queries String
    Enable/disable SNMP queries for this user. Valid values: enable, disable.
    securityLevel String
    Security level for message authentication and encryption. Valid values: no-auth-no-priv, auth-no-priv, auth-priv.
    status String
    SNMP User Enable Valid values: enable, disable.
    trapStatus String
    Enable/disable traps for this SNMP user. Valid values: enable, disable.

    Import

    WirelessController Snmp can be imported using any of these accepted formats:

    $ pulumi import fortios:wirelesscontroller/snmp:Snmp labelname WirelessControllerSnmp
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:wirelesscontroller/snmp:Snmp labelname WirelessControllerSnmp
    

    $ unset “FORTIOS_IMPORT_TABLE”

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse