Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyDecryptionRules
Explore with Pulumi AI
This data source provides the list of Network Firewall Policy Decryption Rules in Oracle Cloud Infrastructure Network Firewall service.
Returns a list of Decryption Rule for the Network Firewall Policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNetworkFirewallPolicyDecryptionRules = oci.NetworkFirewall.getNetworkFirewallPolicyDecryptionRules({
    networkFirewallPolicyId: testNetworkFirewallPolicy.id,
    decryptionRulePriorityOrder: networkFirewallPolicyDecryptionRuleDecryptionRulePriorityOrder,
    displayName: networkFirewallPolicyDecryptionRuleDisplayName,
});
import pulumi
import pulumi_oci as oci
test_network_firewall_policy_decryption_rules = oci.NetworkFirewall.get_network_firewall_policy_decryption_rules(network_firewall_policy_id=test_network_firewall_policy["id"],
    decryption_rule_priority_order=network_firewall_policy_decryption_rule_decryption_rule_priority_order,
    display_name=network_firewall_policy_decryption_rule_display_name)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/networkfirewall"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networkfirewall.GetNetworkFirewallPolicyDecryptionRules(ctx, &networkfirewall.GetNetworkFirewallPolicyDecryptionRulesArgs{
			NetworkFirewallPolicyId:     testNetworkFirewallPolicy.Id,
			DecryptionRulePriorityOrder: pulumi.IntRef(networkFirewallPolicyDecryptionRuleDecryptionRulePriorityOrder),
			DisplayName:                 pulumi.StringRef(networkFirewallPolicyDecryptionRuleDisplayName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testNetworkFirewallPolicyDecryptionRules = Oci.NetworkFirewall.GetNetworkFirewallPolicyDecryptionRules.Invoke(new()
    {
        NetworkFirewallPolicyId = testNetworkFirewallPolicy.Id,
        DecryptionRulePriorityOrder = networkFirewallPolicyDecryptionRuleDecryptionRulePriorityOrder,
        DisplayName = networkFirewallPolicyDecryptionRuleDisplayName,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.NetworkFirewall.NetworkFirewallFunctions;
import com.pulumi.oci.NetworkFirewall.inputs.GetNetworkFirewallPolicyDecryptionRulesArgs;
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 testNetworkFirewallPolicyDecryptionRules = NetworkFirewallFunctions.getNetworkFirewallPolicyDecryptionRules(GetNetworkFirewallPolicyDecryptionRulesArgs.builder()
            .networkFirewallPolicyId(testNetworkFirewallPolicy.id())
            .decryptionRulePriorityOrder(networkFirewallPolicyDecryptionRuleDecryptionRulePriorityOrder)
            .displayName(networkFirewallPolicyDecryptionRuleDisplayName)
            .build());
    }
}
variables:
  testNetworkFirewallPolicyDecryptionRules:
    fn::invoke:
      function: oci:NetworkFirewall:getNetworkFirewallPolicyDecryptionRules
      arguments:
        networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
        decryptionRulePriorityOrder: ${networkFirewallPolicyDecryptionRuleDecryptionRulePriorityOrder}
        displayName: ${networkFirewallPolicyDecryptionRuleDisplayName}
Using getNetworkFirewallPolicyDecryptionRules
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 getNetworkFirewallPolicyDecryptionRules(args: GetNetworkFirewallPolicyDecryptionRulesArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyDecryptionRulesResult>
function getNetworkFirewallPolicyDecryptionRulesOutput(args: GetNetworkFirewallPolicyDecryptionRulesOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyDecryptionRulesResult>def get_network_firewall_policy_decryption_rules(decryption_rule_priority_order: Optional[int] = None,
                                                 display_name: Optional[str] = None,
                                                 filters: Optional[Sequence[GetNetworkFirewallPolicyDecryptionRulesFilter]] = None,
                                                 network_firewall_policy_id: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyDecryptionRulesResult
def get_network_firewall_policy_decryption_rules_output(decryption_rule_priority_order: Optional[pulumi.Input[int]] = None,
                                                 display_name: Optional[pulumi.Input[str]] = None,
                                                 filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetNetworkFirewallPolicyDecryptionRulesFilterArgs]]]] = None,
                                                 network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyDecryptionRulesResult]func GetNetworkFirewallPolicyDecryptionRules(ctx *Context, args *GetNetworkFirewallPolicyDecryptionRulesArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyDecryptionRulesResult, error)
