Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi
Strata Cloud ManagerViewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi
AppOverrideRule data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const singleRuleById = scm.getAppOverrideRule({
id: "8c285335-3c95-47c9-9bbd-829105b4a15c",
});
export const singleAppOverrideRuleName = singleRuleById;
import pulumi
import pulumi_scm as scm
single_rule_by_id = scm.get_app_override_rule(id="8c285335-3c95-47c9-9bbd-829105b4a15c")
pulumi.export("singleAppOverrideRuleName", single_rule_by_id)
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 {
singleRuleById, err := scm.GetAppOverrideRule(ctx, &scm.LookupAppOverrideRuleArgs{
Id: "8c285335-3c95-47c9-9bbd-829105b4a15c",
}, nil)
if err != nil {
return err
}
ctx.Export("singleAppOverrideRuleName", singleRuleById)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var singleRuleById = Scm.GetAppOverrideRule.Invoke(new()
{
Id = "8c285335-3c95-47c9-9bbd-829105b4a15c",
});
return new Dictionary<string, object?>
{
["singleAppOverrideRuleName"] = singleRuleById,
};
});
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.GetAppOverrideRuleArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 singleRuleById = ScmFunctions.getAppOverrideRule(GetAppOverrideRuleArgs.builder()
.id("8c285335-3c95-47c9-9bbd-829105b4a15c")
.build());
ctx.export("singleAppOverrideRuleName", singleRuleById);
}
}
variables:
singleRuleById:
fn::invoke:
function: scm:getAppOverrideRule
arguments:
id: 8c285335-3c95-47c9-9bbd-829105b4a15c
outputs:
singleAppOverrideRuleName: ${singleRuleById}
terraform {
required_providers {
scm = {
source = "pulumi/scm"
}
}
}
data "scm_app_override_rule" "singleRuleById" {
id = "8c285335-3c95-47c9-9bbd-829105b4a15c"
}
# Requires the unique UUID of the rule
output "singleAppOverrideRuleName" {
value = data.scm_app_override_rule.singleRuleById
}
Using getAppOverrideRule
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 getAppOverrideRule(args: GetAppOverrideRuleArgs, opts?: InvokeOptions): Promise<GetAppOverrideRuleResult>
function getAppOverrideRuleOutput(args: GetAppOverrideRuleOutputArgs, opts?: InvokeOutputOptions): Output<GetAppOverrideRuleResult>def get_app_override_rule(device: Optional[str] = None,
folder: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppOverrideRuleResult
def get_app_override_rule_output(device: pulumi.Input[Optional[str]] = None,
folder: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
snippet: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAppOverrideRuleResult]func LookupAppOverrideRule(ctx *Context, args *LookupAppOverrideRuleArgs, opts ...InvokeOption) (*LookupAppOverrideRuleResult, error)
func LookupAppOverrideRuleOutput(ctx *Context, args *LookupAppOverrideRuleOutputArgs, opts ...InvokeOption) LookupAppOverrideRuleResultOutput> Note: This function is named LookupAppOverrideRule in the Go SDK.
public static class GetAppOverrideRule
{
public static Task<GetAppOverrideRuleResult> InvokeAsync(GetAppOverrideRuleArgs args, InvokeOptions? opts = null)
public static Output<GetAppOverrideRuleResult> Invoke(GetAppOverrideRuleInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAppOverrideRuleResult> Invoke(GetAppOverrideRuleInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAppOverrideRuleResult> getAppOverrideRule(GetAppOverrideRuleArgs args, InvokeOptions options)
public static Output<GetAppOverrideRuleResult> getAppOverrideRule(GetAppOverrideRuleArgs args, InvokeOptions options)
public static Output<GetAppOverrideRuleResult> getAppOverrideRule(GetAppOverrideRuleArgs args, InvokeOutputOptions options)
fn::invoke:
function: scm:index/getAppOverrideRule:getAppOverrideRule
arguments:
# arguments dictionarydata "scm_get_app_override_rule" "name" {
# arguments
}The following arguments are supported:
getAppOverrideRule Result
The following output properties are available:
- 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
- Group
Tag string - Group tag
- Id string
- UUID of the resource
- Name string
- Name
- Negate
Destination bool - Negate destination
- Negate
Source bool - Negate source
- Port string
- Port
- Position string
- The position of a security rule. Possible values are
preandpost. - Protocol string
- Protocol. Possible values are
tcpandudp. - Relative
Position 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
- List<string>
- Tag
- Target
Rule string - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - Tfid string
- The Terraform ID.
- 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
- Group
Tag string - Group tag
- Id string
- UUID of the resource
- Name string
- Name
- Negate
Destination bool - Negate destination
- Negate
Source bool - Negate source
- Port string
- Port
- Position string
- The position of a security rule. Possible values are
preandpost. - Protocol string
- Protocol. Possible values are
tcpandudp. - Relative
Position 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
- []string
- Tag
- Target
Rule string - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - Tfid string
- The Terraform ID.
- Tos []string
- To
- 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
- group_
tag string - Group tag
- id string
- UUID of the resource
- name string
- Name
- negate_
destination bool - Negate destination
- negate_
source bool - Negate source
- port string
- Port
- position string
- The position of a security rule. Possible values are
preandpost. - protocol string
- Protocol. Possible values are
tcpandudp. - relative_
position 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
- list(string)
- Tag
- target_
rule string - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - tfid string
- The Terraform ID.
- tos list(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
- group
Tag String - Group tag
- id String
- UUID of the resource
- name String
- Name
- negate
Destination Boolean - Negate destination
- negate
Source Boolean - Negate source
- port String
- Port
- position String
- The position of a security rule. Possible values are
preandpost. - protocol String
- Protocol. Possible values are
tcpandudp. - relative
Position 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
- List<String>
- Tag
- target
Rule String - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - tfid String
- The Terraform ID.
- 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
- group
Tag string - Group tag
- id string
- UUID of the resource
- name string
- Name
- negate
Destination boolean - Negate destination
- negate
Source boolean - Negate source
- port string
- Port
- position string
- The position of a security rule. Possible values are
preandpost. - protocol string
- Protocol. Possible values are
tcpandudp. - relative
Position 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
- string[]
- Tag
- target
Rule string - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - tfid string
- The Terraform ID.
- 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. Possible values are
preandpost. - protocol str
- Protocol. Possible values are
tcpandudp. - 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
- Sequence[str]
- Tag
- target_
rule str - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - tfid str
- The Terraform ID.
- 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
- group
Tag String - Group tag
- id String
- UUID of the resource
- name String
- Name
- negate
Destination Boolean - Negate destination
- negate
Source Boolean - Negate source
- port String
- Port
- position String
- The position of a security rule. Possible values are
preandpost. - protocol String
- Protocol. Possible values are
tcpandudp. - relative
Position 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
- List<String>
- Tag
- target
Rule String - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - tfid String
- The Terraform ID.
- tos List<String>
- To
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud ManagerViewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi