Dela via


INetworkWatcher Interface

Definition

Entry point for Network Watcher API in Azure.

public interface INetworkWatcher : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.Network.Fluent.INetworkManager,Microsoft.Azure.Management.Network.Fluent.Models.NetworkWatcherInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Network.Fluent.Models.NetworkWatcherInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Network.Fluent.INetworkManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Network.Fluent.INetworkWatcher>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Network.Fluent.NetworkWatcher.Update.IUpdate>
type INetworkWatcher = interface
    interface IBeta
    interface IGroupableResource<INetworkManager, NetworkWatcherInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<INetworkManager>
    interface IHasInner<NetworkWatcherInner>
    interface IRefreshable<INetworkWatcher>
    interface IUpdatable<IUpdate>
Public Interface INetworkWatcher
Implements IBeta, IGroupableResource(Of INetworkManager, NetworkWatcherInner), IHasInner(Of NetworkWatcherInner), IHasManager(Of INetworkManager), IRefreshable(Of INetworkWatcher), IUpdatable(Of IUpdate)
Implements

Properties

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
Key (Inherited from IIndexable)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
Name

Gets the name of the resource

(Inherited from IHasName)
PacketCaptures

Gets entry point to manage packet captures associated with network watcher.

Region (Inherited from IResource)
RegionName (Inherited from IResource)
ResourceGroupName (Inherited from IHasResourceGroup)
Tags (Inherited from IResource)
Type (Inherited from IResource)

Methods

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.

GetFlowLogSettings(String)

Gets the information on the configuration of flow log.

GetFlowLogSettingsAsync(String, CancellationToken)

Gets the information on the configuration of flow log asynchronously.

GetSecurityGroupView(String)

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

GetSecurityGroupViewAsync(String, CancellationToken)

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

NextHop()

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

Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
Topology()

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

Troubleshoot()

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

Update() (Inherited from IUpdatable<T>)
VerifyIPFlow()

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

Applies to