Compartir a través de


NetworkExtensions.GetVpnServerConfiguration Método

Definición

Recupera los detalles de una vpnServerConfiguration.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}
  • IdVpnServerConfigurations_Get de operaciones
public static Azure.Response<Azure.ResourceManager.Network.VpnServerConfigurationResource> GetVpnServerConfiguration (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string vpnServerConfigurationName, System.Threading.CancellationToken cancellationToken = default);
static member GetVpnServerConfiguration : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.VpnServerConfigurationResource>
<Extension()>
Public Function GetVpnServerConfiguration (resourceGroupResource As ResourceGroupResource, vpnServerConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VpnServerConfigurationResource)

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

vpnServerConfigurationName
String

Nombre de vpnServerConfiguration que se va a recuperar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

vpnServerConfigurationName es una cadena vacía y se espera que no esté vacía.

vpnServerConfigurationName es null.

Se aplica a