Share via


NetworkWatchersOperationsExtensions.BeginGetNextHopAsync Method

Definition

Gets the next hop from the specified VM.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.NextHopResult> BeginGetNextHopAsync (this Microsoft.Azure.Management.Network.INetworkWatchersOperations operations, string resourceGroupName, string networkWatcherName, Microsoft.Azure.Management.Network.Models.NextHopParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginGetNextHopAsync : Microsoft.Azure.Management.Network.INetworkWatchersOperations * string * string * Microsoft.Azure.Management.Network.Models.NextHopParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.NextHopResult>
<Extension()>
Public Function BeginGetNextHopAsync (operations As INetworkWatchersOperations, resourceGroupName As String, networkWatcherName As String, parameters As NextHopParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NextHopResult)

Parameters

operations
INetworkWatchersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

networkWatcherName
String

The name of the network watcher.

parameters
NextHopParameters

Parameters that define the source and destination endpoint.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to