Compartilhar via


DevCenterResource.GetAttachedNetworkConnectionAsync Método

Definição

Obtém uma NetworkConnection anexada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/attachednetworks/{attachedNetworkConnectionName}
  • Operação IdAttachedNetworks_GetByDevCenter
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.AttachedNetworkConnectionResource>> GetAttachedNetworkConnectionAsync (string attachedNetworkConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAttachedNetworkConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.AttachedNetworkConnectionResource>>
override this.GetAttachedNetworkConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.AttachedNetworkConnectionResource>>
Public Overridable Function GetAttachedNetworkConnectionAsync (attachedNetworkConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AttachedNetworkConnectionResource))

Parâmetros

attachedNetworkConnectionName
String

O nome da NetworkConnection anexada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

attachedNetworkConnectionName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

attachedNetworkConnectionName é nulo.

Aplica-se a