1. Packages
  2. Palo Alto Networks Cloud NGFW For AWS Provider
  3. API Docs
  4. getRulestack
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi

cloudngfwaws.getRulestack

Explore with Pulumi AI

cloudngfwaws logo
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi

    Data source for retrieving rulestack information.

    Admin Permission Type

    • Rulestack (for scope="Local")
    • Global Rulestack (for scope="Global")

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudngfwaws from "@pulumi/cloudngfwaws";
    
    const example = cloudngfwaws.getRulestack({
        name: "my-rulestack-name",
    });
    
    import pulumi
    import pulumi_cloudngfwaws as cloudngfwaws
    
    example = cloudngfwaws.get_rulestack(name="my-rulestack-name")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudngfwaws/sdk/go/cloudngfwaws"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudngfwaws.LookupRulestack(ctx, &cloudngfwaws.LookupRulestackArgs{
    			Name: "my-rulestack-name",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using CloudNgfwAws = Pulumi.CloudNgfwAws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = CloudNgfwAws.GetRulestack.Invoke(new()
        {
            Name = "my-rulestack-name",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudngfwaws.CloudngfwawsFunctions;
    import com.pulumi.cloudngfwaws.inputs.GetRulestackArgs;
    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 = CloudngfwawsFunctions.getRulestack(GetRulestackArgs.builder()
                .name("my-rulestack-name")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: cloudngfwaws:getRulestack
          Arguments:
            name: my-rulestack-name
    

    Using getRulestack

    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 getRulestack(args: GetRulestackArgs, opts?: InvokeOptions): Promise<GetRulestackResult>
    function getRulestackOutput(args: GetRulestackOutputArgs, opts?: InvokeOptions): Output<GetRulestackResult>
    def get_rulestack(config_type: Optional[str] = None,
                      name: Optional[str] = None,
                      scope: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetRulestackResult
    def get_rulestack_output(config_type: Optional[pulumi.Input[str]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      scope: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetRulestackResult]
    func LookupRulestack(ctx *Context, args *LookupRulestackArgs, opts ...InvokeOption) (*LookupRulestackResult, error)
    func LookupRulestackOutput(ctx *Context, args *LookupRulestackOutputArgs, opts ...InvokeOption) LookupRulestackResultOutput

    > Note: This function is named LookupRulestack in the Go SDK.

    public static class GetRulestack 
    {
        public static Task<GetRulestackResult> InvokeAsync(GetRulestackArgs args, InvokeOptions? opts = null)
        public static Output<GetRulestackResult> Invoke(GetRulestackInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRulestackResult> getRulestack(GetRulestackArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: cloudngfwaws:index/getRulestack:getRulestack
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name.
    ConfigType string
    Retrieve either the candidate or running config. Valid values are candidate or running. Defaults to candidate.
    Scope string
    The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are Local or Global. Defaults to Local.
    Name string
    The name.
    ConfigType string
    Retrieve either the candidate or running config. Valid values are candidate or running. Defaults to candidate.
    Scope string
    The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are Local or Global. Defaults to Local.
    name String
    The name.
    configType String
    Retrieve either the candidate or running config. Valid values are candidate or running. Defaults to candidate.
    scope String
    The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are Local or Global. Defaults to Local.
    name string
    The name.
    configType string
    Retrieve either the candidate or running config. Valid values are candidate or running. Defaults to candidate.
    scope string
    The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are Local or Global. Defaults to Local.
    name str
    The name.
    config_type str
    Retrieve either the candidate or running config. Valid values are candidate or running. Defaults to candidate.
    scope str
    The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are Local or Global. Defaults to Local.
    name String
    The name.
    configType String
    Retrieve either the candidate or running config. Valid values are candidate or running. Defaults to candidate.
    scope String
    The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are Local or Global. Defaults to Local.

    getRulestack Result

    The following output properties are available:

    AccountGroup string
    Account group.
    AccountId string
    The account ID.
    Description string
    The description.
    Id string
    The provider-assigned unique ID for this managed resource.
    LookupXForwardedFor string
    Lookup x forwarded for.
    MinimumAppIdVersion string
    Minimum App-ID version number.
    Name string
    The name.
    ProfileConfigs List<Pulumi.CloudNgfwAws.Outputs.GetRulestackProfileConfig>
    State string
    The rulestack state.
    Tags Dictionary<string, string>
    The tags.
    ConfigType string
    Retrieve either the candidate or running config. Valid values are candidate or running. Defaults to candidate.
    Scope string
    The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are Local or Global. Defaults to Local.
    AccountGroup string
    Account group.
    AccountId string
    The account ID.
    Description string
    The description.
    Id string
    The provider-assigned unique ID for this managed resource.
    LookupXForwardedFor string
    Lookup x forwarded for.
    MinimumAppIdVersion string
    Minimum App-ID version number.
    Name string
    The name.
    ProfileConfigs []GetRulestackProfileConfig
    State string
    The rulestack state.
    Tags map[string]string
    The tags.
    ConfigType string
    Retrieve either the candidate or running config. Valid values are candidate or running. Defaults to candidate.
    Scope string
    The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are Local or Global. Defaults to Local.
    accountGroup String
    Account group.
    accountId String
    The account ID.
    description String
    The description.
    id String
    The provider-assigned unique ID for this managed resource.
    lookupXForwardedFor String
    Lookup x forwarded for.
    minimumAppIdVersion String
    Minimum App-ID version number.
    name String
    The name.
    profileConfigs List<GetRulestackProfileConfig>
    state String
    The rulestack state.
    tags Map<String,String>
    The tags.
    configType String
    Retrieve either the candidate or running config. Valid values are candidate or running. Defaults to candidate.
    scope String
    The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are Local or Global. Defaults to Local.
    accountGroup string
    Account group.
    accountId string
    The account ID.
    description string
    The description.
    id string
    The provider-assigned unique ID for this managed resource.
    lookupXForwardedFor string
    Lookup x forwarded for.
    minimumAppIdVersion string
    Minimum App-ID version number.
    name string
    The name.
    profileConfigs GetRulestackProfileConfig[]
    state string
    The rulestack state.
    tags {[key: string]: string}
    The tags.
    configType string
    Retrieve either the candidate or running config. Valid values are candidate or running. Defaults to candidate.
    scope string
    The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are Local or Global. Defaults to Local.
    account_group str
    Account group.
    account_id str
    The account ID.
    description str
    The description.
    id str
    The provider-assigned unique ID for this managed resource.
    lookup_x_forwarded_for str
    Lookup x forwarded for.
    minimum_app_id_version str
    Minimum App-ID version number.
    name str
    The name.
    profile_configs Sequence[GetRulestackProfileConfig]
    state str
    The rulestack state.
    tags Mapping[str, str]
    The tags.
    config_type str
    Retrieve either the candidate or running config. Valid values are candidate or running. Defaults to candidate.
    scope str
    The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are Local or Global. Defaults to Local.
    accountGroup String
    Account group.
    accountId String
    The account ID.
    description String
    The description.
    id String
    The provider-assigned unique ID for this managed resource.
    lookupXForwardedFor String
    Lookup x forwarded for.
    minimumAppIdVersion String
    Minimum App-ID version number.
    name String
    The name.
    profileConfigs List<Property Map>
    state String
    The rulestack state.
    tags Map<String>
    The tags.
    configType String
    Retrieve either the candidate or running config. Valid values are candidate or running. Defaults to candidate.
    scope String
    The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are Local or Global. Defaults to Local.

    Supporting Types

    GetRulestackProfileConfig

    AntiSpyware string
    Anti-spyware profile setting.
    AntiVirus string
    Anti-virus profile setting.
    FileBlocking string
    File blocking profile setting.
    OutboundTrustCertificate string
    Outbound trust certificate.
    OutboundUntrustCertificate string
    Outbound untrust certificate.
    UrlFiltering string
    URL filtering profile setting.
    Vulnerability string
    Vulnerability profile setting.
    AntiSpyware string
    Anti-spyware profile setting.
    AntiVirus string
    Anti-virus profile setting.
    FileBlocking string
    File blocking profile setting.
    OutboundTrustCertificate string
    Outbound trust certificate.
    OutboundUntrustCertificate string
    Outbound untrust certificate.
    UrlFiltering string
    URL filtering profile setting.
    Vulnerability string
    Vulnerability profile setting.
    antiSpyware String
    Anti-spyware profile setting.
    antiVirus String
    Anti-virus profile setting.
    fileBlocking String
    File blocking profile setting.
    outboundTrustCertificate String
    Outbound trust certificate.
    outboundUntrustCertificate String
    Outbound untrust certificate.
    urlFiltering String
    URL filtering profile setting.
    vulnerability String
    Vulnerability profile setting.
    antiSpyware string
    Anti-spyware profile setting.
    antiVirus string
    Anti-virus profile setting.
    fileBlocking string
    File blocking profile setting.
    outboundTrustCertificate string
    Outbound trust certificate.
    outboundUntrustCertificate string
    Outbound untrust certificate.
    urlFiltering string
    URL filtering profile setting.
    vulnerability string
    Vulnerability profile setting.
    anti_spyware str
    Anti-spyware profile setting.
    anti_virus str
    Anti-virus profile setting.
    file_blocking str
    File blocking profile setting.
    outbound_trust_certificate str
    Outbound trust certificate.
    outbound_untrust_certificate str
    Outbound untrust certificate.
    url_filtering str
    URL filtering profile setting.
    vulnerability str
    Vulnerability profile setting.
    antiSpyware String
    Anti-spyware profile setting.
    antiVirus String
    Anti-virus profile setting.
    fileBlocking String
    File blocking profile setting.
    outboundTrustCertificate String
    Outbound trust certificate.
    outboundUntrustCertificate String
    Outbound untrust certificate.
    urlFiltering String
    URL filtering profile setting.
    vulnerability String
    Vulnerability profile setting.

    Package Details

    Repository
    cloudngfwaws pulumi/pulumi-cloudngfwaws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudngfwaws Terraform Provider.
    cloudngfwaws logo
    Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi