Compartilhar via


ProjectAttachedNetworkConnectionCollection.GetAsync 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>> GetAsync (string attachedNetworkConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.ProjectAttachedNetworkConnectionResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.ProjectAttachedNetworkConnectionResource>>
Public Overridable Function GetAsync (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