Partilhar via


SubscriptionNetworkManagerConnectionCollection.GetAsync Método

Definição

Obtenha uma conexão especificada criada por esta assinatura.

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

Parâmetros

networkManagerConnectionName
String

Nome da conexão do gerenciador de rede.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

networkManagerConnectionName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

networkManagerConnectionName é nulo.

Aplica-se a