Partilhar via


AttachedNetworkConnectionCollection.Get(String, CancellationToken) 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> Get (string attachedNetworkConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.AttachedNetworkConnectionResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.AttachedNetworkConnectionResource>
Public Overridable Function Get (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 esperava-se que não estivesse vazia.

attachedNetworkConnectionName é nulo.

Aplica-se a