共用方式為


LocalRulestackRuleResource.GetCounters(String, CancellationToken) Method

Definition

Get counters

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules/{priority}/getCounters
  • Operation Id: LocalRules_getCounters
public virtual Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.FirewallRuleCounter> GetCounters (string firewallName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCounters : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.FirewallRuleCounter>
override this.GetCounters : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.FirewallRuleCounter>
Public Overridable Function GetCounters (Optional firewallName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of FirewallRuleCounter)

Parameters

firewallName
String

The String to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to