Share via


MockablePaloAltoNetworksNgfwTenantResource.GetGlobalRulestackAsync Method

Definition

Get a GlobalRulestackResource

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

Parameters

globalRulestackName
String

GlobalRulestack resource name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

globalRulestackName is null.

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

Applies to