Compartilhar via


NetworkVirtualApplianceConnectionCollection.GetAsync Método

Definição

Recupera os detalhes da conexão NVA especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections/{connectionName}
  • Operação IdNetworkVirtualApplianceConnections_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkVirtualApplianceConnectionResource>> GetAsync (string connectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkVirtualApplianceConnectionResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkVirtualApplianceConnectionResource>>
Public Overridable Function GetAsync (connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkVirtualApplianceConnectionResource))

Parâmetros

connectionName
String

O nome da conexão NVA.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

connectionName é nulo.

Aplica-se a