Freigeben über


NetworkWatchersOperationsExtensions.GetNextHopAsync Methode

Definition

Ruft den nächsten Hop von der angegebenen VM ab.

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

Parameter

operations
INetworkWatchersOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

networkWatcherName
String

Der Name des Network Watchers.

parameters
NextHopParameters

Parameter, die den Quell- und Zielendpunkt definieren.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: