VpnServerConfigurationPolicyGroupCollection.GetAsync 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>> GetAsync (string configurationPolicyGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VpnServerConfigurationPolicyGroupResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VpnServerConfigurationPolicyGroupResource>>
Public Overridable Function GetAsync (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