NetworkWatcher Interface

public interface NetworkWatcher extends GroupableResource<NetworkManager, NetworkWatcherInner>,Refreshable,Updatable<NetworkWatcher.Update>

Entry point for Network Watcher API in Azure.

Method Summary

Modifier and Type Method and Description
ConnectivityCheck.DefinitionStages.ToDestination checkConnectivity()

Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another virtual machine or an arbitrary remote server.

FlowLogSettings getFlowLogSettings(String nsgId)

Gets the information on the configuration of flow log.

Observable<FlowLogSettings> getFlowLogSettingsAsync(String nsgId)

Gets the information on the configuration of flow log asynchronously.

SecurityGroupView getSecurityGroupView(String vmId)

Gets the configured and effective security group rules on the specified VM.

Observable<SecurityGroupView> getSecurityGroupViewAsync(String vmId)

Gets the configured and effective security group rules on the specified VM asynchronously.

Topology getTopology(String targetResourceGroup)

Gets network topology of a given resource group.

Observable<Topology> getTopologyAsync(String targetResourceGroup)

Gets network topology of a given resource group asynchronously.

NextHop.DefinitionStages.WithTargetResource nextHop()

First step specifying the parameters to get next hop for the VM.

PacketCaptures packetCaptures()
VerificationIPFlow.DefinitionStages.WithTargetResource verifyIPFlow()

Verify IP flow from the specified VM to a location given the currently configured NSG rules.

Inherited Members

Method Details

checkConnectivity

public ConnectivityCheck.DefinitionStages.ToDestination checkConnectivity()

Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another virtual machine or an arbitrary remote server.

Returns:

a stage to specify parameters for connectivity check

getFlowLogSettings

public FlowLogSettings getFlowLogSettings(String nsgId)

Gets the information on the configuration of flow log.

Parameters:

nsgId - the name of the target resource group to get flow log status for

Returns:

information on the configuration of flow log

getFlowLogSettingsAsync

public Observable getFlowLogSettingsAsync(String nsgId)

Gets the information on the configuration of flow log asynchronously.

Parameters:

nsgId - the name of the target resource group to get flow log status for

Returns:

information on the configuration of flow log

getSecurityGroupView

public SecurityGroupView getSecurityGroupView(String vmId)

Gets the configured and effective security group rules on the specified VM.

Parameters:

vmId - ID of the target VM

Returns:

the configured and effective security group rules on the specified VM

getSecurityGroupViewAsync

public Observable getSecurityGroupViewAsync(String vmId)

Gets the configured and effective security group rules on the specified VM asynchronously.

Parameters:

vmId - ID of the target VM

Returns:

the configured and effective security group rules on the specified VM

getTopology

public Topology getTopology(String targetResourceGroup)

Gets network topology of a given resource group.

Parameters:

targetResourceGroup - the name of the target resource group to perform getTopology on

Returns:

current network topology by resource group

getTopologyAsync

public Observable getTopologyAsync(String targetResourceGroup)

Gets network topology of a given resource group asynchronously.

Parameters:

targetResourceGroup - the name of the target resource group to perform getTopology on

Returns:

current network topology by resource group

nextHop

public NextHop.DefinitionStages.WithTargetResource nextHop()

First step specifying the parameters to get next hop for the VM.

Returns:

a stage to specify parameters for next hop

packetCaptures

public PacketCaptures packetCaptures()

Returns:

entry point to manage packet captures associated with network watcher

verifyIPFlow

public VerificationIPFlow.DefinitionStages.WithTargetResource verifyIPFlow()

Verify IP flow from the specified VM to a location given the currently configured NSG rules.

Returns:

a stage to specify parameters for ip flow verification

Applies to