< Back
Get-AzureRmNetworkWatcherConnectionMonitor
Post
NAME Get-AzureRmNetworkWatcherConnectionMonitor
SYNOPSIS
Returns connection monitor with specified name or the list of connection monitors
SYNTAX
Get-AzureRmNetworkWatcherConnectionMonitor [-DefaultProfile <IAzureContextContainer>] -Location <String> [-Name <String>] [<CommonParameters>]
Get-AzureRmNetworkWatcherConnectionMonitor [-DefaultProfile <IAzureContextContainer>] [-Name <String>] -NetworkWatcherName <String>
-ResourceGroupName <String> [<CommonParameters>]
Get-AzureRmNetworkWatcherConnectionMonitor [-DefaultProfile <IAzureContextContainer>] [-Name <String>] -NetworkWatcher <PSNetworkWatcher>
[<CommonParameters>]
Get-AzureRmNetworkWatcherConnectionMonitor [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [<CommonParameters>]
DESCRIPTION
The Get-AzureRmNetworkWatcherConnectionMonitor cmdlet returns the connection monitor with the specified name / resourceId or the list of
connection monitors corresponding to the specified network watcher / location.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with Azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Location <String>
Location of the network watcher.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
The connection monitor name.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NetworkWatcher <PSNetworkWatcher>
The network watcher resource.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-NetworkWatcherName <String>
The name of network watcher.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
The name of the network watcher resource group.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceId <String>
Resource ID of the connection monitor.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Microsoft.Azure.Commands.Network.Models.PSNetworkWatcher
System.String
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSConnectionMonitorResult
NOTES
Keywords: azure, azurerm, arm, resource, connectivity, management, manager, network, networking, network watcher, connection monitor
Example 1: Get connection monitor by name in the specified location
PS C:\\> Get-AzureRmNetworkWatcherConnectionMonitor -Location centraluseuap -Name cm
Name : cm
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGro
ups/NetworkWatcherRG/providers/Microsoft.Network/networkWatcher
s/NetworkWatcher_centraluseuap/connectionMonitors/cm
Etag : W/"40961b58-e379-4204-a47b-0c477739b095"
ProvisioningState : Succeeded
Source : {
"ResourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6
a1f99/resourceGroups/VarunRgCentralUSEUAP/providers/Microsoft.C
ompute/virtualMachines/irinavm",
"Port": 0
}
Destination : {
"Address": "google.com",
"Port": 80
}
MonitoringIntervalInSeconds : 60
AutoStart : True
StartTime : 1/12/2018 7:19:28 PM
MonitoringStatus : Stopped
Location : centraluseuap
Type : Microsoft.Network/networkWatchers/connectionMonitors
Tags : {
"key1": "value1"
}
In this example we get connection monitor by name in the specified location.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... orkwatcher
New-AzureRmNetworkWatcher
Get-AzureRmNetworkWatcher
Remove-AzureRmNetworkWatcher
Get-AzureRmNetworkWatcherNextHop
Get-AzureRmNetworkWatcherSecurityGroupView
Get-AzureRmNetworkWatcherTopology
Get-AzureRmNetworkWatcherTroubleshootingResult
New-AzureRmNetworkWatcherPacketCapture
New-AzureRmPacketCaptureFilterConfig
Get-AzureRmNetworkWatcherPacketCapture
Remove-AzureRmNetworkWatcherPacketCapture
Stop-AzureRmNetworkWatcherPacketCapture
New-AzureRmNetworkWatcherConnectionMonitor
Get-AzureRmNetworkWatcherConnectionMonitorReport
Set-AzureRmNetworkWatcherConnectionMonitor
Start-AzureRmNetworkWatcherConnectionMonitor
Stop-AzureRmNetworkWatcherConnectionMonitor
Remove-AzureRmNetworkWatcherConnectionMonitor
SYNOPSIS
Returns connection monitor with specified name or the list of connection monitors
SYNTAX
Get-AzureRmNetworkWatcherConnectionMonitor [-DefaultProfile <IAzureContextContainer>] -Location <String> [-Name <String>] [<CommonParameters>]
Get-AzureRmNetworkWatcherConnectionMonitor [-DefaultProfile <IAzureContextContainer>] [-Name <String>] -NetworkWatcherName <String>
-ResourceGroupName <String> [<CommonParameters>]
Get-AzureRmNetworkWatcherConnectionMonitor [-DefaultProfile <IAzureContextContainer>] [-Name <String>] -NetworkWatcher <PSNetworkWatcher>
[<CommonParameters>]
Get-AzureRmNetworkWatcherConnectionMonitor [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [<CommonParameters>]
DESCRIPTION
The Get-AzureRmNetworkWatcherConnectionMonitor cmdlet returns the connection monitor with the specified name / resourceId or the list of
connection monitors corresponding to the specified network watcher / location.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with Azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Location <String>
Location of the network watcher.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
The connection monitor name.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NetworkWatcher <PSNetworkWatcher>
The network watcher resource.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-NetworkWatcherName <String>
The name of network watcher.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
The name of the network watcher resource group.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ResourceId <String>
Resource ID of the connection monitor.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Microsoft.Azure.Commands.Network.Models.PSNetworkWatcher
System.String
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSConnectionMonitorResult
NOTES
Keywords: azure, azurerm, arm, resource, connectivity, management, manager, network, networking, network watcher, connection monitor
Example 1: Get connection monitor by name in the specified location
PS C:\\> Get-AzureRmNetworkWatcherConnectionMonitor -Location centraluseuap -Name cm
Name : cm
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGro
ups/NetworkWatcherRG/providers/Microsoft.Network/networkWatcher
s/NetworkWatcher_centraluseuap/connectionMonitors/cm
Etag : W/"40961b58-e379-4204-a47b-0c477739b095"
ProvisioningState : Succeeded
Source : {
"ResourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6
a1f99/resourceGroups/VarunRgCentralUSEUAP/providers/Microsoft.C
ompute/virtualMachines/irinavm",
"Port": 0
}
Destination : {
"Address": "google.com",
"Port": 80
}
MonitoringIntervalInSeconds : 60
AutoStart : True
StartTime : 1/12/2018 7:19:28 PM
MonitoringStatus : Stopped
Location : centraluseuap
Type : Microsoft.Network/networkWatchers/connectionMonitors
Tags : {
"key1": "value1"
}
In this example we get connection monitor by name in the specified location.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... orkwatcher
New-AzureRmNetworkWatcher
Get-AzureRmNetworkWatcher
Remove-AzureRmNetworkWatcher
Get-AzureRmNetworkWatcherNextHop
Get-AzureRmNetworkWatcherSecurityGroupView
Get-AzureRmNetworkWatcherTopology
Get-AzureRmNetworkWatcherTroubleshootingResult
New-AzureRmNetworkWatcherPacketCapture
New-AzureRmPacketCaptureFilterConfig
Get-AzureRmNetworkWatcherPacketCapture
Remove-AzureRmNetworkWatcherPacketCapture
Stop-AzureRmNetworkWatcherPacketCapture
New-AzureRmNetworkWatcherConnectionMonitor
Get-AzureRmNetworkWatcherConnectionMonitorReport
Set-AzureRmNetworkWatcherConnectionMonitor
Start-AzureRmNetworkWatcherConnectionMonitor
Stop-AzureRmNetworkWatcherConnectionMonitor
Remove-AzureRmNetworkWatcherConnectionMonitor