다음을 통해 공유


NetworkWatchersOperationsExtensions.GetNextHopAsync Method

Definition

Gets the next hop from the specified VM.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.NextHopResult> GetNextHopAsync (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 GetNextHopAsync : 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 GetNextHopAsync (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