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"azurerm_iot_security_solution" {
source="./modules/azurerm/r/azurerm_iot_security_solution"# display_name - (required) is a type of stringdisplay_name=null# enabled - (optional) is a type of boolenabled=null# events_to_export - (optional) is a type of set of stringevents_to_export=[]
# iothub_ids - (required) is a type of set of stringiothub_ids=[]
# location - (required) is a type of stringlocation=null# log_analytics_workspace_id - (optional) is a type of stringlog_analytics_workspace_id=null# log_unmasked_ips_enabled - (optional) is a type of boollog_unmasked_ips_enabled=null# name - (required) is a type of stringname=null# query_for_resources - (optional) is a type of stringquery_for_resources=null# query_subscription_ids - (optional) is a type of set of stringquery_subscription_ids=[]
# resource_group_name - (required) is a type of stringresource_group_name=null# tags - (optional) is a type of map of stringtags={}
recommendations_enabled=[{
acr_authentication =null
agent_send_unutilized_msg =null
baseline =null
edge_hub_mem_optimize =null
edge_logging_option =null
inconsistent_module_settings =null
install_agent =null
ip_filter_deny_all =null
ip_filter_permissive_rule =null
open_ports =null
permissive_firewall_policy =null
permissive_input_firewall_rules =null
permissive_output_firewall_rules =null
privileged_docker_options =null
shared_credentials =null
vulnerable_tls_cipher_suite =null
}]
timeouts=[{
create =null
delete =null
read =null
update =null
}]
}
resource"azurerm_iot_security_solution""this" {
# display_name - (required) is a type of stringdisplay_name=var.display_name# enabled - (optional) is a type of boolenabled=var.enabled# events_to_export - (optional) is a type of set of stringevents_to_export=var.events_to_export# iothub_ids - (required) is a type of set of stringiothub_ids=var.iothub_ids# location - (required) is a type of stringlocation=var.location# log_analytics_workspace_id - (optional) is a type of stringlog_analytics_workspace_id=var.log_analytics_workspace_id# log_unmasked_ips_enabled - (optional) is a type of boollog_unmasked_ips_enabled=var.log_unmasked_ips_enabled# name - (required) is a type of stringname=var.name# query_for_resources - (optional) is a type of stringquery_for_resources=var.query_for_resources# query_subscription_ids - (optional) is a type of set of stringquery_subscription_ids=var.query_subscription_ids# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_name# tags - (optional) is a type of map of stringtags=var.tagsdynamic"recommendations_enabled" {
for_each=var.recommendations_enabledcontent {
# acr_authentication - (optional) is a type of boolacr_authentication=recommendations_enabled.value["acr_authentication"]
# agent_send_unutilized_msg - (optional) is a type of boolagent_send_unutilized_msg=recommendations_enabled.value["agent_send_unutilized_msg"]
# baseline - (optional) is a type of boolbaseline=recommendations_enabled.value["baseline"]
# edge_hub_mem_optimize - (optional) is a type of booledge_hub_mem_optimize=recommendations_enabled.value["edge_hub_mem_optimize"]
# edge_logging_option - (optional) is a type of booledge_logging_option=recommendations_enabled.value["edge_logging_option"]
# inconsistent_module_settings - (optional) is a type of boolinconsistent_module_settings=recommendations_enabled.value["inconsistent_module_settings"]
# install_agent - (optional) is a type of boolinstall_agent=recommendations_enabled.value["install_agent"]
# ip_filter_deny_all - (optional) is a type of boolip_filter_deny_all=recommendations_enabled.value["ip_filter_deny_all"]
# ip_filter_permissive_rule - (optional) is a type of boolip_filter_permissive_rule=recommendations_enabled.value["ip_filter_permissive_rule"]
# open_ports - (optional) is a type of boolopen_ports=recommendations_enabled.value["open_ports"]
# permissive_firewall_policy - (optional) is a type of boolpermissive_firewall_policy=recommendations_enabled.value["permissive_firewall_policy"]
# permissive_input_firewall_rules - (optional) is a type of boolpermissive_input_firewall_rules=recommendations_enabled.value["permissive_input_firewall_rules"]
# permissive_output_firewall_rules - (optional) is a type of boolpermissive_output_firewall_rules=recommendations_enabled.value["permissive_output_firewall_rules"]
# privileged_docker_options - (optional) is a type of boolprivileged_docker_options=recommendations_enabled.value["privileged_docker_options"]
# shared_credentials - (optional) is a type of boolshared_credentials=recommendations_enabled.value["shared_credentials"]
# vulnerable_tls_cipher_suite - (optional) is a type of boolvulnerable_tls_cipher_suite=recommendations_enabled.value["vulnerable_tls_cipher_suite"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}
output"id" {
description="returns a string"value=azurerm_iot_security_solution.this.id
}
output"query_for_resources" {
description="returns a string"value=azurerm_iot_security_solution.this.query_for_resources
}
output"query_subscription_ids" {
description="returns a set of string"value=azurerm_iot_security_solution.this.query_subscription_ids
}
output"this" {
value=azurerm_iot_security_solution.this
}