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

GlobalRulestackResource.GetPostRulestackRule 方法

定义

获取 PostRulesResource

  • 请求路径/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/postRules/{priority}
  • 操作IdPostRules_Get
public virtual Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.PostRulestackRuleResource> GetPostRulestackRule (string priority, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPostRulestackRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.PostRulestackRuleResource>
override this.GetPostRulestackRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.PostRulestackRuleResource>
Public Overridable Function GetPostRulestackRule (priority As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PostRulestackRuleResource)

参数

priority
String

发布规则优先级。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

priority 是一个空字符串,预期为非空。

priority 为 null。

适用于