Compartir a través de


SubscriptionNetworkManagerConnectionCollection.GetAsync Método

Definición

Obtenga una conexión especificada creada por esta suscripción.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • IdSubscriptionNetworkManagerConnections_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.SubscriptionNetworkManagerConnectionResource>> GetAsync (string networkManagerConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.SubscriptionNetworkManagerConnectionResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.SubscriptionNetworkManagerConnectionResource>>
Public Overridable Function GetAsync (networkManagerConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SubscriptionNetworkManagerConnectionResource))

Parámetros

networkManagerConnectionName
String

Nombre de la conexión del administrador de red.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

networkManagerConnectionName es null.

Se aplica a