NetworkConnectionMonitor
Configures a Network Connection Monitor to monitor communication between a Virtual Machine and an endpoint using a Network Watcher.
Create a NetworkConnectionMonitor Resource
new NetworkConnectionMonitor(name: string, args: NetworkConnectionMonitorArgs, opts?: CustomResourceOptions);def NetworkConnectionMonitor(resource_name, opts=None, auto_start=None, destination=None, interval_in_seconds=None, location=None, name=None, network_watcher_name=None, resource_group_name=None, source=None, tags=None, __props__=None);func NewNetworkConnectionMonitor(ctx *Context, name string, args NetworkConnectionMonitorArgs, opts ...ResourceOption) (*NetworkConnectionMonitor, error)public NetworkConnectionMonitor(string name, NetworkConnectionMonitorArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args NetworkConnectionMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NetworkConnectionMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkConnectionMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
NetworkConnectionMonitor Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The NetworkConnectionMonitor resource accepts the following input properties:
- Destination
Network
Connection Monitor Destination Args A
destinationblock as defined below.- Network
Watcher stringName The name of the Network Watcher. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which to create the Connection Monitor. Changing this forces a new resource to be created.
- Source
Network
Connection Monitor Source Args A
sourceblock as defined below.- Auto
Start bool Specifies whether the connection monitor will start automatically once created. Defaults to
true. Changing this forces a new resource to be created.- Interval
In intSeconds Monitoring interval in seconds. Defaults to
60.- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
The name of the Network Connection Monitor. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Destination
Network
Connection Monitor Destination A
destinationblock as defined below.- Network
Watcher stringName The name of the Network Watcher. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which to create the Connection Monitor. Changing this forces a new resource to be created.
- Source
Network
Connection Monitor Source A
sourceblock as defined below.- Auto
Start bool Specifies whether the connection monitor will start automatically once created. Defaults to
true. Changing this forces a new resource to be created.- Interval
In intSeconds Monitoring interval in seconds. Defaults to
60.- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
The name of the Network Connection Monitor. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the resource.
- destination
Network
Connection Monitor Destination A
destinationblock as defined below.- network
Watcher stringName The name of the Network Watcher. Changing this forces a new resource to be created.
- resource
Group stringName The name of the resource group in which to create the Connection Monitor. Changing this forces a new resource to be created.
- source
Network
Connection Monitor Source A
sourceblock as defined below.- auto
Start boolean Specifies whether the connection monitor will start automatically once created. Defaults to
true. Changing this forces a new resource to be created.- interval
In numberSeconds Monitoring interval in seconds. Defaults to
60.- location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
The name of the Network Connection Monitor. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- destination
Dict[Network
Connection Monitor Destination] A
destinationblock as defined below.- network_
watcher_ strname The name of the Network Watcher. Changing this forces a new resource to be created.
- resource_
group_ strname The name of the resource group in which to create the Connection Monitor. Changing this forces a new resource to be created.
- source
Dict[Network
Connection Monitor Source] A
sourceblock as defined below.- auto_
start bool Specifies whether the connection monitor will start automatically once created. Defaults to
true. Changing this forces a new resource to be created.- interval_
in_ floatseconds Monitoring interval in seconds. Defaults to
60.- location str
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
The name of the Network Connection Monitor. Changing this forces a new resource to be created.
- Dict[str, str]
A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkConnectionMonitor resource produces the following output properties:
Look up an Existing NetworkConnectionMonitor Resource
Get an existing NetworkConnectionMonitor resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NetworkConnectionMonitorState, opts?: CustomResourceOptions): NetworkConnectionMonitorstatic get(resource_name, id, opts=None, auto_start=None, destination=None, interval_in_seconds=None, location=None, name=None, network_watcher_name=None, resource_group_name=None, source=None, tags=None, __props__=None);func GetNetworkConnectionMonitor(ctx *Context, name string, id IDInput, state *NetworkConnectionMonitorState, opts ...ResourceOption) (*NetworkConnectionMonitor, error)public static NetworkConnectionMonitor Get(string name, Input<string> id, NetworkConnectionMonitorState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Auto
Start bool Specifies whether the connection monitor will start automatically once created. Defaults to
true. Changing this forces a new resource to be created.- Destination
Network
Connection Monitor Destination Args A
destinationblock as defined below.- Interval
In intSeconds Monitoring interval in seconds. Defaults to
60.- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
The name of the Network Connection Monitor. Changing this forces a new resource to be created.
- Network
Watcher stringName The name of the Network Watcher. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which to create the Connection Monitor. Changing this forces a new resource to be created.
- Source
Network
Connection Monitor Source Args A
sourceblock as defined below.- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Auto
Start bool Specifies whether the connection monitor will start automatically once created. Defaults to
true. Changing this forces a new resource to be created.- Destination
Network
Connection Monitor Destination A
destinationblock as defined below.- Interval
In intSeconds Monitoring interval in seconds. Defaults to
60.- Location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
The name of the Network Connection Monitor. Changing this forces a new resource to be created.
- Network
Watcher stringName The name of the Network Watcher. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which to create the Connection Monitor. Changing this forces a new resource to be created.
- Source
Network
Connection Monitor Source A
sourceblock as defined below.- map[string]string
A mapping of tags to assign to the resource.
- auto
Start boolean Specifies whether the connection monitor will start automatically once created. Defaults to
true. Changing this forces a new resource to be created.- destination
Network
Connection Monitor Destination A
destinationblock as defined below.- interval
In numberSeconds Monitoring interval in seconds. Defaults to
60.- location string
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
The name of the Network Connection Monitor. Changing this forces a new resource to be created.
- network
Watcher stringName The name of the Network Watcher. Changing this forces a new resource to be created.
- resource
Group stringName The name of the resource group in which to create the Connection Monitor. Changing this forces a new resource to be created.
- source
Network
Connection Monitor Source A
sourceblock as defined below.- {[key: string]: string}
A mapping of tags to assign to the resource.
- auto_
start bool Specifies whether the connection monitor will start automatically once created. Defaults to
true. Changing this forces a new resource to be created.- destination
Dict[Network
Connection Monitor Destination] A
destinationblock as defined below.- interval_
in_ floatseconds Monitoring interval in seconds. Defaults to
60.- location str
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
The name of the Network Connection Monitor. Changing this forces a new resource to be created.
- network_
watcher_ strname The name of the Network Watcher. Changing this forces a new resource to be created.
- resource_
group_ strname The name of the resource group in which to create the Connection Monitor. Changing this forces a new resource to be created.
- source
Dict[Network
Connection Monitor Source] A
sourceblock as defined below.- Dict[str, str]
A mapping of tags to assign to the resource.
Supporting Types
NetworkConnectionMonitorDestination
NetworkConnectionMonitorSource
- Virtual
Machine stringId The ID of the Virtual Machine to monitor connectivity to.
- Port int
The port on the destination to monitor connectivity to.
- Virtual
Machine stringId The ID of the Virtual Machine to monitor connectivity to.
- Port int
The port on the destination to monitor connectivity to.
- virtual
Machine stringId The ID of the Virtual Machine to monitor connectivity to.
- port number
The port on the destination to monitor connectivity to.
- virtual_
machine_ strid The ID of the Virtual Machine to monitor connectivity to.
- port float
The port on the destination to monitor connectivity to.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.