Partilhar via


GlobalRulestackResource.GetPreRulestackRuleAsync Método

Definição

Obter um PreRulesResource

  • Caminho da Solicitação/provedores/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/preRules/{priority}
  • Operação IdPreRules_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.PreRulestackRuleResource>> GetPreRulestackRuleAsync (string priority, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPreRulestackRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.PreRulestackRuleResource>>
override this.GetPreRulestackRuleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.PreRulestackRuleResource>>
Public Overridable Function GetPreRulestackRuleAsync (priority As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PreRulestackRuleResource))

Parâmetros

priority
String

Prioridade de pré-regra.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

priority é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

priority é nulo.

Aplica-se a