We recommend using Azure Native.
Azure v6.23.0 published on Thursday, May 22, 2025 by Pulumi
azure.paloalto.getLocalRulestack
Explore with Pulumi AI
Use this data source to access information about an existing Palo Alto Networks Rulestack.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.paloalto.getLocalRulestack({
name: "existing",
resourceGroupName: "existing",
});
export const id = example.then(example => example.id);
import pulumi
import pulumi_azure as azure
example = azure.paloalto.get_local_rulestack(name="existing",
resource_group_name="existing")
pulumi.export("id", example.id)
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/paloalto"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := paloalto.LookupLocalRulestack(ctx, &paloalto.LookupLocalRulestackArgs{
Name: "existing",
ResourceGroupName: "existing",
}, nil)
if err != nil {
return err
}
ctx.Export("id", example.Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.PaloAlto.GetLocalRulestack.Invoke(new()
{
Name = "existing",
ResourceGroupName = "existing",
});
return new Dictionary<string, object?>
{
["id"] = example.Apply(getLocalRulestackResult => getLocalRulestackResult.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.paloalto.PaloaltoFunctions;
import com.pulumi.azure.paloalto.inputs.GetLocalRulestackArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = PaloaltoFunctions.getLocalRulestack(GetLocalRulestackArgs.builder()
.name("existing")
.resourceGroupName("existing")
.build());
ctx.export("id", example.id());
}
}
variables:
example:
fn::invoke:
function: azure:paloalto:getLocalRulestack
arguments:
name: existing
resourceGroupName: existing
outputs:
id: ${example.id}
API Providers
This data source uses the following Azure API Providers:
PaloAltoNetworks.Cloudngfw
: 2022-08-29
Using getLocalRulestack
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLocalRulestack(args: GetLocalRulestackArgs, opts?: InvokeOptions): Promise<GetLocalRulestackResult>
function getLocalRulestackOutput(args: GetLocalRulestackOutputArgs, opts?: InvokeOptions): Output<GetLocalRulestackResult>
def get_local_rulestack(name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLocalRulestackResult
def get_local_rulestack_output(name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLocalRulestackResult]
func LookupLocalRulestack(ctx *Context, args *LookupLocalRulestackArgs, opts ...InvokeOption) (*LookupLocalRulestackResult, error)
func LookupLocalRulestackOutput(ctx *Context, args *LookupLocalRulestackOutputArgs, opts ...InvokeOption) LookupLocalRulestackResultOutput
> Note: This function is named LookupLocalRulestack
in the Go SDK.
public static class GetLocalRulestack
{
public static Task<GetLocalRulestackResult> InvokeAsync(GetLocalRulestackArgs args, InvokeOptions? opts = null)
public static Output<GetLocalRulestackResult> Invoke(GetLocalRulestackInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLocalRulestackResult> getLocalRulestack(GetLocalRulestackArgs args, InvokeOptions options)
public static Output<GetLocalRulestackResult> getLocalRulestack(GetLocalRulestackArgs args, InvokeOptions options)
fn::invoke:
function: azure:paloalto/getLocalRulestack:getLocalRulestack
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of this Palo Alto Networks Rulestack.
- Resource
Group stringName - The name of the Resource Group where the Palo Alto Networks Rulestack exists.
- Name string
- The name of this Palo Alto Networks Rulestack.
- Resource
Group stringName - The name of the Resource Group where the Palo Alto Networks Rulestack exists.
- name String
- The name of this Palo Alto Networks Rulestack.
- resource
Group StringName - The name of the Resource Group where the Palo Alto Networks Rulestack exists.
- name string
- The name of this Palo Alto Networks Rulestack.
- resource
Group stringName - The name of the Resource Group where the Palo Alto Networks Rulestack exists.
- name str
- The name of this Palo Alto Networks Rulestack.
- resource_
group_ strname - The name of the Resource Group where the Palo Alto Networks Rulestack exists.
- name String
- The name of this Palo Alto Networks Rulestack.
- resource
Group StringName - The name of the Resource Group where the Palo Alto Networks Rulestack exists.
getLocalRulestack Result
The following output properties are available:
- Anti
Spyware stringProfile - The Anti-Spyware setting used by the Palo Alto Networks Rulestack.
- Anti
Virus stringProfile - The Anti-Virus setting used by the Palo Alto Networks Rulestack.
- Description string
- The description of the Palo Alto Networks Rulestack.
- Dns
Subscription string - The DNS Subscription setting used by the Palo Alto Networks Rulestack.
- File
Blocking stringProfile - The File Blocking Profile used by the Palo Alto Networks Rulestack.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The Azure Region where the Palo Alto Networks Rulestack exists.
- Name string
- Outbound
Trust stringCertificate - The trusted egress decryption profile data for the Palo Alto Networks Rulestack.
- Outbound
Untrust stringCertificate - The untrusted egress decryption profile data for the Palo Alto Networks Rulestack.
- Resource
Group stringName - Url
Filtering stringProfile - The URL Filtering Profile used by the Palo Alto Networks Rulestack.
- Vulnerability
Profile string - The Vulnerability Profile used by the Palo Alto Networks Rulestack.
- Anti
Spyware stringProfile - The Anti-Spyware setting used by the Palo Alto Networks Rulestack.
- Anti
Virus stringProfile - The Anti-Virus setting used by the Palo Alto Networks Rulestack.
- Description string
- The description of the Palo Alto Networks Rulestack.
- Dns
Subscription string - The DNS Subscription setting used by the Palo Alto Networks Rulestack.
- File
Blocking stringProfile - The File Blocking Profile used by the Palo Alto Networks Rulestack.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The Azure Region where the Palo Alto Networks Rulestack exists.
- Name string
- Outbound
Trust stringCertificate - The trusted egress decryption profile data for the Palo Alto Networks Rulestack.
- Outbound
Untrust stringCertificate - The untrusted egress decryption profile data for the Palo Alto Networks Rulestack.
- Resource
Group stringName - Url
Filtering stringProfile - The URL Filtering Profile used by the Palo Alto Networks Rulestack.
- Vulnerability
Profile string - The Vulnerability Profile used by the Palo Alto Networks Rulestack.
- anti
Spyware StringProfile - The Anti-Spyware setting used by the Palo Alto Networks Rulestack.
- anti
Virus StringProfile - The Anti-Virus setting used by the Palo Alto Networks Rulestack.
- description String
- The description of the Palo Alto Networks Rulestack.
- dns
Subscription String - The DNS Subscription setting used by the Palo Alto Networks Rulestack.
- file
Blocking StringProfile - The File Blocking Profile used by the Palo Alto Networks Rulestack.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The Azure Region where the Palo Alto Networks Rulestack exists.
- name String
- outbound
Trust StringCertificate - The trusted egress decryption profile data for the Palo Alto Networks Rulestack.
- outbound
Untrust StringCertificate - The untrusted egress decryption profile data for the Palo Alto Networks Rulestack.
- resource
Group StringName - url
Filtering StringProfile - The URL Filtering Profile used by the Palo Alto Networks Rulestack.
- vulnerability
Profile String - The Vulnerability Profile used by the Palo Alto Networks Rulestack.
- anti
Spyware stringProfile - The Anti-Spyware setting used by the Palo Alto Networks Rulestack.
- anti
Virus stringProfile - The Anti-Virus setting used by the Palo Alto Networks Rulestack.
- description string
- The description of the Palo Alto Networks Rulestack.
- dns
Subscription string - The DNS Subscription setting used by the Palo Alto Networks Rulestack.
- file
Blocking stringProfile - The File Blocking Profile used by the Palo Alto Networks Rulestack.
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- The Azure Region where the Palo Alto Networks Rulestack exists.
- name string
- outbound
Trust stringCertificate - The trusted egress decryption profile data for the Palo Alto Networks Rulestack.
- outbound
Untrust stringCertificate - The untrusted egress decryption profile data for the Palo Alto Networks Rulestack.
- resource
Group stringName - url
Filtering stringProfile - The URL Filtering Profile used by the Palo Alto Networks Rulestack.
- vulnerability
Profile string - The Vulnerability Profile used by the Palo Alto Networks Rulestack.
- anti_
spyware_ strprofile - The Anti-Spyware setting used by the Palo Alto Networks Rulestack.
- anti_
virus_ strprofile - The Anti-Virus setting used by the Palo Alto Networks Rulestack.
- description str
- The description of the Palo Alto Networks Rulestack.
- dns_
subscription str - The DNS Subscription setting used by the Palo Alto Networks Rulestack.
- file_
blocking_ strprofile - The File Blocking Profile used by the Palo Alto Networks Rulestack.
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- The Azure Region where the Palo Alto Networks Rulestack exists.
- name str
- outbound_
trust_ strcertificate - The trusted egress decryption profile data for the Palo Alto Networks Rulestack.
- outbound_
untrust_ strcertificate - The untrusted egress decryption profile data for the Palo Alto Networks Rulestack.
- resource_
group_ strname - url_
filtering_ strprofile - The URL Filtering Profile used by the Palo Alto Networks Rulestack.
- vulnerability_
profile str - The Vulnerability Profile used by the Palo Alto Networks Rulestack.
- anti
Spyware StringProfile - The Anti-Spyware setting used by the Palo Alto Networks Rulestack.
- anti
Virus StringProfile - The Anti-Virus setting used by the Palo Alto Networks Rulestack.
- description String
- The description of the Palo Alto Networks Rulestack.
- dns
Subscription String - The DNS Subscription setting used by the Palo Alto Networks Rulestack.
- file
Blocking StringProfile - The File Blocking Profile used by the Palo Alto Networks Rulestack.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The Azure Region where the Palo Alto Networks Rulestack exists.
- name String
- outbound
Trust StringCertificate - The trusted egress decryption profile data for the Palo Alto Networks Rulestack.
- outbound
Untrust StringCertificate - The untrusted egress decryption profile data for the Palo Alto Networks Rulestack.
- resource
Group StringName - url
Filtering StringProfile - The URL Filtering Profile used by the Palo Alto Networks Rulestack.
- vulnerability
Profile String - The Vulnerability Profile used by the Palo Alto Networks Rulestack.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.