NetworkExtensions.GetVpnServerConfigurationAsync 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 static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VpnServerConfigurationResource>> GetVpnServerConfigurationAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default);
static member GetVpnServerConfigurationAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VpnServerConfigurationResource>>
<Extension()>
Public Function GetVpnServerConfigurationAsync (resourceGroupResource As ResourceGroupResource, vpnServerConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VpnServerConfigurationResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

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

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