Compartilhar via


VpnServerConfigurationResource.GetVpnServerConfigurationPolicyGroupAsync Método

Definição

Recupera os detalhes de um ConfigurationPolicyGroup.

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

Parâmetros

configurationPolicyGroupName
String

O nome do ConfigurationPolicyGroup que está sendo recuperado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

configurationPolicyGroupName é nulo.

Aplica-se a