Compartilhar via


ExpressRouteLinkCollection.GetIfExists(String, CancellationToken) Método

Definição

Tenta obter detalhes desse recurso do serviço.

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