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

NgfwExtensions.GetGlobalRulestack 方法

定义

获取 GlobalRulestackResource

  • 请求路径/提供程序/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}
  • 操作IdGlobalRulestack_Get
public static Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.GlobalRulestackResource> GetGlobalRulestack (this Azure.ResourceManager.Resources.TenantResource tenantResource, string globalRulestackName, System.Threading.CancellationToken cancellationToken = default);
static member GetGlobalRulestack : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.GlobalRulestackResource>
<Extension()>
Public Function GetGlobalRulestack (tenantResource As TenantResource, globalRulestackName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of GlobalRulestackResource)

参数

tenantResource
TenantResource

方法 TenantResource 将对其执行的实例。

globalRulestackName
String

GlobalRulestack 资源名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

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

globalRulestackName 为 null。

适用于