Compartilhar via


ExpressRouteLinkCollection.GetAsync(String, CancellationToken) 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>> GetAsync (string linkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteLinkResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteLinkResource>>
Public Overridable Function GetAsync (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