Partilhar via


DevCenterResource.GetAttachedNetworkConnection 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 Azure.Response<Azure.ResourceManager.DevCenter.AttachedNetworkConnectionResource> GetAttachedNetworkConnection (string attachedNetworkConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAttachedNetworkConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.AttachedNetworkConnectionResource>
override this.GetAttachedNetworkConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.AttachedNetworkConnectionResource>
Public Overridable Function GetAttachedNetworkConnection (attachedNetworkConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As 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