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_wanopt_contentdeliverynetworkrule" {
source="./modules/fortios/r/fortios_wanopt_contentdeliverynetworkrule"# category - (optional) is a type of stringcategory=null# comment - (optional) is a type of stringcomment=null# dynamic_sort_subtable - (optional) is a type of stringdynamic_sort_subtable=null# name - (optional) is a type of stringname=null# request_cache_control - (optional) is a type of stringrequest_cache_control=null# response_cache_control - (optional) is a type of stringresponse_cache_control=null# response_expires - (optional) is a type of stringresponse_expires=null# status - (optional) is a type of stringstatus=null# text_response_vcache - (optional) is a type of stringtext_response_vcache=null# updateserver - (optional) is a type of stringupdateserver=nullhost_domain_name_suffix=[{
name =null
}]
rules=[{
content_id = [{
end_direction =null
end_skip =null
end_str =null
range_str =null
start_direction =null
start_skip =null
start_str =null
target =null
}]
match_entries = [{
id =null
pattern = [{
string =null
}]
target =null
}]
match_mode =null
name =null
skip_entries = [{
id =null
pattern = [{
string =null
}]
target =null
}]
skip_rule_mode =null
}]
}
resource"fortios_wanopt_contentdeliverynetworkrule""this" {
# category - (optional) is a type of stringcategory=var.category# comment - (optional) is a type of stringcomment=var.comment# dynamic_sort_subtable - (optional) is a type of stringdynamic_sort_subtable=var.dynamic_sort_subtable# name - (optional) is a type of stringname=var.name# request_cache_control - (optional) is a type of stringrequest_cache_control=var.request_cache_control# response_cache_control - (optional) is a type of stringresponse_cache_control=var.response_cache_control# response_expires - (optional) is a type of stringresponse_expires=var.response_expires# status - (optional) is a type of stringstatus=var.status# text_response_vcache - (optional) is a type of stringtext_response_vcache=var.text_response_vcache# updateserver - (optional) is a type of stringupdateserver=var.updateserverdynamic"host_domain_name_suffix" {
for_each=var.host_domain_name_suffixcontent {
# name - (optional) is a type of stringname=host_domain_name_suffix.value["name"]
}
}
dynamic"rules" {
for_each=var.rulescontent {
# match_mode - (optional) is a type of stringmatch_mode=rules.value["match_mode"]
# name - (optional) is a type of stringname=rules.value["name"]
# skip_rule_mode - (optional) is a type of stringskip_rule_mode=rules.value["skip_rule_mode"]
dynamic"content_id" {
for_each=rules.value.content_idcontent {
# end_direction - (optional) is a type of stringend_direction=content_id.value["end_direction"]
# end_skip - (optional) is a type of numberend_skip=content_id.value["end_skip"]
# end_str - (optional) is a type of stringend_str=content_id.value["end_str"]
# range_str - (optional) is a type of stringrange_str=content_id.value["range_str"]
# start_direction - (optional) is a type of stringstart_direction=content_id.value["start_direction"]
# start_skip - (optional) is a type of numberstart_skip=content_id.value["start_skip"]
# start_str - (optional) is a type of stringstart_str=content_id.value["start_str"]
# target - (optional) is a type of stringtarget=content_id.value["target"]
}
}
dynamic"match_entries" {
for_each=rules.value.match_entriescontent {
# id - (optional) is a type of numberid=match_entries.value["id"]
# target - (optional) is a type of stringtarget=match_entries.value["target"]
dynamic"pattern" {
for_each=match_entries.value.patterncontent {
# string - (optional) is a type of stringstring=pattern.value["string"]
}
}
}
}
dynamic"skip_entries" {
for_each=rules.value.skip_entriescontent {
# id - (optional) is a type of numberid=skip_entries.value["id"]
# target - (optional) is a type of stringtarget=skip_entries.value["target"]
dynamic"pattern" {
for_each=skip_entries.value.patterncontent {
# string - (optional) is a type of stringstring=pattern.value["string"]
}
}
}
}
}
}
}