1. Packages
  2. Azure Classic
  3. API Docs
  4. network
  5. NetworkConnectionMonitor

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages a Network Connection Monitor.

    NOTE: Any Network Connection Monitor resource created with API versions 2019-06-01 or earlier (v1) are now incompatible with this provider, which now only supports v2.

    Example Usage

    Example coming soon!

    Example coming soon!

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleNetworkWatcher = new azure.network.NetworkWatcher("exampleNetworkWatcher", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
    });
    const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
        addressSpaces: ["10.0.0.0/16"],
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
    });
    const exampleSubnet = new azure.network.Subnet("exampleSubnet", {
        resourceGroupName: exampleResourceGroup.name,
        virtualNetworkName: exampleVirtualNetwork.name,
        addressPrefixes: ["10.0.2.0/24"],
    });
    const exampleNetworkInterface = new azure.network.NetworkInterface("exampleNetworkInterface", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        ipConfigurations: [{
            name: "testconfiguration1",
            subnetId: exampleSubnet.id,
            privateIpAddressAllocation: "Dynamic",
        }],
    });
    const exampleVirtualMachine = new azure.compute.VirtualMachine("exampleVirtualMachine", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        networkInterfaceIds: [exampleNetworkInterface.id],
        vmSize: "Standard_D2s_v3",
        storageImageReference: {
            publisher: "Canonical",
            offer: "UbuntuServer",
            sku: "16.04-LTS",
            version: "latest",
        },
        storageOsDisk: {
            name: "osdisk-example01",
            caching: "ReadWrite",
            createOption: "FromImage",
            managedDiskType: "Standard_LRS",
        },
        osProfile: {
            computerName: "hostnametest01",
            adminUsername: "testadmin",
            adminPassword: "Password1234!",
        },
        osProfileLinuxConfig: {
            disablePasswordAuthentication: false,
        },
    });
    const exampleExtension = new azure.compute.Extension("exampleExtension", {
        virtualMachineId: exampleVirtualMachine.id,
        publisher: "Microsoft.Azure.NetworkWatcher",
        type: "NetworkWatcherAgentLinux",
        typeHandlerVersion: "1.4",
        autoUpgradeMinorVersion: true,
    });
    const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("exampleAnalyticsWorkspace", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        sku: "pergb2018",
    });
    const exampleNetworkConnectionMonitor = new azure.network.NetworkConnectionMonitor("exampleNetworkConnectionMonitor", {
        networkWatcherName: exampleNetworkWatcher.name,
        resourceGroupName: exampleResourceGroup.name,
        location: exampleNetworkWatcher.location,
        endpoints: [
            {
                name: "source",
                targetResourceId: exampleVirtualMachine.id,
                filter: {
                    items: [{
                        address: exampleVirtualMachine.id,
                        type: "AgentAddress",
                    }],
                    type: "Include",
                },
            },
            {
                name: "destination",
                address: "mycompany.io",
            },
        ],
        testConfigurations: [{
            name: "tcpName",
            protocol: "Tcp",
            testFrequencyInSeconds: 60,
            tcpConfiguration: {
                port: 80,
            },
        }],
        testGroups: [{
            name: "exampletg",
            destinationEndpoints: ["destination"],
            sourceEndpoints: ["source"],
            testConfigurationNames: ["tcpName"],
            disable: false,
        }],
        notes: "examplenote",
        outputWorkspaceResourceIds: [exampleAnalyticsWorkspace.id],
    }, {
        dependsOn: [exampleExtension],
    });
    

    Example coming soon!

    Example coming soon!

    Create NetworkConnectionMonitor Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NetworkConnectionMonitor(name: string, args: NetworkConnectionMonitorArgs, opts?: CustomResourceOptions);
    @overload
    def NetworkConnectionMonitor(resource_name: str,
                                 args: NetworkConnectionMonitorArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkConnectionMonitor(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 network_watcher_id: Optional[str] = None,
                                 test_groups: Optional[Sequence[NetworkConnectionMonitorTestGroupArgs]] = None,
                                 endpoints: Optional[Sequence[NetworkConnectionMonitorEndpointArgs]] = None,
                                 test_configurations: Optional[Sequence[NetworkConnectionMonitorTestConfigurationArgs]] = None,
                                 interval_in_seconds: Optional[int] = None,
                                 name: Optional[str] = None,
                                 location: Optional[str] = None,
                                 notes: Optional[str] = None,
                                 output_workspace_resource_ids: Optional[Sequence[str]] = None,
                                 source: Optional[NetworkConnectionMonitorSourceArgs] = None,
                                 tags: Optional[Mapping[str, str]] = None,
                                 auto_start: Optional[bool] = None,
                                 destination: Optional[NetworkConnectionMonitorDestinationArgs] = None)
    func NewNetworkConnectionMonitor(ctx *Context, name string, args NetworkConnectionMonitorArgs, opts ...ResourceOption) (*NetworkConnectionMonitor, error)
    public NetworkConnectionMonitor(string name, NetworkConnectionMonitorArgs args, CustomResourceOptions? opts = null)
    public NetworkConnectionMonitor(String name, NetworkConnectionMonitorArgs args)
    public NetworkConnectionMonitor(String name, NetworkConnectionMonitorArgs args, CustomResourceOptions options)
    
    type: azure:network:NetworkConnectionMonitor
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args NetworkConnectionMonitorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NetworkConnectionMonitorArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NetworkConnectionMonitorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkConnectionMonitorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkConnectionMonitorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var networkConnectionMonitorResource = new Azure.Network.NetworkConnectionMonitor("networkConnectionMonitorResource", new()
    {
        NetworkWatcherId = "string",
        TestGroups = new[]
        {
            new Azure.Network.Inputs.NetworkConnectionMonitorTestGroupArgs
            {
                DestinationEndpoints = new[]
                {
                    "string",
                },
                Name = "string",
                SourceEndpoints = new[]
                {
                    "string",
                },
                TestConfigurationNames = new[]
                {
                    "string",
                },
                Enabled = false,
            },
        },
        Endpoints = new[]
        {
            new Azure.Network.Inputs.NetworkConnectionMonitorEndpointArgs
            {
                Name = "string",
                Address = "string",
                CoverageLevel = "string",
                ExcludedIpAddresses = new[]
                {
                    "string",
                },
                Filter = new Azure.Network.Inputs.NetworkConnectionMonitorEndpointFilterArgs
                {
                    Items = new[]
                    {
                        new Azure.Network.Inputs.NetworkConnectionMonitorEndpointFilterItemArgs
                        {
                            Address = "string",
                            Type = "string",
                        },
                    },
                    Type = "string",
                },
                IncludedIpAddresses = new[]
                {
                    "string",
                },
                TargetResourceId = "string",
                TargetResourceType = "string",
            },
        },
        TestConfigurations = new[]
        {
            new Azure.Network.Inputs.NetworkConnectionMonitorTestConfigurationArgs
            {
                Name = "string",
                Protocol = "string",
                HttpConfiguration = new Azure.Network.Inputs.NetworkConnectionMonitorTestConfigurationHttpConfigurationArgs
                {
                    Method = "string",
                    Path = "string",
                    Port = 0,
                    PreferHttps = false,
                    RequestHeaders = new[]
                    {
                        new Azure.Network.Inputs.NetworkConnectionMonitorTestConfigurationHttpConfigurationRequestHeaderArgs
                        {
                            Name = "string",
                            Value = "string",
                        },
                    },
                    ValidStatusCodeRanges = new[]
                    {
                        "string",
                    },
                },
                IcmpConfiguration = new Azure.Network.Inputs.NetworkConnectionMonitorTestConfigurationIcmpConfigurationArgs
                {
                    TraceRouteEnabled = false,
                },
                PreferredIpVersion = "string",
                SuccessThreshold = new Azure.Network.Inputs.NetworkConnectionMonitorTestConfigurationSuccessThresholdArgs
                {
                    ChecksFailedPercent = 0,
                    RoundTripTimeMs = 0,
                },
                TcpConfiguration = new Azure.Network.Inputs.NetworkConnectionMonitorTestConfigurationTcpConfigurationArgs
                {
                    Port = 0,
                    DestinationPortBehavior = "string",
                    TraceRouteEnabled = false,
                },
                TestFrequencyInSeconds = 0,
            },
        },
        Name = "string",
        Location = "string",
        Notes = "string",
        OutputWorkspaceResourceIds = new[]
        {
            "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := network.NewNetworkConnectionMonitor(ctx, "networkConnectionMonitorResource", &network.NetworkConnectionMonitorArgs{
    	NetworkWatcherId: pulumi.String("string"),
    	TestGroups: network.NetworkConnectionMonitorTestGroupArray{
    		&network.NetworkConnectionMonitorTestGroupArgs{
    			DestinationEndpoints: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Name: pulumi.String("string"),
    			SourceEndpoints: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			TestConfigurationNames: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    	},
    	Endpoints: network.NetworkConnectionMonitorEndpointArray{
    		&network.NetworkConnectionMonitorEndpointArgs{
    			Name:          pulumi.String("string"),
    			Address:       pulumi.String("string"),
    			CoverageLevel: pulumi.String("string"),
    			ExcludedIpAddresses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Filter: &network.NetworkConnectionMonitorEndpointFilterArgs{
    				Items: network.NetworkConnectionMonitorEndpointFilterItemArray{
    					&network.NetworkConnectionMonitorEndpointFilterItemArgs{
    						Address: pulumi.String("string"),
    						Type:    pulumi.String("string"),
    					},
    				},
    				Type: pulumi.String("string"),
    			},
    			IncludedIpAddresses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			TargetResourceId:   pulumi.String("string"),
    			TargetResourceType: pulumi.String("string"),
    		},
    	},
    	TestConfigurations: network.NetworkConnectionMonitorTestConfigurationArray{
    		&network.NetworkConnectionMonitorTestConfigurationArgs{
    			Name:     pulumi.String("string"),
    			Protocol: pulumi.String("string"),
    			HttpConfiguration: &network.NetworkConnectionMonitorTestConfigurationHttpConfigurationArgs{
    				Method:      pulumi.String("string"),
    				Path:        pulumi.String("string"),
    				Port:        pulumi.Int(0),
    				PreferHttps: pulumi.Bool(false),
    				RequestHeaders: network.NetworkConnectionMonitorTestConfigurationHttpConfigurationRequestHeaderArray{
    					&network.NetworkConnectionMonitorTestConfigurationHttpConfigurationRequestHeaderArgs{
    						Name:  pulumi.String("string"),
    						Value: pulumi.String("string"),
    					},
    				},
    				ValidStatusCodeRanges: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    			IcmpConfiguration: &network.NetworkConnectionMonitorTestConfigurationIcmpConfigurationArgs{
    				TraceRouteEnabled: pulumi.Bool(false),
    			},
    			PreferredIpVersion: pulumi.String("string"),
    			SuccessThreshold: &network.NetworkConnectionMonitorTestConfigurationSuccessThresholdArgs{
    				ChecksFailedPercent: pulumi.Int(0),
    				RoundTripTimeMs:     pulumi.Float64(0),
    			},
    			TcpConfiguration: &network.NetworkConnectionMonitorTestConfigurationTcpConfigurationArgs{
    				Port:                    pulumi.Int(0),
    				DestinationPortBehavior: pulumi.String("string"),
    				TraceRouteEnabled:       pulumi.Bool(false),
    			},
    			TestFrequencyInSeconds: pulumi.Int(0),
    		},
    	},
    	Name:     pulumi.String("string"),
    	Location: pulumi.String("string"),
    	Notes:    pulumi.String("string"),
    	OutputWorkspaceResourceIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var networkConnectionMonitorResource = new NetworkConnectionMonitor("networkConnectionMonitorResource", NetworkConnectionMonitorArgs.builder()
        .networkWatcherId("string")
        .testGroups(NetworkConnectionMonitorTestGroupArgs.builder()
            .destinationEndpoints("string")
            .name("string")
            .sourceEndpoints("string")
            .testConfigurationNames("string")
            .enabled(false)
            .build())
        .endpoints(NetworkConnectionMonitorEndpointArgs.builder()
            .name("string")
            .address("string")
            .coverageLevel("string")
            .excludedIpAddresses("string")
            .filter(NetworkConnectionMonitorEndpointFilterArgs.builder()
                .items(NetworkConnectionMonitorEndpointFilterItemArgs.builder()
                    .address("string")
                    .type("string")
                    .build())
                .type("string")
                .build())
            .includedIpAddresses("string")
            .targetResourceId("string")
            .targetResourceType("string")
            .build())
        .testConfigurations(NetworkConnectionMonitorTestConfigurationArgs.builder()
            .name("string")
            .protocol("string")
            .httpConfiguration(NetworkConnectionMonitorTestConfigurationHttpConfigurationArgs.builder()
                .method("string")
                .path("string")
                .port(0)
                .preferHttps(false)
                .requestHeaders(NetworkConnectionMonitorTestConfigurationHttpConfigurationRequestHeaderArgs.builder()
                    .name("string")
                    .value("string")
                    .build())
                .validStatusCodeRanges("string")
                .build())
            .icmpConfiguration(NetworkConnectionMonitorTestConfigurationIcmpConfigurationArgs.builder()
                .traceRouteEnabled(false)
                .build())
            .preferredIpVersion("string")
            .successThreshold(NetworkConnectionMonitorTestConfigurationSuccessThresholdArgs.builder()
                .checksFailedPercent(0)
                .roundTripTimeMs(0.0)
                .build())
            .tcpConfiguration(NetworkConnectionMonitorTestConfigurationTcpConfigurationArgs.builder()
                .port(0)
                .destinationPortBehavior("string")
                .traceRouteEnabled(false)
                .build())
            .testFrequencyInSeconds(0)
            .build())
        .name("string")
        .location("string")
        .notes("string")
        .outputWorkspaceResourceIds("string")
        .tags(Map.of("string", "string"))
        .build());
    
    network_connection_monitor_resource = azure.network.NetworkConnectionMonitor("networkConnectionMonitorResource",
        network_watcher_id="string",
        test_groups=[{
            "destination_endpoints": ["string"],
            "name": "string",
            "source_endpoints": ["string"],
            "test_configuration_names": ["string"],
            "enabled": False,
        }],
        endpoints=[{
            "name": "string",
            "address": "string",
            "coverage_level": "string",
            "excluded_ip_addresses": ["string"],
            "filter": {
                "items": [{
                    "address": "string",
                    "type": "string",
                }],
                "type": "string",
            },
            "included_ip_addresses": ["string"],
            "target_resource_id": "string",
            "target_resource_type": "string",
        }],
        test_configurations=[{
            "name": "string",
            "protocol": "string",
            "http_configuration": {
                "method": "string",
                "path": "string",
                "port": 0,
                "prefer_https": False,
                "request_headers": [{
                    "name": "string",
                    "value": "string",
                }],
                "valid_status_code_ranges": ["string"],
            },
            "icmp_configuration": {
                "trace_route_enabled": False,
            },
            "preferred_ip_version": "string",
            "success_threshold": {
                "checks_failed_percent": 0,
                "round_trip_time_ms": 0,
            },
            "tcp_configuration": {
                "port": 0,
                "destination_port_behavior": "string",
                "trace_route_enabled": False,
            },
            "test_frequency_in_seconds": 0,
        }],
        name="string",
        location="string",
        notes="string",
        output_workspace_resource_ids=["string"],
        tags={
            "string": "string",
        })
    
    const networkConnectionMonitorResource = new azure.network.NetworkConnectionMonitor("networkConnectionMonitorResource", {
        networkWatcherId: "string",
        testGroups: [{
            destinationEndpoints: ["string"],
            name: "string",
            sourceEndpoints: ["string"],
            testConfigurationNames: ["string"],
            enabled: false,
        }],
        endpoints: [{
            name: "string",
            address: "string",
            coverageLevel: "string",
            excludedIpAddresses: ["string"],
            filter: {
                items: [{
                    address: "string",
                    type: "string",
                }],
                type: "string",
            },
            includedIpAddresses: ["string"],
            targetResourceId: "string",
            targetResourceType: "string",
        }],
        testConfigurations: [{
            name: "string",
            protocol: "string",
            httpConfiguration: {
                method: "string",
                path: "string",
                port: 0,
                preferHttps: false,
                requestHeaders: [{
                    name: "string",
                    value: "string",
                }],
                validStatusCodeRanges: ["string"],
            },
            icmpConfiguration: {
                traceRouteEnabled: false,
            },
            preferredIpVersion: "string",
            successThreshold: {
                checksFailedPercent: 0,
                roundTripTimeMs: 0,
            },
            tcpConfiguration: {
                port: 0,
                destinationPortBehavior: "string",
                traceRouteEnabled: false,
            },
            testFrequencyInSeconds: 0,
        }],
        name: "string",
        location: "string",
        notes: "string",
        outputWorkspaceResourceIds: ["string"],
        tags: {
            string: "string",
        },
    });
    
    type: azure:network:NetworkConnectionMonitor
    properties:
        endpoints:
            - address: string
              coverageLevel: string
              excludedIpAddresses:
                - string
              filter:
                items:
                    - address: string
                      type: string
                type: string
              includedIpAddresses:
                - string
              name: string
              targetResourceId: string
              targetResourceType: string
        location: string
        name: string
        networkWatcherId: string
        notes: string
        outputWorkspaceResourceIds:
            - string
        tags:
            string: string
        testConfigurations:
            - httpConfiguration:
                method: string
                path: string
                port: 0
                preferHttps: false
                requestHeaders:
                    - name: string
                      value: string
                validStatusCodeRanges:
                    - string
              icmpConfiguration:
                traceRouteEnabled: false
              name: string
              preferredIpVersion: string
              protocol: string
              successThreshold:
                checksFailedPercent: 0
                roundTripTimeMs: 0
              tcpConfiguration:
                destinationPortBehavior: string
                port: 0
                traceRouteEnabled: false
              testFrequencyInSeconds: 0
        testGroups:
            - destinationEndpoints:
                - string
              enabled: false
              name: string
              sourceEndpoints:
                - string
              testConfigurationNames:
                - string
    

    NetworkConnectionMonitor Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The NetworkConnectionMonitor resource accepts the following input properties:

    Endpoints List<NetworkConnectionMonitorEndpoint>
    A endpoint block as defined below.
    NetworkWatcherId string
    The ID of the Network Watcher. Changing this forces a new resource to be created.
    TestConfigurations List<NetworkConnectionMonitorTestConfiguration>
    A test_configuration block as defined below.
    TestGroups List<NetworkConnectionMonitorTestGroup>
    A test_group block as defined below.
    AutoStart bool

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Destination NetworkConnectionMonitorDestination

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    IntervalInSeconds int

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Location string
    The Azure Region where the Network Connection Monitor should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Network Connection Monitor. Changing this forces a new resource to be created.
    Notes string
    The description of the Network Connection Monitor.
    OutputWorkspaceResourceIds List<string>
    A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
    Source NetworkConnectionMonitorSource

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Network Connection Monitor.
    Endpoints []NetworkConnectionMonitorEndpointArgs
    A endpoint block as defined below.
    NetworkWatcherId string
    The ID of the Network Watcher. Changing this forces a new resource to be created.
    TestConfigurations []NetworkConnectionMonitorTestConfigurationArgs
    A test_configuration block as defined below.
    TestGroups []NetworkConnectionMonitorTestGroupArgs
    A test_group block as defined below.
    AutoStart bool

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Destination NetworkConnectionMonitorDestinationArgs

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    IntervalInSeconds int

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Location string
    The Azure Region where the Network Connection Monitor should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Network Connection Monitor. Changing this forces a new resource to be created.
    Notes string
    The description of the Network Connection Monitor.
    OutputWorkspaceResourceIds []string
    A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
    Source NetworkConnectionMonitorSourceArgs

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Tags map[string]string
    A mapping of tags which should be assigned to the Network Connection Monitor.
    endpoints List<NetworkConnectionMonitorEndpoint>
    A endpoint block as defined below.
    networkWatcherId String
    The ID of the Network Watcher. Changing this forces a new resource to be created.
    testConfigurations List<NetworkConnectionMonitorTestConfiguration>
    A test_configuration block as defined below.
    testGroups List<NetworkConnectionMonitorTestGroup>
    A test_group block as defined below.
    autoStart Boolean

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    destination NetworkConnectionMonitorDestination

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    intervalInSeconds Integer

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    location String
    The Azure Region where the Network Connection Monitor should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Network Connection Monitor. Changing this forces a new resource to be created.
    notes String
    The description of the Network Connection Monitor.
    outputWorkspaceResourceIds List<String>
    A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
    source NetworkConnectionMonitorSource

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    tags Map<String,String>
    A mapping of tags which should be assigned to the Network Connection Monitor.
    endpoints NetworkConnectionMonitorEndpoint[]
    A endpoint block as defined below.
    networkWatcherId string
    The ID of the Network Watcher. Changing this forces a new resource to be created.
    testConfigurations NetworkConnectionMonitorTestConfiguration[]
    A test_configuration block as defined below.
    testGroups NetworkConnectionMonitorTestGroup[]
    A test_group block as defined below.
    autoStart boolean

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    destination NetworkConnectionMonitorDestination

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    intervalInSeconds number

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    location string
    The Azure Region where the Network Connection Monitor should exist. Changing this forces a new resource to be created.
    name string
    The name which should be used for this Network Connection Monitor. Changing this forces a new resource to be created.
    notes string
    The description of the Network Connection Monitor.
    outputWorkspaceResourceIds string[]
    A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
    source NetworkConnectionMonitorSource

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Network Connection Monitor.
    endpoints Sequence[NetworkConnectionMonitorEndpointArgs]
    A endpoint block as defined below.
    network_watcher_id str
    The ID of the Network Watcher. Changing this forces a new resource to be created.
    test_configurations Sequence[NetworkConnectionMonitorTestConfigurationArgs]
    A test_configuration block as defined below.
    test_groups Sequence[NetworkConnectionMonitorTestGroupArgs]
    A test_group block as defined below.
    auto_start bool

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    destination NetworkConnectionMonitorDestinationArgs

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    interval_in_seconds int

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    location str
    The Azure Region where the Network Connection Monitor should exist. Changing this forces a new resource to be created.
    name str
    The name which should be used for this Network Connection Monitor. Changing this forces a new resource to be created.
    notes str
    The description of the Network Connection Monitor.
    output_workspace_resource_ids Sequence[str]
    A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
    source NetworkConnectionMonitorSourceArgs

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Network Connection Monitor.
    endpoints List<Property Map>
    A endpoint block as defined below.
    networkWatcherId String
    The ID of the Network Watcher. Changing this forces a new resource to be created.
    testConfigurations List<Property Map>
    A test_configuration block as defined below.
    testGroups List<Property Map>
    A test_group block as defined below.
    autoStart Boolean

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    destination Property Map

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    intervalInSeconds Number

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    location String
    The Azure Region where the Network Connection Monitor should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Network Connection Monitor. Changing this forces a new resource to be created.
    notes String
    The description of the Network Connection Monitor.
    outputWorkspaceResourceIds List<String>
    A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
    source Property Map

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    tags Map<String>
    A mapping of tags which should be assigned to the Network Connection Monitor.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NetworkConnectionMonitor resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing NetworkConnectionMonitor Resource

    Get an existing NetworkConnectionMonitor resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: NetworkConnectionMonitorState, opts?: CustomResourceOptions): NetworkConnectionMonitor
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_start: Optional[bool] = None,
            destination: Optional[NetworkConnectionMonitorDestinationArgs] = None,
            endpoints: Optional[Sequence[NetworkConnectionMonitorEndpointArgs]] = None,
            interval_in_seconds: Optional[int] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            network_watcher_id: Optional[str] = None,
            notes: Optional[str] = None,
            output_workspace_resource_ids: Optional[Sequence[str]] = None,
            source: Optional[NetworkConnectionMonitorSourceArgs] = None,
            tags: Optional[Mapping[str, str]] = None,
            test_configurations: Optional[Sequence[NetworkConnectionMonitorTestConfigurationArgs]] = None,
            test_groups: Optional[Sequence[NetworkConnectionMonitorTestGroupArgs]] = None) -> NetworkConnectionMonitor
    func GetNetworkConnectionMonitor(ctx *Context, name string, id IDInput, state *NetworkConnectionMonitorState, opts ...ResourceOption) (*NetworkConnectionMonitor, error)
    public static NetworkConnectionMonitor Get(string name, Input<string> id, NetworkConnectionMonitorState? state, CustomResourceOptions? opts = null)
    public static NetworkConnectionMonitor get(String name, Output<String> id, NetworkConnectionMonitorState state, CustomResourceOptions options)
    resources:  _:    type: azure:network:NetworkConnectionMonitor    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutoStart bool

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Destination NetworkConnectionMonitorDestination

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Endpoints List<NetworkConnectionMonitorEndpoint>
    A endpoint block as defined below.
    IntervalInSeconds int

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Location string
    The Azure Region where the Network Connection Monitor should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Network Connection Monitor. Changing this forces a new resource to be created.
    NetworkWatcherId string
    The ID of the Network Watcher. Changing this forces a new resource to be created.
    Notes string
    The description of the Network Connection Monitor.
    OutputWorkspaceResourceIds List<string>
    A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
    Source NetworkConnectionMonitorSource

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Network Connection Monitor.
    TestConfigurations List<NetworkConnectionMonitorTestConfiguration>
    A test_configuration block as defined below.
    TestGroups List<NetworkConnectionMonitorTestGroup>
    A test_group block as defined below.
    AutoStart bool

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Destination NetworkConnectionMonitorDestinationArgs

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Endpoints []NetworkConnectionMonitorEndpointArgs
    A endpoint block as defined below.
    IntervalInSeconds int

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Location string
    The Azure Region where the Network Connection Monitor should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Network Connection Monitor. Changing this forces a new resource to be created.
    NetworkWatcherId string
    The ID of the Network Watcher. Changing this forces a new resource to be created.
    Notes string
    The description of the Network Connection Monitor.
    OutputWorkspaceResourceIds []string
    A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
    Source NetworkConnectionMonitorSourceArgs

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Tags map[string]string
    A mapping of tags which should be assigned to the Network Connection Monitor.
    TestConfigurations []NetworkConnectionMonitorTestConfigurationArgs
    A test_configuration block as defined below.
    TestGroups []NetworkConnectionMonitorTestGroupArgs
    A test_group block as defined below.
    autoStart Boolean

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    destination NetworkConnectionMonitorDestination

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    endpoints List<NetworkConnectionMonitorEndpoint>
    A endpoint block as defined below.
    intervalInSeconds Integer

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    location String
    The Azure Region where the Network Connection Monitor should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Network Connection Monitor. Changing this forces a new resource to be created.
    networkWatcherId String
    The ID of the Network Watcher. Changing this forces a new resource to be created.
    notes String
    The description of the Network Connection Monitor.
    outputWorkspaceResourceIds List<String>
    A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
    source NetworkConnectionMonitorSource

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    tags Map<String,String>
    A mapping of tags which should be assigned to the Network Connection Monitor.
    testConfigurations List<NetworkConnectionMonitorTestConfiguration>
    A test_configuration block as defined below.
    testGroups List<NetworkConnectionMonitorTestGroup>
    A test_group block as defined below.
    autoStart boolean

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    destination NetworkConnectionMonitorDestination

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    endpoints NetworkConnectionMonitorEndpoint[]
    A endpoint block as defined below.
    intervalInSeconds number

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    location string
    The Azure Region where the Network Connection Monitor should exist. Changing this forces a new resource to be created.
    name string
    The name which should be used for this Network Connection Monitor. Changing this forces a new resource to be created.
    networkWatcherId string
    The ID of the Network Watcher. Changing this forces a new resource to be created.
    notes string
    The description of the Network Connection Monitor.
    outputWorkspaceResourceIds string[]
    A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
    source NetworkConnectionMonitorSource

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Network Connection Monitor.
    testConfigurations NetworkConnectionMonitorTestConfiguration[]
    A test_configuration block as defined below.
    testGroups NetworkConnectionMonitorTestGroup[]
    A test_group block as defined below.
    auto_start bool

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    destination NetworkConnectionMonitorDestinationArgs

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    endpoints Sequence[NetworkConnectionMonitorEndpointArgs]
    A endpoint block as defined below.
    interval_in_seconds int

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    location str
    The Azure Region where the Network Connection Monitor should exist. Changing this forces a new resource to be created.
    name str
    The name which should be used for this Network Connection Monitor. Changing this forces a new resource to be created.
    network_watcher_id str
    The ID of the Network Watcher. Changing this forces a new resource to be created.
    notes str
    The description of the Network Connection Monitor.
    output_workspace_resource_ids Sequence[str]
    A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
    source NetworkConnectionMonitorSourceArgs

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Network Connection Monitor.
    test_configurations Sequence[NetworkConnectionMonitorTestConfigurationArgs]
    A test_configuration block as defined below.
    test_groups Sequence[NetworkConnectionMonitorTestGroupArgs]
    A test_group block as defined below.
    autoStart Boolean

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    destination Property Map

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    endpoints List<Property Map>
    A endpoint block as defined below.
    intervalInSeconds Number

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    location String
    The Azure Region where the Network Connection Monitor should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Network Connection Monitor. Changing this forces a new resource to be created.
    networkWatcherId String
    The ID of the Network Watcher. Changing this forces a new resource to be created.
    notes String
    The description of the Network Connection Monitor.
    outputWorkspaceResourceIds List<String>
    A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
    source Property Map

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    tags Map<String>
    A mapping of tags which should be assigned to the Network Connection Monitor.
    testConfigurations List<Property Map>
    A test_configuration block as defined below.
    testGroups List<Property Map>
    A test_group block as defined below.

    Supporting Types

    NetworkConnectionMonitorDestination, NetworkConnectionMonitorDestinationArgs

    Address string
    The IP address or domain name of the Network Connection Monitor endpoint.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Port int
    The port for the HTTP connection.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    VirtualMachineId string
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Address string
    The IP address or domain name of the Network Connection Monitor endpoint.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Port int
    The port for the HTTP connection.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    VirtualMachineId string
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    address String
    The IP address or domain name of the Network Connection Monitor endpoint.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    port Integer
    The port for the HTTP connection.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    virtualMachineId String
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    address string
    The IP address or domain name of the Network Connection Monitor endpoint.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    port number
    The port for the HTTP connection.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    virtualMachineId string
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    address str
    The IP address or domain name of the Network Connection Monitor endpoint.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    port int
    The port for the HTTP connection.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    virtual_machine_id str
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    address String
    The IP address or domain name of the Network Connection Monitor endpoint.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    port Number
    The port for the HTTP connection.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    virtualMachineId String
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    NetworkConnectionMonitorEndpoint, NetworkConnectionMonitorEndpointArgs

    Name string
    The name of the endpoint for the Network Connection Monitor .
    Address string
    The IP address or domain name of the Network Connection Monitor endpoint.
    CoverageLevel string
    The test coverage for the Network Connection Monitor endpoint. Possible values are AboveAverage, Average, BelowAverage, Default, Full and Low.
    ExcludedIpAddresses List<string>
    A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be excluded to the Network Connection Monitor endpoint.
    Filter NetworkConnectionMonitorEndpointFilter
    A filter block as defined below.
    IncludedIpAddresses List<string>
    A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be included to the Network Connection Monitor endpoint.
    TargetResourceId string
    The resource ID which is used as the endpoint by the Network Connection Monitor.
    TargetResourceType string
    The endpoint type of the Network Connection Monitor. Possible values are AzureSubnet, AzureVM, AzureVNet, ExternalAddress, MMAWorkspaceMachine and MMAWorkspaceNetwork.
    VirtualMachineId string
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: This property has been renamed to target_resource_id and will be removed in v3.0 of the provider.

    Name string
    The name of the endpoint for the Network Connection Monitor .
    Address string
    The IP address or domain name of the Network Connection Monitor endpoint.
    CoverageLevel string
    The test coverage for the Network Connection Monitor endpoint. Possible values are AboveAverage, Average, BelowAverage, Default, Full and Low.
    ExcludedIpAddresses []string
    A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be excluded to the Network Connection Monitor endpoint.
    Filter NetworkConnectionMonitorEndpointFilter
    A filter block as defined below.
    IncludedIpAddresses []string
    A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be included to the Network Connection Monitor endpoint.
    TargetResourceId string
    The resource ID which is used as the endpoint by the Network Connection Monitor.
    TargetResourceType string
    The endpoint type of the Network Connection Monitor. Possible values are AzureSubnet, AzureVM, AzureVNet, ExternalAddress, MMAWorkspaceMachine and MMAWorkspaceNetwork.
    VirtualMachineId string
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: This property has been renamed to target_resource_id and will be removed in v3.0 of the provider.

    name String
    The name of the endpoint for the Network Connection Monitor .
    address String
    The IP address or domain name of the Network Connection Monitor endpoint.
    coverageLevel String
    The test coverage for the Network Connection Monitor endpoint. Possible values are AboveAverage, Average, BelowAverage, Default, Full and Low.
    excludedIpAddresses List<String>
    A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be excluded to the Network Connection Monitor endpoint.
    filter NetworkConnectionMonitorEndpointFilter
    A filter block as defined below.
    includedIpAddresses List<String>
    A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be included to the Network Connection Monitor endpoint.
    targetResourceId String
    The resource ID which is used as the endpoint by the Network Connection Monitor.
    targetResourceType String
    The endpoint type of the Network Connection Monitor. Possible values are AzureSubnet, AzureVM, AzureVNet, ExternalAddress, MMAWorkspaceMachine and MMAWorkspaceNetwork.
    virtualMachineId String
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: This property has been renamed to target_resource_id and will be removed in v3.0 of the provider.

    name string
    The name of the endpoint for the Network Connection Monitor .
    address string
    The IP address or domain name of the Network Connection Monitor endpoint.
    coverageLevel string
    The test coverage for the Network Connection Monitor endpoint. Possible values are AboveAverage, Average, BelowAverage, Default, Full and Low.
    excludedIpAddresses string[]
    A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be excluded to the Network Connection Monitor endpoint.
    filter NetworkConnectionMonitorEndpointFilter
    A filter block as defined below.
    includedIpAddresses string[]
    A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be included to the Network Connection Monitor endpoint.
    targetResourceId string
    The resource ID which is used as the endpoint by the Network Connection Monitor.
    targetResourceType string
    The endpoint type of the Network Connection Monitor. Possible values are AzureSubnet, AzureVM, AzureVNet, ExternalAddress, MMAWorkspaceMachine and MMAWorkspaceNetwork.
    virtualMachineId string
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: This property has been renamed to target_resource_id and will be removed in v3.0 of the provider.

    name str
    The name of the endpoint for the Network Connection Monitor .
    address str
    The IP address or domain name of the Network Connection Monitor endpoint.
    coverage_level str
    The test coverage for the Network Connection Monitor endpoint. Possible values are AboveAverage, Average, BelowAverage, Default, Full and Low.
    excluded_ip_addresses Sequence[str]
    A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be excluded to the Network Connection Monitor endpoint.
    filter NetworkConnectionMonitorEndpointFilter
    A filter block as defined below.
    included_ip_addresses Sequence[str]
    A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be included to the Network Connection Monitor endpoint.
    target_resource_id str
    The resource ID which is used as the endpoint by the Network Connection Monitor.
    target_resource_type str
    The endpoint type of the Network Connection Monitor. Possible values are AzureSubnet, AzureVM, AzureVNet, ExternalAddress, MMAWorkspaceMachine and MMAWorkspaceNetwork.
    virtual_machine_id str
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: This property has been renamed to target_resource_id and will be removed in v3.0 of the provider.

    name String
    The name of the endpoint for the Network Connection Monitor .
    address String
    The IP address or domain name of the Network Connection Monitor endpoint.
    coverageLevel String
    The test coverage for the Network Connection Monitor endpoint. Possible values are AboveAverage, Average, BelowAverage, Default, Full and Low.
    excludedIpAddresses List<String>
    A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be excluded to the Network Connection Monitor endpoint.
    filter Property Map
    A filter block as defined below.
    includedIpAddresses List<String>
    A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be included to the Network Connection Monitor endpoint.
    targetResourceId String
    The resource ID which is used as the endpoint by the Network Connection Monitor.
    targetResourceType String
    The endpoint type of the Network Connection Monitor. Possible values are AzureSubnet, AzureVM, AzureVNet, ExternalAddress, MMAWorkspaceMachine and MMAWorkspaceNetwork.
    virtualMachineId String
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: This property has been renamed to target_resource_id and will be removed in v3.0 of the provider.

    NetworkConnectionMonitorEndpointFilter, NetworkConnectionMonitorEndpointFilterArgs

    Items List<NetworkConnectionMonitorEndpointFilterItem>
    A item block as defined below.
    Type string
    The behaviour type of this endpoint filter. Currently the only allowed value is Include. Defaults to Include.
    Items []NetworkConnectionMonitorEndpointFilterItem
    A item block as defined below.
    Type string
    The behaviour type of this endpoint filter. Currently the only allowed value is Include. Defaults to Include.
    items List<NetworkConnectionMonitorEndpointFilterItem>
    A item block as defined below.
    type String
    The behaviour type of this endpoint filter. Currently the only allowed value is Include. Defaults to Include.
    items NetworkConnectionMonitorEndpointFilterItem[]
    A item block as defined below.
    type string
    The behaviour type of this endpoint filter. Currently the only allowed value is Include. Defaults to Include.
    items Sequence[NetworkConnectionMonitorEndpointFilterItem]
    A item block as defined below.
    type str
    The behaviour type of this endpoint filter. Currently the only allowed value is Include. Defaults to Include.
    items List<Property Map>
    A item block as defined below.
    type String
    The behaviour type of this endpoint filter. Currently the only allowed value is Include. Defaults to Include.

    NetworkConnectionMonitorEndpointFilterItem, NetworkConnectionMonitorEndpointFilterItemArgs

    Address string
    The address of the filter item.
    Type string
    The type of items included in the filter. Possible values are AgentAddress. Defaults to AgentAddress.
    Address string
    The address of the filter item.
    Type string
    The type of items included in the filter. Possible values are AgentAddress. Defaults to AgentAddress.
    address String
    The address of the filter item.
    type String
    The type of items included in the filter. Possible values are AgentAddress. Defaults to AgentAddress.
    address string
    The address of the filter item.
    type string
    The type of items included in the filter. Possible values are AgentAddress. Defaults to AgentAddress.
    address str
    The address of the filter item.
    type str
    The type of items included in the filter. Possible values are AgentAddress. Defaults to AgentAddress.
    address String
    The address of the filter item.
    type String
    The type of items included in the filter. Possible values are AgentAddress. Defaults to AgentAddress.

    NetworkConnectionMonitorSource, NetworkConnectionMonitorSourceArgs

    Port int
    The port for the HTTP connection.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    VirtualMachineId string
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    Port int
    The port for the HTTP connection.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    VirtualMachineId string
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    port Integer
    The port for the HTTP connection.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    virtualMachineId String
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    port number
    The port for the HTTP connection.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    virtualMachineId string
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    port int
    The port for the HTTP connection.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    virtual_machine_id str
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    port Number
    The port for the HTTP connection.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    virtualMachineId String
    The ID of the Virtual Machine which is used as the endpoint by the Network Connection Monitor. This property is deprecated in favour of target_resource_id.

    Deprecated: The field belongs to the v1 network connection monitor, which is now deprecated in favour of v2 by Azure. Please check the document (https://www.terraform.io/docs/providers/azurerm/r/network_connection_monitor.html) for the v2 properties.

    NetworkConnectionMonitorTestConfiguration, NetworkConnectionMonitorTestConfigurationArgs

    Name string
    The name of test configuration for the Network Connection Monitor.
    Protocol string
    The protocol used to evaluate tests. Possible values are Tcp, Http and Icmp.
    HttpConfiguration NetworkConnectionMonitorTestConfigurationHttpConfiguration
    A http_configuration block as defined below.
    IcmpConfiguration NetworkConnectionMonitorTestConfigurationIcmpConfiguration
    A icmp_configuration block as defined below.
    PreferredIpVersion string
    The preferred IP version which is used in the test evaluation. Possible values are IPv4 and IPv6.
    SuccessThreshold NetworkConnectionMonitorTestConfigurationSuccessThreshold
    A success_threshold block as defined below.
    TcpConfiguration NetworkConnectionMonitorTestConfigurationTcpConfiguration
    A tcp_configuration block as defined below.
    TestFrequencyInSeconds int
    The time interval in seconds at which the test evaluation will happen. Defaults to 60.
    Name string
    The name of test configuration for the Network Connection Monitor.
    Protocol string
    The protocol used to evaluate tests. Possible values are Tcp, Http and Icmp.
    HttpConfiguration NetworkConnectionMonitorTestConfigurationHttpConfiguration
    A http_configuration block as defined below.
    IcmpConfiguration NetworkConnectionMonitorTestConfigurationIcmpConfiguration
    A icmp_configuration block as defined below.
    PreferredIpVersion string
    The preferred IP version which is used in the test evaluation. Possible values are IPv4 and IPv6.
    SuccessThreshold NetworkConnectionMonitorTestConfigurationSuccessThreshold
    A success_threshold block as defined below.
    TcpConfiguration NetworkConnectionMonitorTestConfigurationTcpConfiguration
    A tcp_configuration block as defined below.
    TestFrequencyInSeconds int
    The time interval in seconds at which the test evaluation will happen. Defaults to 60.
    name String
    The name of test configuration for the Network Connection Monitor.
    protocol String
    The protocol used to evaluate tests. Possible values are Tcp, Http and Icmp.
    httpConfiguration NetworkConnectionMonitorTestConfigurationHttpConfiguration
    A http_configuration block as defined below.
    icmpConfiguration NetworkConnectionMonitorTestConfigurationIcmpConfiguration
    A icmp_configuration block as defined below.
    preferredIpVersion String
    The preferred IP version which is used in the test evaluation. Possible values are IPv4 and IPv6.
    successThreshold NetworkConnectionMonitorTestConfigurationSuccessThreshold
    A success_threshold block as defined below.
    tcpConfiguration NetworkConnectionMonitorTestConfigurationTcpConfiguration
    A tcp_configuration block as defined below.
    testFrequencyInSeconds Integer
    The time interval in seconds at which the test evaluation will happen. Defaults to 60.
    name string
    The name of test configuration for the Network Connection Monitor.
    protocol string
    The protocol used to evaluate tests. Possible values are Tcp, Http and Icmp.
    httpConfiguration NetworkConnectionMonitorTestConfigurationHttpConfiguration
    A http_configuration block as defined below.
    icmpConfiguration NetworkConnectionMonitorTestConfigurationIcmpConfiguration
    A icmp_configuration block as defined below.
    preferredIpVersion string
    The preferred IP version which is used in the test evaluation. Possible values are IPv4 and IPv6.
    successThreshold NetworkConnectionMonitorTestConfigurationSuccessThreshold
    A success_threshold block as defined below.
    tcpConfiguration NetworkConnectionMonitorTestConfigurationTcpConfiguration
    A tcp_configuration block as defined below.
    testFrequencyInSeconds number
    The time interval in seconds at which the test evaluation will happen. Defaults to 60.
    name str
    The name of test configuration for the Network Connection Monitor.
    protocol str
    The protocol used to evaluate tests. Possible values are Tcp, Http and Icmp.
    http_configuration NetworkConnectionMonitorTestConfigurationHttpConfiguration
    A http_configuration block as defined below.
    icmp_configuration NetworkConnectionMonitorTestConfigurationIcmpConfiguration
    A icmp_configuration block as defined below.
    preferred_ip_version str
    The preferred IP version which is used in the test evaluation. Possible values are IPv4 and IPv6.
    success_threshold NetworkConnectionMonitorTestConfigurationSuccessThreshold
    A success_threshold block as defined below.
    tcp_configuration NetworkConnectionMonitorTestConfigurationTcpConfiguration
    A tcp_configuration block as defined below.
    test_frequency_in_seconds int
    The time interval in seconds at which the test evaluation will happen. Defaults to 60.
    name String
    The name of test configuration for the Network Connection Monitor.
    protocol String
    The protocol used to evaluate tests. Possible values are Tcp, Http and Icmp.
    httpConfiguration Property Map
    A http_configuration block as defined below.
    icmpConfiguration Property Map
    A icmp_configuration block as defined below.
    preferredIpVersion String
    The preferred IP version which is used in the test evaluation. Possible values are IPv4 and IPv6.
    successThreshold Property Map
    A success_threshold block as defined below.
    tcpConfiguration Property Map
    A tcp_configuration block as defined below.
    testFrequencyInSeconds Number
    The time interval in seconds at which the test evaluation will happen. Defaults to 60.

    NetworkConnectionMonitorTestConfigurationHttpConfiguration, NetworkConnectionMonitorTestConfigurationHttpConfigurationArgs

    Method string
    The HTTP method for the HTTP request. Possible values are Get and Post. Defaults to Get.
    Path string
    The path component of the URI. It only accepts the absolute path.
    Port int
    The port for the HTTP connection.
    PreferHttps bool
    Should HTTPS be preferred over HTTP in cases where the choice is not explicit? Defaults to false.
    RequestHeaders List<NetworkConnectionMonitorTestConfigurationHttpConfigurationRequestHeader>
    A request_header block as defined below.
    ValidStatusCodeRanges List<string>
    The HTTP status codes to consider successful. For instance, 2xx, 301-304 and 418.
    Method string
    The HTTP method for the HTTP request. Possible values are Get and Post. Defaults to Get.
    Path string
    The path component of the URI. It only accepts the absolute path.
    Port int
    The port for the HTTP connection.
    PreferHttps bool
    Should HTTPS be preferred over HTTP in cases where the choice is not explicit? Defaults to false.
    RequestHeaders []NetworkConnectionMonitorTestConfigurationHttpConfigurationRequestHeader
    A request_header block as defined below.
    ValidStatusCodeRanges []string
    The HTTP status codes to consider successful. For instance, 2xx, 301-304 and 418.
    method String
    The HTTP method for the HTTP request. Possible values are Get and Post. Defaults to Get.
    path String
    The path component of the URI. It only accepts the absolute path.
    port Integer
    The port for the HTTP connection.
    preferHttps Boolean
    Should HTTPS be preferred over HTTP in cases where the choice is not explicit? Defaults to false.
    requestHeaders List<NetworkConnectionMonitorTestConfigurationHttpConfigurationRequestHeader>
    A request_header block as defined below.
    validStatusCodeRanges List<String>
    The HTTP status codes to consider successful. For instance, 2xx, 301-304 and 418.
    method string
    The HTTP method for the HTTP request. Possible values are Get and Post. Defaults to Get.
    path string
    The path component of the URI. It only accepts the absolute path.
    port number
    The port for the HTTP connection.
    preferHttps boolean
    Should HTTPS be preferred over HTTP in cases where the choice is not explicit? Defaults to false.
    requestHeaders NetworkConnectionMonitorTestConfigurationHttpConfigurationRequestHeader[]
    A request_header block as defined below.
    validStatusCodeRanges string[]
    The HTTP status codes to consider successful. For instance, 2xx, 301-304 and 418.
    method str
    The HTTP method for the HTTP request. Possible values are Get and Post. Defaults to Get.
    path str
    The path component of the URI. It only accepts the absolute path.
    port int
    The port for the HTTP connection.
    prefer_https bool
    Should HTTPS be preferred over HTTP in cases where the choice is not explicit? Defaults to false.
    request_headers Sequence[NetworkConnectionMonitorTestConfigurationHttpConfigurationRequestHeader]
    A request_header block as defined below.
    valid_status_code_ranges Sequence[str]
    The HTTP status codes to consider successful. For instance, 2xx, 301-304 and 418.
    method String
    The HTTP method for the HTTP request. Possible values are Get and Post. Defaults to Get.
    path String
    The path component of the URI. It only accepts the absolute path.
    port Number
    The port for the HTTP connection.
    preferHttps Boolean
    Should HTTPS be preferred over HTTP in cases where the choice is not explicit? Defaults to false.
    requestHeaders List<Property Map>
    A request_header block as defined below.
    validStatusCodeRanges List<String>
    The HTTP status codes to consider successful. For instance, 2xx, 301-304 and 418.

    NetworkConnectionMonitorTestConfigurationHttpConfigurationRequestHeader, NetworkConnectionMonitorTestConfigurationHttpConfigurationRequestHeaderArgs

    Name string
    The name of the HTTP header.
    Value string
    The value of the HTTP header.
    Name string
    The name of the HTTP header.
    Value string
    The value of the HTTP header.
    name String
    The name of the HTTP header.
    value String
    The value of the HTTP header.
    name string
    The name of the HTTP header.
    value string
    The value of the HTTP header.
    name str
    The name of the HTTP header.
    value str
    The value of the HTTP header.
    name String
    The name of the HTTP header.
    value String
    The value of the HTTP header.

    NetworkConnectionMonitorTestConfigurationIcmpConfiguration, NetworkConnectionMonitorTestConfigurationIcmpConfigurationArgs

    TraceRouteEnabled bool
    Should path evaluation with trace route be enabled? Defaults to true.
    TraceRouteEnabled bool
    Should path evaluation with trace route be enabled? Defaults to true.
    traceRouteEnabled Boolean
    Should path evaluation with trace route be enabled? Defaults to true.
    traceRouteEnabled boolean
    Should path evaluation with trace route be enabled? Defaults to true.
    trace_route_enabled bool
    Should path evaluation with trace route be enabled? Defaults to true.
    traceRouteEnabled Boolean
    Should path evaluation with trace route be enabled? Defaults to true.

    NetworkConnectionMonitorTestConfigurationSuccessThreshold, NetworkConnectionMonitorTestConfigurationSuccessThresholdArgs

    ChecksFailedPercent int
    The maximum percentage of failed checks permitted for a test to be successful.
    RoundTripTimeMs double
    The maximum round-trip time in milliseconds permitted for a test to be successful.
    ChecksFailedPercent int
    The maximum percentage of failed checks permitted for a test to be successful.
    RoundTripTimeMs float64
    The maximum round-trip time in milliseconds permitted for a test to be successful.
    checksFailedPercent Integer
    The maximum percentage of failed checks permitted for a test to be successful.
    roundTripTimeMs Double
    The maximum round-trip time in milliseconds permitted for a test to be successful.
    checksFailedPercent number
    The maximum percentage of failed checks permitted for a test to be successful.
    roundTripTimeMs number
    The maximum round-trip time in milliseconds permitted for a test to be successful.
    checks_failed_percent int
    The maximum percentage of failed checks permitted for a test to be successful.
    round_trip_time_ms float
    The maximum round-trip time in milliseconds permitted for a test to be successful.
    checksFailedPercent Number
    The maximum percentage of failed checks permitted for a test to be successful.
    roundTripTimeMs Number
    The maximum round-trip time in milliseconds permitted for a test to be successful.

    NetworkConnectionMonitorTestConfigurationTcpConfiguration, NetworkConnectionMonitorTestConfigurationTcpConfigurationArgs

    Port int
    The port for the Tcp connection.
    DestinationPortBehavior string
    The destination port behavior for the Tcp connection. Possible values are None and ListenIfAvailable.
    TraceRouteEnabled bool
    Should path evaluation with trace route be enabled? Defaults to true.
    Port int
    The port for the Tcp connection.
    DestinationPortBehavior string
    The destination port behavior for the Tcp connection. Possible values are None and ListenIfAvailable.
    TraceRouteEnabled bool
    Should path evaluation with trace route be enabled? Defaults to true.
    port Integer
    The port for the Tcp connection.
    destinationPortBehavior String
    The destination port behavior for the Tcp connection. Possible values are None and ListenIfAvailable.
    traceRouteEnabled Boolean
    Should path evaluation with trace route be enabled? Defaults to true.
    port number
    The port for the Tcp connection.
    destinationPortBehavior string
    The destination port behavior for the Tcp connection. Possible values are None and ListenIfAvailable.
    traceRouteEnabled boolean
    Should path evaluation with trace route be enabled? Defaults to true.
    port int
    The port for the Tcp connection.
    destination_port_behavior str
    The destination port behavior for the Tcp connection. Possible values are None and ListenIfAvailable.
    trace_route_enabled bool
    Should path evaluation with trace route be enabled? Defaults to true.
    port Number
    The port for the Tcp connection.
    destinationPortBehavior String
    The destination port behavior for the Tcp connection. Possible values are None and ListenIfAvailable.
    traceRouteEnabled Boolean
    Should path evaluation with trace route be enabled? Defaults to true.

    NetworkConnectionMonitorTestGroup, NetworkConnectionMonitorTestGroupArgs

    DestinationEndpoints List<string>
    A list of destination endpoint names.
    Name string
    The name of the test group for the Network Connection Monitor.
    SourceEndpoints List<string>
    A list of source endpoint names.
    TestConfigurationNames List<string>
    A list of test configuration names.
    Enabled bool
    Should the test group be enabled? Defaults to true.
    DestinationEndpoints []string
    A list of destination endpoint names.
    Name string
    The name of the test group for the Network Connection Monitor.
    SourceEndpoints []string
    A list of source endpoint names.
    TestConfigurationNames []string
    A list of test configuration names.
    Enabled bool
    Should the test group be enabled? Defaults to true.
    destinationEndpoints List<String>
    A list of destination endpoint names.
    name String
    The name of the test group for the Network Connection Monitor.
    sourceEndpoints List<String>
    A list of source endpoint names.
    testConfigurationNames List<String>
    A list of test configuration names.
    enabled Boolean
    Should the test group be enabled? Defaults to true.
    destinationEndpoints string[]
    A list of destination endpoint names.
    name string
    The name of the test group for the Network Connection Monitor.
    sourceEndpoints string[]
    A list of source endpoint names.
    testConfigurationNames string[]
    A list of test configuration names.
    enabled boolean
    Should the test group be enabled? Defaults to true.
    destination_endpoints Sequence[str]
    A list of destination endpoint names.
    name str
    The name of the test group for the Network Connection Monitor.
    source_endpoints Sequence[str]
    A list of source endpoint names.
    test_configuration_names Sequence[str]
    A list of test configuration names.
    enabled bool
    Should the test group be enabled? Defaults to true.
    destinationEndpoints List<String>
    A list of destination endpoint names.
    name String
    The name of the test group for the Network Connection Monitor.
    sourceEndpoints List<String>
    A list of source endpoint names.
    testConfigurationNames List<String>
    A list of test configuration names.
    enabled Boolean
    Should the test group be enabled? Defaults to true.

    Import

    Network Connection Monitors can be imported using the resource id, e.g.

     $ pulumi import azure:network/networkConnectionMonitor:NetworkConnectionMonitor example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/networkWatchers/watcher1/connectionMonitors/connectionMonitor1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.