1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getDecryptionRule
Strata Cloud Manager v1.0.1 published on Wednesday, Nov 26, 2025 by Pulumi
scm logo
Strata Cloud Manager v1.0.1 published on Wednesday, Nov 26, 2025 by Pulumi

    DecryptionRule data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    // We use the ID from the resource created above.
    const singleRuleById = scm.getDecryptionRule({
        id: "b3544acb-fc55-4c6f-921d-4128b5a1d135",
    });
    export const singleDecryptionRuleName = singleRuleById;
    
    import pulumi
    import pulumi_scm as scm
    
    # We use the ID from the resource created above.
    single_rule_by_id = scm.get_decryption_rule(id="b3544acb-fc55-4c6f-921d-4128b5a1d135")
    pulumi.export("singleDecryptionRuleName", 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 {
    		// We use the ID from the resource created above.
    		singleRuleById, err := scm.LookupDecryptionRule(ctx, &scm.LookupDecryptionRuleArgs{
    			Id: "b3544acb-fc55-4c6f-921d-4128b5a1d135",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("singleDecryptionRuleName", singleRuleById)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // We use the ID from the resource created above.
        var singleRuleById = Scm.GetDecryptionRule.Invoke(new()
        {
            Id = "b3544acb-fc55-4c6f-921d-4128b5a1d135",
        });
    
        return new Dictionary<string, object?>
        {
            ["singleDecryptionRuleName"] = 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.GetDecryptionRuleArgs;
    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) {
            // We use the ID from the resource created above.
            final var singleRuleById = ScmFunctions.getDecryptionRule(GetDecryptionRuleArgs.builder()
                .id("b3544acb-fc55-4c6f-921d-4128b5a1d135")
                .build());
    
            ctx.export("singleDecryptionRuleName", singleRuleById);
        }
    }
    
    variables:
      # We use the ID from the resource created above.
      singleRuleById:
        fn::invoke:
          function: scm:getDecryptionRule
          arguments:
            id: b3544acb-fc55-4c6f-921d-4128b5a1d135
    outputs:
      singleDecryptionRuleName: ${singleRuleById}
    

    Using getDecryptionRule

    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 getDecryptionRule(args: GetDecryptionRuleArgs, opts?: InvokeOptions): Promise<GetDecryptionRuleResult>
    function getDecryptionRuleOutput(args: GetDecryptionRuleOutputArgs, opts?: InvokeOptions): Output<GetDecryptionRuleResult>
    def get_decryption_rule(id: Optional[str] = None,
                            name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetDecryptionRuleResult
    def get_decryption_rule_output(id: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetDecryptionRuleResult]
    func LookupDecryptionRule(ctx *Context, args *LookupDecryptionRuleArgs, opts ...InvokeOption) (*LookupDecryptionRuleResult, error)
    func LookupDecryptionRuleOutput(ctx *Context, args *LookupDecryptionRuleOutputArgs, opts ...InvokeOption) LookupDecryptionRuleResultOutput

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

    public static class GetDecryptionRule 
    {
        public static Task<GetDecryptionRuleResult> InvokeAsync(GetDecryptionRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetDecryptionRuleResult> Invoke(GetDecryptionRuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDecryptionRuleResult> getDecryptionRule(GetDecryptionRuleArgs args, InvokeOptions options)
    public static Output<GetDecryptionRuleResult> getDecryptionRule(GetDecryptionRuleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getDecryptionRule:getDecryptionRule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The UUID of the decryption rule
    Name string
    The name of the decryption rule
    Id string
    The UUID of the decryption rule
    Name string
    The name of the decryption rule
    id String
    The UUID of the decryption rule
    name String
    The name of the decryption rule
    id string
    The UUID of the decryption rule
    name string
    The name of the decryption rule
    id str
    The UUID of the decryption rule
    name str
    The name of the decryption rule
    id String
    The UUID of the decryption rule
    name String
    The name of the decryption rule

    getDecryptionRule Result

    The following output properties are available:

    Action string
    The action to be taken
    Categories List<string>
    The destination URL category
    Description string
    The description of the decryption rule
    DestinationHips List<string>
    The Host Integrity Profile of the destination host
    Destinations List<string>
    The destination addresses
    Device string
    The device in which the resource is defined
    Disabled bool
    Folder string
    Froms List<string>
    Id string
    The UUID of the decryption rule
    LogFail bool
    LogSetting string
    LogSuccess bool
    Name string
    The name of the decryption rule
    NegateDestination bool
    NegateSource bool
    Position string
    Profile string
    RelativePosition string
    Services List<string>
    Snippet string
    SourceHips List<string>
    SourceUsers List<string>
    Sources List<string>
    Tags List<string>
    TargetRule string
    Tfid string
    Tos List<string>
    Type GetDecryptionRuleType
    Action string
    The action to be taken
    Categories []string
    The destination URL category
    Description string
    The description of the decryption rule
    DestinationHips []string
    The Host Integrity Profile of the destination host
    Destinations []string
    The destination addresses
    Device string
    The device in which the resource is defined
    Disabled bool
    Folder string
    Froms []string
    Id string
    The UUID of the decryption rule
    LogFail bool
    LogSetting string
    LogSuccess bool
    Name string
    The name of the decryption rule
    NegateDestination bool
    NegateSource bool
    Position string
    Profile string
    RelativePosition string
    Services []string
    Snippet string
    SourceHips []string
    SourceUsers []string
    Sources []string
    Tags []string
    TargetRule string
    Tfid string
    Tos []string
    Type GetDecryptionRuleType
    action String
    The action to be taken
    categories List<String>
    The destination URL category
    description String
    The description of the decryption rule
    destinationHips List<String>
    The Host Integrity Profile of the destination host
    destinations List<String>
    The destination addresses
    device String
    The device in which the resource is defined
    disabled Boolean
    folder String
    froms List<String>
    id String
    The UUID of the decryption rule
    logFail Boolean
    logSetting String
    logSuccess Boolean
    name String
    The name of the decryption rule
    negateDestination Boolean
    negateSource Boolean
    position String
    profile String
    relativePosition String
    services List<String>
    snippet String
    sourceHips List<String>
    sourceUsers List<String>
    sources List<String>
    tags List<String>
    targetRule String
    tfid String
    tos List<String>
    type GetDecryptionRuleType
    action string
    The action to be taken
    categories string[]
    The destination URL category
    description string
    The description of the decryption rule
    destinationHips string[]
    The Host Integrity Profile of the destination host
    destinations string[]
    The destination addresses
    device string
    The device in which the resource is defined
    disabled boolean
    folder string
    froms string[]
    id string
    The UUID of the decryption rule
    logFail boolean
    logSetting string
    logSuccess boolean
    name string
    The name of the decryption rule
    negateDestination boolean
    negateSource boolean
    position string
    profile string
    relativePosition string
    services string[]
    snippet string
    sourceHips string[]
    sourceUsers string[]
    sources string[]
    tags string[]
    targetRule string
    tfid string
    tos string[]
    type GetDecryptionRuleType
    action str
    The action to be taken
    categories Sequence[str]
    The destination URL category
    description str
    The description of the decryption rule
    destination_hips Sequence[str]
    The Host Integrity Profile of the destination host
    destinations Sequence[str]
    The destination addresses
    device str
    The device in which the resource is defined
    disabled bool
    folder str
    froms Sequence[str]
    id str
    The UUID of the decryption rule
    log_fail bool
    log_setting str
    log_success bool
    name str
    The name of the decryption rule
    negate_destination bool
    negate_source bool
    position str
    profile str
    relative_position str
    services Sequence[str]
    snippet str
    source_hips Sequence[str]
    source_users Sequence[str]
    sources Sequence[str]
    tags Sequence[str]
    target_rule str
    tfid str
    tos Sequence[str]
    type GetDecryptionRuleType
    action String
    The action to be taken
    categories List<String>
    The destination URL category
    description String
    The description of the decryption rule
    destinationHips List<String>
    The Host Integrity Profile of the destination host
    destinations List<String>
    The destination addresses
    device String
    The device in which the resource is defined
    disabled Boolean
    folder String
    froms List<String>
    id String
    The UUID of the decryption rule
    logFail Boolean
    logSetting String
    logSuccess Boolean
    name String
    The name of the decryption rule
    negateDestination Boolean
    negateSource Boolean
    position String
    profile String
    relativePosition String
    services List<String>
    snippet String
    sourceHips List<String>
    sourceUsers List<String>
    sources List<String>
    tags List<String>
    targetRule String
    tfid String
    tos List<String>
    type Property Map

    Supporting Types

    GetDecryptionRuleType

    SslForwardProxy GetDecryptionRuleTypeSslForwardProxy
    Ssl forward proxy
    SslInboundInspection string

    add the certificate name for SSL inbound inspection

    ℹ️ Note: You must specify exactly one of ssl_forward_proxy and ssl_inbound_inspection.

    SslForwardProxy GetDecryptionRuleTypeSslForwardProxy
    Ssl forward proxy
    SslInboundInspection string

    add the certificate name for SSL inbound inspection

    ℹ️ Note: You must specify exactly one of ssl_forward_proxy and ssl_inbound_inspection.

    sslForwardProxy GetDecryptionRuleTypeSslForwardProxy
    Ssl forward proxy
    sslInboundInspection String

    add the certificate name for SSL inbound inspection

    ℹ️ Note: You must specify exactly one of ssl_forward_proxy and ssl_inbound_inspection.

    sslForwardProxy GetDecryptionRuleTypeSslForwardProxy
    Ssl forward proxy
    sslInboundInspection string

    add the certificate name for SSL inbound inspection

    ℹ️ Note: You must specify exactly one of ssl_forward_proxy and ssl_inbound_inspection.

    ssl_forward_proxy GetDecryptionRuleTypeSslForwardProxy
    Ssl forward proxy
    ssl_inbound_inspection str

    add the certificate name for SSL inbound inspection

    ℹ️ Note: You must specify exactly one of ssl_forward_proxy and ssl_inbound_inspection.

    sslForwardProxy Property Map
    Ssl forward proxy
    sslInboundInspection String

    add the certificate name for SSL inbound inspection

    ℹ️ Note: You must specify exactly one of ssl_forward_proxy and ssl_inbound_inspection.

    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 v1.0.1 published on Wednesday, Nov 26, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate