Compartir a través de


NetworkExtensions.GetSubscriptionNetworkManagerConnectionAsync 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 static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.SubscriptionNetworkManagerConnectionResource>> GetSubscriptionNetworkManagerConnectionAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string networkManagerConnectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetSubscriptionNetworkManagerConnectionAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.SubscriptionNetworkManagerConnectionResource>>
<Extension()>
Public Function GetSubscriptionNetworkManagerConnectionAsync (subscriptionResource As SubscriptionResource, networkManagerConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SubscriptionNetworkManagerConnectionResource))

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

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