Compartir a través de


VirtualHubResource.GetHubVirtualNetworkConnection Método

Definición

Recupera los detalles de un hubVirtualNetworkConnection.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}
  • IdHubVirtualNetworkConnections_Get de operaciones
public virtual Azure.Response<Azure.ResourceManager.Network.HubVirtualNetworkConnectionResource> GetHubVirtualNetworkConnection (string connectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHubVirtualNetworkConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.HubVirtualNetworkConnectionResource>
override this.GetHubVirtualNetworkConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.HubVirtualNetworkConnectionResource>
Public Overridable Function GetHubVirtualNetworkConnection (connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HubVirtualNetworkConnectionResource)

Parámetros

connectionName
String

Nombre de la conexión vpn.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

connectionName es una cadena vacía y se esperaba que no estuviera vacía.

connectionName es null.

Se aplica a