Compartir a través de


VpnServerConfigurationPolicyGroupCollection.GetIfExists Método

Definición

Intenta obtener detalles de este recurso del servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}
  • IdConfigurationPolicyGroups_Get de operaciones
public virtual Azure.NullableResponse<Azure.ResourceManager.Network.VpnServerConfigurationPolicyGroupResource> GetIfExists (string configurationPolicyGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.VpnServerConfigurationPolicyGroupResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.VpnServerConfigurationPolicyGroupResource>
Public Overridable Function GetIfExists (configurationPolicyGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of VpnServerConfigurationPolicyGroupResource)

Parámetros

configurationPolicyGroupName
String

Nombre del configurationPolicyGroup que se va a recuperar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

configurationPolicyGroupName es una cadena vacía y se esperaba que no estuviera vacía.

configurationPolicyGroupName es null.

Se aplica a