共用方式為


NgfwExtensions.GetGlobalRulestackAsync Method

Definition

Get a GlobalRulestackResource

  • Request Path: /providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}
  • Operation Id: GlobalRulestack_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.GlobalRulestackResource>> GetGlobalRulestackAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string globalRulestackName, System.Threading.CancellationToken cancellationToken = default);
static member GetGlobalRulestackAsync : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.GlobalRulestackResource>>
<Extension()>
Public Function GetGlobalRulestackAsync (tenantResource As TenantResource, globalRulestackName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GlobalRulestackResource))

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

globalRulestackName
String

GlobalRulestack resource name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource or globalRulestackName is null.

globalRulestackName is an empty string, and was expected to be non-empty.

Applies to