Compartilhar via


NetworkExtensions.GetExpressRouteCrossConnectionAsync Método

Definição

Obtém detalhes sobre o ExpressRouteCrossConnection especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}
  • IdExpressRouteCrossConnections_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteCrossConnectionResource>> GetExpressRouteCrossConnectionAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string crossConnectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetExpressRouteCrossConnectionAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteCrossConnectionResource>>
<Extension()>
Public Function GetExpressRouteCrossConnectionAsync (resourceGroupResource As ResourceGroupResource, crossConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ExpressRouteCrossConnectionResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

crossConnectionName
String

O nome do ExpressRouteCrossConnection (chave de serviço do circuito).

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

crossConnectionName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

crossConnectionName é nulo.

Aplica-se a