Compartilhar via


ProjectAttachedNetworkConnectionCollection.Get Método

Definição

Obtém uma NetworkConnection anexada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/attachednetworks/{attachedNetworkConnectionName}
  • IdAttachedNetworks_GetByProject de operação
public virtual Azure.Response<Azure.ResourceManager.DevCenter.ProjectAttachedNetworkConnectionResource> Get (string attachedNetworkConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.ProjectAttachedNetworkConnectionResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.ProjectAttachedNetworkConnectionResource>
Public Overridable Function Get (attachedNetworkConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As 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 era esperado que não estivesse vazio.

attachedNetworkConnectionName é nulo.

Aplica-se a