你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LocalRulestackRuleResource.GetCounters(String, CancellationToken) 方法

定义

获取计数器

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/localRules/{priority}/getCounters
  • 操作IdLocalRules_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)

参数

firewallName
String

要使用的字符串。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于