Information about the connection monitor.
Uses Azure REST API version 2024-05-01. In version 2.x of the Azure Native provider, it used API version 2023-02-01.
Other available API versions: 2018-06-01, 2018-07-01, 2018-08-01, 2018-10-01, 2018-11-01, 2018-12-01, 2019-02-01, 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01, 2024-10-01, 2025-01-01, 2025-03-01, 2025-05-01, 2025-07-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]. See the version guide for details.
Example Usage
Create connection monitor V1
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var connectionMonitor = new AzureNative.Network.ConnectionMonitor("connectionMonitor", new()
{
ConnectionMonitorName = "cm1",
Endpoints = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorEndpointArgs
{
Name = "source",
ResourceId = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1",
},
new AzureNative.Network.Inputs.ConnectionMonitorEndpointArgs
{
Address = "bing.com",
Name = "destination",
},
},
Location = "eastus",
NetworkWatcherName = "nw1",
ResourceGroupName = "rg1",
TestConfigurations = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorTestConfigurationArgs
{
Name = "tcp",
Protocol = AzureNative.Network.ConnectionMonitorTestConfigurationProtocol.Tcp,
TcpConfiguration = new AzureNative.Network.Inputs.ConnectionMonitorTcpConfigurationArgs
{
Port = 80,
},
TestFrequencySec = 60,
},
},
TestGroups = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorTestGroupArgs
{
Destinations = new[]
{
"destination",
},
Name = "tg",
Sources = new[]
{
"source",
},
TestConfigurations = new[]
{
"tcp",
},
},
},
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewConnectionMonitor(ctx, "connectionMonitor", &network.ConnectionMonitorArgs{
ConnectionMonitorName: pulumi.String("cm1"),
Endpoints: network.ConnectionMonitorEndpointArray{
&network.ConnectionMonitorEndpointArgs{
Name: pulumi.String("source"),
ResourceId: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1"),
},
&network.ConnectionMonitorEndpointArgs{
Address: pulumi.String("bing.com"),
Name: pulumi.String("destination"),
},
},
Location: pulumi.String("eastus"),
NetworkWatcherName: pulumi.String("nw1"),
ResourceGroupName: pulumi.String("rg1"),
TestConfigurations: network.ConnectionMonitorTestConfigurationArray{
&network.ConnectionMonitorTestConfigurationArgs{
Name: pulumi.String("tcp"),
Protocol: pulumi.String(network.ConnectionMonitorTestConfigurationProtocolTcp),
TcpConfiguration: &network.ConnectionMonitorTcpConfigurationArgs{
Port: pulumi.Int(80),
},
TestFrequencySec: pulumi.Int(60),
},
},
TestGroups: network.ConnectionMonitorTestGroupArray{
&network.ConnectionMonitorTestGroupArgs{
Destinations: pulumi.StringArray{
pulumi.String("destination"),
},
Name: pulumi.String("tg"),
Sources: pulumi.StringArray{
pulumi.String("source"),
},
TestConfigurations: pulumi.StringArray{
pulumi.String("tcp"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_network_connection_monitor" "connectionMonitor" {
lifecycle {
create_before_destroy = true
}
connection_monitor_name = "cm1"
endpoints {
name = "source"
resource_id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1"
}
endpoints {
address = "bing.com"
name = "destination"
}
location = "eastus"
network_watcher_name = "nw1"
resource_group_name = "rg1"
test_configurations {
name = "tcp"
protocol = "Tcp"
tcp_configuration = {
port = 80
}
test_frequency_sec = 60
}
test_groups {
destinations = ["destination"]
name = "tg"
sources = ["source"]
test_configurations = ["tcp"]
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.ConnectionMonitor;
import com.pulumi.azurenative.network.ConnectionMonitorArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorEndpointArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorTestConfigurationArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorTcpConfigurationArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorTestGroupArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var connectionMonitor = new ConnectionMonitor("connectionMonitor", ConnectionMonitorArgs.builder()
.connectionMonitorName("cm1")
.endpoints(
ConnectionMonitorEndpointArgs.builder()
.name("source")
.resourceId("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1")
.build(),
ConnectionMonitorEndpointArgs.builder()
.address("bing.com")
.name("destination")
.build())
.location("eastus")
.networkWatcherName("nw1")
.resourceGroupName("rg1")
.testConfigurations(ConnectionMonitorTestConfigurationArgs.builder()
.name("tcp")
.protocol("Tcp")
.tcpConfiguration(ConnectionMonitorTcpConfigurationArgs.builder()
.port(80)
.build())
.testFrequencySec(60)
.build())
.testGroups(ConnectionMonitorTestGroupArgs.builder()
.destinations("destination")
.name("tg")
.sources("source")
.testConfigurations("tcp")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const connectionMonitor = new azure_native.network.ConnectionMonitor("connectionMonitor", {
connectionMonitorName: "cm1",
endpoints: [
{
name: "source",
resourceId: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1",
},
{
address: "bing.com",
name: "destination",
},
],
location: "eastus",
networkWatcherName: "nw1",
resourceGroupName: "rg1",
testConfigurations: [{
name: "tcp",
protocol: azure_native.network.ConnectionMonitorTestConfigurationProtocol.Tcp,
tcpConfiguration: {
port: 80,
},
testFrequencySec: 60,
}],
testGroups: [{
destinations: ["destination"],
name: "tg",
sources: ["source"],
testConfigurations: ["tcp"],
}],
});
import pulumi
import pulumi_azure_native as azure_native
connection_monitor = azure_native.network.ConnectionMonitor("connectionMonitor",
connection_monitor_name="cm1",
endpoints=[
{
"name": "source",
"resource_id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1",
},
{
"address": "bing.com",
"name": "destination",
},
],
location="eastus",
network_watcher_name="nw1",
resource_group_name="rg1",
test_configurations=[{
"name": "tcp",
"protocol": azure_native.network.ConnectionMonitorTestConfigurationProtocol.TCP,
"tcp_configuration": {
"port": 80,
},
"test_frequency_sec": 60,
}],
test_groups=[{
"destinations": ["destination"],
"name": "tg",
"sources": ["source"],
"test_configurations": ["tcp"],
}])
resources:
connectionMonitor:
type: azure-native:network:ConnectionMonitor
properties:
connectionMonitorName: cm1
endpoints:
- name: source
resourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1
- address: bing.com
name: destination
location: eastus
networkWatcherName: nw1
resourceGroupName: rg1
testConfigurations:
- name: tcp
protocol: Tcp
tcpConfiguration:
port: 80
testFrequencySec: 60
testGroups:
- destinations:
- destination
name: tg
sources:
- source
testConfigurations:
- tcp
Create connection monitor V2
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var connectionMonitor = new AzureNative.Network.ConnectionMonitor("connectionMonitor", new()
{
ConnectionMonitorName = "cm1",
Endpoints = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorEndpointArgs
{
Name = "vm1",
ResourceId = "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1",
},
new AzureNative.Network.Inputs.ConnectionMonitorEndpointArgs
{
Filter = new AzureNative.Network.Inputs.ConnectionMonitorEndpointFilterArgs
{
Items = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorEndpointFilterItemArgs
{
Address = "npmuser",
Type = AzureNative.Network.ConnectionMonitorEndpointFilterItemType.AgentAddress,
},
},
Type = AzureNative.Network.ConnectionMonitorEndpointFilterType.Include,
},
Name = "CanaryWorkspaceVamshi",
ResourceId = "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace",
},
new AzureNative.Network.Inputs.ConnectionMonitorEndpointArgs
{
Address = "bing.com",
Name = "bing",
},
new AzureNative.Network.Inputs.ConnectionMonitorEndpointArgs
{
Address = "google.com",
Name = "google",
},
},
NetworkWatcherName = "nw1",
Outputs = new() {},
ResourceGroupName = "rg1",
TestConfigurations = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorTestConfigurationArgs
{
Name = "testConfig1",
Protocol = AzureNative.Network.ConnectionMonitorTestConfigurationProtocol.Tcp,
TcpConfiguration = new AzureNative.Network.Inputs.ConnectionMonitorTcpConfigurationArgs
{
DisableTraceRoute = false,
Port = 80,
},
TestFrequencySec = 60,
},
},
TestGroups = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorTestGroupArgs
{
Destinations = new[]
{
"bing",
"google",
},
Disable = false,
Name = "test1",
Sources = new[]
{
"vm1",
"CanaryWorkspaceVamshi",
},
TestConfigurations = new[]
{
"testConfig1",
},
},
},
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewConnectionMonitor(ctx, "connectionMonitor", &network.ConnectionMonitorArgs{
ConnectionMonitorName: pulumi.String("cm1"),
Endpoints: network.ConnectionMonitorEndpointArray{
&network.ConnectionMonitorEndpointArgs{
Name: pulumi.String("vm1"),
ResourceId: pulumi.String("/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1"),
},
&network.ConnectionMonitorEndpointArgs{
Filter: &network.ConnectionMonitorEndpointFilterArgs{
Items: network.ConnectionMonitorEndpointFilterItemArray{
&network.ConnectionMonitorEndpointFilterItemArgs{
Address: pulumi.String("npmuser"),
Type: pulumi.String(network.ConnectionMonitorEndpointFilterItemTypeAgentAddress),
},
},
Type: pulumi.String(network.ConnectionMonitorEndpointFilterTypeInclude),
},
Name: pulumi.String("CanaryWorkspaceVamshi"),
ResourceId: pulumi.String("/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace"),
},
&network.ConnectionMonitorEndpointArgs{
Address: pulumi.String("bing.com"),
Name: pulumi.String("bing"),
},
&network.ConnectionMonitorEndpointArgs{
Address: pulumi.String("google.com"),
Name: pulumi.String("google"),
},
},
NetworkWatcherName: pulumi.String("nw1"),
Outputs: network.ConnectionMonitorOutputTypeArray{},
ResourceGroupName: pulumi.String("rg1"),
TestConfigurations: network.ConnectionMonitorTestConfigurationArray{
&network.ConnectionMonitorTestConfigurationArgs{
Name: pulumi.String("testConfig1"),
Protocol: pulumi.String(network.ConnectionMonitorTestConfigurationProtocolTcp),
TcpConfiguration: &network.ConnectionMonitorTcpConfigurationArgs{
DisableTraceRoute: pulumi.Bool(false),
Port: pulumi.Int(80),
},
TestFrequencySec: pulumi.Int(60),
},
},
TestGroups: network.ConnectionMonitorTestGroupArray{
&network.ConnectionMonitorTestGroupArgs{
Destinations: pulumi.StringArray{
pulumi.String("bing"),
pulumi.String("google"),
},
Disable: pulumi.Bool(false),
Name: pulumi.String("test1"),
Sources: pulumi.StringArray{
pulumi.String("vm1"),
pulumi.String("CanaryWorkspaceVamshi"),
},
TestConfigurations: pulumi.StringArray{
pulumi.String("testConfig1"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_network_connection_monitor" "connectionMonitor" {
lifecycle {
create_before_destroy = true
}
connection_monitor_name = "cm1"
endpoints {
name = "vm1"
resource_id = "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1"
}
endpoints {
filter = {
items = [{
address = "npmuser"
type = "AgentAddress"
}]
type = "Include"
}
name = "CanaryWorkspaceVamshi"
resource_id = "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace"
}
endpoints {
address = "bing.com"
name = "bing"
}
endpoints {
address = "google.com"
name = "google"
}
network_watcher_name = "nw1"
resource_group_name = "rg1"
test_configurations {
name = "testConfig1"
protocol = "Tcp"
tcp_configuration = {
disable_trace_route = false
port = 80
}
test_frequency_sec = 60
}
test_groups {
destinations = ["bing", "google"]
disable = false
name = "test1"
sources = ["vm1", "CanaryWorkspaceVamshi"]
test_configurations = ["testConfig1"]
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.ConnectionMonitor;
import com.pulumi.azurenative.network.ConnectionMonitorArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorEndpointArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorEndpointFilterArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorEndpointFilterItemArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorTestConfigurationArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorTcpConfigurationArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorTestGroupArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var connectionMonitor = new ConnectionMonitor("connectionMonitor", ConnectionMonitorArgs.builder()
.connectionMonitorName("cm1")
.endpoints(
ConnectionMonitorEndpointArgs.builder()
.name("vm1")
.resourceId("/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1")
.build(),
ConnectionMonitorEndpointArgs.builder()
.filter(ConnectionMonitorEndpointFilterArgs.builder()
.items(ConnectionMonitorEndpointFilterItemArgs.builder()
.address("npmuser")
.type("AgentAddress")
.build())
.type("Include")
.build())
.name("CanaryWorkspaceVamshi")
.resourceId("/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace")
.build(),
ConnectionMonitorEndpointArgs.builder()
.address("bing.com")
.name("bing")
.build(),
ConnectionMonitorEndpointArgs.builder()
.address("google.com")
.name("google")
.build())
.networkWatcherName("nw1")
.outputs()
.resourceGroupName("rg1")
.testConfigurations(ConnectionMonitorTestConfigurationArgs.builder()
.name("testConfig1")
.protocol("Tcp")
.tcpConfiguration(ConnectionMonitorTcpConfigurationArgs.builder()
.disableTraceRoute(false)
.port(80)
.build())
.testFrequencySec(60)
.build())
.testGroups(ConnectionMonitorTestGroupArgs.builder()
.destinations(
"bing",
"google")
.disable(false)
.name("test1")
.sources(
"vm1",
"CanaryWorkspaceVamshi")
.testConfigurations("testConfig1")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const connectionMonitor = new azure_native.network.ConnectionMonitor("connectionMonitor", {
connectionMonitorName: "cm1",
endpoints: [
{
name: "vm1",
resourceId: "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1",
},
{
filter: {
items: [{
address: "npmuser",
type: azure_native.network.ConnectionMonitorEndpointFilterItemType.AgentAddress,
}],
type: azure_native.network.ConnectionMonitorEndpointFilterType.Include,
},
name: "CanaryWorkspaceVamshi",
resourceId: "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace",
},
{
address: "bing.com",
name: "bing",
},
{
address: "google.com",
name: "google",
},
],
networkWatcherName: "nw1",
outputs: [],
resourceGroupName: "rg1",
testConfigurations: [{
name: "testConfig1",
protocol: azure_native.network.ConnectionMonitorTestConfigurationProtocol.Tcp,
tcpConfiguration: {
disableTraceRoute: false,
port: 80,
},
testFrequencySec: 60,
}],
testGroups: [{
destinations: [
"bing",
"google",
],
disable: false,
name: "test1",
sources: [
"vm1",
"CanaryWorkspaceVamshi",
],
testConfigurations: ["testConfig1"],
}],
});
import pulumi
import pulumi_azure_native as azure_native
connection_monitor = azure_native.network.ConnectionMonitor("connectionMonitor",
connection_monitor_name="cm1",
endpoints=[
{
"name": "vm1",
"resource_id": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1",
},
{
"filter": {
"items": [{
"address": "npmuser",
"type": azure_native.network.ConnectionMonitorEndpointFilterItemType.AGENT_ADDRESS,
}],
"type": azure_native.network.ConnectionMonitorEndpointFilterType.INCLUDE,
},
"name": "CanaryWorkspaceVamshi",
"resource_id": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace",
},
{
"address": "bing.com",
"name": "bing",
},
{
"address": "google.com",
"name": "google",
},
],
network_watcher_name="nw1",
outputs=[],
resource_group_name="rg1",
test_configurations=[{
"name": "testConfig1",
"protocol": azure_native.network.ConnectionMonitorTestConfigurationProtocol.TCP,
"tcp_configuration": {
"disable_trace_route": False,
"port": 80,
},
"test_frequency_sec": 60,
}],
test_groups=[{
"destinations": [
"bing",
"google",
],
"disable": False,
"name": "test1",
"sources": [
"vm1",
"CanaryWorkspaceVamshi",
],
"test_configurations": ["testConfig1"],
}])
resources:
connectionMonitor:
type: azure-native:network:ConnectionMonitor
properties:
connectionMonitorName: cm1
endpoints:
- name: vm1
resourceId: /subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1
- filter:
items:
- address: npmuser
type: AgentAddress
type: Include
name: CanaryWorkspaceVamshi
resourceId: /subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace
- address: bing.com
name: bing
- address: google.com
name: google
networkWatcherName: nw1
outputs: []
resourceGroupName: rg1
testConfigurations:
- name: testConfig1
protocol: Tcp
tcpConfiguration:
disableTraceRoute: false
port: 80
testFrequencySec: 60
testGroups:
- destinations:
- bing
- google
disable: false
name: test1
sources:
- vm1
- CanaryWorkspaceVamshi
testConfigurations:
- testConfig1
Create connection monitor with Arc Network
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var connectionMonitor = new AzureNative.Network.ConnectionMonitor("connectionMonitor", new()
{
ConnectionMonitorName = "cm1",
Endpoints = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorEndpointArgs
{
Name = "vm1",
ResourceId = "/subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM",
Type = AzureNative.Network.EndpointType.AzureVM,
},
new AzureNative.Network.Inputs.ConnectionMonitorEndpointArgs
{
Address = "bing.com",
Name = "bing",
Type = AzureNative.Network.EndpointType.ExternalAddress,
},
new AzureNative.Network.Inputs.ConnectionMonitorEndpointArgs
{
Address = "google.com",
Name = "google",
Type = AzureNative.Network.EndpointType.ExternalAddress,
},
new AzureNative.Network.Inputs.ConnectionMonitorEndpointArgs
{
LocationDetails = new AzureNative.Network.Inputs.ConnectionMonitorEndpointLocationDetailsArgs
{
Region = "eastus",
},
Name = "ArcBasedNetwork",
Scope = new AzureNative.Network.Inputs.ConnectionMonitorEndpointScopeArgs
{
Include = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorEndpointScopeItemArgs
{
Address = "172.21.128.0/20",
},
},
},
SubscriptionId = "9cece3e3-0f7d-47ca-af0e-9772773f90b7",
Type = AzureNative.Network.EndpointType.AzureArcNetwork,
},
},
NetworkWatcherName = "nw1",
Outputs = new() {},
ResourceGroupName = "rg1",
TestConfigurations = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorTestConfigurationArgs
{
Name = "testConfig1",
Protocol = AzureNative.Network.ConnectionMonitorTestConfigurationProtocol.Tcp,
TcpConfiguration = new AzureNative.Network.Inputs.ConnectionMonitorTcpConfigurationArgs
{
DisableTraceRoute = false,
Port = 80,
},
TestFrequencySec = 60,
},
},
TestGroups = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorTestGroupArgs
{
Destinations = new[]
{
"bing",
"google",
},
Disable = false,
Name = "test1",
Sources = new[]
{
"vm1",
"ArcBasedNetwork",
},
TestConfigurations = new[]
{
"testConfig1",
},
},
},
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewConnectionMonitor(ctx, "connectionMonitor", &network.ConnectionMonitorArgs{
ConnectionMonitorName: pulumi.String("cm1"),
Endpoints: network.ConnectionMonitorEndpointArray{
&network.ConnectionMonitorEndpointArgs{
Name: pulumi.String("vm1"),
ResourceId: pulumi.String("/subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM"),
Type: pulumi.String(network.EndpointTypeAzureVM),
},
&network.ConnectionMonitorEndpointArgs{
Address: pulumi.String("bing.com"),
Name: pulumi.String("bing"),
Type: pulumi.String(network.EndpointTypeExternalAddress),
},
&network.ConnectionMonitorEndpointArgs{
Address: pulumi.String("google.com"),
Name: pulumi.String("google"),
Type: pulumi.String(network.EndpointTypeExternalAddress),
},
&network.ConnectionMonitorEndpointArgs{
LocationDetails: &network.ConnectionMonitorEndpointLocationDetailsArgs{
Region: pulumi.String("eastus"),
},
Name: pulumi.String("ArcBasedNetwork"),
Scope: &network.ConnectionMonitorEndpointScopeArgs{
Include: network.ConnectionMonitorEndpointScopeItemArray{
&network.ConnectionMonitorEndpointScopeItemArgs{
Address: pulumi.String("172.21.128.0/20"),
},
},
},
SubscriptionId: pulumi.String("9cece3e3-0f7d-47ca-af0e-9772773f90b7"),
Type: pulumi.String(network.EndpointTypeAzureArcNetwork),
},
},
NetworkWatcherName: pulumi.String("nw1"),
Outputs: network.ConnectionMonitorOutputTypeArray{},
ResourceGroupName: pulumi.String("rg1"),
TestConfigurations: network.ConnectionMonitorTestConfigurationArray{
&network.ConnectionMonitorTestConfigurationArgs{
Name: pulumi.String("testConfig1"),
Protocol: pulumi.String(network.ConnectionMonitorTestConfigurationProtocolTcp),
TcpConfiguration: &network.ConnectionMonitorTcpConfigurationArgs{
DisableTraceRoute: pulumi.Bool(false),
Port: pulumi.Int(80),
},
TestFrequencySec: pulumi.Int(60),
},
},
TestGroups: network.ConnectionMonitorTestGroupArray{
&network.ConnectionMonitorTestGroupArgs{
Destinations: pulumi.StringArray{
pulumi.String("bing"),
pulumi.String("google"),
},
Disable: pulumi.Bool(false),
Name: pulumi.String("test1"),
Sources: pulumi.StringArray{
pulumi.String("vm1"),
pulumi.String("ArcBasedNetwork"),
},
TestConfigurations: pulumi.StringArray{
pulumi.String("testConfig1"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_network_connection_monitor" "connectionMonitor" {
lifecycle {
create_before_destroy = true
}
connection_monitor_name = "cm1"
endpoints {
name = "vm1"
resource_id = "/subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM"
type = "AzureVM"
}
endpoints {
address = "bing.com"
name = "bing"
type = "ExternalAddress"
}
endpoints {
address = "google.com"
name = "google"
type = "ExternalAddress"
}
endpoints {
location_details = {
region = "eastus"
}
name = "ArcBasedNetwork"
scope = {
include = [{
address = "172.21.128.0/20"
}]
}
subscription_id = "9cece3e3-0f7d-47ca-af0e-9772773f90b7"
type = "AzureArcNetwork"
}
network_watcher_name = "nw1"
resource_group_name = "rg1"
test_configurations {
name = "testConfig1"
protocol = "Tcp"
tcp_configuration = {
disable_trace_route = false
port = 80
}
test_frequency_sec = 60
}
test_groups {
destinations = ["bing", "google"]
disable = false
name = "test1"
sources = ["vm1", "ArcBasedNetwork"]
test_configurations = ["testConfig1"]
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.ConnectionMonitor;
import com.pulumi.azurenative.network.ConnectionMonitorArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorEndpointArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorEndpointLocationDetailsArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorEndpointScopeArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorEndpointScopeItemArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorTestConfigurationArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorTcpConfigurationArgs;
import com.pulumi.azurenative.network.inputs.ConnectionMonitorTestGroupArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var connectionMonitor = new ConnectionMonitor("connectionMonitor", ConnectionMonitorArgs.builder()
.connectionMonitorName("cm1")
.endpoints(
ConnectionMonitorEndpointArgs.builder()
.name("vm1")
.resourceId("/subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM")
.type("AzureVM")
.build(),
ConnectionMonitorEndpointArgs.builder()
.address("bing.com")
.name("bing")
.type("ExternalAddress")
.build(),
ConnectionMonitorEndpointArgs.builder()
.address("google.com")
.name("google")
.type("ExternalAddress")
.build(),
ConnectionMonitorEndpointArgs.builder()
.locationDetails(ConnectionMonitorEndpointLocationDetailsArgs.builder()
.region("eastus")
.build())
.name("ArcBasedNetwork")
.scope(ConnectionMonitorEndpointScopeArgs.builder()
.include(ConnectionMonitorEndpointScopeItemArgs.builder()
.address("172.21.128.0/20")
.build())
.build())
.subscriptionId("9cece3e3-0f7d-47ca-af0e-9772773f90b7")
.type("AzureArcNetwork")
.build())
.networkWatcherName("nw1")
.outputs()
.resourceGroupName("rg1")
.testConfigurations(ConnectionMonitorTestConfigurationArgs.builder()
.name("testConfig1")
.protocol("Tcp")
.tcpConfiguration(ConnectionMonitorTcpConfigurationArgs.builder()
.disableTraceRoute(false)
.port(80)
.build())
.testFrequencySec(60)
.build())
.testGroups(ConnectionMonitorTestGroupArgs.builder()
.destinations(
"bing",
"google")
.disable(false)
.name("test1")
.sources(
"vm1",
"ArcBasedNetwork")
.testConfigurations("testConfig1")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const connectionMonitor = new azure_native.network.ConnectionMonitor("connectionMonitor", {
connectionMonitorName: "cm1",
endpoints: [
{
name: "vm1",
resourceId: "/subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM",
type: azure_native.network.EndpointType.AzureVM,
},
{
address: "bing.com",
name: "bing",
type: azure_native.network.EndpointType.ExternalAddress,
},
{
address: "google.com",
name: "google",
type: azure_native.network.EndpointType.ExternalAddress,
},
{
locationDetails: {
region: "eastus",
},
name: "ArcBasedNetwork",
scope: {
include: [{
address: "172.21.128.0/20",
}],
},
subscriptionId: "9cece3e3-0f7d-47ca-af0e-9772773f90b7",
type: azure_native.network.EndpointType.AzureArcNetwork,
},
],
networkWatcherName: "nw1",
outputs: [],
resourceGroupName: "rg1",
testConfigurations: [{
name: "testConfig1",
protocol: azure_native.network.ConnectionMonitorTestConfigurationProtocol.Tcp,
tcpConfiguration: {
disableTraceRoute: false,
port: 80,
},
testFrequencySec: 60,
}],
testGroups: [{
destinations: [
"bing",
"google",
],
disable: false,
name: "test1",
sources: [
"vm1",
"ArcBasedNetwork",
],
testConfigurations: ["testConfig1"],
}],
});
import pulumi
import pulumi_azure_native as azure_native
connection_monitor = azure_native.network.ConnectionMonitor("connectionMonitor",
connection_monitor_name="cm1",
endpoints=[
{
"name": "vm1",
"resource_id": "/subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM",
"type": azure_native.network.EndpointType.AZURE_VM,
},
{
"address": "bing.com",
"name": "bing",
"type": azure_native.network.EndpointType.EXTERNAL_ADDRESS,
},
{
"address": "google.com",
"name": "google",
"type": azure_native.network.EndpointType.EXTERNAL_ADDRESS,
},
{
"location_details": {
"region": "eastus",
},
"name": "ArcBasedNetwork",
"scope": {
"include": [{
"address": "172.21.128.0/20",
}],
},
"subscription_id": "9cece3e3-0f7d-47ca-af0e-9772773f90b7",
"type": azure_native.network.EndpointType.AZURE_ARC_NETWORK,
},
],
network_watcher_name="nw1",
outputs=[],
resource_group_name="rg1",
test_configurations=[{
"name": "testConfig1",
"protocol": azure_native.network.ConnectionMonitorTestConfigurationProtocol.TCP,
"tcp_configuration": {
"disable_trace_route": False,
"port": 80,
},
"test_frequency_sec": 60,
}],
test_groups=[{
"destinations": [
"bing",
"google",
],
"disable": False,
"name": "test1",
"sources": [
"vm1",
"ArcBasedNetwork",
],
"test_configurations": ["testConfig1"],
}])
resources:
connectionMonitor:
type: azure-native:network:ConnectionMonitor
properties:
connectionMonitorName: cm1
endpoints:
- name: vm1
resourceId: /subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM
type: AzureVM
- address: bing.com
name: bing
type: ExternalAddress
- address: google.com
name: google
type: ExternalAddress
- locationDetails:
region: eastus
name: ArcBasedNetwork
scope:
include:
- address: 172.21.128.0/20
subscriptionId: 9cece3e3-0f7d-47ca-af0e-9772773f90b7
type: AzureArcNetwork
networkWatcherName: nw1
outputs: []
resourceGroupName: rg1
testConfigurations:
- name: testConfig1
protocol: Tcp
tcpConfiguration:
disableTraceRoute: false
port: 80
testFrequencySec: 60
testGroups:
- destinations:
- bing
- google
disable: false
name: test1
sources:
- vm1
- ArcBasedNetwork
testConfigurations:
- testConfig1
Create ConnectionMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def ConnectionMonitor(resource_name: str,
args: ConnectionMonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectionMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_watcher_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
monitoring_interval_in_seconds: Optional[int] = None,
endpoints: Optional[Sequence[ConnectionMonitorEndpointArgs]] = None,
location: Optional[str] = None,
migrate: Optional[str] = None,
auto_start: Optional[bool] = None,
destination: Optional[ConnectionMonitorDestinationArgs] = None,
notes: Optional[str] = None,
outputs: Optional[Sequence[ConnectionMonitorOutputArgs]] = None,
connection_monitor_name: Optional[str] = None,
source: Optional[ConnectionMonitorSourceArgs] = None,
tags: Optional[Mapping[str, str]] = None,
test_configurations: Optional[Sequence[ConnectionMonitorTestConfigurationArgs]] = None,
test_groups: Optional[Sequence[ConnectionMonitorTestGroupArgs]] = None)
type: azure-native:network:ConnectionMonitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_network_connection_monitor" "name" {
# resource properties
}
Parameters
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resource.
- args
ConnectionMonitorArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
ConnectionMonitorArgs
- 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 connectionMonitorResource = new AzureNative.Network.ConnectionMonitor("connectionMonitorResource", new()
{
NetworkWatcherName = "string",
ResourceGroupName = "string",
MonitoringIntervalInSeconds = 0,
Endpoints = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorEndpointArgs
{
Name = "string",
Address = "string",
CoverageLevel = "string",
Filter = new AzureNative.Network.Inputs.ConnectionMonitorEndpointFilterArgs
{
Items = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorEndpointFilterItemArgs
{
Address = "string",
Type = "string",
},
},
Type = "string",
},
LocationDetails = new AzureNative.Network.Inputs.ConnectionMonitorEndpointLocationDetailsArgs
{
Region = "string",
},
ResourceId = "string",
Scope = new AzureNative.Network.Inputs.ConnectionMonitorEndpointScopeArgs
{
Exclude = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorEndpointScopeItemArgs
{
Address = "string",
},
},
Include = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorEndpointScopeItemArgs
{
Address = "string",
},
},
},
SubscriptionId = "string",
Type = "string",
},
},
Location = "string",
Migrate = "string",
AutoStart = false,
Destination = new AzureNative.Network.Inputs.ConnectionMonitorDestinationArgs
{
Address = "string",
Port = 0,
ResourceId = "string",
},
Notes = "string",
Outputs = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorOutputArgs
{
Type = "string",
WorkspaceSettings = new AzureNative.Network.Inputs.ConnectionMonitorWorkspaceSettingsArgs
{
WorkspaceResourceId = "string",
},
},
},
ConnectionMonitorName = "string",
Source = new AzureNative.Network.Inputs.ConnectionMonitorSourceArgs
{
ResourceId = "string",
Port = 0,
},
Tags =
{
{ "string", "string" },
},
TestConfigurations = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorTestConfigurationArgs
{
Name = "string",
Protocol = "string",
HttpConfiguration = new AzureNative.Network.Inputs.ConnectionMonitorHttpConfigurationArgs
{
Method = "string",
Path = "string",
Port = 0,
PreferHTTPS = false,
RequestHeaders = new[]
{
new AzureNative.Network.Inputs.HTTPHeaderArgs
{
Name = "string",
Value = "string",
},
},
ValidStatusCodeRanges = new[]
{
"string",
},
},
IcmpConfiguration = new AzureNative.Network.Inputs.ConnectionMonitorIcmpConfigurationArgs
{
DisableTraceRoute = false,
},
PreferredIPVersion = "string",
SuccessThreshold = new AzureNative.Network.Inputs.ConnectionMonitorSuccessThresholdArgs
{
ChecksFailedPercent = 0,
RoundTripTimeMs = 0.0,
},
TcpConfiguration = new AzureNative.Network.Inputs.ConnectionMonitorTcpConfigurationArgs
{
DestinationPortBehavior = "string",
DisableTraceRoute = false,
Port = 0,
},
TestFrequencySec = 0,
},
},
TestGroups = new[]
{
new AzureNative.Network.Inputs.ConnectionMonitorTestGroupArgs
{
Destinations = new[]
{
"string",
},
Name = "string",
Sources = new[]
{
"string",
},
TestConfigurations = new[]
{
"string",
},
Disable = false,
},
},
});
example, err := network.NewConnectionMonitor(ctx, "connectionMonitorResource", &network.ConnectionMonitorArgs{
NetworkWatcherName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
MonitoringIntervalInSeconds: pulumi.Int(0),
Endpoints: network.ConnectionMonitorEndpointArray{
&network.ConnectionMonitorEndpointArgs{
Name: pulumi.String("string"),
Address: pulumi.String("string"),
CoverageLevel: pulumi.String("string"),
Filter: &network.ConnectionMonitorEndpointFilterArgs{
Items: network.ConnectionMonitorEndpointFilterItemArray{
&network.ConnectionMonitorEndpointFilterItemArgs{
Address: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
Type: pulumi.String("string"),
},
LocationDetails: &network.ConnectionMonitorEndpointLocationDetailsArgs{
Region: pulumi.String("string"),
},
ResourceId: pulumi.String("string"),
Scope: &network.ConnectionMonitorEndpointScopeArgs{
Exclude: network.ConnectionMonitorEndpointScopeItemArray{
&network.ConnectionMonitorEndpointScopeItemArgs{
Address: pulumi.String("string"),
},
},
Include: network.ConnectionMonitorEndpointScopeItemArray{
&network.ConnectionMonitorEndpointScopeItemArgs{
Address: pulumi.String("string"),
},
},
},
SubscriptionId: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
Location: pulumi.String("string"),
Migrate: pulumi.String("string"),
AutoStart: pulumi.Bool(false),
Destination: &network.ConnectionMonitorDestinationArgs{
Address: pulumi.String("string"),
Port: pulumi.Int(0),
ResourceId: pulumi.String("string"),
},
Notes: pulumi.String("string"),
Outputs: network.ConnectionMonitorOutputTypeArray{
&network.ConnectionMonitorOutputTypeArgs{
Type: pulumi.String("string"),
WorkspaceSettings: &network.ConnectionMonitorWorkspaceSettingsArgs{
WorkspaceResourceId: pulumi.String("string"),
},
},
},
ConnectionMonitorName: pulumi.String("string"),
Source: &network.ConnectionMonitorSourceArgs{
ResourceId: pulumi.String("string"),
Port: pulumi.Int(0),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TestConfigurations: network.ConnectionMonitorTestConfigurationArray{
&network.ConnectionMonitorTestConfigurationArgs{
Name: pulumi.String("string"),
Protocol: pulumi.String("string"),
HttpConfiguration: &network.ConnectionMonitorHttpConfigurationArgs{
Method: pulumi.String("string"),
Path: pulumi.String("string"),
Port: pulumi.Int(0),
PreferHTTPS: pulumi.Bool(false),
RequestHeaders: network.HTTPHeaderArray{
&network.HTTPHeaderArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
ValidStatusCodeRanges: pulumi.StringArray{
pulumi.String("string"),
},
},
IcmpConfiguration: &network.ConnectionMonitorIcmpConfigurationArgs{
DisableTraceRoute: pulumi.Bool(false),
},
PreferredIPVersion: pulumi.String("string"),
SuccessThreshold: &network.ConnectionMonitorSuccessThresholdArgs{
ChecksFailedPercent: pulumi.Int(0),
RoundTripTimeMs: pulumi.Float64(0),
},
TcpConfiguration: &network.ConnectionMonitorTcpConfigurationArgs{
DestinationPortBehavior: pulumi.String("string"),
DisableTraceRoute: pulumi.Bool(false),
Port: pulumi.Int(0),
},
TestFrequencySec: pulumi.Int(0),
},
},
TestGroups: network.ConnectionMonitorTestGroupArray{
&network.ConnectionMonitorTestGroupArgs{
Destinations: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Sources: pulumi.StringArray{
pulumi.String("string"),
},
TestConfigurations: pulumi.StringArray{
pulumi.String("string"),
},
Disable: pulumi.Bool(false),
},
},
})
resource "azure-native_network_connection_monitor" "connectionMonitorResource" {
lifecycle {
create_before_destroy = true
}
network_watcher_name = "string"
resource_group_name = "string"
monitoring_interval_in_seconds = 0
endpoints {
name = "string"
address = "string"
coverage_level = "string"
filter = {
items = [{
address = "string"
type = "string"
}]
type = "string"
}
location_details = {
region = "string"
}
resource_id = "string"
scope = {
exclude = [{
address = "string"
}]
include = [{
address = "string"
}]
}
subscription_id = "string"
type = "string"
}
location = "string"
migrate = "string"
auto_start = false
destination = {
address = "string"
port = 0
resource_id = "string"
}
notes = "string"
outputs {
type = "string"
workspace_settings = {
workspace_resource_id = "string"
}
}
connection_monitor_name = "string"
source = {
resource_id = "string"
port = 0
}
tags = {
"string" = "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 = {
disable_trace_route = false
}
preferred_ip_version = "string"
success_threshold = {
checks_failed_percent = 0
round_trip_time_ms = 0
}
tcp_configuration = {
destination_port_behavior = "string"
disable_trace_route = false
port = 0
}
test_frequency_sec = 0
}
test_groups {
destinations = ["string"]
name = "string"
sources = ["string"]
test_configurations = ["string"]
disable = false
}
}
var connectionMonitorResource = new ConnectionMonitor("connectionMonitorResource", ConnectionMonitorArgs.builder()
.networkWatcherName("string")
.resourceGroupName("string")
.monitoringIntervalInSeconds(0)
.endpoints(ConnectionMonitorEndpointArgs.builder()
.name("string")
.address("string")
.coverageLevel("string")
.filter(ConnectionMonitorEndpointFilterArgs.builder()
.items(ConnectionMonitorEndpointFilterItemArgs.builder()
.address("string")
.type("string")
.build())
.type("string")
.build())
.locationDetails(ConnectionMonitorEndpointLocationDetailsArgs.builder()
.region("string")
.build())
.resourceId("string")
.scope(ConnectionMonitorEndpointScopeArgs.builder()
.exclude(ConnectionMonitorEndpointScopeItemArgs.builder()
.address("string")
.build())
.include(ConnectionMonitorEndpointScopeItemArgs.builder()
.address("string")
.build())
.build())
.subscriptionId("string")
.type("string")
.build())
.location("string")
.migrate("string")
.autoStart(false)
.destination(ConnectionMonitorDestinationArgs.builder()
.address("string")
.port(0)
.resourceId("string")
.build())
.notes("string")
.outputs(ConnectionMonitorOutputArgs.builder()
.type("string")
.workspaceSettings(ConnectionMonitorWorkspaceSettingsArgs.builder()
.workspaceResourceId("string")
.build())
.build())
.connectionMonitorName("string")
.source(ConnectionMonitorSourceArgs.builder()
.resourceId("string")
.port(0)
.build())
.tags(Map.of("string", "string"))
.testConfigurations(ConnectionMonitorTestConfigurationArgs.builder()
.name("string")
.protocol("string")
.httpConfiguration(ConnectionMonitorHttpConfigurationArgs.builder()
.method("string")
.path("string")
.port(0)
.preferHTTPS(false)
.requestHeaders(HTTPHeaderArgs.builder()
.name("string")
.value("string")
.build())
.validStatusCodeRanges("string")
.build())
.icmpConfiguration(ConnectionMonitorIcmpConfigurationArgs.builder()
.disableTraceRoute(false)
.build())
.preferredIPVersion("string")
.successThreshold(ConnectionMonitorSuccessThresholdArgs.builder()
.checksFailedPercent(0)
.roundTripTimeMs(0.0)
.build())
.tcpConfiguration(ConnectionMonitorTcpConfigurationArgs.builder()
.destinationPortBehavior("string")
.disableTraceRoute(false)
.port(0)
.build())
.testFrequencySec(0)
.build())
.testGroups(ConnectionMonitorTestGroupArgs.builder()
.destinations("string")
.name("string")
.sources("string")
.testConfigurations("string")
.disable(false)
.build())
.build());
connection_monitor_resource = azure_native.network.ConnectionMonitor("connectionMonitorResource",
network_watcher_name="string",
resource_group_name="string",
monitoring_interval_in_seconds=0,
endpoints=[{
"name": "string",
"address": "string",
"coverage_level": "string",
"filter": {
"items": [{
"address": "string",
"type": "string",
}],
"type": "string",
},
"location_details": {
"region": "string",
},
"resource_id": "string",
"scope": {
"exclude": [{
"address": "string",
}],
"include": [{
"address": "string",
}],
},
"subscription_id": "string",
"type": "string",
}],
location="string",
migrate="string",
auto_start=False,
destination={
"address": "string",
"port": 0,
"resource_id": "string",
},
notes="string",
outputs=[{
"type": "string",
"workspace_settings": {
"workspace_resource_id": "string",
},
}],
connection_monitor_name="string",
source={
"resource_id": "string",
"port": 0,
},
tags={
"string": "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": {
"disable_trace_route": False,
},
"preferred_ip_version": "string",
"success_threshold": {
"checks_failed_percent": 0,
"round_trip_time_ms": float(0),
},
"tcp_configuration": {
"destination_port_behavior": "string",
"disable_trace_route": False,
"port": 0,
},
"test_frequency_sec": 0,
}],
test_groups=[{
"destinations": ["string"],
"name": "string",
"sources": ["string"],
"test_configurations": ["string"],
"disable": False,
}])
const connectionMonitorResource = new azure_native.network.ConnectionMonitor("connectionMonitorResource", {
networkWatcherName: "string",
resourceGroupName: "string",
monitoringIntervalInSeconds: 0,
endpoints: [{
name: "string",
address: "string",
coverageLevel: "string",
filter: {
items: [{
address: "string",
type: "string",
}],
type: "string",
},
locationDetails: {
region: "string",
},
resourceId: "string",
scope: {
exclude: [{
address: "string",
}],
include: [{
address: "string",
}],
},
subscriptionId: "string",
type: "string",
}],
location: "string",
migrate: "string",
autoStart: false,
destination: {
address: "string",
port: 0,
resourceId: "string",
},
notes: "string",
outputs: [{
type: "string",
workspaceSettings: {
workspaceResourceId: "string",
},
}],
connectionMonitorName: "string",
source: {
resourceId: "string",
port: 0,
},
tags: {
string: "string",
},
testConfigurations: [{
name: "string",
protocol: "string",
httpConfiguration: {
method: "string",
path: "string",
port: 0,
preferHTTPS: false,
requestHeaders: [{
name: "string",
value: "string",
}],
validStatusCodeRanges: ["string"],
},
icmpConfiguration: {
disableTraceRoute: false,
},
preferredIPVersion: "string",
successThreshold: {
checksFailedPercent: 0,
roundTripTimeMs: 0,
},
tcpConfiguration: {
destinationPortBehavior: "string",
disableTraceRoute: false,
port: 0,
},
testFrequencySec: 0,
}],
testGroups: [{
destinations: ["string"],
name: "string",
sources: ["string"],
testConfigurations: ["string"],
disable: false,
}],
});
type: azure-native:network:ConnectionMonitor
properties:
autoStart: false
connectionMonitorName: string
destination:
address: string
port: 0
resourceId: string
endpoints:
- address: string
coverageLevel: string
filter:
items:
- address: string
type: string
type: string
locationDetails:
region: string
name: string
resourceId: string
scope:
exclude:
- address: string
include:
- address: string
subscriptionId: string
type: string
location: string
migrate: string
monitoringIntervalInSeconds: 0
networkWatcherName: string
notes: string
outputs:
- type: string
workspaceSettings:
workspaceResourceId: string
resourceGroupName: string
source:
port: 0
resourceId: string
tags:
string: string
testConfigurations:
- httpConfiguration:
method: string
path: string
port: 0
preferHTTPS: false
requestHeaders:
- name: string
value: string
validStatusCodeRanges:
- string
icmpConfiguration:
disableTraceRoute: false
name: string
preferredIPVersion: string
protocol: string
successThreshold:
checksFailedPercent: 0
roundTripTimeMs: 0
tcpConfiguration:
destinationPortBehavior: string
disableTraceRoute: false
port: 0
testFrequencySec: 0
testGroups:
- destinations:
- string
disable: false
name: string
sources:
- string
testConfigurations:
- string
ConnectionMonitor Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ConnectionMonitor resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectionMonitor resource produces the following output properties:
- AzureApiVersion
string
- The Azure API version of the resource.
- ConnectionMonitorType
string
- Type of connection monitor.
- Etag
string
- A unique read-only string that changes whenever the resource is updated.
- Id
string
- The provider-assigned unique ID for this managed resource.
- MonitoringStatus
string
- The monitoring status of the connection monitor.
- Name
string
- Name of the connection monitor.
- ProvisioningState
string
- The provisioning state of the connection monitor.
- StartTime
string
- The date and time when the connection monitor was started.
- Type
string
- Connection monitor type.
- AzureApiVersion
string
- The Azure API version of the resource.
- ConnectionMonitorType
string
- Type of connection monitor.
- Etag
string
- A unique read-only string that changes whenever the resource is updated.
- Id
string
- The provider-assigned unique ID for this managed resource.
- MonitoringStatus
string
- The monitoring status of the connection monitor.
- Name
string
- Name of the connection monitor.
- ProvisioningState
string
- The provisioning state of the connection monitor.
- StartTime
string
- The date and time when the connection monitor was started.
- Type
string
- Connection monitor type.
- azure_api_version
string
- The Azure API version of the resource.
- connection_monitor_type
string
- Type of connection monitor.
- etag
string
- A unique read-only string that changes whenever the resource is updated.
- id
string
- The provider-assigned unique ID for this managed resource.
- monitoring_status
string
- The monitoring status of the connection monitor.
- name
string
- Name of the connection monitor.
- provisioning_state
string
- The provisioning state of the connection monitor.
- start_time
string
- The date and time when the connection monitor was started.
- type
string
- Connection monitor type.
- azureApiVersion
String
- The Azure API version of the resource.
- connectionMonitorType
String
- Type of connection monitor.
- etag
String
- A unique read-only string that changes whenever the resource is updated.
- id
String
- The provider-assigned unique ID for this managed resource.
- monitoringStatus
String
- The monitoring status of the connection monitor.
- name
String
- Name of the connection monitor.
- provisioningState
String
- The provisioning state of the connection monitor.
- startTime
String
- The date and time when the connection monitor was started.
- type
String
- Connection monitor type.
- azureApiVersion
string
- The Azure API version of the resource.
- connectionMonitorType
string
- Type of connection monitor.
- etag
string
- A unique read-only string that changes whenever the resource is updated.
- id
string
- The provider-assigned unique ID for this managed resource.
- monitoringStatus
string
- The monitoring status of the connection monitor.
- name
string
- Name of the connection monitor.
- provisioningState
string
- The provisioning state of the connection monitor.
- startTime
string
- The date and time when the connection monitor was started.
- type
string
- Connection monitor type.
- azure_api_version
str
- The Azure API version of the resource.
- connection_monitor_type
str
- Type of connection monitor.
- etag
str
- A unique read-only string that changes whenever the resource is updated.
- id
str
- The provider-assigned unique ID for this managed resource.
- monitoring_status
str
- The monitoring status of the connection monitor.
- name
str
- Name of the connection monitor.
- provisioning_state
str
- The provisioning state of the connection monitor.
- start_time
str
- The date and time when the connection monitor was started.
- type
str
- Connection monitor type.
- azureApiVersion
String
- The Azure API version of the resource.
- connectionMonitorType
String
- Type of connection monitor.
- etag
String
- A unique read-only string that changes whenever the resource is updated.
- id
String
- The provider-assigned unique ID for this managed resource.
- monitoringStatus
String
- The monitoring status of the connection monitor.
- name
String
- Name of the connection monitor.
- provisioningState
String
- The provisioning state of the connection monitor.
- startTime
String
- The date and time when the connection monitor was started.
- type
String
- Connection monitor type.
Look up Existing ConnectionMonitor Resource
Get an existing ConnectionMonitor resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
func GetConnectionMonitor(ctx *Context, name string, id IDInput, state *ConnectionMonitorState, opts ...ResourceOption) (*ConnectionMonitor, error)
public static ConnectionMonitor get(String name, Output<String> id, CustomResourceOptions options)
resources: existingConnectionMonitor: type: azure-native:network:ConnectionMonitor get: id: ${id}
import {
to = azure-native_network_connection_monitor.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
ConnectionMonitorState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
ConnectionMonitorDestination, ConnectionMonitorDestinationArgs
Describes the destination of connection monitor.
- Address
string
- Address of the connection monitor destination (IP or domain name).
- Port
int
- The destination port used by connection monitor.
- ResourceId
string
- The ID of the resource used as the destination by connection monitor.
- Address
string
- Address of the connection monitor destination (IP or domain name).
- Port
int
- The destination port used by connection monitor.
- ResourceId
string
- The ID of the resource used as the destination by connection monitor.
- address
string
- Address of the connection monitor destination (IP or domain name).
- port
number
- The destination port used by connection monitor.
- resource_id
string
- The ID of the resource used as the destination by connection monitor.
- address
String
- Address of the connection monitor destination (IP or domain name).
- port
Integer
- The destination port used by connection monitor.
- resourceId
String
- The ID of the resource used as the destination by connection monitor.
- address
string
- Address of the connection monitor destination (IP or domain name).
- port
number
- The destination port used by connection monitor.
- resourceId
string
- The ID of the resource used as the destination by connection monitor.
- address
str
- Address of the connection monitor destination (IP or domain name).
- port
int
- The destination port used by connection monitor.
- resource_id
str
- The ID of the resource used as the destination by connection monitor.
- address
String
- Address of the connection monitor destination (IP or domain name).
- port
Number
- The destination port used by connection monitor.
- resourceId
String
- The ID of the resource used as the destination by connection monitor.
ConnectionMonitorDestinationResponse
Describes the destination of connection monitor.
- Address
string
- Address of the connection monitor destination (IP or domain name).
- Port
int
- The destination port used by connection monitor.
- ResourceId
string
- The ID of the resource used as the destination by connection monitor.
- Address
string
- Address of the connection monitor destination (IP or domain name).
- Port
int
- The destination port used by connection monitor.
- ResourceId
string
- The ID of the resource used as the destination by connection monitor.
- address
string
- Address of the connection monitor destination (IP or domain name).
- port
number
- The destination port used by connection monitor.
- resource_id
string
- The ID of the resource used as the destination by connection monitor.
- address
String
- Address of the connection monitor destination (IP or domain name).
- port
Integer
- The destination port used by connection monitor.
- resourceId
String
- The ID of the resource used as the destination by connection monitor.
- address
string
- Address of the connection monitor destination (IP or domain name).
- port
number
- The destination port used by connection monitor.
- resourceId
string
- The ID of the resource used as the destination by connection monitor.
- address
str
- Address of the connection monitor destination (IP or domain name).
- port
int
- The destination port used by connection monitor.
- resource_id
str
- The ID of the resource used as the destination by connection monitor.
- address
String
- Address of the connection monitor destination (IP or domain name).
- port
Number
- The destination port used by connection monitor.
- resourceId
String
- The ID of the resource used as the destination by connection monitor.
ConnectionMonitorEndpoint, ConnectionMonitorEndpointArgs
Describes the connection monitor endpoint.
- Name
string
- The name of the connection monitor endpoint.
- Address
string
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- CoverageLevel
string | Pulumi.AzureNative.Network.CoverageLevel
- Test coverage for the endpoint.
- Filter
Pulumi.AzureNative.Network.Inputs.ConnectionMonitorEndpointFilter
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- LocationDetails
Pulumi.AzureNative.Network.Inputs.ConnectionMonitorEndpointLocationDetails
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- ResourceId
string
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- Scope
Pulumi.AzureNative.Network.Inputs.ConnectionMonitorEndpointScope
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- SubscriptionId
string
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- Type
string | Pulumi.AzureNative.Network.EndpointType
- The endpoint type.
- Name
string
- The name of the connection monitor endpoint.
- Address
string
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- CoverageLevel
string | CoverageLevel
- Test coverage for the endpoint.
- Filter
ConnectionMonitorEndpointFilter
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- LocationDetails
ConnectionMonitorEndpointLocationDetails
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- ResourceId
string
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- Scope
ConnectionMonitorEndpointScope
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- SubscriptionId
string
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- Type
string | EndpointType
- The endpoint type.
- name
string
- The name of the connection monitor endpoint.
- address
string
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- coverage_level
string | "Default" | "Low" | "BelowAverage" | "Average" | "AboveAverage" | "Full"
- Test coverage for the endpoint.
- filter
object
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- location_details
object
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- resource_id
string
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- scope
object
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- subscription_id
string
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- type
string | "AzureVM" | "AzureVNet" | "AzureSubnet" | "ExternalAddress" | "MMAWorkspaceMachine" | "MMAWorkspaceNetwork" | "AzureArcVM" | "AzureVMSS" | "AzureArcNetwork"
- The endpoint type.
- name
String
- The name of the connection monitor endpoint.
- address
String
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- coverageLevel
String | CoverageLevel
- Test coverage for the endpoint.
- filter
ConnectionMonitorEndpointFilter
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- locationDetails
ConnectionMonitorEndpointLocationDetails
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- resourceId
String
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- scope
ConnectionMonitorEndpointScope
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- subscriptionId
String
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- type
String | EndpointType
- The endpoint type.
- name
string
- The name of the connection monitor endpoint.
- address
string
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- coverageLevel
string | CoverageLevel
- Test coverage for the endpoint.
- filter
ConnectionMonitorEndpointFilter
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- locationDetails
ConnectionMonitorEndpointLocationDetails
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- resourceId
string
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- scope
ConnectionMonitorEndpointScope
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- subscriptionId
string
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- type
string | EndpointType
- The endpoint type.
- name
str
- The name of the connection monitor endpoint.
- address
str
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- coverage_level
str | CoverageLevel
- Test coverage for the endpoint.
- filter
ConnectionMonitorEndpointFilter
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- location_details
ConnectionMonitorEndpointLocationDetails
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- resource_id
str
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- scope
ConnectionMonitorEndpointScope
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- subscription_id
str
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- type
str | EndpointType
- The endpoint type.
- name
String
- The name of the connection monitor endpoint.
- address
String
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- coverageLevel
String | "Default" | "Low" | "BelowAverage" | "Average" | "AboveAverage" | "Full"
- Test coverage for the endpoint.
- filter
Property Map
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- locationDetails
Property Map
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- resourceId
String
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- scope
Property Map
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- subscriptionId
String
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- type
String | "AzureVM" | "AzureVNet" | "AzureSubnet" | "ExternalAddress" | "MMAWorkspaceMachine" | "MMAWorkspaceNetwork" | "AzureArcVM" | "AzureVMSS" | "AzureArcNetwork"
- The endpoint type.
ConnectionMonitorEndpointFilter, ConnectionMonitorEndpointFilterArgs
Describes the connection monitor endpoint filter.
ConnectionMonitorEndpointFilterItem, ConnectionMonitorEndpointFilterItemArgs
Describes the connection monitor endpoint filter item.
- address
string
- The address of the filter item.
- type
string | "AgentAddress"
- The type of item included in the filter. Currently only 'AgentAddress' is supported.
- address
String
- The address of the filter item.
- type
String | "AgentAddress"
- The type of item included in the filter. Currently only 'AgentAddress' is supported.
ConnectionMonitorEndpointFilterItemResponse
Describes the connection monitor endpoint filter item.
- Address
string
- The address of the filter item.
- Type
string
- The type of item included in the filter. Currently only 'AgentAddress' is supported.
- Address
string
- The address of the filter item.
- Type
string
- The type of item included in the filter. Currently only 'AgentAddress' is supported.
- address
string
- The address of the filter item.
- type
string
- The type of item included in the filter. Currently only 'AgentAddress' is supported.
- address
String
- The address of the filter item.
- type
String
- The type of item included in the filter. Currently only 'AgentAddress' is supported.
- address
string
- The address of the filter item.
- type
string
- The type of item included in the filter. Currently only 'AgentAddress' is supported.
- address
str
- The address of the filter item.
- type
str
- The type of item included in the filter. Currently only 'AgentAddress' is supported.
- address
String
- The address of the filter item.
- type
String
- The type of item included in the filter. Currently only 'AgentAddress' is supported.
ConnectionMonitorEndpointFilterItemType
The type of item included in the filter. Currently only 'AgentAddress' is supported.
| Name | Value |
|---|
| AgentAddress | AgentAddress |
| Name | Value |
|---|
| ConnectionMonitorEndpointFilterItemTypeAgentAddress | AgentAddress |
| Name | Value |
|---|
| AgentAddress | AgentAddress |
| Name | Value |
|---|
| AgentAddress | AgentAddress |
| Name | Value |
|---|
| AGENT_ADDRESS | AgentAddress |
ConnectionMonitorEndpointFilterResponse
Describes the connection monitor endpoint filter.
- items
list(object)
- List of items in the filter.
- type
string
- The behavior of the endpoint filter. Currently only 'Include' is supported.
- items
List<Property Map>
- List of items in the filter.
- type
String
- The behavior of the endpoint filter. Currently only 'Include' is supported.
ConnectionMonitorEndpointFilterType
The behavior of the endpoint filter. Currently only 'Include' is supported.
| Name | Value |
|---|
| ConnectionMonitorEndpointFilterTypeInclude | Include |
ConnectionMonitorEndpointLocationDetails, ConnectionMonitorEndpointLocationDetailsArgs
Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.
- Region
string
- Region for connection monitor endpoint.
- Region
string
- Region for connection monitor endpoint.
- region
string
- Region for connection monitor endpoint.
- region
String
- Region for connection monitor endpoint.
- region
string
- Region for connection monitor endpoint.
- region
str
- Region for connection monitor endpoint.
- region
String
- Region for connection monitor endpoint.
ConnectionMonitorEndpointLocationDetailsResponse
Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.
- Region
string
- Region for connection monitor endpoint.
- Region
string
- Region for connection monitor endpoint.
- region
string
- Region for connection monitor endpoint.
- region
String
- Region for connection monitor endpoint.
- region
string
- Region for connection monitor endpoint.
- region
str
- Region for connection monitor endpoint.
- region
String
- Region for connection monitor endpoint.
ConnectionMonitorEndpointResponse
Describes the connection monitor endpoint.
- Name
string
- The name of the connection monitor endpoint.
- Address
string
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- CoverageLevel
string
- Test coverage for the endpoint.
- Filter
Pulumi.AzureNative.Network.Inputs.ConnectionMonitorEndpointFilterResponse
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- LocationDetails
Pulumi.AzureNative.Network.Inputs.ConnectionMonitorEndpointLocationDetailsResponse
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- ResourceId
string
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- Scope
Pulumi.AzureNative.Network.Inputs.ConnectionMonitorEndpointScopeResponse
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- SubscriptionId
string
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- Type
string
- The endpoint type.
- Name
string
- The name of the connection monitor endpoint.
- Address
string
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- CoverageLevel
string
- Test coverage for the endpoint.
- Filter
ConnectionMonitorEndpointFilterResponse
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- LocationDetails
ConnectionMonitorEndpointLocationDetailsResponse
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- ResourceId
string
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- Scope
ConnectionMonitorEndpointScopeResponse
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- SubscriptionId
string
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- Type
string
- The endpoint type.
- name
string
- The name of the connection monitor endpoint.
- address
string
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- coverage_level
string
- Test coverage for the endpoint.
- filter
object
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- location_details
object
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- resource_id
string
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- scope
object
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- subscription_id
string
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- type
string
- The endpoint type.
- name
String
- The name of the connection monitor endpoint.
- address
String
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- coverageLevel
String
- Test coverage for the endpoint.
- filter
ConnectionMonitorEndpointFilterResponse
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- locationDetails
ConnectionMonitorEndpointLocationDetailsResponse
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- resourceId
String
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- scope
ConnectionMonitorEndpointScopeResponse
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- subscriptionId
String
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- type
String
- The endpoint type.
- name
string
- The name of the connection monitor endpoint.
- address
string
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- coverageLevel
string
- Test coverage for the endpoint.
- filter
ConnectionMonitorEndpointFilterResponse
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- locationDetails
ConnectionMonitorEndpointLocationDetailsResponse
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- resourceId
string
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- scope
ConnectionMonitorEndpointScopeResponse
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- subscriptionId
string
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- type
string
- The endpoint type.
- name
str
- The name of the connection monitor endpoint.
- address
str
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- coverage_level
str
- Test coverage for the endpoint.
- filter
ConnectionMonitorEndpointFilterResponse
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- location_details
ConnectionMonitorEndpointLocationDetailsResponse
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- resource_id
str
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- scope
ConnectionMonitorEndpointScopeResponse
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- subscription_id
str
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- type
str
- The endpoint type.
- name
String
- The name of the connection monitor endpoint.
- address
String
- Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type.
- coverageLevel
String
- Test coverage for the endpoint.
- filter
Property Map
- Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it.
- locationDetails
Property Map
- Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details.
- resourceId
String
- Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type.
- scope
Property Map
- Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork.
- subscriptionId
String
- Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint.
- type
String
- The endpoint type.
ConnectionMonitorEndpointScope, ConnectionMonitorEndpointScopeArgs
Describes the connection monitor endpoint scope.
ConnectionMonitorEndpointScopeItem, ConnectionMonitorEndpointScopeItemArgs
Describes the connection monitor endpoint scope item.
- Address
string
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- Address
string
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- address
string
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- address
String
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- address
string
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- address
str
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- address
String
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
ConnectionMonitorEndpointScopeItemResponse
Describes the connection monitor endpoint scope item.
- Address
string
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- Address
string
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- address
string
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- address
String
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- address
string
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- address
str
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
- address
String
- The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
ConnectionMonitorEndpointScopeResponse
Describes the connection monitor endpoint scope.
ConnectionMonitorHttpConfiguration, ConnectionMonitorHttpConfigurationArgs
Describes the HTTP configuration.
- Method
string | HTTPConfigurationMethod
- The HTTP method to use.
- Path
string
- The path component of the URI. For instance, "/dir1/dir2".
- Port
int
- The port to connect to.
- PreferHTTPS
bool
- Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-
[]HTTPHeader
- The HTTP headers to transmit with the request.
- ValidStatusCodeRanges
[]string
- HTTP status codes to consider successful. For instance, "2xx,301-304,418".
- method
string | "Get" | "Post"
- The HTTP method to use.
- path
string
- The path component of the URI. For instance, "/dir1/dir2".
- port
number
- The port to connect to.
- prefer_https
bool
- Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-
list(object)
- The HTTP headers to transmit with the request.
- valid_status_code_ranges
list(string)
- HTTP status codes to consider successful. For instance, "2xx,301-304,418".
- method
String | HTTPConfigurationMethod
- The HTTP method to use.
- path
String
- The path component of the URI. For instance, "/dir1/dir2".
- port
Integer
- The port to connect to.
- preferHTTPS
Boolean
- Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-
List<HTTPHeader>
- The HTTP headers to transmit with the request.
- validStatusCodeRanges
List<String>
- HTTP status codes to consider successful. For instance, "2xx,301-304,418".
- method
string | HTTPConfigurationMethod
- The HTTP method to use.
- path
string
- The path component of the URI. For instance, "/dir1/dir2".
- port
number
- The port to connect to.
- preferHTTPS
boolean
- Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-
HTTPHeader[]
- The HTTP headers to transmit with the request.
- validStatusCodeRanges
string[]
- HTTP status codes to consider successful. For instance, "2xx,301-304,418".
- method
String | "Get" | "Post"
- The HTTP method to use.
- path
String
- The path component of the URI. For instance, "/dir1/dir2".
- port
Number
- The port to connect to.
- preferHTTPS
Boolean
- Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-
List<Property Map>
- The HTTP headers to transmit with the request.
- validStatusCodeRanges
List<String>
- HTTP status codes to consider successful. For instance, "2xx,301-304,418".
ConnectionMonitorHttpConfigurationResponse
Describes the HTTP configuration.
- Method
string
- The HTTP method to use.
- Path
string
- The path component of the URI. For instance, "/dir1/dir2".
- Port
int
- The port to connect to.
- PreferHTTPS
bool
- Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-
[]HTTPHeaderResponse
- The HTTP headers to transmit with the request.
- ValidStatusCodeRanges
[]string
- HTTP status codes to consider successful. For instance, "2xx,301-304,418".
- method
string
- The HTTP method to use.
- path
string
- The path component of the URI. For instance, "/dir1/dir2".
- port
number
- The port to connect to.
- prefer_https
bool
- Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-
list(object)
- The HTTP headers to transmit with the request.
- valid_status_code_ranges
list(string)
- HTTP status codes to consider successful. For instance, "2xx,301-304,418".
- method
String
- The HTTP method to use.
- path
String
- The path component of the URI. For instance, "/dir1/dir2".
- port
Integer
- The port to connect to.
- preferHTTPS
Boolean
- Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-
List<HTTPHeaderResponse>
- The HTTP headers to transmit with the request.
- validStatusCodeRanges
List<String>
- HTTP status codes to consider successful. For instance, "2xx,301-304,418".
- method
string
- The HTTP method to use.
- path
string
- The path component of the URI. For instance, "/dir1/dir2".
- port
number
- The port to connect to.
- preferHTTPS
boolean
- Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-
HTTPHeaderResponse[]
- The HTTP headers to transmit with the request.
- validStatusCodeRanges
string[]
- HTTP status codes to consider successful. For instance, "2xx,301-304,418".
- method
str
- The HTTP method to use.
- path
str
- The path component of the URI. For instance, "/dir1/dir2".
- port
int
- The port to connect to.
- prefer_https
bool
- Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-
Sequence[HTTPHeaderResponse]
- The HTTP headers to transmit with the request.
- valid_status_code_ranges
Sequence[str]
- HTTP status codes to consider successful. For instance, "2xx,301-304,418".
- method
String
- The HTTP method to use.
- path
String
- The path component of the URI. For instance, "/dir1/dir2".
- port
Number
- The port to connect to.
- preferHTTPS
Boolean
- Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
-
List<Property Map>
- The HTTP headers to transmit with the request.
- validStatusCodeRanges
List<String>
- HTTP status codes to consider successful. For instance, "2xx,301-304,418".
ConnectionMonitorIcmpConfiguration, ConnectionMonitorIcmpConfigurationArgs
Describes the ICMP configuration.
- DisableTraceRoute
bool
- Value indicating whether path evaluation with trace route should be disabled.
- DisableTraceRoute
bool
- Value indicating whether path evaluation with trace route should be disabled.
- disable_trace_route
bool
- Value indicating whether path evaluation with trace route should be disabled.
- disableTraceRoute
Boolean
- Value indicating whether path evaluation with trace route should be disabled.
- disableTraceRoute
boolean
- Value indicating whether path evaluation with trace route should be disabled.
- disable_trace_route
bool
- Value indicating whether path evaluation with trace route should be disabled.
- disableTraceRoute
Boolean
- Value indicating whether path evaluation with trace route should be disabled.
ConnectionMonitorIcmpConfigurationResponse
Describes the ICMP configuration.
- DisableTraceRoute
bool
- Value indicating whether path evaluation with trace route should be disabled.
- DisableTraceRoute
bool
- Value indicating whether path evaluation with trace route should be disabled.
- disable_trace_route
bool
- Value indicating whether path evaluation with trace route should be disabled.
- disableTraceRoute
Boolean
- Value indicating whether path evaluation with trace route should be disabled.
- disableTraceRoute
boolean
- Value indicating whether path evaluation with trace route should be disabled.
- disable_trace_route
bool
- Value indicating whether path evaluation with trace route should be disabled.
- disableTraceRoute
Boolean
- Value indicating whether path evaluation with trace route should be disabled.
ConnectionMonitorOutput, ConnectionMonitorOutputArgs
Describes a connection monitor output destination.
- type
string | "Workspace"
- Connection monitor output destination type. Currently, only "Workspace" is supported.
- workspace_settings
object
- Describes the settings for producing output into a log analytics workspace.
ConnectionMonitorOutputResponse
Describes a connection monitor output destination.
- type
string
- Connection monitor output destination type. Currently, only "Workspace" is supported.
- workspace_settings
object
- Describes the settings for producing output into a log analytics workspace.
- type
String
- Connection monitor output destination type. Currently, only "Workspace" is supported.
- workspaceSettings
Property Map
- Describes the settings for producing output into a log analytics workspace.
ConnectionMonitorSource, ConnectionMonitorSourceArgs
Describes the source of connection monitor.
- ResourceId
string
- The ID of the resource used as the source by connection monitor.
- Port
int
- The source port used by connection monitor.
- ResourceId
string
- The ID of the resource used as the source by connection monitor.
- Port
int
- The source port used by connection monitor.
- resource_id
string
- The ID of the resource used as the source by connection monitor.
- port
number
- The source port used by connection monitor.
- resourceId
String
- The ID of the resource used as the source by connection monitor.
- port
Integer
- The source port used by connection monitor.
- resourceId
string
- The ID of the resource used as the source by connection monitor.
- port
number
- The source port used by connection monitor.
- resource_id
str
- The ID of the resource used as the source by connection monitor.
- port
int
- The source port used by connection monitor.
- resourceId
String
- The ID of the resource used as the source by connection monitor.
- port
Number
- The source port used by connection monitor.
ConnectionMonitorSourceResponse
Describes the source of connection monitor.
- ResourceId
string
- The ID of the resource used as the source by connection monitor.
- Port
int
- The source port used by connection monitor.
- ResourceId
string
- The ID of the resource used as the source by connection monitor.
- Port
int
- The source port used by connection monitor.
- resource_id
string
- The ID of the resource used as the source by connection monitor.
- port
number
- The source port used by connection monitor.
- resourceId
String
- The ID of the resource used as the source by connection monitor.
- port
Integer
- The source port used by connection monitor.
- resourceId
string
- The ID of the resource used as the source by connection monitor.
- port
number
- The source port used by connection monitor.
- resource_id
str
- The ID of the resource used as the source by connection monitor.
- port
int
- The source port used by connection monitor.
- resourceId
String
- The ID of the resource used as the source by connection monitor.
- port
Number
- The source port used by connection monitor.
ConnectionMonitorSuccessThreshold, ConnectionMonitorSuccessThresholdArgs
Describes the threshold for declaring a test successful.
- ChecksFailedPercent
int
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- RoundTripTimeMs
double
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- ChecksFailedPercent
int
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- RoundTripTimeMs
float64
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- checks_failed_percent
number
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- round_trip_time_ms
number
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- checksFailedPercent
Integer
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- roundTripTimeMs
Double
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- checksFailedPercent
number
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- roundTripTimeMs
number
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- checks_failed_percent
int
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- round_trip_time_ms
float
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- checksFailedPercent
Number
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- roundTripTimeMs
Number
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
ConnectionMonitorSuccessThresholdResponse
Describes the threshold for declaring a test successful.
- ChecksFailedPercent
int
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- RoundTripTimeMs
double
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- ChecksFailedPercent
int
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- RoundTripTimeMs
float64
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- checks_failed_percent
number
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- round_trip_time_ms
number
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- checksFailedPercent
Integer
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- roundTripTimeMs
Double
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- checksFailedPercent
number
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- roundTripTimeMs
number
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- checks_failed_percent
int
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- round_trip_time_ms
float
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
- checksFailedPercent
Number
- The maximum percentage of failed checks permitted for a test to evaluate as successful.
- roundTripTimeMs
Number
- The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
ConnectionMonitorTcpConfiguration, ConnectionMonitorTcpConfigurationArgs
Describes the TCP configuration.
ConnectionMonitorTcpConfigurationResponse
Describes the TCP configuration.
ConnectionMonitorTestConfiguration, ConnectionMonitorTestConfigurationArgs
Describes a connection monitor test configuration.
ConnectionMonitorTestConfigurationProtocol
The protocol to use in test evaluation.
| Name | Value |
|---|
| Tcp | Tcp |
| Http | Http |
| Icmp | Icmp |
| Name | Value |
|---|
| ConnectionMonitorTestConfigurationProtocolTcp | Tcp |
| ConnectionMonitorTestConfigurationProtocolHttp | Http |
| ConnectionMonitorTestConfigurationProtocolIcmp | Icmp |
| Name | Value |
|---|
| Tcp | Tcp |
| Http | Http |
| Icmp | Icmp |
| Name | Value |
|---|
| Tcp | Tcp |
| Http | Http |
| Icmp | Icmp |
| Name | Value |
|---|
| TCP | Tcp |
| HTTP | Http |
| ICMP | Icmp |
ConnectionMonitorTestConfigurationResponse
Describes a connection monitor test configuration.
ConnectionMonitorTestGroup, ConnectionMonitorTestGroupArgs
Describes the connection monitor test group.
- Destinations
List<string>
- List of destination endpoint names.
- Name
string
- The name of the connection monitor test group.
- Sources
List<string>
- List of source endpoint names.
- TestConfigurations
List<string>
- List of test configuration names.
- Disable
bool
- Value indicating whether test group is disabled.
- Destinations
[]string
- List of destination endpoint names.
- Name
string
- The name of the connection monitor test group.
- Sources
[]string
- List of source endpoint names.
- TestConfigurations
[]string
- List of test configuration names.
- Disable
bool
- Value indicating whether test group is disabled.
- destinations
list(string)
- List of destination endpoint names.
- name
string
- The name of the connection monitor test group.
- sources
list(string)
- List of source endpoint names.
- test_configurations
list(string)
- List of test configuration names.
- disable
bool
- Value indicating whether test group is disabled.
- destinations
List<String>
- List of destination endpoint names.
- name
String
- The name of the connection monitor test group.
- sources
List<String>
- List of source endpoint names.
- testConfigurations
List<String>
- List of test configuration names.
- disable
Boolean
- Value indicating whether test group is disabled.
- destinations
string[]
- List of destination endpoint names.
- name
string
- The name of the connection monitor test group.
- sources
string[]
- List of source endpoint names.
- testConfigurations
string[]
- List of test configuration names.
- disable
boolean
- Value indicating whether test group is disabled.
- destinations
Sequence[str]
- List of destination endpoint names.
- name
str
- The name of the connection monitor test group.
- sources
Sequence[str]
- List of source endpoint names.
- test_configurations
Sequence[str]
- List of test configuration names.
- disable
bool
- Value indicating whether test group is disabled.
- destinations
List<String>
- List of destination endpoint names.
- name
String
- The name of the connection monitor test group.
- sources
List<String>
- List of source endpoint names.
- testConfigurations
List<String>
- List of test configuration names.
- disable
Boolean
- Value indicating whether test group is disabled.
ConnectionMonitorTestGroupResponse
Describes the connection monitor test group.
- Destinations
List<string>
- List of destination endpoint names.
- Name
string
- The name of the connection monitor test group.
- Sources
List<string>
- List of source endpoint names.
- TestConfigurations
List<string>
- List of test configuration names.
- Disable
bool
- Value indicating whether test group is disabled.
- Destinations
[]string
- List of destination endpoint names.
- Name
string
- The name of the connection monitor test group.
- Sources
[]string
- List of source endpoint names.
- TestConfigurations
[]string
- List of test configuration names.
- Disable
bool
- Value indicating whether test group is disabled.
- destinations
list(string)
- List of destination endpoint names.
- name
string
- The name of the connection monitor test group.
- sources
list(string)
- List of source endpoint names.
- test_configurations
list(string)
- List of test configuration names.
- disable
bool
- Value indicating whether test group is disabled.
- destinations
List<String>
- List of destination endpoint names.
- name
String
- The name of the connection monitor test group.
- sources
List<String>
- List of source endpoint names.
- testConfigurations
List<String>
- List of test configuration names.
- disable
Boolean
- Value indicating whether test group is disabled.
- destinations
string[]
- List of destination endpoint names.
- name
string
- The name of the connection monitor test group.
- sources
string[]
- List of source endpoint names.
- testConfigurations
string[]
- List of test configuration names.
- disable
boolean
- Value indicating whether test group is disabled.
- destinations
Sequence[str]
- List of destination endpoint names.
- name
str
- The name of the connection monitor test group.
- sources
Sequence[str]
- List of source endpoint names.
- test_configurations
Sequence[str]
- List of test configuration names.
- disable
bool
- Value indicating whether test group is disabled.
- destinations
List<String>
- List of destination endpoint names.
- name
String
- The name of the connection monitor test group.
- sources
List<String>
- List of source endpoint names.
- testConfigurations
List<String>
- List of test configuration names.
- disable
Boolean
- Value indicating whether test group is disabled.
ConnectionMonitorWorkspaceSettings, ConnectionMonitorWorkspaceSettingsArgs
Describes the settings for producing output into a log analytics workspace.
ConnectionMonitorWorkspaceSettingsResponse
Describes the settings for producing output into a log analytics workspace.
CoverageLevel
Test coverage for the endpoint.
| Name | Value |
|---|
| Default | Default |
| Low | Low |
| BelowAverage | BelowAverage |
| Average | Average |
| AboveAverage | AboveAverage |
| Full | Full |
| Name | Value |
|---|
| CoverageLevelDefault | Default |
| CoverageLevelLow | Low |
| CoverageLevelBelowAverage | BelowAverage |
| CoverageLevelAverage | Average |
| CoverageLevelAboveAverage | AboveAverage |
| CoverageLevelFull | Full |
| Value |
|---|
Default |
Low |
BelowAverage |
Average |
AboveAverage |
Full |
| Name | Value |
|---|
| Default | Default |
| Low | Low |
| BelowAverage | BelowAverage |
| Average | Average |
| AboveAverage | AboveAverage |
| Full | Full |
| Name | Value |
|---|
| Default | Default |
| Low | Low |
| BelowAverage | BelowAverage |
| Average | Average |
| AboveAverage | AboveAverage |
| Full | Full |
| Name | Value |
|---|
| DEFAULT | Default |
| LOW | Low |
| BELOW_AVERAGE | BelowAverage |
| AVERAGE | Average |
| ABOVE_AVERAGE | AboveAverage |
| FULL | Full |
| Value |
|---|
Default |
Low |
BelowAverage |
Average |
AboveAverage |
Full |
DestinationPortBehavior
Destination port behavior.
| Name | Value |
|---|
| None | None |
| ListenIfAvailable | ListenIfAvailable |
| Name | Value |
|---|
| DestinationPortBehaviorNone | None |
| DestinationPortBehaviorListenIfAvailable | ListenIfAvailable |
| Value |
|---|
None |
ListenIfAvailable |
| Name | Value |
|---|
| None | None |
| ListenIfAvailable | ListenIfAvailable |
| Name | Value |
|---|
| None | None |
| ListenIfAvailable | ListenIfAvailable |
| Name | Value |
|---|
| NONE | None |
| LISTEN_IF_AVAILABLE | ListenIfAvailable |
| Value |
|---|
None |
ListenIfAvailable |
EndpointType
The endpoint type.
| Name | Value |
|---|
| AzureVM | AzureVM |
| AzureVNet | AzureVNet |
| AzureSubnet | AzureSubnet |
| ExternalAddress | ExternalAddress |
| MMAWorkspaceMachine | MMAWorkspaceMachine |
| MMAWorkspaceNetwork | MMAWorkspaceNetwork |
| AzureArcVM | AzureArcVM |
| AzureVMSS | AzureVMSS |
| AzureArcNetwork | AzureArcNetwork |
| Name | Value |
|---|
| EndpointTypeAzureVM | AzureVM |
| EndpointTypeAzureVNet | AzureVNet |
| EndpointTypeAzureSubnet | AzureSubnet |
| EndpointTypeExternalAddress | ExternalAddress |
| EndpointTypeMMAWorkspaceMachine | MMAWorkspaceMachine |
| EndpointTypeMMAWorkspaceNetwork | MMAWorkspaceNetwork |
| EndpointTypeAzureArcVM | AzureArcVM |
| EndpointTypeAzureVMSS | AzureVMSS |
| EndpointTypeAzureArcNetwork | AzureArcNetwork |
| Value |
|---|
AzureVM |
AzureVNet |
AzureSubnet |
ExternalAddress |
MMAWorkspaceMachine |
MMAWorkspaceNetwork |
AzureArcVM |
AzureVMSS |
AzureArcNetwork |
| Name | Value |
|---|
| AzureVM | AzureVM |
| AzureVNet | AzureVNet |
| AzureSubnet | AzureSubnet |
| ExternalAddress | ExternalAddress |
| MMAWorkspaceMachine | MMAWorkspaceMachine |
| MMAWorkspaceNetwork | MMAWorkspaceNetwork |
| AzureArcVM | AzureArcVM |
| AzureVMSS | AzureVMSS |
| AzureArcNetwork | AzureArcNetwork |
| Name | Value |
|---|
| AzureVM | AzureVM |
| AzureVNet | AzureVNet |
| AzureSubnet | AzureSubnet |
| ExternalAddress | ExternalAddress |
| MMAWorkspaceMachine | MMAWorkspaceMachine |
| MMAWorkspaceNetwork | MMAWorkspaceNetwork |
| AzureArcVM | AzureArcVM |
| AzureVMSS | AzureVMSS |
| AzureArcNetwork | AzureArcNetwork |
| Name | Value |
|---|
| AZURE_VM | AzureVM |
| AZURE_V_NET | AzureVNet |
| AZURE_SUBNET | AzureSubnet |
| EXTERNAL_ADDRESS | ExternalAddress |
| MMA_WORKSPACE_MACHINE | MMAWorkspaceMachine |
| MMA_WORKSPACE_NETWORK | MMAWorkspaceNetwork |
| AZURE_ARC_VM | AzureArcVM |
| AZURE_VMSS | AzureVMSS |
| AZURE_ARC_NETWORK | AzureArcNetwork |
| Value |
|---|
AzureVM |
AzureVNet |
AzureSubnet |
ExternalAddress |
MMAWorkspaceMachine |
MMAWorkspaceNetwork |
AzureArcVM |
AzureVMSS |
AzureArcNetwork |
HTTPConfigurationMethod
The HTTP method to use.
| Name | Value |
|---|
| HTTPConfigurationMethodGet | Get |
| HTTPConfigurationMethodPost | Post |
The HTTP header.
- Name
string
- The name in HTTP header.
- Value
string
- The value in HTTP header.
- Name
string
- The name in HTTP header.
- Value
string
- The value in HTTP header.
- name
string
- The name in HTTP header.
- value
string
- The value in HTTP header.
- name
String
- The name in HTTP header.
- value
String
- The value in HTTP header.
- name
string
- The name in HTTP header.
- value
string
- The value in HTTP header.
- name
str
- The name in HTTP header.
- value
str
- The value in HTTP header.
- name
String
- The name in HTTP header.
- value
String
- The value in HTTP header.
The HTTP header.
- Name
string
- The name in HTTP header.
- Value
string
- The value in HTTP header.
- Name
string
- The name in HTTP header.
- Value
string
- The value in HTTP header.
- name
string
- The name in HTTP header.
- value
string
- The value in HTTP header.
- name
String
- The name in HTTP header.
- value
String
- The value in HTTP header.
- name
string
- The name in HTTP header.
- value
string
- The value in HTTP header.
- name
str
- The name in HTTP header.
- value
str
- The value in HTTP header.
- name
String
- The name in HTTP header.
- value
String
- The value in HTTP header.
OutputType
Connection monitor output destination type. Currently, only "Workspace" is supported.
| Name | Value |
|---|
| Workspace | Workspace |
| Name | Value |
|---|
| OutputTypeWorkspace | Workspace |
| Name | Value |
|---|
| Workspace | Workspace |
| Name | Value |
|---|
| Workspace | Workspace |
| Name | Value |
|---|
| WORKSPACE | Workspace |
PreferredIPVersion
The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.
| Name | Value |
|---|
| IPv4 | IPv4 |
| IPv6 | IPv6 |
| Name | Value |
|---|
| PreferredIPVersionIPv4 | IPv4 |
| PreferredIPVersionIPv6 | IPv6 |
| Name | Value |
|---|
| IPv4 | IPv4 |
| IPv6 | IPv6 |
| Name | Value |
|---|
| IPv4 | IPv4 |
| IPv6 | IPv6 |
| Name | Value |
|---|
| I_PV4 | IPv4 |
| I_PV6 | IPv6 |
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:ConnectionMonitor cm1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0