Partilhar via


VpnServerConfigurationCollection.GetAsync(String, CancellationToken) Método

Definição

Recupera os detalhes de um VpnServerConfiguration.

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

Parâmetros

vpnServerConfigurationName
String

O nome do VpnServerConfiguration que está sendo recuperado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

vpnServerConfigurationName é nulo.

Aplica-se a