Compartir a través de


AttachedNetworkConnectionCollection.GetAsync Método

Definición

Obtiene un networkConnection asociado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}
  • IdAttachedNetworks_GetByDevCenter de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.AttachedNetworkConnectionResource>> GetAsync (string attachedNetworkConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.AttachedNetworkConnectionResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.AttachedNetworkConnectionResource>>
Public Overridable Function GetAsync (attachedNetworkConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AttachedNetworkConnectionResource))

Parámetros

attachedNetworkConnectionName
String

Nombre del networkConnection asociado.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

attachedNetworkConnectionName es una cadena vacía y se espera que no esté vacía.

attachedNetworkConnectionName es null.

Se aplica a