Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyTunnelInspectionRules
Explore with Pulumi AI
This data source provides the list of Network Firewall Policy Tunnel Inspection Rules in Oracle Cloud Infrastructure Network Firewall service.
Returns a list of tunnel inspection rules for the network firewall policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNetworkFirewallPolicyTunnelInspectionRules = oci.NetworkFirewall.getNetworkFirewallPolicyTunnelInspectionRules({
    networkFirewallPolicyId: testNetworkFirewallPolicy.id,
    displayName: networkFirewallPolicyTunnelInspectionRuleDisplayName,
    tunnelInspectionRulePriorityOrder: networkFirewallPolicyTunnelInspectionRuleTunnelInspectionRulePriorityOrder,
});
import pulumi
import pulumi_oci as oci
test_network_firewall_policy_tunnel_inspection_rules = oci.NetworkFirewall.get_network_firewall_policy_tunnel_inspection_rules(network_firewall_policy_id=test_network_firewall_policy["id"],
    display_name=network_firewall_policy_tunnel_inspection_rule_display_name,
    tunnel_inspection_rule_priority_order=network_firewall_policy_tunnel_inspection_rule_tunnel_inspection_rule_priority_order)
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.GetNetworkFirewallPolicyTunnelInspectionRules(ctx, &networkfirewall.GetNetworkFirewallPolicyTunnelInspectionRulesArgs{
			NetworkFirewallPolicyId:           testNetworkFirewallPolicy.Id,
			DisplayName:                       pulumi.StringRef(networkFirewallPolicyTunnelInspectionRuleDisplayName),
			TunnelInspectionRulePriorityOrder: pulumi.IntRef(networkFirewallPolicyTunnelInspectionRuleTunnelInspectionRulePriorityOrder),
		}, 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 testNetworkFirewallPolicyTunnelInspectionRules = Oci.NetworkFirewall.GetNetworkFirewallPolicyTunnelInspectionRules.Invoke(new()
    {
        NetworkFirewallPolicyId = testNetworkFirewallPolicy.Id,
        DisplayName = networkFirewallPolicyTunnelInspectionRuleDisplayName,
        TunnelInspectionRulePriorityOrder = networkFirewallPolicyTunnelInspectionRuleTunnelInspectionRulePriorityOrder,
    });
});
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.GetNetworkFirewallPolicyTunnelInspectionRulesArgs;
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 testNetworkFirewallPolicyTunnelInspectionRules = NetworkFirewallFunctions.getNetworkFirewallPolicyTunnelInspectionRules(GetNetworkFirewallPolicyTunnelInspectionRulesArgs.builder()
            .networkFirewallPolicyId(testNetworkFirewallPolicy.id())
            .displayName(networkFirewallPolicyTunnelInspectionRuleDisplayName)
            .tunnelInspectionRulePriorityOrder(networkFirewallPolicyTunnelInspectionRuleTunnelInspectionRulePriorityOrder)
            .build());
    }
}
variables:
  testNetworkFirewallPolicyTunnelInspectionRules:
    fn::invoke:
      function: oci:NetworkFirewall:getNetworkFirewallPolicyTunnelInspectionRules
      arguments:
        networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
        displayName: ${networkFirewallPolicyTunnelInspectionRuleDisplayName}
        tunnelInspectionRulePriorityOrder: ${networkFirewallPolicyTunnelInspectionRuleTunnelInspectionRulePriorityOrder}
Using getNetworkFirewallPolicyTunnelInspectionRules
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 getNetworkFirewallPolicyTunnelInspectionRules(args: GetNetworkFirewallPolicyTunnelInspectionRulesArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyTunnelInspectionRulesResult>
function getNetworkFirewallPolicyTunnelInspectionRulesOutput(args: GetNetworkFirewallPolicyTunnelInspectionRulesOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyTunnelInspectionRulesResult>def get_network_firewall_policy_tunnel_inspection_rules(display_name: Optional[str] = None,
                                                        filters: Optional[Sequence[GetNetworkFirewallPolicyTunnelInspectionRulesFilter]] = None,
                                                        network_firewall_policy_id: Optional[str] = None,
                                                        tunnel_inspection_rule_priority_order: Optional[int] = None,
                                                        opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyTunnelInspectionRulesResult
def get_network_firewall_policy_tunnel_inspection_rules_output(display_name: Optional[pulumi.Input[str]] = None,
                                                        filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetNetworkFirewallPolicyTunnelInspectionRulesFilterArgs]]]] = None,
                                                        network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
                                                        tunnel_inspection_rule_priority_order: Optional[pulumi.Input[int]] = None,
                                                        opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyTunnelInspectionRulesResult]func GetNetworkFirewallPolicyTunnelInspectionRules(ctx *Context, args *GetNetworkFirewallPolicyTunnelInspectionRulesArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyTunnelInspectionRulesResult, error)
