1. Packages
  2. Azure Classic
  3. API Docs
  4. paloalto
  5. LocalRulestack

We recommend using Azure Native.

Azure Classic v5.67.1 published on Tuesday, Feb 27, 2024 by Pulumi

azure.paloalto.LocalRulestack

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.67.1 published on Tuesday, Feb 27, 2024 by Pulumi

    Manages a Palo Alto Networks Rulestack.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "rg-example",
            Location = "West Europe",
        });
    
        var exampleLocalRulestack = new Azure.PaloAlto.LocalRulestack("example", new()
        {
            Name = "example",
            ResourceGroupName = example.Name,
            Location = example.Location,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/paloalto"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("rg-example"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = paloalto.NewLocalRulestack(ctx, "example", &paloalto.LocalRulestackArgs{
    			Name:              pulumi.String("example"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.paloalto.LocalRulestack;
    import com.pulumi.azure.paloalto.LocalRulestackArgs;
    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) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("rg-example")
                .location("West Europe")
                .build());
    
            var exampleLocalRulestack = new LocalRulestack("exampleLocalRulestack", LocalRulestackArgs.builder()        
                .name("example")
                .resourceGroupName(example.name())
                .location(example.location())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="rg-example",
        location="West Europe")
    example_local_rulestack = azure.paloalto.LocalRulestack("example",
        name="example",
        resource_group_name=example.name,
        location=example.location)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "rg-example",
        location: "West Europe",
    });
    const exampleLocalRulestack = new azure.paloalto.LocalRulestack("example", {
        name: "example",
        resourceGroupName: example.name,
        location: example.location,
    });
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: rg-example
          location: West Europe
      exampleLocalRulestack:
        type: azure:paloalto:LocalRulestack
        name: example
        properties:
          name: example
          resourceGroupName: ${example.name}
          location: ${example.location}
    

    Create LocalRulestack Resource

    new LocalRulestack(name: string, args: LocalRulestackArgs, opts?: CustomResourceOptions);
    @overload
    def LocalRulestack(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       anti_spyware_profile: Optional[str] = None,
                       anti_virus_profile: Optional[str] = None,
                       description: Optional[str] = None,
                       dns_subscription: Optional[str] = None,
                       file_blocking_profile: Optional[str] = None,
                       location: Optional[str] = None,
                       name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       url_filtering_profile: Optional[str] = None,
                       vulnerability_profile: Optional[str] = None)
    @overload
    def LocalRulestack(resource_name: str,
                       args: LocalRulestackArgs,
                       opts: Optional[ResourceOptions] = None)
    func NewLocalRulestack(ctx *Context, name string, args LocalRulestackArgs, opts ...ResourceOption) (*LocalRulestack, error)
    public LocalRulestack(string name, LocalRulestackArgs args, CustomResourceOptions? opts = null)
    public LocalRulestack(String name, LocalRulestackArgs args)
    public LocalRulestack(String name, LocalRulestackArgs args, CustomResourceOptions options)
    
    type: azure:paloalto:LocalRulestack
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args LocalRulestackArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LocalRulestackArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LocalRulestackArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LocalRulestackArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LocalRulestackArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    LocalRulestack Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The LocalRulestack resource accepts the following input properties:

    ResourceGroupName string
    The name of the Resource Group where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    AntiSpywareProfile string
    The setting to use for Anti-Spyware. Possible values include BestPractice, and Custom.
    AntiVirusProfile string
    The setting to use for Anti-Virus. Possible values include BestPractice, and Custom.
    Description string
    The description for this Local Rulestack.
    DnsSubscription string
    TThe setting to use for DNS Subscription. Possible values include BestPractice, and Custom.
    FileBlockingProfile string
    The setting to use for the File Blocking Profile. Possible values include BestPractice, and Custom.
    Location string
    The Azure Region where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    Name string
    The name which should be used for this Palo Alto Networks Rulestack. Changing this forces a new Palo Alto Networks Rulestack to be created.
    UrlFilteringProfile string
    The setting to use for the URL Filtering Profile. Possible values include BestPractice, and Custom.
    VulnerabilityProfile string
    The setting to use for the Vulnerability Profile. Possible values include BestPractice, and Custom.
    ResourceGroupName string
    The name of the Resource Group where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    AntiSpywareProfile string
    The setting to use for Anti-Spyware. Possible values include BestPractice, and Custom.
    AntiVirusProfile string
    The setting to use for Anti-Virus. Possible values include BestPractice, and Custom.
    Description string
    The description for this Local Rulestack.
    DnsSubscription string
    TThe setting to use for DNS Subscription. Possible values include BestPractice, and Custom.
    FileBlockingProfile string
    The setting to use for the File Blocking Profile. Possible values include BestPractice, and Custom.
    Location string
    The Azure Region where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    Name string
    The name which should be used for this Palo Alto Networks Rulestack. Changing this forces a new Palo Alto Networks Rulestack to be created.
    UrlFilteringProfile string
    The setting to use for the URL Filtering Profile. Possible values include BestPractice, and Custom.
    VulnerabilityProfile string
    The setting to use for the Vulnerability Profile. Possible values include BestPractice, and Custom.
    resourceGroupName String
    The name of the Resource Group where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    antiSpywareProfile String
    The setting to use for Anti-Spyware. Possible values include BestPractice, and Custom.
    antiVirusProfile String
    The setting to use for Anti-Virus. Possible values include BestPractice, and Custom.
    description String
    The description for this Local Rulestack.
    dnsSubscription String
    TThe setting to use for DNS Subscription. Possible values include BestPractice, and Custom.
    fileBlockingProfile String
    The setting to use for the File Blocking Profile. Possible values include BestPractice, and Custom.
    location String
    The Azure Region where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    name String
    The name which should be used for this Palo Alto Networks Rulestack. Changing this forces a new Palo Alto Networks Rulestack to be created.
    urlFilteringProfile String
    The setting to use for the URL Filtering Profile. Possible values include BestPractice, and Custom.
    vulnerabilityProfile String
    The setting to use for the Vulnerability Profile. Possible values include BestPractice, and Custom.
    resourceGroupName string
    The name of the Resource Group where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    antiSpywareProfile string
    The setting to use for Anti-Spyware. Possible values include BestPractice, and Custom.
    antiVirusProfile string
    The setting to use for Anti-Virus. Possible values include BestPractice, and Custom.
    description string
    The description for this Local Rulestack.
    dnsSubscription string
    TThe setting to use for DNS Subscription. Possible values include BestPractice, and Custom.
    fileBlockingProfile string
    The setting to use for the File Blocking Profile. Possible values include BestPractice, and Custom.
    location string
    The Azure Region where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    name string
    The name which should be used for this Palo Alto Networks Rulestack. Changing this forces a new Palo Alto Networks Rulestack to be created.
    urlFilteringProfile string
    The setting to use for the URL Filtering Profile. Possible values include BestPractice, and Custom.
    vulnerabilityProfile string
    The setting to use for the Vulnerability Profile. Possible values include BestPractice, and Custom.
    resource_group_name str
    The name of the Resource Group where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    anti_spyware_profile str
    The setting to use for Anti-Spyware. Possible values include BestPractice, and Custom.
    anti_virus_profile str
    The setting to use for Anti-Virus. Possible values include BestPractice, and Custom.
    description str
    The description for this Local Rulestack.
    dns_subscription str
    TThe setting to use for DNS Subscription. Possible values include BestPractice, and Custom.
    file_blocking_profile str
    The setting to use for the File Blocking Profile. Possible values include BestPractice, and Custom.
    location str
    The Azure Region where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    name str
    The name which should be used for this Palo Alto Networks Rulestack. Changing this forces a new Palo Alto Networks Rulestack to be created.
    url_filtering_profile str
    The setting to use for the URL Filtering Profile. Possible values include BestPractice, and Custom.
    vulnerability_profile str
    The setting to use for the Vulnerability Profile. Possible values include BestPractice, and Custom.
    resourceGroupName String
    The name of the Resource Group where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    antiSpywareProfile String
    The setting to use for Anti-Spyware. Possible values include BestPractice, and Custom.
    antiVirusProfile String
    The setting to use for Anti-Virus. Possible values include BestPractice, and Custom.
    description String
    The description for this Local Rulestack.
    dnsSubscription String
    TThe setting to use for DNS Subscription. Possible values include BestPractice, and Custom.
    fileBlockingProfile String
    The setting to use for the File Blocking Profile. Possible values include BestPractice, and Custom.
    location String
    The Azure Region where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    name String
    The name which should be used for this Palo Alto Networks Rulestack. Changing this forces a new Palo Alto Networks Rulestack to be created.
    urlFilteringProfile String
    The setting to use for the URL Filtering Profile. Possible values include BestPractice, and Custom.
    vulnerabilityProfile String
    The setting to use for the Vulnerability Profile. Possible values include BestPractice, and Custom.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LocalRulestack resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing LocalRulestack Resource

    Get an existing LocalRulestack resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LocalRulestackState, opts?: CustomResourceOptions): LocalRulestack
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            anti_spyware_profile: Optional[str] = None,
            anti_virus_profile: Optional[str] = None,
            description: Optional[str] = None,
            dns_subscription: Optional[str] = None,
            file_blocking_profile: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            url_filtering_profile: Optional[str] = None,
            vulnerability_profile: Optional[str] = None) -> LocalRulestack
    func GetLocalRulestack(ctx *Context, name string, id IDInput, state *LocalRulestackState, opts ...ResourceOption) (*LocalRulestack, error)
    public static LocalRulestack Get(string name, Input<string> id, LocalRulestackState? state, CustomResourceOptions? opts = null)
    public static LocalRulestack get(String name, Output<String> id, LocalRulestackState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AntiSpywareProfile string
    The setting to use for Anti-Spyware. Possible values include BestPractice, and Custom.
    AntiVirusProfile string
    The setting to use for Anti-Virus. Possible values include BestPractice, and Custom.
    Description string
    The description for this Local Rulestack.
    DnsSubscription string
    TThe setting to use for DNS Subscription. Possible values include BestPractice, and Custom.
    FileBlockingProfile string
    The setting to use for the File Blocking Profile. Possible values include BestPractice, and Custom.
    Location string
    The Azure Region where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    Name string
    The name which should be used for this Palo Alto Networks Rulestack. Changing this forces a new Palo Alto Networks Rulestack to be created.
    ResourceGroupName string
    The name of the Resource Group where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    UrlFilteringProfile string
    The setting to use for the URL Filtering Profile. Possible values include BestPractice, and Custom.
    VulnerabilityProfile string
    The setting to use for the Vulnerability Profile. Possible values include BestPractice, and Custom.
    AntiSpywareProfile string
    The setting to use for Anti-Spyware. Possible values include BestPractice, and Custom.
    AntiVirusProfile string
    The setting to use for Anti-Virus. Possible values include BestPractice, and Custom.
    Description string
    The description for this Local Rulestack.
    DnsSubscription string
    TThe setting to use for DNS Subscription. Possible values include BestPractice, and Custom.
    FileBlockingProfile string
    The setting to use for the File Blocking Profile. Possible values include BestPractice, and Custom.
    Location string
    The Azure Region where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    Name string
    The name which should be used for this Palo Alto Networks Rulestack. Changing this forces a new Palo Alto Networks Rulestack to be created.
    ResourceGroupName string
    The name of the Resource Group where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    UrlFilteringProfile string
    The setting to use for the URL Filtering Profile. Possible values include BestPractice, and Custom.
    VulnerabilityProfile string
    The setting to use for the Vulnerability Profile. Possible values include BestPractice, and Custom.
    antiSpywareProfile String
    The setting to use for Anti-Spyware. Possible values include BestPractice, and Custom.
    antiVirusProfile String
    The setting to use for Anti-Virus. Possible values include BestPractice, and Custom.
    description String
    The description for this Local Rulestack.
    dnsSubscription String
    TThe setting to use for DNS Subscription. Possible values include BestPractice, and Custom.
    fileBlockingProfile String
    The setting to use for the File Blocking Profile. Possible values include BestPractice, and Custom.
    location String
    The Azure Region where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    name String
    The name which should be used for this Palo Alto Networks Rulestack. Changing this forces a new Palo Alto Networks Rulestack to be created.
    resourceGroupName String
    The name of the Resource Group where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    urlFilteringProfile String
    The setting to use for the URL Filtering Profile. Possible values include BestPractice, and Custom.
    vulnerabilityProfile String
    The setting to use for the Vulnerability Profile. Possible values include BestPractice, and Custom.
    antiSpywareProfile string
    The setting to use for Anti-Spyware. Possible values include BestPractice, and Custom.
    antiVirusProfile string
    The setting to use for Anti-Virus. Possible values include BestPractice, and Custom.
    description string
    The description for this Local Rulestack.
    dnsSubscription string
    TThe setting to use for DNS Subscription. Possible values include BestPractice, and Custom.
    fileBlockingProfile string
    The setting to use for the File Blocking Profile. Possible values include BestPractice, and Custom.
    location string
    The Azure Region where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    name string
    The name which should be used for this Palo Alto Networks Rulestack. Changing this forces a new Palo Alto Networks Rulestack to be created.
    resourceGroupName string
    The name of the Resource Group where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    urlFilteringProfile string
    The setting to use for the URL Filtering Profile. Possible values include BestPractice, and Custom.
    vulnerabilityProfile string
    The setting to use for the Vulnerability Profile. Possible values include BestPractice, and Custom.
    anti_spyware_profile str
    The setting to use for Anti-Spyware. Possible values include BestPractice, and Custom.
    anti_virus_profile str
    The setting to use for Anti-Virus. Possible values include BestPractice, and Custom.
    description str
    The description for this Local Rulestack.
    dns_subscription str
    TThe setting to use for DNS Subscription. Possible values include BestPractice, and Custom.
    file_blocking_profile str
    The setting to use for the File Blocking Profile. Possible values include BestPractice, and Custom.
    location str
    The Azure Region where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    name str
    The name which should be used for this Palo Alto Networks Rulestack. Changing this forces a new Palo Alto Networks Rulestack to be created.
    resource_group_name str
    The name of the Resource Group where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    url_filtering_profile str
    The setting to use for the URL Filtering Profile. Possible values include BestPractice, and Custom.
    vulnerability_profile str
    The setting to use for the Vulnerability Profile. Possible values include BestPractice, and Custom.
    antiSpywareProfile String
    The setting to use for Anti-Spyware. Possible values include BestPractice, and Custom.
    antiVirusProfile String
    The setting to use for Anti-Virus. Possible values include BestPractice, and Custom.
    description String
    The description for this Local Rulestack.
    dnsSubscription String
    TThe setting to use for DNS Subscription. Possible values include BestPractice, and Custom.
    fileBlockingProfile String
    The setting to use for the File Blocking Profile. Possible values include BestPractice, and Custom.
    location String
    The Azure Region where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    name String
    The name which should be used for this Palo Alto Networks Rulestack. Changing this forces a new Palo Alto Networks Rulestack to be created.
    resourceGroupName String
    The name of the Resource Group where the Palo Alto Networks Rulestack should exist. Changing this forces a new Palo Alto Networks Rulestack to be created.
    urlFilteringProfile String
    The setting to use for the URL Filtering Profile. Possible values include BestPractice, and Custom.
    vulnerabilityProfile String
    The setting to use for the Vulnerability Profile. Possible values include BestPractice, and Custom.

    Import

    Palo Alto Networks Rulestacks can be imported using the resource id, e.g.

    $ pulumi import azure:paloalto/localRulestack:LocalRulestack example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/myLocalRulestack
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.67.1 published on Tuesday, Feb 27, 2024 by Pulumi