Compartilhar via


ExpressRoutePortResource.GetExpressRouteLinkAsync Método

Definição

Recupera o recurso ExpressRouteLink especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}
  • IdExpressRouteLinks_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteLinkResource>> GetExpressRouteLinkAsync (string linkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetExpressRouteLinkAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteLinkResource>>
override this.GetExpressRouteLinkAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteLinkResource>>
Public Overridable Function GetExpressRouteLinkAsync (linkName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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 era esperado que não estivesse vazio.

linkName é nulo.

Aplica-se a