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_network_packet_capture" {
source="./modules/azurerm/r/azurerm_network_packet_capture"# maximum_bytes_per_packet - (optional) is a type of numbermaximum_bytes_per_packet=null# maximum_bytes_per_session - (optional) is a type of numbermaximum_bytes_per_session=null# maximum_capture_duration - (optional) is a type of numbermaximum_capture_duration=null# name - (required) is a type of stringname=null# network_watcher_name - (required) is a type of stringnetwork_watcher_name=null# resource_group_name - (required) is a type of stringresource_group_name=null# target_resource_id - (required) is a type of stringtarget_resource_id=nullfilter=[{
local_ip_address =null
local_port =null
protocol =null
remote_ip_address =null
remote_port =null
}]
storage_location=[{
file_path =null
storage_account_id =null
storage_path =null
}]
timeouts=[{
create =null
delete =null
read =null
update =null
}]
}
resource"azurerm_network_packet_capture""this" {
# maximum_bytes_per_packet - (optional) is a type of numbermaximum_bytes_per_packet=var.maximum_bytes_per_packet# maximum_bytes_per_session - (optional) is a type of numbermaximum_bytes_per_session=var.maximum_bytes_per_session# maximum_capture_duration - (optional) is a type of numbermaximum_capture_duration=var.maximum_capture_duration# name - (required) is a type of stringname=var.name# network_watcher_name - (required) is a type of stringnetwork_watcher_name=var.network_watcher_name# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_name# target_resource_id - (required) is a type of stringtarget_resource_id=var.target_resource_iddynamic"filter" {
for_each=var.filtercontent {
# local_ip_address - (optional) is a type of stringlocal_ip_address=filter.value["local_ip_address"]
# local_port - (optional) is a type of stringlocal_port=filter.value["local_port"]
# protocol - (required) is a type of stringprotocol=filter.value["protocol"]
# remote_ip_address - (optional) is a type of stringremote_ip_address=filter.value["remote_ip_address"]
# remote_port - (optional) is a type of stringremote_port=filter.value["remote_port"]
}
}
dynamic"storage_location" {
for_each=var.storage_locationcontent {
# file_path - (optional) is a type of stringfile_path=storage_location.value["file_path"]
# storage_account_id - (optional) is a type of stringstorage_account_id=storage_location.value["storage_account_id"]
}
}
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"]
}
}
}