Freigeben über


RoutesOperationsExtensions.GetAsync Methode

Definition

Ruft die angegebene Route aus einer Routingtabelle ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.Route> GetAsync (this Microsoft.Azure.Management.Network.IRoutesOperations operations, string resourceGroupName, string routeTableName, string routeName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.IRoutesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.Route>
<Extension()>
Public Function GetAsync (operations As IRoutesOperations, resourceGroupName As String, routeTableName As String, routeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Route)

Parameter

operations
IRoutesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

routeTableName
String

Der Name der Routentabelle.

routeName
String

Der Name der Route.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: