Skip to main content

watchers

Overview

Namewatchers
TypeResource
Idazure.network.watchers

Fields

NameDatatypeDescription
idstringResource ID.
namestringResource name.
etagstringA unique read-only string that changes whenever the resource is updated.
locationstringResource location.
propertiesobjectThe network watcher properties.
tagsobjectResource tags.
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkWatcherName, resourceGroupName, subscriptionIdGets the specified network watcher by resource group.
listSELECTresourceGroupName, subscriptionIdGets all network watchers by resource group.
create_or_updateINSERTnetworkWatcherName, resourceGroupName, subscriptionIdCreates or updates a network watcher in the specified resource group.
deleteDELETEnetworkWatcherName, resourceGroupName, subscriptionIdDeletes the specified network watcher resource.
_listEXECresourceGroupName, subscriptionIdGets all network watchers by resource group.
check_connectivityEXECnetworkWatcherName, resourceGroupName, subscriptionId, data__destination, data__sourceVerifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server.
set_flow_log_configurationEXECnetworkWatcherName, resourceGroupName, subscriptionId, data__properties, data__targetResourceIdConfigures flow log and traffic analytics (optional) on a specified resource.
verify_ip_flowEXECnetworkWatcherName, resourceGroupName, subscriptionId, data__direction, data__localIPAddress, data__localPort, data__protocol, data__remoteIPAddress, data__remotePort, data__targetResourceIdVerify IP flow from the specified VM to a location given the currently configured NSG rules.