共用方式為


GlobalRulestackCollection.GetAsync(String, CancellationToken) 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>> GetAsync (string globalRulestackName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.GlobalRulestackResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.GlobalRulestackResource>>
Public Overridable Function GetAsync (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 an empty string, and was expected to be non-empty.

globalRulestackName is null.

Applies to