Class NetworkConnectionMonitor
Configures a Network Connection Monitor to monitor communication between a Virtual Machine and an endpoint using a Network Watcher.
Inherited Members
Namespace: Pulumi.Azure.Network
Assembly: Pulumi.Azure.dll
Syntax
public class NetworkConnectionMonitor : CustomResource
Constructors
View SourceNetworkConnectionMonitor(String, NetworkConnectionMonitorArgs, CustomResourceOptions)
Create a NetworkConnectionMonitor resource with the given unique name, arguments, and options.
Declaration
public NetworkConnectionMonitor(string name, NetworkConnectionMonitorArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| NetworkConnectionMonitorArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAutoStart
Specifies whether the connection monitor will start automatically once created. Defaults to true. Changing this forces a new resource to be created.
Declaration
public Output<bool?> AutoStart { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Destination
A destination block as defined below.
Declaration
public Output<NetworkConnectionMonitorDestination> Destination { get; }
Property Value
| Type | Description |
|---|---|
| Output<NetworkConnectionMonitorDestination> |
IntervalInSeconds
Monitoring interval in seconds. Defaults to 60.
Declaration
public Output<int?> IntervalInSeconds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Location
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the Network Connection Monitor. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NetworkWatcherName
The name of the Network Watcher. Changing this forces a new resource to be created.
Declaration
public Output<string> NetworkWatcherName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group in which to create the Connection Monitor. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Source
A source block as defined below.
Declaration
public Output<NetworkConnectionMonitorSource> Source { get; }
Property Value
| Type | Description |
|---|---|
| Output<NetworkConnectionMonitorSource> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Methods
View SourceGet(String, Input<String>, NetworkConnectionMonitorState, CustomResourceOptions)
Get an existing NetworkConnectionMonitor resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static NetworkConnectionMonitor Get(string name, Input<string> id, NetworkConnectionMonitorState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| NetworkConnectionMonitorState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| NetworkConnectionMonitor |