1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. NetworkFirewall
  5. getNetworkFirewallPolicyDecryptionRule
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.NetworkFirewall.getNetworkFirewallPolicyDecryptionRule

Explore with Pulumi AI

This data source provides details about a specific Network Firewall Policy Decryption Rule resource in Oracle Cloud Infrastructure Network Firewall service.

Get Decryption Rule by the given name in the context of network firewall policy.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
variables:
  testNetworkFirewallPolicyDecryptionRule:
    fn::invoke:
      function: oci:NetworkFirewall:getNetworkFirewallPolicyDecryptionRule
      arguments:
        decryptionRuleName: ${ociNetworkFirewallNetworkFirewallPolicyDecryptionRuleName}
        networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
Copy

Using getNetworkFirewallPolicyDecryptionRule

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 getNetworkFirewallPolicyDecryptionRule(args: GetNetworkFirewallPolicyDecryptionRuleArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyDecryptionRuleResult>
function getNetworkFirewallPolicyDecryptionRuleOutput(args: GetNetworkFirewallPolicyDecryptionRuleOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyDecryptionRuleResult>
Copy
def get_network_firewall_policy_decryption_rule(name: Optional[str] = None,
                                                network_firewall_policy_id: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyDecryptionRuleResult
def get_network_firewall_policy_decryption_rule_output(name: Optional[pulumi.Input[str]] = None,
                                                network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyDecryptionRuleResult]
Copy
func GetNetworkFirewallPolicyDecryptionRule(ctx *Context, args *GetNetworkFirewallPolicyDecryptionRuleArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyDecryptionRuleResult, error)
func GetNetworkFirewallPolicyDecryptionRuleOutput(ctx *Context, args *GetNetworkFirewallPolicyDecryptionRuleOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyDecryptionRuleResultOutput
Copy

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

public static class GetNetworkFirewallPolicyDecryptionRule 
{
    public static Task<GetNetworkFirewallPolicyDecryptionRuleResult> InvokeAsync(GetNetworkFirewallPolicyDecryptionRuleArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkFirewallPolicyDecryptionRuleResult> Invoke(GetNetworkFirewallPolicyDecryptionRuleInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNetworkFirewallPolicyDecryptionRuleResult> getNetworkFirewallPolicyDecryptionRule(GetNetworkFirewallPolicyDecryptionRuleArgs args, InvokeOptions options)
public static Output<GetNetworkFirewallPolicyDecryptionRuleResult> getNetworkFirewallPolicyDecryptionRule(GetNetworkFirewallPolicyDecryptionRuleArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:NetworkFirewall/getNetworkFirewallPolicyDecryptionRule:getNetworkFirewallPolicyDecryptionRule
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Name for the decryption rule, must be unique within the policy.
NetworkFirewallPolicyId This property is required. string
Unique Network Firewall Policy identifier
Name This property is required. string
Name for the decryption rule, must be unique within the policy.
NetworkFirewallPolicyId This property is required. string
Unique Network Firewall Policy identifier
name This property is required. String
Name for the decryption rule, must be unique within the policy.
networkFirewallPolicyId This property is required. String
Unique Network Firewall Policy identifier
name This property is required. string
Name for the decryption rule, must be unique within the policy.
networkFirewallPolicyId This property is required. string
Unique Network Firewall Policy identifier
name This property is required. str
Name for the decryption rule, must be unique within the policy.
network_firewall_policy_id This property is required. str
Unique Network Firewall Policy identifier
name This property is required. String
Name for the decryption rule, must be unique within the policy.
networkFirewallPolicyId This property is required. String
Unique Network Firewall Policy identifier

getNetworkFirewallPolicyDecryptionRule Result

The following output properties are available:

Action string
Action:

  • NO_DECRYPT - Matching traffic is not decrypted.
  • DECRYPT - Matching traffic is decrypted with the specified secret according to the specified decryptionProfile.
Conditions List<GetNetworkFirewallPolicyDecryptionRuleCondition>
Match criteria used in Decryption Rule used on the firewall policy rules.
DecryptionProfile string
The name of the decryption profile to use.
Id string
Name string
Name for the decryption rule, must be unique within the policy.
NetworkFirewallPolicyId string
ParentResourceId string
OCID of the Network Firewall Policy this decryption rule belongs to.
Positions List<GetNetworkFirewallPolicyDecryptionRulePosition>
An object which defines the position of the rule.
PriorityOrder string
Secret string
The name of a mapped secret. Its type must 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 secret according to the specified decryptionProfile.
Conditions []GetNetworkFirewallPolicyDecryptionRuleCondition
Match criteria used in Decryption Rule used on the firewall policy rules.
DecryptionProfile string
The name of the decryption profile to use.
Id string
Name string
Name for the decryption rule, must be unique within the policy.
NetworkFirewallPolicyId string
ParentResourceId string
OCID of the Network Firewall Policy this decryption rule belongs to.
Positions []GetNetworkFirewallPolicyDecryptionRulePosition
An object which defines the position of the rule.
PriorityOrder string
Secret string
The name of a mapped secret. Its type must 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 secret according to the specified decryptionProfile.
conditions List<GetPolicyDecryptionRuleCondition>
Match criteria used in Decryption Rule used on the firewall policy rules.
decryptionProfile String
The name of the decryption profile to use.
id String
name String
Name for the decryption rule, must be unique within the policy.
networkFirewallPolicyId String
parentResourceId String
OCID of the Network Firewall Policy this decryption rule belongs to.
positions List<GetPolicyDecryptionRulePosition>
An object which defines the position of the rule.
priorityOrder String
secret String
The name of a mapped secret. Its type must 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 secret according to the specified decryptionProfile.
conditions GetNetworkFirewallPolicyDecryptionRuleCondition[]
Match criteria used in Decryption Rule used on the firewall policy rules.
decryptionProfile string
The name of the decryption profile to use.
id string
name string
Name for the decryption rule, must be unique within the policy.
networkFirewallPolicyId string
parentResourceId string
OCID of the Network Firewall Policy this decryption rule belongs to.
positions GetNetworkFirewallPolicyDecryptionRulePosition[]
An object which defines the position of the rule.
priorityOrder string
secret string
The name of a mapped secret. Its type must 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 secret according to the specified decryptionProfile.
conditions Sequence[networkfirewall.GetNetworkFirewallPolicyDecryptionRuleCondition]
Match criteria used in Decryption Rule used on the firewall policy rules.
decryption_profile str
The name of the decryption profile to use.
id str
name str
Name for the decryption rule, must be unique within the policy.
network_firewall_policy_id str
parent_resource_id str
OCID of the Network Firewall Policy this decryption rule belongs to.
positions Sequence[networkfirewall.GetNetworkFirewallPolicyDecryptionRulePosition]
An object which defines the position of the rule.
priority_order str
secret str
The name of a mapped secret. Its type must 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 secret according to the specified decryptionProfile.
conditions List<Property Map>
Match criteria used in Decryption Rule used on the firewall policy rules.
decryptionProfile String
The name of the decryption profile to use.
id String
name String
Name for the decryption rule, must be unique within the policy.
networkFirewallPolicyId String
parentResourceId String
OCID of the Network Firewall Policy this decryption rule belongs to.
positions List<Property Map>
An object which defines the position of the rule.
priorityOrder String
secret String
The name of a mapped secret. Its type must match that of the specified decryption profile.

Supporting Types

GetNetworkFirewallPolicyDecryptionRuleCondition

DestinationAddresses This property is required. List<string>
An array of IP address list names to be evaluated against the traffic destination address.
SourceAddresses This property is required. List<string>
An array of IP address list names to be evaluated against the traffic source address.
DestinationAddresses This property is required. []string
An array of IP address list names to be evaluated against the traffic destination address.
SourceAddresses This property is required. []string
An array of IP address list names to be evaluated against the traffic source address.
destinationAddresses This property is required. List<String>
An array of IP address list names to be evaluated against the traffic destination address.
sourceAddresses This property is required. List<String>
An array of IP address list names to be evaluated against the traffic source address.
destinationAddresses This property is required. string[]
An array of IP address list names to be evaluated against the traffic destination address.
sourceAddresses This property is required. string[]
An array of IP address list names to be evaluated against the traffic source address.
destination_addresses This property is required. Sequence[str]
An array of IP address list names to be evaluated against the traffic destination address.
source_addresses This property is required. Sequence[str]
An array of IP address list names to be evaluated against the traffic source address.
destinationAddresses This property is required. List<String>
An array of IP address list names to be evaluated against the traffic destination address.
sourceAddresses This property is required. List<String>
An array of IP address list names to be evaluated against the traffic source address.

GetNetworkFirewallPolicyDecryptionRulePosition

AfterRule This property is required. string
Identifier for rule after which this rule lies.
BeforeRule This property is required. string
Identifier for rule before which this rule lies.
AfterRule This property is required. string
Identifier for rule after which this rule lies.
BeforeRule This property is required. string
Identifier for rule before which this rule lies.
afterRule This property is required. String
Identifier for rule after which this rule lies.
beforeRule This property is required. String
Identifier for rule before which this rule lies.
afterRule This property is required. string
Identifier for rule after which this rule lies.
beforeRule This property is required. string
Identifier for rule before which this rule lies.
after_rule This property is required. str
Identifier for rule after which this rule lies.
before_rule This property is required. str
Identifier for rule before which this rule lies.
afterRule This property is required. String
Identifier for rule after which this rule lies.
beforeRule This property is required. String
Identifier for rule before which this rule lies.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.