You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"fortios_wirelesscontroller_snmp" {
source="./modules/fortios/r/fortios_wirelesscontroller_snmp"# contact_info - (optional) is a type of stringcontact_info=null# dynamic_sort_subtable - (optional) is a type of stringdynamic_sort_subtable=null# engine_id - (optional) is a type of stringengine_id=null# trap_high_cpu_threshold - (optional) is a type of numbertrap_high_cpu_threshold=null# trap_high_mem_threshold - (optional) is a type of numbertrap_high_mem_threshold=nullcommunity=[{
hosts = [{
id =null
ip =null
}]
id =null
name =null
query_v1_status =null
query_v2c_status =null
status =null
trap_v1_status =null
trap_v2c_status =null
}]
user=[{
auth_proto =null
auth_pwd =null
name =null
notify_hosts =null
priv_proto =null
priv_pwd =null
queries =null
security_level =null
status =null
trap_status =null
}]
}
resource"fortios_wirelesscontroller_snmp""this" {
# contact_info - (optional) is a type of stringcontact_info=var.contact_info# dynamic_sort_subtable - (optional) is a type of stringdynamic_sort_subtable=var.dynamic_sort_subtable# engine_id - (optional) is a type of stringengine_id=var.engine_id# trap_high_cpu_threshold - (optional) is a type of numbertrap_high_cpu_threshold=var.trap_high_cpu_threshold# trap_high_mem_threshold - (optional) is a type of numbertrap_high_mem_threshold=var.trap_high_mem_thresholddynamic"community" {
for_each=var.communitycontent {
# id - (optional) is a type of numberid=community.value["id"]
# name - (optional) is a type of stringname=community.value["name"]
# query_v1_status - (optional) is a type of stringquery_v1_status=community.value["query_v1_status"]
# query_v2c_status - (optional) is a type of stringquery_v2c_status=community.value["query_v2c_status"]
# status - (optional) is a type of stringstatus=community.value["status"]
# trap_v1_status - (optional) is a type of stringtrap_v1_status=community.value["trap_v1_status"]
# trap_v2c_status - (optional) is a type of stringtrap_v2c_status=community.value["trap_v2c_status"]
dynamic"hosts" {
for_each=community.value.hostscontent {
# id - (optional) is a type of numberid=hosts.value["id"]
# ip - (optional) is a type of stringip=hosts.value["ip"]
}
}
}
}
dynamic"user" {
for_each=var.usercontent {
# auth_proto - (optional) is a type of stringauth_proto=user.value["auth_proto"]
# auth_pwd - (optional) is a type of stringauth_pwd=user.value["auth_pwd"]
# name - (optional) is a type of stringname=user.value["name"]
# notify_hosts - (optional) is a type of stringnotify_hosts=user.value["notify_hosts"]
# priv_proto - (optional) is a type of stringpriv_proto=user.value["priv_proto"]
# priv_pwd - (optional) is a type of stringpriv_pwd=user.value["priv_pwd"]
# queries - (optional) is a type of stringqueries=user.value["queries"]
# security_level - (optional) is a type of stringsecurity_level=user.value["security_level"]
# status - (optional) is a type of stringstatus=user.value["status"]
# trap_status - (optional) is a type of stringtrap_status=user.value["trap_status"]
}
}
}