NetworkWatcher Interface

Implements

UpdatableWithTags<NetworkWatcher> GroupableResource<com.microsoft.azure.management.network.implementation.NetworkManager,com.microsoft.azure.management.network.implementation.NetworkWatcherInner> Refreshable<NetworkWatcher> Updatable<Update>

public interface NetworkWatcher
extends GroupableResource<com.microsoft.azure.management.network.implementation.NetworkManager,com.microsoft.azure.management.network.implementation.NetworkWatcherInner>, Refreshable<NetworkWatcher>, Updatable<Update>, UpdatableWithTags<NetworkWatcher>

Entry point for Network Watcher API in Azure.

Method Summary

Modifier and Type Method and Description
abstract WithExecute availableProviders()

Lists all available internet service providers for a specified Azure region.

abstract WithProviderLocation azureReachabilityReport()

Gets the relative latency score for internet service providers from a specified location to Azure regions.

abstract 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.

abstract ConnectionMonitors connectionMonitors()
abstract FlowLogSettings getFlowLogSettings(String nsgId)

Gets the information on the configuration of flow log.

abstract rx.Observable<FlowLogSettings> getFlowLogSettingsAsync(String nsgId)

Gets the information on the configuration of flow log asynchronously.

abstract SecurityGroupView getSecurityGroupView(String vmId)

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

abstract rx.Observable<SecurityGroupView> getSecurityGroupViewAsync(String vmId)

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

abstract WithTargetResource nextHop()

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

abstract PacketCaptures packetCaptures()
abstract WithTargetResourceGroup topology()

First step specifying parameters to get topology of a resource group.

abstract WithTargetResource troubleshoot()

Initiate troubleshooting on a specified resource (virtual network gateway or virtual network gateway connection).

abstract WithTargetResource verifyIPFlow()

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

Method Details

availableProviders

public abstract AvailableProviders.DefinitionStages.WithExecute availableProviders()

Lists all available internet service providers for a specified Azure region.

Returns:

a stage to specify parameters for internet providers list

azureReachabilityReport

public abstract AzureReachabilityReport.DefinitionStages.WithProviderLocation azureReachabilityReport()

Gets the relative latency score for internet service providers from a specified location to Azure regions.

Returns:

a stage to specify parameters for internet providers list

checkConnectivity

public abstract 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

connectionMonitors

public abstract ConnectionMonitors connectionMonitors()

Returns:

entry point to manage connection monitors associated with network watcher

getFlowLogSettings

public abstract 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 abstract 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 abstract 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 abstract 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

nextHop

public abstract 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 abstract PacketCaptures packetCaptures()

Returns:

entry point to manage packet captures associated with network watcher

topology

public abstract Topology.DefinitionStages.WithTargetResourceGroup topology()

First step specifying parameters to get topology of a resource group.

Returns:

current network topology by resource group

troubleshoot

public abstract Troubleshooting.DefinitionStages.WithTargetResource troubleshoot()

Initiate troubleshooting on a specified resource (virtual network gateway or virtual network gateway connection).

Returns:

troubleshooting result information

verifyIPFlow

public abstract 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