Compartilhar via


HubVirtualNetworkConnectionsOperationsExtensions.GetAsync Método

Definição

Recupera os detalhes de um 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

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos do VirtualHub.

virtualHubName
String

O nome do VirtualHub.

connectionName
String

O nome da conexão vpn.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a