ConnectionMonitorsOperations interface

Interface representing a ConnectionMonitors operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginStop
beginStopAndWait
createOrUpdate

Create or update a connection monitor.

delete

Deletes the specified connection monitor.

get

Gets a connection monitor by name.

list

Lists all connection monitors for the specified Network Watcher.

stop

Stops the specified connection monitor.

updateTags

Update tags of the specified connection monitor.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, parameters: ConnectionMonitor, options?: ConnectionMonitorsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ConnectionMonitorResult>, ConnectionMonitorResult>>

Property Value

(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, parameters: ConnectionMonitor, options?: ConnectionMonitorsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ConnectionMonitorResult>, ConnectionMonitorResult>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, parameters: ConnectionMonitor, options?: ConnectionMonitorsCreateOrUpdateOptionalParams) => Promise<ConnectionMonitorResult>

Property Value

(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, parameters: ConnectionMonitor, options?: ConnectionMonitorsCreateOrUpdateOptionalParams) => Promise<ConnectionMonitorResult>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsDeleteOptionalParams) => Promise<void>

beginStop

Warning

This API is now deprecated.

use stop instead

beginStop: (resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsStopOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsStopOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginStopAndWait

Warning

This API is now deprecated.

use stop instead

beginStopAndWait: (resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsStopOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsStopOptionalParams) => Promise<void>

createOrUpdate

Create or update a connection monitor.

createOrUpdate: (resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, parameters: ConnectionMonitor, options?: ConnectionMonitorsCreateOrUpdateOptionalParams) => PollerLike<OperationState<ConnectionMonitorResult>, ConnectionMonitorResult>

Property Value

(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, parameters: ConnectionMonitor, options?: ConnectionMonitorsCreateOrUpdateOptionalParams) => PollerLike<OperationState<ConnectionMonitorResult>, ConnectionMonitorResult>

delete

Deletes the specified connection monitor.

delete: (resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets a connection monitor by name.

get: (resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsGetOptionalParams) => Promise<ConnectionMonitorResult>

Property Value

(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsGetOptionalParams) => Promise<ConnectionMonitorResult>

list

Lists all connection monitors for the specified Network Watcher.

list: (resourceGroupName: string, networkWatcherName: string, options?: ConnectionMonitorsListOptionalParams) => PagedAsyncIterableIterator<ConnectionMonitorResult, ConnectionMonitorResult[], PageSettings>

Property Value

(resourceGroupName: string, networkWatcherName: string, options?: ConnectionMonitorsListOptionalParams) => PagedAsyncIterableIterator<ConnectionMonitorResult, ConnectionMonitorResult[], PageSettings>

stop

Stops the specified connection monitor.

stop: (resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsStopOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, options?: ConnectionMonitorsStopOptionalParams) => PollerLike<OperationState<void>, void>

updateTags

Update tags of the specified connection monitor.

updateTags: (resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, parameters: TagsObject, options?: ConnectionMonitorsUpdateTagsOptionalParams) => Promise<ConnectionMonitorResult>

Property Value

(resourceGroupName: string, networkWatcherName: string, connectionMonitorName: string, parameters: TagsObject, options?: ConnectionMonitorsUpdateTagsOptionalParams) => Promise<ConnectionMonitorResult>