Compartilhar via


ExpressRoutePortResource.GetExpressRouteLink Método

Definição

Recupera o recurso do ExpressRouteLink especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}
  • Operação IdExpressRouteLinks_Get
public virtual Azure.Response<Azure.ResourceManager.Network.ExpressRouteLinkResource> GetExpressRouteLink (string linkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetExpressRouteLink : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.ExpressRouteLinkResource>
override this.GetExpressRouteLink : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.ExpressRouteLinkResource>
Public Overridable Function GetExpressRouteLink (linkName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ExpressRouteLinkResource)

Parâmetros

linkName
String

O nome do recurso ExpressRouteLink.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

linkName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

linkName é nulo.

Aplica-se a