Partager via


PreRulestackRuleResource.GetCountersAsync(String, CancellationToken) Méthode

Définition

Obtenir des compteurs

  • Chemin de la demande/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/preRules/{priority}/getCounters
  • IdPreRules_getCounters d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.FirewallRuleCounter>> GetCountersAsync (string firewallName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCountersAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.FirewallRuleCounter>>
override this.GetCountersAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.FirewallRuleCounter>>
Public Overridable Function GetCountersAsync (Optional firewallName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FirewallRuleCounter))

Paramètres

firewallName
String

Chaîne à utiliser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à