Compartir a través de


HubVirtualNetworkConnectionsOperationsExtensions.GetAsync Método

Definición

Recupera los detalles de hubVirtualNetworkConnection.

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)

Parámetros

operations
IHubVirtualNetworkConnectionsOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos de VirtualHub.

virtualHubName
String

Nombre de VirtualHub.

connectionName
String

Nombre de la conexión VPN.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a