We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
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<Network
Connection Monitor Endpoint> - A
endpointblock as defined below. - Network
Watcher stringId - The ID of the Network Watcher. Changing this forces a new resource to be created.
- Test
Configurations List<NetworkConnection Monitor Test Configuration> - A
test_configurationblock as defined below. - Test
Groups List<NetworkConnection Monitor Test Group> - A
test_groupblock as defined below. - Auto
Start bool - Destination
Network
Connection Monitor Destination - Interval
In intSeconds - 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.
- Output
Workspace List<string>Resource Ids - A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
- Source
Network
Connection Monitor Source - Dictionary<string, string>
- A mapping of tags which should be assigned to the Network Connection Monitor.
- Endpoints
[]Network
Connection Monitor Endpoint Args - A
endpointblock as defined below. - Network
Watcher stringId - The ID of the Network Watcher. Changing this forces a new resource to be created.
- Test
Configurations []NetworkConnection Monitor Test Configuration Args - A
test_configurationblock as defined below. - Test
Groups []NetworkConnection Monitor Test Group Args - A
test_groupblock as defined below. - Auto
Start bool - Destination
Network
Connection Monitor Destination Args - Interval
In intSeconds - 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.
- Output
Workspace []stringResource Ids - A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
- Source
Network
Connection Monitor Source Args - map[string]string
- A mapping of tags which should be assigned to the Network Connection Monitor.
- endpoints
List<Network
Connection Monitor Endpoint> - A
endpointblock as defined below. - network
Watcher StringId - The ID of the Network Watcher. Changing this forces a new resource to be created.
- test
Configurations List<NetworkConnection Monitor Test Configuration> - A
test_configurationblock as defined below. - test
Groups List<NetworkConnection Monitor Test Group> - A
test_groupblock as defined below. - auto
Start Boolean - destination
Network
Connection Monitor Destination - interval
In IntegerSeconds - 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.
- output
Workspace List<String>Resource Ids - A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
- source
Network
Connection Monitor Source - Map<String,String>
- A mapping of tags which should be assigned to the Network Connection Monitor.
- endpoints
Network
Connection Monitor Endpoint[] - A
endpointblock as defined below. - network
Watcher stringId - The ID of the Network Watcher. Changing this forces a new resource to be created.
- test
Configurations NetworkConnection Monitor Test Configuration[] - A
test_configurationblock as defined below. - test
Groups NetworkConnection Monitor Test Group[] - A
test_groupblock as defined below. - auto
Start boolean - destination
Network
Connection Monitor Destination - interval
In numberSeconds - 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.
- output
Workspace string[]Resource Ids - A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
- source
Network
Connection Monitor Source - {[key: string]: string}
- A mapping of tags which should be assigned to the Network Connection Monitor.
- endpoints
Sequence[Network
Connection Monitor Endpoint Args] - A
endpointblock as defined below. - network_
watcher_ strid - The ID of the Network Watcher. Changing this forces a new resource to be created.
- test_
configurations Sequence[NetworkConnection Monitor Test Configuration Args] - A
test_configurationblock as defined below. - test_
groups Sequence[NetworkConnection Monitor Test Group Args] - A
test_groupblock as defined below. - auto_
start bool - destination
Network
Connection Monitor Destination Args - interval_
in_ intseconds - 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_ Sequence[str]resource_ ids - A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
- source
Network
Connection Monitor Source Args - Mapping[str, str]
- A mapping of tags which should be assigned to the Network Connection Monitor.
- endpoints List<Property Map>
- A
endpointblock as defined below. - network
Watcher StringId - The ID of the Network Watcher. Changing this forces a new resource to be created.
- test
Configurations List<Property Map> - A
test_configurationblock as defined below. - test
Groups List<Property Map> - A
test_groupblock as defined below. - auto
Start Boolean - destination Property Map
- interval
In NumberSeconds - 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.
- output
Workspace List<String>Resource Ids - A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
- source Property Map
- 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) -> NetworkConnectionMonitorfunc 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.
- Auto
Start bool - Destination
Network
Connection Monitor Destination - Endpoints
List<Network
Connection Monitor Endpoint> - A
endpointblock as defined below. - Interval
In intSeconds - 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.
- Network
Watcher stringId - The ID of the Network Watcher. Changing this forces a new resource to be created.
- Notes string
- The description of the Network Connection Monitor.
- Output
Workspace List<string>Resource Ids - A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
- Source
Network
Connection Monitor Source - Dictionary<string, string>
- A mapping of tags which should be assigned to the Network Connection Monitor.
- Test
Configurations List<NetworkConnection Monitor Test Configuration> - A
test_configurationblock as defined below. - Test
Groups List<NetworkConnection Monitor Test Group> - A
test_groupblock as defined below.
- Auto
Start bool - Destination
Network
Connection Monitor Destination Args - Endpoints
[]Network
Connection Monitor Endpoint Args - A
endpointblock as defined below. - Interval
In intSeconds - 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.
- Network
Watcher stringId - The ID of the Network Watcher. Changing this forces a new resource to be created.
- Notes string
- The description of the Network Connection Monitor.
- Output
Workspace []stringResource Ids - A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
- Source
Network
Connection Monitor Source Args - map[string]string
- A mapping of tags which should be assigned to the Network Connection Monitor.
- Test
Configurations []NetworkConnection Monitor Test Configuration Args - A
test_configurationblock as defined below. - Test
Groups []NetworkConnection Monitor Test Group Args - A
test_groupblock as defined below.
- auto
Start Boolean - destination
Network
Connection Monitor Destination - endpoints
List<Network
Connection Monitor Endpoint> - A
endpointblock as defined below. - interval
In IntegerSeconds - 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.
- network
Watcher StringId - The ID of the Network Watcher. Changing this forces a new resource to be created.
- notes String
- The description of the Network Connection Monitor.
- output
Workspace List<String>Resource Ids - A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
- source
Network
Connection Monitor Source - Map<String,String>
- A mapping of tags which should be assigned to the Network Connection Monitor.
- test
Configurations List<NetworkConnection Monitor Test Configuration> - A
test_configurationblock as defined below. - test
Groups List<NetworkConnection Monitor Test Group> - A
test_groupblock as defined below.
- auto
Start boolean - destination
Network
Connection Monitor Destination - endpoints
Network
Connection Monitor Endpoint[] - A
endpointblock as defined below. - interval
In numberSeconds - 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.
- network
Watcher stringId - The ID of the Network Watcher. Changing this forces a new resource to be created.
- notes string
- The description of the Network Connection Monitor.
- output
Workspace string[]Resource Ids - A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
- source
Network
Connection Monitor Source - {[key: string]: string}
- A mapping of tags which should be assigned to the Network Connection Monitor.
- test
Configurations NetworkConnection Monitor Test Configuration[] - A
test_configurationblock as defined below. - test
Groups NetworkConnection Monitor Test Group[] - A
test_groupblock as defined below.
- auto_
start bool - destination
Network
Connection Monitor Destination Args - endpoints
Sequence[Network
Connection Monitor Endpoint Args] - A
endpointblock as defined below. - interval_
in_ intseconds - 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_ strid - 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_ Sequence[str]resource_ ids - A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
- source
Network
Connection Monitor Source Args - Mapping[str, str]
- A mapping of tags which should be assigned to the Network Connection Monitor.
- test_
configurations Sequence[NetworkConnection Monitor Test Configuration Args] - A
test_configurationblock as defined below. - test_
groups Sequence[NetworkConnection Monitor Test Group Args] - A
test_groupblock as defined below.
- auto
Start Boolean - destination Property Map
- endpoints List<Property Map>
- A
endpointblock as defined below. - interval
In NumberSeconds - 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.
- network
Watcher StringId - The ID of the Network Watcher. Changing this forces a new resource to be created.
- notes String
- The description of the Network Connection Monitor.
- output
Workspace List<String>Resource Ids - A list of IDs of the Log Analytics Workspace which will accept the output from the Network Connection Monitor.
- source Property Map
- Map<String>
- A mapping of tags which should be assigned to the Network Connection Monitor.
- test
Configurations List<Property Map> - A
test_configurationblock as defined below. - test
Groups List<Property Map> - A
test_groupblock as defined below.
Supporting Types
NetworkConnectionMonitorDestination, NetworkConnectionMonitorDestinationArgs
- Address string
- The IP address or domain name of the Network Connection Monitor endpoint.
- Port int
- The port for the HTTP connection.
- Virtual
Machine stringId - 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.
- Address string
- The IP address or domain name of the Network Connection Monitor endpoint.
- Port int
- The port for the HTTP connection.
- Virtual
Machine stringId - 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.
- address String
- The IP address or domain name of the Network Connection Monitor endpoint.
- port Integer
- The port for the HTTP connection.
- virtual
Machine StringId - 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.
- address string
- The IP address or domain name of the Network Connection Monitor endpoint.
- port number
- The port for the HTTP connection.
- virtual
Machine stringId - 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.
- address str
- The IP address or domain name of the Network Connection Monitor endpoint.
- port int
- The port for the HTTP connection.
- virtual_
machine_ strid - 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.
- address String
- The IP address or domain name of the Network Connection Monitor endpoint.
- port Number
- The port for the HTTP connection.
- virtual
Machine StringId - 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.
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.
- Coverage
Level string - The test coverage for the Network Connection Monitor endpoint. Possible values are
AboveAverage,Average,BelowAverage,Default,FullandLow. - Excluded
Ip List<string>Addresses - A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be excluded to the Network Connection Monitor endpoint.
- Filter
Network
Connection Monitor Endpoint Filter - A
filterblock as defined below. - Included
Ip List<string>Addresses - A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be included to the Network Connection Monitor endpoint.
- Target
Resource stringId - The resource ID which is used as the endpoint by the Network Connection Monitor.
- Target
Resource stringType - The endpoint type of the Network Connection Monitor. Possible values are
AzureSubnet,AzureVM,AzureVNet,ExternalAddress,MMAWorkspaceMachineandMMAWorkspaceNetwork. - Virtual
Machine stringId - 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.
- 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.
- Coverage
Level string - The test coverage for the Network Connection Monitor endpoint. Possible values are
AboveAverage,Average,BelowAverage,Default,FullandLow. - Excluded
Ip []stringAddresses - A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be excluded to the Network Connection Monitor endpoint.
- Filter
Network
Connection Monitor Endpoint Filter - A
filterblock as defined below. - Included
Ip []stringAddresses - A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be included to the Network Connection Monitor endpoint.
- Target
Resource stringId - The resource ID which is used as the endpoint by the Network Connection Monitor.
- Target
Resource stringType - The endpoint type of the Network Connection Monitor. Possible values are
AzureSubnet,AzureVM,AzureVNet,ExternalAddress,MMAWorkspaceMachineandMMAWorkspaceNetwork. - Virtual
Machine stringId - 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.
- 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.
- coverage
Level String - The test coverage for the Network Connection Monitor endpoint. Possible values are
AboveAverage,Average,BelowAverage,Default,FullandLow. - excluded
Ip List<String>Addresses - A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be excluded to the Network Connection Monitor endpoint.
- filter
Network
Connection Monitor Endpoint Filter - A
filterblock as defined below. - included
Ip List<String>Addresses - A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be included to the Network Connection Monitor endpoint.
- target
Resource StringId - The resource ID which is used as the endpoint by the Network Connection Monitor.
- target
Resource StringType - The endpoint type of the Network Connection Monitor. Possible values are
AzureSubnet,AzureVM,AzureVNet,ExternalAddress,MMAWorkspaceMachineandMMAWorkspaceNetwork. - virtual
Machine StringId - 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.
- 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.
- coverage
Level string - The test coverage for the Network Connection Monitor endpoint. Possible values are
AboveAverage,Average,BelowAverage,Default,FullandLow. - excluded
Ip string[]Addresses - A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be excluded to the Network Connection Monitor endpoint.
- filter
Network
Connection Monitor Endpoint Filter - A
filterblock as defined below. - included
Ip string[]Addresses - A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be included to the Network Connection Monitor endpoint.
- target
Resource stringId - The resource ID which is used as the endpoint by the Network Connection Monitor.
- target
Resource stringType - The endpoint type of the Network Connection Monitor. Possible values are
AzureSubnet,AzureVM,AzureVNet,ExternalAddress,MMAWorkspaceMachineandMMAWorkspaceNetwork. - virtual
Machine stringId - 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.
- 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,FullandLow. - excluded_
ip_ Sequence[str]addresses - A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be excluded to the Network Connection Monitor endpoint.
- filter
Network
Connection Monitor Endpoint Filter - A
filterblock as defined below. - included_
ip_ Sequence[str]addresses - A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be included to the Network Connection Monitor endpoint.
- target_
resource_ strid - The resource ID which is used as the endpoint by the Network Connection Monitor.
- target_
resource_ strtype - The endpoint type of the Network Connection Monitor. Possible values are
AzureSubnet,AzureVM,AzureVNet,ExternalAddress,MMAWorkspaceMachineandMMAWorkspaceNetwork. - virtual_
machine_ strid - 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.
- 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.
- coverage
Level String - The test coverage for the Network Connection Monitor endpoint. Possible values are
AboveAverage,Average,BelowAverage,Default,FullandLow. - excluded
Ip List<String>Addresses - 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
filterblock as defined below. - included
Ip List<String>Addresses - A list of IPv4/IPv6 subnet masks or IPv4/IPv6 IP addresses to be included to the Network Connection Monitor endpoint.
- target
Resource StringId - The resource ID which is used as the endpoint by the Network Connection Monitor.
- target
Resource StringType - The endpoint type of the Network Connection Monitor. Possible values are
AzureSubnet,AzureVM,AzureVNet,ExternalAddress,MMAWorkspaceMachineandMMAWorkspaceNetwork. - virtual
Machine StringId - 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.
NetworkConnectionMonitorEndpointFilter, NetworkConnectionMonitorEndpointFilterArgs
- Items
List<Network
Connection Monitor Endpoint Filter Item> - A
itemblock as defined below. - Type string
- The behaviour type of this endpoint filter. Currently the only allowed value is
Include. Defaults toInclude.
- Items
[]Network
Connection Monitor Endpoint Filter Item - A
itemblock as defined below. - Type string
- The behaviour type of this endpoint filter. Currently the only allowed value is
Include. Defaults toInclude.
- items
List<Network
Connection Monitor Endpoint Filter Item> - A
itemblock as defined below. - type String
- The behaviour type of this endpoint filter. Currently the only allowed value is
Include. Defaults toInclude.
- items
Network
Connection Monitor Endpoint Filter Item[] - A
itemblock as defined below. - type string
- The behaviour type of this endpoint filter. Currently the only allowed value is
Include. Defaults toInclude.
- items
Sequence[Network
Connection Monitor Endpoint Filter Item] - A
itemblock as defined below. - type str
- The behaviour type of this endpoint filter. Currently the only allowed value is
Include. Defaults toInclude.
- items List<Property Map>
- A
itemblock as defined below. - type String
- The behaviour type of this endpoint filter. Currently the only allowed value is
Include. Defaults toInclude.
NetworkConnectionMonitorEndpointFilterItem, NetworkConnectionMonitorEndpointFilterItemArgs
NetworkConnectionMonitorSource, NetworkConnectionMonitorSourceArgs
- Port int
- The port for the HTTP connection.
- Virtual
Machine stringId - 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.
- Port int
- The port for the HTTP connection.
- Virtual
Machine stringId - 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.
- port Integer
- The port for the HTTP connection.
- virtual
Machine StringId - 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.
- port number
- The port for the HTTP connection.
- virtual
Machine stringId - 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.
- port int
- The port for the HTTP connection.
- virtual_
machine_ strid - 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.
- port Number
- The port for the HTTP connection.
- virtual
Machine StringId - 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.
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,HttpandIcmp. - Http
Configuration NetworkConnection Monitor Test Configuration Http Configuration - A
http_configurationblock as defined below. - Icmp
Configuration NetworkConnection Monitor Test Configuration Icmp Configuration - A
icmp_configurationblock as defined below. - Preferred
Ip stringVersion - The preferred IP version which is used in the test evaluation. Possible values are
IPv4andIPv6. - Success
Threshold NetworkConnection Monitor Test Configuration Success Threshold - A
success_thresholdblock as defined below. - Tcp
Configuration NetworkConnection Monitor Test Configuration Tcp Configuration - A
tcp_configurationblock as defined below. - Test
Frequency intIn Seconds - 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,HttpandIcmp. - Http
Configuration NetworkConnection Monitor Test Configuration Http Configuration - A
http_configurationblock as defined below. - Icmp
Configuration NetworkConnection Monitor Test Configuration Icmp Configuration - A
icmp_configurationblock as defined below. - Preferred
Ip stringVersion - The preferred IP version which is used in the test evaluation. Possible values are
IPv4andIPv6. - Success
Threshold NetworkConnection Monitor Test Configuration Success Threshold - A
success_thresholdblock as defined below. - Tcp
Configuration NetworkConnection Monitor Test Configuration Tcp Configuration - A
tcp_configurationblock as defined below. - Test
Frequency intIn Seconds - 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,HttpandIcmp. - http
Configuration NetworkConnection Monitor Test Configuration Http Configuration - A
http_configurationblock as defined below. - icmp
Configuration NetworkConnection Monitor Test Configuration Icmp Configuration - A
icmp_configurationblock as defined below. - preferred
Ip StringVersion - The preferred IP version which is used in the test evaluation. Possible values are
IPv4andIPv6. - success
Threshold NetworkConnection Monitor Test Configuration Success Threshold - A
success_thresholdblock as defined below. - tcp
Configuration NetworkConnection Monitor Test Configuration Tcp Configuration - A
tcp_configurationblock as defined below. - test
Frequency IntegerIn Seconds - 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,HttpandIcmp. - http
Configuration NetworkConnection Monitor Test Configuration Http Configuration - A
http_configurationblock as defined below. - icmp
Configuration NetworkConnection Monitor Test Configuration Icmp Configuration - A
icmp_configurationblock as defined below. - preferred
Ip stringVersion - The preferred IP version which is used in the test evaluation. Possible values are
IPv4andIPv6. - success
Threshold NetworkConnection Monitor Test Configuration Success Threshold - A
success_thresholdblock as defined below. - tcp
Configuration NetworkConnection Monitor Test Configuration Tcp Configuration - A
tcp_configurationblock as defined below. - test
Frequency numberIn Seconds - 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,HttpandIcmp. - http_
configuration NetworkConnection Monitor Test Configuration Http Configuration - A
http_configurationblock as defined below. - icmp_
configuration NetworkConnection Monitor Test Configuration Icmp Configuration - A
icmp_configurationblock as defined below. - preferred_
ip_ strversion - The preferred IP version which is used in the test evaluation. Possible values are
IPv4andIPv6. - success_
threshold NetworkConnection Monitor Test Configuration Success Threshold - A
success_thresholdblock as defined below. - tcp_
configuration NetworkConnection Monitor Test Configuration Tcp Configuration - A
tcp_configurationblock as defined below. - test_
frequency_ intin_ seconds - 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,HttpandIcmp. - http
Configuration Property Map - A
http_configurationblock as defined below. - icmp
Configuration Property Map - A
icmp_configurationblock as defined below. - preferred
Ip StringVersion - The preferred IP version which is used in the test evaluation. Possible values are
IPv4andIPv6. - success
Threshold Property Map - A
success_thresholdblock as defined below. - tcp
Configuration Property Map - A
tcp_configurationblock as defined below. - test
Frequency NumberIn Seconds - 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
GetandPost. Defaults toGet. - Path string
- 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 List<NetworkConnection Monitor Test Configuration Http Configuration Request Header> - A
request_headerblock as defined below. - Valid
Status List<string>Code Ranges - The HTTP status codes to consider successful. For instance,
2xx,301-304and418.
- Method string
- The HTTP method for the HTTP request. Possible values are
GetandPost. Defaults toGet. - Path string
- 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 []NetworkConnection Monitor Test Configuration Http Configuration Request Header - A
request_headerblock as defined below. - Valid
Status []stringCode Ranges - The HTTP status codes to consider successful. For instance,
2xx,301-304and418.
- method String
- The HTTP method for the HTTP request. Possible values are
GetandPost. Defaults toGet. - path String
- The path component of the URI. It only accepts the absolute path.
- port Integer
- The port for the HTTP connection.
- prefer
Https Boolean - Should HTTPS be preferred over HTTP in cases where the choice is not explicit? Defaults to
false. - request
Headers List<NetworkConnection Monitor Test Configuration Http Configuration Request Header> - A
request_headerblock as defined below. - valid
Status List<String>Code Ranges - The HTTP status codes to consider successful. For instance,
2xx,301-304and418.
- method string
- The HTTP method for the HTTP request. Possible values are
GetandPost. Defaults toGet. - path string
- The path component of the URI. It only accepts the absolute path.
- port number
- The port for the HTTP connection.
- prefer
Https boolean - Should HTTPS be preferred over HTTP in cases where the choice is not explicit? Defaults to
false. - request
Headers NetworkConnection Monitor Test Configuration Http Configuration Request Header[] - A
request_headerblock as defined below. - valid
Status string[]Code Ranges - The HTTP status codes to consider successful. For instance,
2xx,301-304and418.
- method str
- The HTTP method for the HTTP request. Possible values are
GetandPost. Defaults toGet. - 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[NetworkConnection Monitor Test Configuration Http Configuration Request Header] - A
request_headerblock as defined below. - valid_
status_ Sequence[str]code_ ranges - The HTTP status codes to consider successful. For instance,
2xx,301-304and418.
- method String
- The HTTP method for the HTTP request. Possible values are
GetandPost. Defaults toGet. - path String
- The path component of the URI. It only accepts the absolute path.
- port Number
- The port for the HTTP connection.
- prefer
Https Boolean - Should HTTPS be preferred over HTTP in cases where the choice is not explicit? Defaults to
false. - request
Headers List<Property Map> - A
request_headerblock as defined below. - valid
Status List<String>Code Ranges - The HTTP status codes to consider successful. For instance,
2xx,301-304and418.
NetworkConnectionMonitorTestConfigurationHttpConfigurationRequestHeader, NetworkConnectionMonitorTestConfigurationHttpConfigurationRequestHeaderArgs
NetworkConnectionMonitorTestConfigurationIcmpConfiguration, NetworkConnectionMonitorTestConfigurationIcmpConfigurationArgs
- Trace
Route boolEnabled - Should path evaluation with trace route be enabled? Defaults to
true.
- Trace
Route boolEnabled - Should path evaluation with trace route be enabled? Defaults to
true.
- trace
Route BooleanEnabled - Should path evaluation with trace route be enabled? Defaults to
true.
- trace
Route booleanEnabled - Should path evaluation with trace route be enabled? Defaults to
true.
- trace_
route_ boolenabled - Should path evaluation with trace route be enabled? Defaults to
true.
- trace
Route BooleanEnabled - Should path evaluation with trace route be enabled? Defaults to
true.
NetworkConnectionMonitorTestConfigurationSuccessThreshold, NetworkConnectionMonitorTestConfigurationSuccessThresholdArgs
- Checks
Failed intPercent - The maximum percentage of failed checks permitted for a test to be successful.
- Round
Trip doubleTime Ms - The maximum round-trip time in milliseconds permitted for a test to be successful.
- Checks
Failed intPercent - The maximum percentage of failed checks permitted for a test to be successful.
- Round
Trip float64Time Ms - The maximum round-trip time in milliseconds permitted for a test to be successful.
- checks
Failed IntegerPercent - The maximum percentage of failed checks permitted for a test to be successful.
- round
Trip DoubleTime Ms - The maximum round-trip time in milliseconds permitted for a test to be successful.
- checks
Failed numberPercent - The maximum percentage of failed checks permitted for a test to be successful.
- round
Trip numberTime Ms - The maximum round-trip time in milliseconds permitted for a test to be successful.
- checks_
failed_ intpercent - The maximum percentage of failed checks permitted for a test to be successful.
- round_
trip_ floattime_ ms - The maximum round-trip time in milliseconds permitted for a test to be successful.
- checks
Failed NumberPercent - The maximum percentage of failed checks permitted for a test to be successful.
- round
Trip NumberTime Ms - The maximum round-trip time in milliseconds permitted for a test to be successful.
NetworkConnectionMonitorTestConfigurationTcpConfiguration, NetworkConnectionMonitorTestConfigurationTcpConfigurationArgs
- Port int
- The port for the Tcp connection.
- Destination
Port stringBehavior - The destination port behavior for the Tcp connection. Possible values are
NoneandListenIfAvailable. - Trace
Route boolEnabled - Should path evaluation with trace route be enabled? Defaults to
true.
- Port int
- The port for the Tcp connection.
- Destination
Port stringBehavior - The destination port behavior for the Tcp connection. Possible values are
NoneandListenIfAvailable. - Trace
Route boolEnabled - Should path evaluation with trace route be enabled? Defaults to
true.
- port Integer
- The port for the Tcp connection.
- destination
Port StringBehavior - The destination port behavior for the Tcp connection. Possible values are
NoneandListenIfAvailable. - trace
Route BooleanEnabled - Should path evaluation with trace route be enabled? Defaults to
true.
- port number
- The port for the Tcp connection.
- destination
Port stringBehavior - The destination port behavior for the Tcp connection. Possible values are
NoneandListenIfAvailable. - trace
Route booleanEnabled - Should path evaluation with trace route be enabled? Defaults to
true.
- port int
- The port for the Tcp connection.
- destination_
port_ strbehavior - The destination port behavior for the Tcp connection. Possible values are
NoneandListenIfAvailable. - trace_
route_ boolenabled - Should path evaluation with trace route be enabled? Defaults to
true.
- port Number
- The port for the Tcp connection.
- destination
Port StringBehavior - The destination port behavior for the Tcp connection. Possible values are
NoneandListenIfAvailable. - trace
Route BooleanEnabled - Should path evaluation with trace route be enabled? Defaults to
true.
NetworkConnectionMonitorTestGroup, NetworkConnectionMonitorTestGroupArgs
- Destination
Endpoints List<string> - A list of destination endpoint names.
- Name string
- The name of the test group for the Network Connection Monitor.
- Source
Endpoints List<string> - A list of source endpoint names.
- Test
Configuration List<string>Names - A list of test configuration names.
- Enabled bool
- Should the test group be enabled? Defaults to
true.
- Destination
Endpoints []string - A list of destination endpoint names.
- Name string
- The name of the test group for the Network Connection Monitor.
- Source
Endpoints []string - A list of source endpoint names.
- Test
Configuration []stringNames - A list of test configuration names.
- Enabled bool
- Should the test group be enabled? Defaults to
true.
- destination
Endpoints List<String> - A list of destination endpoint names.
- name String
- The name of the test group for the Network Connection Monitor.
- source
Endpoints List<String> - A list of source endpoint names.
- test
Configuration List<String>Names - A list of test configuration names.
- enabled Boolean
- Should the test group be enabled? Defaults to
true.
- destination
Endpoints string[] - A list of destination endpoint names.
- name string
- The name of the test group for the Network Connection Monitor.
- source
Endpoints string[] - A list of source endpoint names.
- test
Configuration string[]Names - 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_ Sequence[str]names - A list of test configuration names.
- enabled bool
- Should the test group be enabled? Defaults to
true.
- destination
Endpoints List<String> - A list of destination endpoint names.
- name String
- The name of the test group for the Network Connection Monitor.
- source
Endpoints List<String> - A list of source endpoint names.
- test
Configuration List<String>Names - 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
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