func GetNetworkFirewallPolicyTunnelInspectionRulesOutput(ctx *Context, args *GetNetworkFirewallPolicyTunnelInspectionRulesOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyTunnelInspectionRulesResultOutput> Note: This function is named GetNetworkFirewallPolicyTunnelInspectionRules in the Go SDK.
public static class GetNetworkFirewallPolicyTunnelInspectionRules 
{
    public static Task<GetNetworkFirewallPolicyTunnelInspectionRulesResult> InvokeAsync(GetNetworkFirewallPolicyTunnelInspectionRulesArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkFirewallPolicyTunnelInspectionRulesResult> Invoke(GetNetworkFirewallPolicyTunnelInspectionRulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkFirewallPolicyTunnelInspectionRulesResult> getNetworkFirewallPolicyTunnelInspectionRules(GetNetworkFirewallPolicyTunnelInspectionRulesArgs args, InvokeOptions options)
public static Output<GetNetworkFirewallPolicyTunnelInspectionRulesResult> getNetworkFirewallPolicyTunnelInspectionRules(GetNetworkFirewallPolicyTunnelInspectionRulesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:NetworkFirewall/getNetworkFirewallPolicyTunnelInspectionRules:getNetworkFirewallPolicyTunnelInspectionRules
  arguments:
    # arguments dictionaryThe following arguments are supported:
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
List<GetNetwork Firewall Policy Tunnel Inspection Rules Filter> 
- TunnelInspection intRule Priority Order 
- Unique priority order for Tunnel Inspection rules in the network firewall policy.
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
[]GetNetwork Firewall Policy Tunnel Inspection Rules Filter 
- TunnelInspection intRule Priority Order 
- Unique priority order for Tunnel Inspection rules in the network firewall policy.
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
- displayName String
- A filter to return only resources that match the entire display name given.
- filters
List<GetPolicy Tunnel Inspection Rules Filter> 
- tunnelInspection IntegerRule Priority Order 
- Unique priority order for Tunnel Inspection rules in the network firewall policy.
- networkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- displayName string
- A filter to return only resources that match the entire display name given.
- filters
GetNetwork Firewall Policy Tunnel Inspection Rules Filter[] 
- tunnelInspection numberRule Priority Order 
- Unique priority order for Tunnel Inspection rules in the network firewall policy.
- network_firewall_ strpolicy_ id 
- Unique Network Firewall Policy identifier
- display_name str
- A filter to return only resources that match the entire display name given.
- filters
Sequence[GetNetwork Firewall Policy Tunnel Inspection Rules Filter] 
- tunnel_inspection_ intrule_ priority_ order 
- Unique priority order for Tunnel Inspection rules in the network firewall policy.
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
- displayName String
- A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- tunnelInspection NumberRule Priority Order 
- Unique priority order for Tunnel Inspection rules in the network firewall policy.
getNetworkFirewallPolicyTunnelInspectionRules Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- NetworkFirewall stringPolicy Id 
- TunnelInspection List<GetRule Summary Collections Network Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection> 
- The list of tunnel_inspection_rule_summary_collection.
- DisplayName string
- Filters
List<GetNetwork Firewall Policy Tunnel Inspection Rules Filter> 
- TunnelInspection intRule Priority Order 
- Id string
- The provider-assigned unique ID for this managed resource.
- NetworkFirewall stringPolicy Id 
- TunnelInspection []GetRule Summary Collections Network Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection 
- The list of tunnel_inspection_rule_summary_collection.
- DisplayName string
- Filters
[]GetNetwork Firewall Policy Tunnel Inspection Rules Filter 
- TunnelInspection intRule Priority Order 
- id String
- The provider-assigned unique ID for this managed resource.
- networkFirewall StringPolicy Id 
- tunnelInspection List<GetRule Summary Collections Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection> 
- The list of tunnel_inspection_rule_summary_collection.
- displayName String
- filters
List<GetPolicy Tunnel Inspection Rules Filter> 
- tunnelInspection IntegerRule Priority Order 
- id string
- The provider-assigned unique ID for this managed resource.
- networkFirewall stringPolicy Id 
- tunnelInspection GetRule Summary Collections Network Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection[] 
- The list of tunnel_inspection_rule_summary_collection.
- displayName string
- filters
GetNetwork Firewall Policy Tunnel Inspection Rules Filter[] 
- tunnelInspection numberRule Priority Order 
- id str
- The provider-assigned unique ID for this managed resource.
- network_firewall_ strpolicy_ id 
- tunnel_inspection_ Sequence[Getrule_ summary_ collections Network Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection] 
- The list of tunnel_inspection_rule_summary_collection.
- display_name str
- filters
Sequence[GetNetwork Firewall Policy Tunnel Inspection Rules Filter] 
- tunnel_inspection_ intrule_ priority_ order 
- id String
- The provider-assigned unique ID for this managed resource.
- networkFirewall StringPolicy Id 
- tunnelInspection List<Property Map>Rule Summary Collections 
- The list of tunnel_inspection_rule_summary_collection.
- displayName String
- filters List<Property Map>
- tunnelInspection NumberRule Priority Order 
Supporting Types
GetNetworkFirewallPolicyTunnelInspectionRulesFilter       
GetNetworkFirewallPolicyTunnelInspectionRulesTunnelInspectionRuleSummaryCollection           
GetNetworkFirewallPolicyTunnelInspectionRulesTunnelInspectionRuleSummaryCollectionItem            
- Action string
- Types of Inspect Action on the Traffic flow.- INSPECT - Inspect the traffic.
- INSPECT_AND_CAPTURE_LOG - Inspect and capture logs for the traffic.
 
- Condition
GetNetwork Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Condition 
- Criteria to evaluate against incoming network traffic. A match occurs when at least one item in the array associated with each specified property corresponds with the relevant aspect of the traffic.
- Name string
- Name for the Tunnel Inspection Rule, must be unique within the policy.
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- ParentResource stringId 
- OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- Position
GetNetwork Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Position 
- An object which defines the position of the rule.
- PriorityOrder string
- The priority order in which this rule should be evaluated
- Profile
GetNetwork Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Profile 
- Vxlan Inspect profile used in Vxlan Tunnel Inspection Rules.
- Protocol string
- Types of Tunnel Inspection Protocol to be applied on the traffic.- VXLAN - VXLAN Tunnel Inspection Protocol will be applied on the traffic.
 
- Action string
- Types of Inspect Action on the Traffic flow.- INSPECT - Inspect the traffic.
- INSPECT_AND_CAPTURE_LOG - Inspect and capture logs for the traffic.
 
- Condition
GetNetwork Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Condition 
- Criteria to evaluate against incoming network traffic. A match occurs when at least one item in the array associated with each specified property corresponds with the relevant aspect of the traffic.
- Name string
- Name for the Tunnel Inspection Rule, must be unique within the policy.
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- ParentResource stringId 
- OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- Position
GetNetwork Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Position 
- An object which defines the position of the rule.
- PriorityOrder string
- The priority order in which this rule should be evaluated
- Profile
GetNetwork Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Profile 
- Vxlan Inspect profile used in Vxlan Tunnel Inspection Rules.
- Protocol string
- Types of Tunnel Inspection Protocol to be applied on the traffic.- VXLAN - VXLAN Tunnel Inspection Protocol will be applied on the traffic.
 
- action String
- Types of Inspect Action on the Traffic flow.- INSPECT - Inspect the traffic.
- INSPECT_AND_CAPTURE_LOG - Inspect and capture logs for the traffic.
 
- condition
GetPolicy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Condition 
- Criteria to evaluate against incoming network traffic. A match occurs when at least one item in the array associated with each specified property corresponds with the relevant aspect of the traffic.
- name String
- Name for the Tunnel Inspection Rule, must be unique within the policy.
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
- parentResource StringId 
- OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- position
GetPolicy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Position 
- An object which defines the position of the rule.
- priorityOrder String
- The priority order in which this rule should be evaluated
- profile
GetPolicy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Profile 
- Vxlan Inspect profile used in Vxlan Tunnel Inspection Rules.
- protocol String
- Types of Tunnel Inspection Protocol to be applied on the traffic.- VXLAN - VXLAN Tunnel Inspection Protocol will be applied on the traffic.
 
- action string
- Types of Inspect Action on the Traffic flow.- INSPECT - Inspect the traffic.
- INSPECT_AND_CAPTURE_LOG - Inspect and capture logs for the traffic.
 
- condition
GetNetwork Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Condition 
- Criteria to evaluate against incoming network traffic. A match occurs when at least one item in the array associated with each specified property corresponds with the relevant aspect of the traffic.
- name string
- Name for the Tunnel Inspection Rule, must be unique within the policy.
- networkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- parentResource stringId 
- OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- position
GetNetwork Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Position 
- An object which defines the position of the rule.
- priorityOrder string
- The priority order in which this rule should be evaluated
- profile
GetNetwork Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Profile 
- Vxlan Inspect profile used in Vxlan Tunnel Inspection Rules.
- protocol string
- Types of Tunnel Inspection Protocol to be applied on the traffic.- VXLAN - VXLAN Tunnel Inspection Protocol will be applied on the traffic.
 
- action str
- Types of Inspect Action on the Traffic flow.- INSPECT - Inspect the traffic.
- INSPECT_AND_CAPTURE_LOG - Inspect and capture logs for the traffic.
 
- condition
GetNetwork Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Condition 
- Criteria to evaluate against incoming network traffic. A match occurs when at least one item in the array associated with each specified property corresponds with the relevant aspect of the traffic.
- name str
- Name for the Tunnel Inspection 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 Tunnel Inspection Rule belongs to.
- position
GetNetwork Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Position 
- An object which defines the position of the rule.
- priority_order str
- The priority order in which this rule should be evaluated
- profile
GetNetwork Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Profile 
- Vxlan Inspect profile used in Vxlan Tunnel Inspection Rules.
- protocol str
- Types of Tunnel Inspection Protocol to be applied on the traffic.- VXLAN - VXLAN Tunnel Inspection Protocol will be applied on the traffic.
 
- action String
- Types of Inspect Action on the Traffic flow.- INSPECT - Inspect the traffic.
- INSPECT_AND_CAPTURE_LOG - Inspect and capture logs for the traffic.
 
- condition Property Map
- Criteria to evaluate against incoming network traffic. A match occurs when at least one item in the array associated with each specified property corresponds with the relevant aspect of the traffic.
- name String
- Name for the Tunnel Inspection Rule, must be unique within the policy.
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
- parentResource StringId 
- OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- position Property Map
- An object which defines the position of the rule.
- priorityOrder String
- The priority order in which this rule should be evaluated
- profile Property Map
- Vxlan Inspect profile used in Vxlan Tunnel Inspection Rules.
- protocol String
- Types of Tunnel Inspection Protocol to be applied on the traffic.- VXLAN - VXLAN Tunnel Inspection Protocol will be applied on the traffic.
 
GetNetworkFirewallPolicyTunnelInspectionRulesTunnelInspectionRuleSummaryCollectionItemCondition             
- DestinationAddresses List<string>
- An array of address list names to be evaluated against the traffic destination address.
- SourceAddresses List<string>
- An array of address list names to be evaluated against the traffic source address.
- DestinationAddresses []string
- An array of address list names to be evaluated against the traffic destination address.
- SourceAddresses []string
- An array of address list names to be evaluated against the traffic source address.
- destinationAddresses List<String>
- An array of address list names to be evaluated against the traffic destination address.
- sourceAddresses List<String>
- An array of address list names to be evaluated against the traffic source address.
- destinationAddresses string[]
- An array of address list names to be evaluated against the traffic destination address.
- sourceAddresses string[]
- An array of address list names to be evaluated against the traffic source address.
- destination_addresses Sequence[str]
- An array of address list names to be evaluated against the traffic destination address.
- source_addresses Sequence[str]
- An array of address list names to be evaluated against the traffic source address.
- destinationAddresses List<String>
- An array of address list names to be evaluated against the traffic destination address.
- sourceAddresses List<String>
- An array of address list names to be evaluated against the traffic source address.
GetNetworkFirewallPolicyTunnelInspectionRulesTunnelInspectionRuleSummaryCollectionItemPosition             
- 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.
GetNetworkFirewallPolicyTunnelInspectionRulesTunnelInspectionRuleSummaryCollectionItemProfile             
- MustReturn boolTraffic To Source 
- Return scanned VXLAN tunnel traffic to source.
- MustReturn boolTraffic To Source 
- Return scanned VXLAN tunnel traffic to source.
- mustReturn BooleanTraffic To Source 
- Return scanned VXLAN tunnel traffic to source.
- mustReturn booleanTraffic To Source 
- Return scanned VXLAN tunnel traffic to source.
- must_return_ booltraffic_ to_ source 
- Return scanned VXLAN tunnel traffic to source.
- mustReturn BooleanTraffic To Source 
- Return scanned VXLAN tunnel traffic to source.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.