fortios.wirelesscontroller.Snmp
Explore with Pulumi AI
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)
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=[fortios.wirelesscontroller.SnmpCommunityArgs(
hosts=[fortios.wirelesscontroller.SnmpCommunityHostArgs(
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=[fortios.wirelesscontroller.SnmpUserArgs(
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
The Snmp resource accepts the following input properties:
- Communities
List<Pulumiverse.
Fortios. Wirelesscontroller. Inputs. Snmp Community> - SNMP Community Configuration. The structure of
community
block is documented below. - Contact
Info string - Contact Information.
- Dynamic
Sort stringSubtable - 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 string - AC SNMP engineId string (maximum 24 characters).
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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 intCpu Threshold - CPU usage when trap is sent.
- Trap
High intMem Threshold - Memory usage when trap is sent.
- Users
List<Pulumiverse.
Fortios. Wirelesscontroller. Inputs. Snmp User> - 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
[]Snmp
Community Args - SNMP Community Configuration. The structure of
community
block is documented below. - Contact
Info string - Contact Information.
- Dynamic
Sort stringSubtable - 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 string - AC SNMP engineId string (maximum 24 characters).
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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 intCpu Threshold - CPU usage when trap is sent.
- Trap
High intMem Threshold - Memory usage when trap is sent.
- Users
[]Snmp
User Args - 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<Snmp
Community> - SNMP Community Configuration. The structure of
community
block is documented below. - contact
Info String - Contact Information.
- dynamic
Sort StringSubtable - 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 String - AC SNMP engineId string (maximum 24 characters).
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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 IntegerCpu Threshold - CPU usage when trap is sent.
- trap
High IntegerMem Threshold - Memory usage when trap is sent.
- users
List<Snmp
User> - 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
Snmp
Community[] - SNMP Community Configuration. The structure of
community
block is documented below. - contact
Info string - Contact Information.
- dynamic
Sort stringSubtable - 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 string - AC SNMP engineId string (maximum 24 characters).
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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 numberCpu Threshold - CPU usage when trap is sent.
- trap
High numberMem Threshold - Memory usage when trap is sent.
- users
Snmp
User[] - 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[Snmp
Community Args] - SNMP Community Configuration. The structure of
community
block is documented below. - contact_
info str - Contact Information.
- dynamic_
sort_ strsubtable - 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_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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_ intcpu_ threshold - CPU usage when trap is sent.
- trap_
high_ intmem_ threshold - Memory usage when trap is sent.
- users
Sequence[Snmp
User Args] - 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. - contact
Info String - Contact Information.
- dynamic
Sort StringSubtable - 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 String - AC SNMP engineId string (maximum 24 characters).
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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 NumberCpu Threshold - CPU usage when trap is sent.
- trap
High NumberMem Threshold - 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.
- Communities
List<Pulumiverse.
Fortios. Wirelesscontroller. Inputs. Snmp Community> - SNMP Community Configuration. The structure of
community
block is documented below. - Contact
Info string - Contact Information.
- Dynamic
Sort stringSubtable - 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 string - AC SNMP engineId string (maximum 24 characters).
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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 intCpu Threshold - CPU usage when trap is sent.
- Trap
High intMem Threshold - Memory usage when trap is sent.
- Users
List<Pulumiverse.
Fortios. Wirelesscontroller. Inputs. Snmp User> - 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
[]Snmp
Community Args - SNMP Community Configuration. The structure of
community
block is documented below. - Contact
Info string - Contact Information.
- Dynamic
Sort stringSubtable - 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 string - AC SNMP engineId string (maximum 24 characters).
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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 intCpu Threshold - CPU usage when trap is sent.
- Trap
High intMem Threshold - Memory usage when trap is sent.
- Users
[]Snmp
User Args - 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<Snmp
Community> - SNMP Community Configuration. The structure of
community
block is documented below. - contact
Info String - Contact Information.
- dynamic
Sort StringSubtable - 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 String - AC SNMP engineId string (maximum 24 characters).
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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 IntegerCpu Threshold - CPU usage when trap is sent.
- trap
High IntegerMem Threshold - Memory usage when trap is sent.
- users
List<Snmp
User> - 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
Snmp
Community[] - SNMP Community Configuration. The structure of
community
block is documented below. - contact
Info string - Contact Information.
- dynamic
Sort stringSubtable - 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 string - AC SNMP engineId string (maximum 24 characters).
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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 numberCpu Threshold - CPU usage when trap is sent.
- trap
High numberMem Threshold - Memory usage when trap is sent.
- users
Snmp
User[] - 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[Snmp
Community Args] - SNMP Community Configuration. The structure of
community
block is documented below. - contact_
info str - Contact Information.
- dynamic_
sort_ strsubtable - 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_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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_ intcpu_ threshold - CPU usage when trap is sent.
- trap_
high_ intmem_ threshold - Memory usage when trap is sent.
- users
Sequence[Snmp
User Args] - 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. - contact
Info String - Contact Information.
- dynamic
Sort StringSubtable - 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 String - AC SNMP engineId string (maximum 24 characters).
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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 NumberCpu Threshold - CPU usage when trap is sent.
- trap
High NumberMem Threshold - 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. Snmp Community Host> - Configure IPv4 SNMP managers (hosts). The structure of
hosts
block is documented below. - Id int
- Community ID.
- Name string
- Community name.
- Query
V1Status string - Enable/disable SNMP v1 queries. Valid values:
enable
,disable
. - Query
V2c stringStatus - Enable/disable SNMP v2c queries. Valid values:
enable
,disable
. - Status string
- Enable/disable this SNMP community. Valid values:
enable
,disable
. - Trap
V1Status string - Enable/disable SNMP v1 traps. Valid values:
enable
,disable
. - Trap
V2c stringStatus - Enable/disable SNMP v2c traps. Valid values:
enable
,disable
.
- Hosts
[]Snmp
Community Host - Configure IPv4 SNMP managers (hosts). The structure of
hosts
block is documented below. - Id int
- Community ID.
- Name string
- Community name.
- Query
V1Status string - Enable/disable SNMP v1 queries. Valid values:
enable
,disable
. - Query
V2c stringStatus - Enable/disable SNMP v2c queries. Valid values:
enable
,disable
. - Status string
- Enable/disable this SNMP community. Valid values:
enable
,disable
. - Trap
V1Status string - Enable/disable SNMP v1 traps. Valid values:
enable
,disable
. - Trap
V2c stringStatus - Enable/disable SNMP v2c traps. Valid values:
enable
,disable
.
- hosts
List<Snmp
Community Host> - Configure IPv4 SNMP managers (hosts). The structure of
hosts
block is documented below. - id Integer
- Community ID.
- name String
- Community name.
- query
V1Status String - Enable/disable SNMP v1 queries. Valid values:
enable
,disable
. - query
V2c StringStatus - Enable/disable SNMP v2c queries. Valid values:
enable
,disable
. - status String
- Enable/disable this SNMP community. Valid values:
enable
,disable
. - trap
V1Status String - Enable/disable SNMP v1 traps. Valid values:
enable
,disable
. - trap
V2c StringStatus - Enable/disable SNMP v2c traps. Valid values:
enable
,disable
.
- hosts
Snmp
Community Host[] - Configure IPv4 SNMP managers (hosts). The structure of
hosts
block is documented below. - id number
- Community ID.
- name string
- Community name.
- query
V1Status string - Enable/disable SNMP v1 queries. Valid values:
enable
,disable
. - query
V2c stringStatus - Enable/disable SNMP v2c queries. Valid values:
enable
,disable
. - status string
- Enable/disable this SNMP community. Valid values:
enable
,disable
. - trap
V1Status string - Enable/disable SNMP v1 traps. Valid values:
enable
,disable
. - trap
V2c stringStatus - Enable/disable SNMP v2c traps. Valid values:
enable
,disable
.
- hosts
Sequence[Snmp
Community Host] - Configure IPv4 SNMP managers (hosts). The structure of
hosts
block is documented below. - id int
- Community ID.
- name str
- Community name.
- query_
v1_ strstatus - Enable/disable SNMP v1 queries. Valid values:
enable
,disable
. - query_
v2c_ strstatus - Enable/disable SNMP v2c queries. Valid values:
enable
,disable
. - status str
- Enable/disable this SNMP community. Valid values:
enable
,disable
. - trap_
v1_ strstatus - Enable/disable SNMP v1 traps. Valid values:
enable
,disable
. - trap_
v2c_ strstatus - 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.
- query
V1Status String - Enable/disable SNMP v1 queries. Valid values:
enable
,disable
. - query
V2c StringStatus - Enable/disable SNMP v2c queries. Valid values:
enable
,disable
. - status String
- Enable/disable this SNMP community. Valid values:
enable
,disable
. - trap
V1Status String - Enable/disable SNMP v1 traps. Valid values:
enable
,disable
. - trap
V2c StringStatus - Enable/disable SNMP v2c traps. Valid values:
enable
,disable
.
SnmpCommunityHost, SnmpCommunityHostArgs
SnmpUser, SnmpUserArgs
- Auth
Proto string - Authentication protocol. Valid values:
md5
,sha
. - Auth
Pwd string - Password for authentication protocol.
- Name string
- SNMP User Name
- Notify
Hosts string - Configure SNMP User Notify Hosts.
- Priv
Proto string - Privacy (encryption) protocol. Valid values:
aes
,des
,aes256
,aes256cisco
. - Priv
Pwd string - Password for privacy (encryption) protocol.
- Queries string
- Enable/disable SNMP queries for this user. Valid values:
enable
,disable
. - Security
Level 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
. - Trap
Status string - Enable/disable traps for this SNMP user. Valid values:
enable
,disable
.
- Auth
Proto string - Authentication protocol. Valid values:
md5
,sha
. - Auth
Pwd string - Password for authentication protocol.
- Name string
- SNMP User Name
- Notify
Hosts string - Configure SNMP User Notify Hosts.
- Priv
Proto string - Privacy (encryption) protocol. Valid values:
aes
,des
,aes256
,aes256cisco
. - Priv
Pwd string - Password for privacy (encryption) protocol.
- Queries string
- Enable/disable SNMP queries for this user. Valid values:
enable
,disable
. - Security
Level 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
. - Trap
Status string - Enable/disable traps for this SNMP user. Valid values:
enable
,disable
.
- auth
Proto String - Authentication protocol. Valid values:
md5
,sha
. - auth
Pwd String - Password for authentication protocol.
- name String
- SNMP User Name
- notify
Hosts String - Configure SNMP User Notify Hosts.
- priv
Proto String - Privacy (encryption) protocol. Valid values:
aes
,des
,aes256
,aes256cisco
. - priv
Pwd String - Password for privacy (encryption) protocol.
- queries String
- Enable/disable SNMP queries for this user. Valid values:
enable
,disable
. - security
Level 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
. - trap
Status String - Enable/disable traps for this SNMP user. Valid values:
enable
,disable
.
- auth
Proto string - Authentication protocol. Valid values:
md5
,sha
. - auth
Pwd string - Password for authentication protocol.
- name string
- SNMP User Name
- notify
Hosts string - Configure SNMP User Notify Hosts.
- priv
Proto string - Privacy (encryption) protocol. Valid values:
aes
,des
,aes256
,aes256cisco
. - priv
Pwd string - Password for privacy (encryption) protocol.
- queries string
- Enable/disable SNMP queries for this user. Valid values:
enable
,disable
. - security
Level 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
. - trap
Status 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
.
- auth
Proto String - Authentication protocol. Valid values:
md5
,sha
. - auth
Pwd String - Password for authentication protocol.
- name String
- SNMP User Name
- notify
Hosts String - Configure SNMP User Notify Hosts.
- priv
Proto String - Privacy (encryption) protocol. Valid values:
aes
,des
,aes256
,aes256cisco
. - priv
Pwd String - Password for privacy (encryption) protocol.
- queries String
- Enable/disable SNMP queries for this user. Valid values:
enable
,disable
. - security
Level 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
. - trap
Status 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.