Partilhar via


DevCenterProjectResource.GetProjectAttachedNetworkConnectionAsync Método

Definição

Obtém uma NetworkConnection anexada.

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

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 esperava-se que não estivesse vazia.

attachedNetworkConnectionName é nulo.

Aplica-se a