Compartir a través de


NetworkExtensions.GetManagementGroupNetworkManagerConnectionAsync Método

Definición

Obtenga una conexión especificada creada por este grupo de administración.

  • Ruta de acceso de solicitud/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • IdManagementGroupNetworkManagerConnections_Get de operaciones
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ManagementGroupNetworkManagerConnectionResource>> GetManagementGroupNetworkManagerConnectionAsync (this Azure.ResourceManager.ManagementGroups.ManagementGroupResource managementGroupResource, string networkManagerConnectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetManagementGroupNetworkManagerConnectionAsync : Azure.ResourceManager.ManagementGroups.ManagementGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ManagementGroupNetworkManagerConnectionResource>>
<Extension()>
Public Function GetManagementGroupNetworkManagerConnectionAsync (managementGroupResource As ManagementGroupResource, networkManagerConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagementGroupNetworkManagerConnectionResource))

Parámetros

managementGroupResource
ManagementGroupResource

Instancia ManagementGroupResource 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