func GetNetworkFirewallPolicyDecryptionRulesOutput(ctx *Context, args *GetNetworkFirewallPolicyDecryptionRulesOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyDecryptionRulesResultOutput> Note: This function is named GetNetworkFirewallPolicyDecryptionRules in the Go SDK.
public static class GetNetworkFirewallPolicyDecryptionRules 
{
    public static Task<GetNetworkFirewallPolicyDecryptionRulesResult> InvokeAsync(GetNetworkFirewallPolicyDecryptionRulesArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkFirewallPolicyDecryptionRulesResult> Invoke(GetNetworkFirewallPolicyDecryptionRulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkFirewallPolicyDecryptionRulesResult> getNetworkFirewallPolicyDecryptionRules(GetNetworkFirewallPolicyDecryptionRulesArgs args, InvokeOptions options)
public static Output<GetNetworkFirewallPolicyDecryptionRulesResult> getNetworkFirewallPolicyDecryptionRules(GetNetworkFirewallPolicyDecryptionRulesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:NetworkFirewall/getNetworkFirewallPolicyDecryptionRules:getNetworkFirewallPolicyDecryptionRules
  arguments:
    # arguments dictionaryThe following arguments are supported:
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- DecryptionRule intPriority Order 
- Unique priority order for Decryption Rules in the network firewall policy.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
List<GetNetwork Firewall Policy Decryption Rules Filter> 
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- DecryptionRule intPriority Order 
- Unique priority order for Decryption Rules in the network firewall policy.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
[]GetNetwork Firewall Policy Decryption Rules Filter 
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
- decryptionRule IntegerPriority Order 
- Unique priority order for Decryption Rules in the network firewall policy.
- displayName String
- A filter to return only resources that match the entire display name given.
- filters
List<GetPolicy Decryption Rules Filter> 
- networkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- decryptionRule numberPriority Order 
- Unique priority order for Decryption Rules in the network firewall policy.
- displayName string
- A filter to return only resources that match the entire display name given.
- filters
GetNetwork Firewall Policy Decryption Rules Filter[] 
- network_firewall_ strpolicy_ id 
- Unique Network Firewall Policy identifier
- decryption_rule_ intpriority_ order 
- Unique priority order for Decryption Rules in the network firewall policy.
- display_name str
- A filter to return only resources that match the entire display name given.
- filters
Sequence[GetNetwork Firewall Policy Decryption Rules Filter] 
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
- decryptionRule NumberPriority Order 
- Unique priority order for Decryption Rules in the network firewall policy.
- displayName String
- A filter to return only resources that match the entire display name given.
- filters List<Property Map>
getNetworkFirewallPolicyDecryptionRules Result
The following output properties are available:
- DecryptionRule List<GetSummary Collections Network Firewall Policy Decryption Rules Decryption Rule Summary Collection> 
- The list of decryption_rule_summary_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- NetworkFirewall stringPolicy Id 
- DecryptionRule intPriority Order 
- DisplayName string
- Filters
List<GetNetwork Firewall Policy Decryption Rules Filter> 
- DecryptionRule []GetSummary Collections Network Firewall Policy Decryption Rules Decryption Rule Summary Collection 
- The list of decryption_rule_summary_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- NetworkFirewall stringPolicy Id 
- DecryptionRule intPriority Order 
- DisplayName string
- Filters
[]GetNetwork Firewall Policy Decryption Rules Filter 
- decryptionRule List<GetSummary Collections Policy Decryption Rules Decryption Rule Summary Collection> 
- The list of decryption_rule_summary_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- networkFirewall StringPolicy Id 
- decryptionRule IntegerPriority Order 
- displayName String
- filters
List<GetPolicy Decryption Rules Filter> 
- decryptionRule GetSummary Collections Network Firewall Policy Decryption Rules Decryption Rule Summary Collection[] 
- The list of decryption_rule_summary_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- networkFirewall stringPolicy Id 
- decryptionRule numberPriority Order 
- displayName string
- filters
GetNetwork Firewall Policy Decryption Rules Filter[] 
- decryption_rule_ Sequence[Getsummary_ collections Network Firewall Policy Decryption Rules Decryption Rule Summary Collection] 
- The list of decryption_rule_summary_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- network_firewall_ strpolicy_ id 
- decryption_rule_ intpriority_ order 
- display_name str
- filters
Sequence[GetNetwork Firewall Policy Decryption Rules Filter] 
- decryptionRule List<Property Map>Summary Collections 
- The list of decryption_rule_summary_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- networkFirewall StringPolicy Id 
- decryptionRule NumberPriority Order 
- displayName String
- filters List<Property Map>
Supporting Types
GetNetworkFirewallPolicyDecryptionRulesDecryptionRuleSummaryCollection         
GetNetworkFirewallPolicyDecryptionRulesDecryptionRuleSummaryCollectionItem          
- Action string
- Action:- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified secretaccording to the specifieddecryptionProfile.
 
- Condition
GetNetwork Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Condition 
- Match criteria used in Decryption Rule used on the firewall policy rules.
- Name string
- Name for the decryption rule, must be unique within the policy.
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- ParentResource stringId 
- OCID of the Network Firewall Policy this decryption rule belongs to.
- Position
GetNetwork Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Position 
- An object which defines the position of the rule.
- DecryptionProfile string
- The name of the decryption profile to use.
- PriorityOrder string
- Secret string
- The name of a mapped secret. Its typemust match that of the specified decryption profile.
- Action string
- Action:- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified secretaccording to the specifieddecryptionProfile.
 
- Condition
GetNetwork Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Condition 
- Match criteria used in Decryption Rule used on the firewall policy rules.
- Name string
- Name for the decryption rule, must be unique within the policy.
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- ParentResource stringId 
- OCID of the Network Firewall Policy this decryption rule belongs to.
- Position
GetNetwork Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Position 
- An object which defines the position of the rule.
- DecryptionProfile string
- The name of the decryption profile to use.
- PriorityOrder string
- Secret string
- The name of a mapped secret. Its typemust match that of the specified decryption profile.
- action String
- Action:- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified secretaccording to the specifieddecryptionProfile.
 
- condition
GetPolicy Decryption Rules Decryption Rule Summary Collection Item Condition 
- Match criteria used in Decryption Rule used on the firewall policy rules.
- name String
- Name for the decryption rule, must be unique within the policy.
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
- parentResource StringId 
- OCID of the Network Firewall Policy this decryption rule belongs to.
- position
GetPolicy Decryption Rules Decryption Rule Summary Collection Item Position 
- An object which defines the position of the rule.
- decryptionProfile String
- The name of the decryption profile to use.
- priorityOrder String
- secret String
- The name of a mapped secret. Its typemust match that of the specified decryption profile.
- action string
- Action:- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified secretaccording to the specifieddecryptionProfile.
 
- condition
GetNetwork Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Condition 
- Match criteria used in Decryption Rule used on the firewall policy rules.
- name string
- Name for the decryption rule, must be unique within the policy.
- networkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- parentResource stringId 
- OCID of the Network Firewall Policy this decryption rule belongs to.
- position
GetNetwork Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Position 
- An object which defines the position of the rule.
- decryptionProfile string
- The name of the decryption profile to use.
- priorityOrder string
- secret string
- The name of a mapped secret. Its typemust match that of the specified decryption profile.
- action str
- Action:- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified secretaccording to the specifieddecryptionProfile.
 
- condition
GetNetwork Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Condition 
- Match criteria used in Decryption Rule used on the firewall policy rules.
- name str
- Name for the decryption rule, must be unique within the policy.
- network_firewall_ strpolicy_ id 
- Unique Network Firewall Policy identifier
- parent_resource_ strid 
- OCID of the Network Firewall Policy this decryption rule belongs to.
- position
GetNetwork Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Position 
- An object which defines the position of the rule.
- decryption_profile str
- The name of the decryption profile to use.
- priority_order str
- secret str
- The name of a mapped secret. Its typemust match that of the specified decryption profile.
- action String
- Action:- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified secretaccording to the specifieddecryptionProfile.
 
- condition Property Map
- Match criteria used in Decryption Rule used on the firewall policy rules.
- name String
- Name for the decryption rule, must be unique within the policy.
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
- parentResource StringId 
- OCID of the Network Firewall Policy this decryption rule belongs to.
- position Property Map
- An object which defines the position of the rule.
- decryptionProfile String
- The name of the decryption profile to use.
- priorityOrder String
- secret String
- The name of a mapped secret. Its typemust match that of the specified decryption profile.
GetNetworkFirewallPolicyDecryptionRulesDecryptionRuleSummaryCollectionItemCondition           
- DestinationAddresses List<string>
- An array of IP address list names to be evaluated against the traffic destination address.
- SourceAddresses List<string>
- An array of IP address list names to be evaluated against the traffic source address.
- DestinationAddresses []string
- An array of IP address list names to be evaluated against the traffic destination address.
- SourceAddresses []string
- An array of IP address list names to be evaluated against the traffic source address.
- destinationAddresses List<String>
- An array of IP address list names to be evaluated against the traffic destination address.
- sourceAddresses List<String>
- An array of IP address list names to be evaluated against the traffic source address.
- destinationAddresses string[]
- An array of IP address list names to be evaluated against the traffic destination address.
- sourceAddresses string[]
- An array of IP address list names to be evaluated against the traffic source address.
- destination_addresses Sequence[str]
- An array of IP address list names to be evaluated against the traffic destination address.
- source_addresses Sequence[str]
- An array of IP address list names to be evaluated against the traffic source address.
- destinationAddresses List<String>
- An array of IP address list names to be evaluated against the traffic destination address.
- sourceAddresses List<String>
- An array of IP address list names to be evaluated against the traffic source address.
GetNetworkFirewallPolicyDecryptionRulesDecryptionRuleSummaryCollectionItemPosition           
- AfterRule string
- Identifier for rule after which this rule lies.
- BeforeRule string
- Identifier for rule before which this rule lies.
- AfterRule string
- Identifier for rule after which this rule lies.
- BeforeRule string
- Identifier for rule before which this rule lies.
- afterRule String
- Identifier for rule after which this rule lies.
- beforeRule String
- Identifier for rule before which this rule lies.
- afterRule string
- Identifier for rule after which this rule lies.
- beforeRule string
- Identifier for rule before which this rule lies.
- after_rule str
- Identifier for rule after which this rule lies.
- before_rule str
- Identifier for rule before which this rule lies.
- afterRule String
- Identifier for rule after which this rule lies.
- beforeRule String
- Identifier for rule before which this rule lies.
GetNetworkFirewallPolicyDecryptionRulesFilter      
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.