LocalRulestackRuleResource.GetCounters(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- cancellationToken
- CancellationToken
The cancellation token to use.