1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getAppOverrideRuleList
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi

    Retrieves a listing of config items.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const allPreRules = scm.getAppOverrideRuleList({
        offset: 10,
        position: "pre",
        folder: "All",
    });
    export const fetchedRuleListSummary = {
        countOfRulesFetched: allPreRules.then(allPreRules => allPreRules.total),
        firstRuleName: allPreRules.then(allPreRules => allPreRules.datas?.[0]?.name),
    };
    
    import pulumi
    import pulumi_scm as scm
    
    all_pre_rules = scm.get_app_override_rule_list(offset=10,
        position="pre",
        folder="All")
    pulumi.export("fetchedRuleListSummary", {
        "countOfRulesFetched": all_pre_rules.total,
        "firstRuleName": all_pre_rules.datas[0].name,
    })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		allPreRules, err := scm.GetAppOverrideRuleList(ctx, &scm.GetAppOverrideRuleListArgs{
    			Offset:   pulumi.IntRef(10),
    			Position: "pre",
    			Folder:   pulumi.StringRef("All"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("fetchedRuleListSummary", pulumi.Map{
    			"countOfRulesFetched": allPreRules.Total,
    			"firstRuleName":       allPreRules.Datas[0].Name,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var allPreRules = Scm.GetAppOverrideRuleList.Invoke(new()
        {
            Offset = 10,
            Position = "pre",
            Folder = "All",
        });
    
        return new Dictionary<string, object?>
        {
            ["fetchedRuleListSummary"] = 
            {
                { "countOfRulesFetched", allPreRules.Apply(getAppOverrideRuleListResult => getAppOverrideRuleListResult.Total) },
                { "firstRuleName", allPreRules.Apply(getAppOverrideRuleListResult => getAppOverrideRuleListResult.Datas[0]?.Name) },
            },
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetAppOverrideRuleListArgs;
    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 allPreRules = ScmFunctions.getAppOverrideRuleList(GetAppOverrideRuleListArgs.builder()
                .offset(10)
                .position("pre")
                .folder("All")
                .build());
    
            ctx.export("fetchedRuleListSummary", Map.ofEntries(
                Map.entry("countOfRulesFetched", allPreRules.total()),
                Map.entry("firstRuleName", allPreRules.datas()[0].name())
            ));
        }
    }
    
    variables:
      allPreRules:
        fn::invoke:
          function: scm:getAppOverrideRuleList
          arguments:
            offset: 10
            position: pre
            folder: All
    outputs:
      # -----------------------------------------------------------------------------
      # 5. OUTPUT: Display the fetched list data
      # -----------------------------------------------------------------------------
      fetchedRuleListSummary:
        countOfRulesFetched: ${allPreRules.total}
        firstRuleName: ${allPreRules.datas[0].name}
    

    Using getAppOverrideRuleList

    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 getAppOverrideRuleList(args: GetAppOverrideRuleListArgs, opts?: InvokeOptions): Promise<GetAppOverrideRuleListResult>
    function getAppOverrideRuleListOutput(args: GetAppOverrideRuleListOutputArgs, opts?: InvokeOptions): Output<GetAppOverrideRuleListResult>
    def get_app_override_rule_list(device: Optional[str] = None,
                                   folder: Optional[str] = None,
                                   limit: Optional[int] = None,
                                   name: Optional[str] = None,
                                   offset: Optional[int] = None,
                                   position: Optional[str] = None,
                                   snippet: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetAppOverrideRuleListResult
    def get_app_override_rule_list_output(device: Optional[pulumi.Input[str]] = None,
                                   folder: Optional[pulumi.Input[str]] = None,
                                   limit: Optional[pulumi.Input[int]] = None,
                                   name: Optional[pulumi.Input[str]] = None,
                                   offset: Optional[pulumi.Input[int]] = None,
                                   position: Optional[pulumi.Input[str]] = None,
                                   snippet: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetAppOverrideRuleListResult]
    func GetAppOverrideRuleList(ctx *Context, args *GetAppOverrideRuleListArgs, opts ...InvokeOption) (*GetAppOverrideRuleListResult, error)
    func GetAppOverrideRuleListOutput(ctx *Context, args *GetAppOverrideRuleListOutputArgs, opts ...InvokeOption) GetAppOverrideRuleListResultOutput

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

    public static class GetAppOverrideRuleList 
    {
        public static Task<GetAppOverrideRuleListResult> InvokeAsync(GetAppOverrideRuleListArgs args, InvokeOptions? opts = null)
        public static Output<GetAppOverrideRuleListResult> Invoke(GetAppOverrideRuleListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppOverrideRuleListResult> getAppOverrideRuleList(GetAppOverrideRuleListArgs args, InvokeOptions options)
    public static Output<GetAppOverrideRuleListResult> getAppOverrideRuleList(GetAppOverrideRuleListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getAppOverrideRuleList:getAppOverrideRuleList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Position string
    The position of a security rule
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Position string
    The position of a security rule
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    position String
    The position of a security rule
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    position string
    The position of a security rule
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    position str
    The position of a security rule
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    position String
    The position of a security rule
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    getAppOverrideRuleList Result

    The following output properties are available:

    Datas List<GetAppOverrideRuleListData>
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Position string
    The position of a security rule
    Tfid string
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Datas []GetAppOverrideRuleListData
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Position string
    The position of a security rule
    Tfid string
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    datas List<GetAppOverrideRuleListData>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    position String
    The position of a security rule
    tfid String
    total Integer
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    datas GetAppOverrideRuleListData[]
    The data.
    id string
    The provider-assigned unique ID for this managed resource.
    position string
    The position of a security rule
    tfid string
    total number
    The total number of items.
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    datas Sequence[GetAppOverrideRuleListData]
    The data.
    id str
    The provider-assigned unique ID for this managed resource.
    position str
    The position of a security rule
    tfid str
    total int
    The total number of items.
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    datas List<Property Map>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    position String
    The position of a security rule
    tfid String
    total Number
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    Supporting Types

    GetAppOverrideRuleListData

    Application string
    Application
    Description string
    Description
    Destinations List<string>
    Destination
    Device string
    The device in which the resource is defined
    Disabled bool
    Disabled
    Folder string
    The folder in which the resource is defined
    Froms List<string>
    From
    GroupTag string
    Group tag
    Id string
    UUID of the resource
    Name string
    Name
    NegateDestination bool
    Negate destination
    NegateSource bool
    Negate source
    Port string
    Port
    Position string
    The position of a security rule
    Protocol string
    Protocol
    RelativePosition string
    Relative positioning rule. String must be one of these: "before", "after", "top", "bottom". If not specified, rule is created at the bottom of the ruleset.
    Snippet string
    The snippet in which the resource is defined
    Sources List<string>
    Source
    Tags List<string>
    Tag
    TargetRule string
    The name or UUID of the rule to position this rule relative to. Required when relative_position is "before" or "after".
    Tfid string
    Tos List<string>
    To
    Application string
    Application
    Description string
    Description
    Destinations []string
    Destination
    Device string
    The device in which the resource is defined
    Disabled bool
    Disabled
    Folder string
    The folder in which the resource is defined
    Froms []string
    From
    GroupTag string
    Group tag
    Id string
    UUID of the resource
    Name string
    Name
    NegateDestination bool
    Negate destination
    NegateSource bool
    Negate source
    Port string
    Port
    Position string
    The position of a security rule
    Protocol string
    Protocol
    RelativePosition string
    Relative positioning rule. String must be one of these: "before", "after", "top", "bottom". If not specified, rule is created at the bottom of the ruleset.
    Snippet string
    The snippet in which the resource is defined
    Sources []string
    Source
    Tags []string
    Tag
    TargetRule string
    The name or UUID of the rule to position this rule relative to. Required when relative_position is "before" or "after".
    Tfid string
    Tos []string
    To
    application String
    Application
    description String
    Description
    destinations List<String>
    Destination
    device String
    The device in which the resource is defined
    disabled Boolean
    Disabled
    folder String
    The folder in which the resource is defined
    froms List<String>
    From
    groupTag String
    Group tag
    id String
    UUID of the resource
    name String
    Name
    negateDestination Boolean
    Negate destination
    negateSource Boolean
    Negate source
    port String
    Port
    position String
    The position of a security rule
    protocol String
    Protocol
    relativePosition String
    Relative positioning rule. String must be one of these: "before", "after", "top", "bottom". If not specified, rule is created at the bottom of the ruleset.
    snippet String
    The snippet in which the resource is defined
    sources List<String>
    Source
    tags List<String>
    Tag
    targetRule String
    The name or UUID of the rule to position this rule relative to. Required when relative_position is "before" or "after".
    tfid String
    tos List<String>
    To
    application string
    Application
    description string
    Description
    destinations string[]
    Destination
    device string
    The device in which the resource is defined
    disabled boolean
    Disabled
    folder string
    The folder in which the resource is defined
    froms string[]
    From
    groupTag string
    Group tag
    id string
    UUID of the resource
    name string
    Name
    negateDestination boolean
    Negate destination
    negateSource boolean
    Negate source
    port string
    Port
    position string
    The position of a security rule
    protocol string
    Protocol
    relativePosition string
    Relative positioning rule. String must be one of these: "before", "after", "top", "bottom". If not specified, rule is created at the bottom of the ruleset.
    snippet string
    The snippet in which the resource is defined
    sources string[]
    Source
    tags string[]
    Tag
    targetRule string
    The name or UUID of the rule to position this rule relative to. Required when relative_position is "before" or "after".
    tfid string
    tos string[]
    To
    application str
    Application
    description str
    Description
    destinations Sequence[str]
    Destination
    device str
    The device in which the resource is defined
    disabled bool
    Disabled
    folder str
    The folder in which the resource is defined
    froms Sequence[str]
    From
    group_tag str
    Group tag
    id str
    UUID of the resource
    name str
    Name
    negate_destination bool
    Negate destination
    negate_source bool
    Negate source
    port str
    Port
    position str
    The position of a security rule
    protocol str
    Protocol
    relative_position str
    Relative positioning rule. String must be one of these: "before", "after", "top", "bottom". If not specified, rule is created at the bottom of the ruleset.
    snippet str
    The snippet in which the resource is defined
    sources Sequence[str]
    Source
    tags Sequence[str]
    Tag
    target_rule str
    The name or UUID of the rule to position this rule relative to. Required when relative_position is "before" or "after".
    tfid str
    tos Sequence[str]
    To
    application String
    Application
    description String
    Description
    destinations List<String>
    Destination
    device String
    The device in which the resource is defined
    disabled Boolean
    Disabled
    folder String
    The folder in which the resource is defined
    froms List<String>
    From
    groupTag String
    Group tag
    id String
    UUID of the resource
    name String
    Name
    negateDestination Boolean
    Negate destination
    negateSource Boolean
    Negate source
    port String
    Port
    position String
    The position of a security rule
    protocol String
    Protocol
    relativePosition String
    Relative positioning rule. String must be one of these: "before", "after", "top", "bottom". If not specified, rule is created at the bottom of the ruleset.
    snippet String
    The snippet in which the resource is defined
    sources List<String>
    Source
    tags List<String>
    Tag
    targetRule String
    The name or UUID of the rule to position this rule relative to. Required when relative_position is "before" or "after".
    tfid String
    tos List<String>
    To

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate