1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. NetworkFirewall
  5. getNetworkFirewallPolicyDecryptionRule
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

oci.NetworkFirewall.getNetworkFirewallPolicyDecryptionRule

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

    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!
    
    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.GetNetworkFirewallPolicyDecryptionRuleArgs;
    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 testNetworkFirewallPolicyDecryptionRule = NetworkFirewallFunctions.getNetworkFirewallPolicyDecryptionRule(GetNetworkFirewallPolicyDecryptionRuleArgs.builder()
                .decryptionRuleName(ociNetworkFirewallNetworkFirewallPolicyDecryptionRuleName)
                .networkFirewallPolicyId(testNetworkFirewallPolicy.id())
                .build());
    
        }
    }
    
    variables:
      testNetworkFirewallPolicyDecryptionRule:
        fn::invoke:
          Function: oci:NetworkFirewall:getNetworkFirewallPolicyDecryptionRule
          Arguments:
            decryptionRuleName: ${ociNetworkFirewallNetworkFirewallPolicyDecryptionRuleName}
            networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
    

    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>
    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]
    func GetNetworkFirewallPolicyDecryptionRule(ctx *Context, args *GetNetworkFirewallPolicyDecryptionRuleArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyDecryptionRuleResult, error)
    func GetNetworkFirewallPolicyDecryptionRuleOutput(ctx *Context, args *GetNetworkFirewallPolicyDecryptionRuleOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyDecryptionRuleResultOutput

    > 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)
    }
    public static CompletableFuture<GetNetworkFirewallPolicyDecryptionRuleResult> getNetworkFirewallPolicyDecryptionRule(GetNetworkFirewallPolicyDecryptionRuleArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:NetworkFirewall/getNetworkFirewallPolicyDecryptionRule:getNetworkFirewallPolicyDecryptionRule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name for the decryption rule, must be unique within the policy.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    Name string
    Name for the decryption rule, must be unique within the policy.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    name String
    Name for the decryption rule, must be unique within the policy.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier
    name string
    Name for the decryption rule, must be unique within the policy.
    networkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    name str
    Name for the decryption rule, must be unique within the policy.
    network_firewall_policy_id str
    Unique Network Firewall Policy identifier
    name String
    Name for the decryption rule, must be unique within the policy.
    networkFirewallPolicyId 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 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.

    GetNetworkFirewallPolicyDecryptionRulePosition

    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.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi