共用方式為


LocalRulestackRuleResource.ResetCountersAsync Method

Definition

Reset counters

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

Parameters

firewallName
String

The String to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to