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_connection_monitor" {
source=[{
port =null
virtual_machine_id =null
}]
# auto_start - (optional) is a type of boolauto_start=null# interval_in_seconds - (optional) is a type of numberinterval_in_seconds=null# location - (required) is a type of stringlocation=null# name - (required) is a type of stringname=null# network_watcher_id - (required) is a type of stringnetwork_watcher_id=null# notes - (optional) is a type of stringnotes=null# output_workspace_resource_ids - (optional) is a type of set of stringoutput_workspace_resource_ids=[]
# tags - (optional) is a type of map of stringtags={}
destination=[{
address =null
port =null
virtual_machine_id =null
}]
endpoint=[{
address =null
filter = [{
item = [{
address =null
type =null
}]
type =null
}]
name =null
virtual_machine_id =null
}]
test_configuration=[{
http_configuration = [{
method =null
path =null
port =null
prefer_https =null
request_header = [{
name =null
value =null
}]
valid_status_code_ranges = []
}]
icmp_configuration = [{
trace_route_enabled =null
}]
name =null
preferred_ip_version =null
protocol =null
success_threshold = [{
checks_failed_percent =null
round_trip_time_ms =null
}]
tcp_configuration = [{
port =null
trace_route_enabled =null
}]
test_frequency_in_seconds =null
}]
test_group=[{
destination_endpoints = []
enabled =null
name =null
source_endpoints = []
test_configuration_names = []
}]
timeouts=[{
create =null
delete =null
read =null
update =null
}]
}
resource"azurerm_network_connection_monitor""this" {
# auto_start - (optional) is a type of boolauto_start=var.auto_start# interval_in_seconds - (optional) is a type of numberinterval_in_seconds=var.interval_in_seconds# location - (required) is a type of stringlocation=var.location# name - (required) is a type of stringname=var.name# network_watcher_id - (required) is a type of stringnetwork_watcher_id=var.network_watcher_id# notes - (optional) is a type of stringnotes=var.notes# output_workspace_resource_ids - (optional) is a type of set of stringoutput_workspace_resource_ids=var.output_workspace_resource_ids# tags - (optional) is a type of map of stringtags=var.tagsdynamic"destination" {
for_each=var.destinationcontent {
# address - (optional) is a type of stringaddress=destination.value["address"]
# port - (optional) is a type of numberport=destination.value["port"]
# virtual_machine_id - (optional) is a type of stringvirtual_machine_id=destination.value["virtual_machine_id"]
}
}
dynamic"endpoint" {
for_each=var.endpointcontent {
# address - (optional) is a type of stringaddress=endpoint.value["address"]
# name - (required) is a type of stringname=endpoint.value["name"]
# virtual_machine_id - (optional) is a type of stringvirtual_machine_id=endpoint.value["virtual_machine_id"]
dynamic"filter" {
for_each=endpoint.value.filtercontent {
# type - (optional) is a type of stringtype=filter.value["type"]
dynamic"item" {
for_each=filter.value.itemcontent {
# address - (optional) is a type of stringaddress=item.value["address"]
# type - (optional) is a type of stringtype=item.value["type"]
}
}
}
}
}
}
dynamic"source" {
for_each=var.sourcecontent {
# port - (optional) is a type of numberport=source.value["port"]
# virtual_machine_id - (optional) is a type of stringvirtual_machine_id=source.value["virtual_machine_id"]
}
}
dynamic"test_configuration" {
for_each=var.test_configurationcontent {
# name - (required) is a type of stringname=test_configuration.value["name"]
# preferred_ip_version - (optional) is a type of stringpreferred_ip_version=test_configuration.value["preferred_ip_version"]
# protocol - (required) is a type of stringprotocol=test_configuration.value["protocol"]
# test_frequency_in_seconds - (optional) is a type of numbertest_frequency_in_seconds=test_configuration.value["test_frequency_in_seconds"]
dynamic"http_configuration" {
for_each=test_configuration.value.http_configurationcontent {
# method - (optional) is a type of stringmethod=http_configuration.value["method"]
# path - (optional) is a type of stringpath=http_configuration.value["path"]
# port - (optional) is a type of numberport=http_configuration.value["port"]
# prefer_https - (optional) is a type of boolprefer_https=http_configuration.value["prefer_https"]
# valid_status_code_ranges - (optional) is a type of set of stringvalid_status_code_ranges=http_configuration.value["valid_status_code_ranges"]
dynamic"request_header" {
for_each=http_configuration.value.request_headercontent {
# name - (required) is a type of stringname=request_header.value["name"]
# value - (required) is a type of stringvalue=request_header.value["value"]
}
}
}
}
dynamic"icmp_configuration" {
for_each=test_configuration.value.icmp_configurationcontent {
# trace_route_enabled - (optional) is a type of booltrace_route_enabled=icmp_configuration.value["trace_route_enabled"]
}
}
dynamic"success_threshold" {
for_each=test_configuration.value.success_thresholdcontent {
# checks_failed_percent - (optional) is a type of numberchecks_failed_percent=success_threshold.value["checks_failed_percent"]
# round_trip_time_ms - (optional) is a type of numberround_trip_time_ms=success_threshold.value["round_trip_time_ms"]
}
}
dynamic"tcp_configuration" {
for_each=test_configuration.value.tcp_configurationcontent {
# port - (required) is a type of numberport=tcp_configuration.value["port"]
# trace_route_enabled - (optional) is a type of booltrace_route_enabled=tcp_configuration.value["trace_route_enabled"]
}
}
}
}
dynamic"test_group" {
for_each=var.test_groupcontent {
# destination_endpoints - (required) is a type of set of stringdestination_endpoints=test_group.value["destination_endpoints"]
# enabled - (optional) is a type of boolenabled=test_group.value["enabled"]
# name - (required) is a type of stringname=test_group.value["name"]
# source_endpoints - (required) is a type of set of stringsource_endpoints=test_group.value["source_endpoints"]
# test_configuration_names - (required) is a type of set of stringtest_configuration_names=test_group.value["test_configuration_names"]
}
}
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"auto_start" {
description="returns a bool"value=azurerm_network_connection_monitor.this.auto_start
}
output"id" {
description="returns a string"value=azurerm_network_connection_monitor.this.id
}
output"interval_in_seconds" {
description="returns a number"value=azurerm_network_connection_monitor.this.interval_in_seconds
}
output"output_workspace_resource_ids" {
description="returns a set of string"value=azurerm_network_connection_monitor.this.output_workspace_resource_ids
}
output"this" {
value=azurerm_network_connection_monitor.this
}