ConnectionMonitors interface
Interface representing a ConnectionMonitors.
Methods
Method Details
beginCreateOrUpdate(string, string, string, ConnectionMonitor, ConnectionMonitorsCreateOrUpdateOptionalParams)
Create or update a connection monitor.
function beginCreateOrUpdate(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, parameters: ConnectionMonitor, options?: ConnectionMonitorsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ConnectionMonitorResult>, ConnectionMonitorResult>>
Parameters
- resourceGroupName
-
string
The name of the resource group containing Network Watcher.
- networkWatcherName
-
string
The name of the Network Watcher resource.
- connectionMonitorName
-
string
The name of the connection monitor.
- parameters
- ConnectionMonitor
Parameters that define the operation to create a connection monitor.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ConnectionMonitorResult>, ConnectionMonitorResult>>
beginCreateOrUpdateAndWait(string, string, string, ConnectionMonitor, ConnectionMonitorsCreateOrUpdateOptionalParams)
Create or update a connection monitor.
function beginCreateOrUpdateAndWait(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, parameters: ConnectionMonitor, options?: ConnectionMonitorsCreateOrUpdateOptionalParams): Promise<ConnectionMonitorResult>
Parameters
- resourceGroupName
-
string
The name of the resource group containing Network Watcher.
- networkWatcherName
-
string
The name of the Network Watcher resource.
- connectionMonitorName
-
string
The name of the connection monitor.
- parameters
- ConnectionMonitor
Parameters that define the operation to create a connection monitor.
The options parameters.
Returns
Promise<ConnectionMonitorResult>
beginDelete(string, string, string, ConnectionMonitorsDeleteOptionalParams)
Deletes the specified connection monitor.
function beginDelete(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group containing Network Watcher.
- networkWatcherName
-
string
The name of the Network Watcher resource.
- connectionMonitorName
-
string
The name of the connection monitor.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, ConnectionMonitorsDeleteOptionalParams)
Deletes the specified connection monitor.
function beginDeleteAndWait(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group containing Network Watcher.
- networkWatcherName
-
string
The name of the Network Watcher resource.
- connectionMonitorName
-
string
The name of the connection monitor.
The options parameters.
Returns
Promise<void>
beginQuery(string, string, string, ConnectionMonitorsQueryOptionalParams)
Query a snapshot of the most recent connection states.
function beginQuery(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsQueryOptionalParams): Promise<SimplePollerLike<OperationState<ConnectionMonitorQueryResult>, ConnectionMonitorQueryResult>>
Parameters
- resourceGroupName
-
string
The name of the resource group containing Network Watcher.
- networkWatcherName
-
string
The name of the Network Watcher resource.
- connectionMonitorName
-
string
The name given to the connection monitor.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ConnectionMonitorQueryResult>, ConnectionMonitorQueryResult>>
beginQueryAndWait(string, string, string, ConnectionMonitorsQueryOptionalParams)
Query a snapshot of the most recent connection states.
function beginQueryAndWait(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsQueryOptionalParams): Promise<ConnectionMonitorQueryResult>
Parameters
- resourceGroupName
-
string
The name of the resource group containing Network Watcher.
- networkWatcherName
-
string
The name of the Network Watcher resource.
- connectionMonitorName
-
string
The name given to the connection monitor.
The options parameters.
Returns
Promise<ConnectionMonitorQueryResult>
beginStart(string, string, string, ConnectionMonitorsStartOptionalParams)
Starts the specified connection monitor.
function beginStart(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsStartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group containing Network Watcher.
- networkWatcherName
-
string
The name of the Network Watcher resource.
- connectionMonitorName
-
string
The name of the connection monitor.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginStartAndWait(string, string, string, ConnectionMonitorsStartOptionalParams)
Starts the specified connection monitor.
function beginStartAndWait(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsStartOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group containing Network Watcher.
- networkWatcherName
-
string
The name of the Network Watcher resource.
- connectionMonitorName
-
string
The name of the connection monitor.
The options parameters.
Returns
Promise<void>
beginStop(string, string, string, ConnectionMonitorsStopOptionalParams)
Stops the specified connection monitor.
function beginStop(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsStopOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group containing Network Watcher.
- networkWatcherName
-
string
The name of the Network Watcher resource.
- connectionMonitorName
-
string
The name of the connection monitor.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginStopAndWait(string, string, string, ConnectionMonitorsStopOptionalParams)
Stops the specified connection monitor.
function beginStopAndWait(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsStopOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group containing Network Watcher.
- networkWatcherName
-
string
The name of the Network Watcher resource.
- connectionMonitorName
-
string
The name of the connection monitor.
The options parameters.
Returns
Promise<void>
get(string, string, string, ConnectionMonitorsGetOptionalParams)
Gets a connection monitor by name.
function get(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsGetOptionalParams): Promise<ConnectionMonitorResult>
Parameters
- resourceGroupName
-
string
The name of the resource group containing Network Watcher.
- networkWatcherName
-
string
The name of the Network Watcher resource.
- connectionMonitorName
-
string
The name of the connection monitor.
The options parameters.
Returns
Promise<ConnectionMonitorResult>
list(string, string, ConnectionMonitorsListOptionalParams)
Lists all connection monitors for the specified Network Watcher.
function list(resourceGroupName: string, networkWatcherName: string, options?: ConnectionMonitorsListOptionalParams): PagedAsyncIterableIterator<ConnectionMonitorResult, ConnectionMonitorResult[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group containing Network Watcher.
- networkWatcherName
-
string
The name of the Network Watcher resource.
The options parameters.
Returns
updateTags(string, string, string, TagsObject, ConnectionMonitorsUpdateTagsOptionalParams)
Update tags of the specified connection monitor.
function updateTags(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, parameters: TagsObject, options?: ConnectionMonitorsUpdateTagsOptionalParams): Promise<ConnectionMonitorResult>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkWatcherName
-
string
The name of the network watcher.
- connectionMonitorName
-
string
The name of the connection monitor.
- parameters
- TagsObject
Parameters supplied to update connection monitor tags.
The options parameters.
Returns
Promise<ConnectionMonitorResult>