Freigeben über


HubVirtualNetworkConnectionsOperationsExtensions.GetAsync Methode

Definition

Ruft die Details eines HubVirtualNetworkConnection ab.

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

Parameter

operations
IHubVirtualNetworkConnectionsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Ressourcengruppenname des VirtualHubs.

virtualHubName
String

Der Name des VirtualHub.

connectionName
String

Der Name der VPN-Verbindung.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: