Compartilhar via


NgfwExtensions.GetLocalRulestackAsync Método

Definição

Obter um LocalRulestackResource

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}
  • Operação IdLocalRulestacks_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.LocalRulestackResource>> GetLocalRulestackAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string localRulestackName, System.Threading.CancellationToken cancellationToken = default);
static member GetLocalRulestackAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.LocalRulestackResource>>
<Extension()>
Public Function GetLocalRulestackAsync (resourceGroupResource As ResourceGroupResource, localRulestackName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LocalRulestackResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

localRulestackName
String

Nome do recurso LocalRulestack.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

localRulestackName é nulo.

Aplica-se a