Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyTunnelInspectionRule
Explore with Pulumi AI
This data source provides details about a specific Network Firewall Policy Tunnel Inspection Rule resource in Oracle Cloud Infrastructure Network Firewall service.
Get tunnel inspection rule by the given name in the context of network firewall policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNetworkFirewallPolicyTunnelInspectionRule = oci.NetworkFirewall.getNetworkFirewallPolicyTunnelInspectionRule({
networkFirewallPolicyId: testNetworkFirewallPolicy.id,
tunnelInspectionRuleName: testRule.name,
});
import pulumi
import pulumi_oci as oci
test_network_firewall_policy_tunnel_inspection_rule = oci.NetworkFirewall.get_network_firewall_policy_tunnel_inspection_rule(network_firewall_policy_id=test_network_firewall_policy["id"],
tunnel_inspection_rule_name=test_rule["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.GetNetworkFirewallPolicyTunnelInspectionRule(ctx, &networkfirewall.GetNetworkFirewallPolicyTunnelInspectionRuleArgs{
NetworkFirewallPolicyId: testNetworkFirewallPolicy.Id,
TunnelInspectionRuleName: testRule.Name,
}, 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 testNetworkFirewallPolicyTunnelInspectionRule = Oci.NetworkFirewall.GetNetworkFirewallPolicyTunnelInspectionRule.Invoke(new()
{
NetworkFirewallPolicyId = testNetworkFirewallPolicy.Id,
TunnelInspectionRuleName = testRule.Name,
});
});
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.GetNetworkFirewallPolicyTunnelInspectionRuleArgs;
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 testNetworkFirewallPolicyTunnelInspectionRule = NetworkFirewallFunctions.getNetworkFirewallPolicyTunnelInspectionRule(GetNetworkFirewallPolicyTunnelInspectionRuleArgs.builder()
.networkFirewallPolicyId(testNetworkFirewallPolicy.id())
.tunnelInspectionRuleName(testRule.name())
.build());
}
}
variables:
testNetworkFirewallPolicyTunnelInspectionRule:
fn::invoke:
function: oci:NetworkFirewall:getNetworkFirewallPolicyTunnelInspectionRule
arguments:
networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
tunnelInspectionRuleName: ${testRule.name}
Using getNetworkFirewallPolicyTunnelInspectionRule
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 getNetworkFirewallPolicyTunnelInspectionRule(args: GetNetworkFirewallPolicyTunnelInspectionRuleArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyTunnelInspectionRuleResult>
function getNetworkFirewallPolicyTunnelInspectionRuleOutput(args: GetNetworkFirewallPolicyTunnelInspectionRuleOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyTunnelInspectionRuleResult>
def get_network_firewall_policy_tunnel_inspection_rule(network_firewall_policy_id: Optional[str] = None,
tunnel_inspection_rule_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyTunnelInspectionRuleResult
def get_network_firewall_policy_tunnel_inspection_rule_output(network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
tunnel_inspection_rule_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyTunnelInspectionRuleResult]
func GetNetworkFirewallPolicyTunnelInspectionRule(ctx *Context, args *GetNetworkFirewallPolicyTunnelInspectionRuleArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyTunnelInspectionRuleResult, error)
func GetNetworkFirewallPolicyTunnelInspectionRuleOutput(ctx *Context, args *GetNetworkFirewallPolicyTunnelInspectionRuleOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyTunnelInspectionRuleResultOutput
> Note: This function is named GetNetworkFirewallPolicyTunnelInspectionRule
in the Go SDK.
public static class GetNetworkFirewallPolicyTunnelInspectionRule
{
public static Task<GetNetworkFirewallPolicyTunnelInspectionRuleResult> InvokeAsync(GetNetworkFirewallPolicyTunnelInspectionRuleArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkFirewallPolicyTunnelInspectionRuleResult> Invoke(GetNetworkFirewallPolicyTunnelInspectionRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworkFirewallPolicyTunnelInspectionRuleResult> getNetworkFirewallPolicyTunnelInspectionRule(GetNetworkFirewallPolicyTunnelInspectionRuleArgs args, InvokeOptions options)
public static Output<GetNetworkFirewallPolicyTunnelInspectionRuleResult> getNetworkFirewallPolicyTunnelInspectionRule(GetNetworkFirewallPolicyTunnelInspectionRuleArgs args, InvokeOptions options)
fn::invoke:
function: oci:NetworkFirewall/getNetworkFirewallPolicyTunnelInspectionRule:getNetworkFirewallPolicyTunnelInspectionRule
arguments:
# arguments dictionary
The following arguments are supported:
- Network
Firewall Policy Id This property is required. string - Unique Network Firewall Policy identifier
- Tunnel
Inspection Rule Name This property is required. string - Unique identifier for Tunnel Inspection Rules in the network firewall policy.
- Network
Firewall Policy Id This property is required. string - Unique Network Firewall Policy identifier
- Tunnel
Inspection Rule Name This property is required. string - Unique identifier for Tunnel Inspection Rules in the network firewall policy.
- network
Firewall Policy Id This property is required. String - Unique Network Firewall Policy identifier
- tunnel
Inspection Rule Name This property is required. String - Unique identifier for Tunnel Inspection Rules in the network firewall policy.
- network
Firewall Policy Id This property is required. string - Unique Network Firewall Policy identifier
- tunnel
Inspection Rule Name This property is required. string - Unique identifier for Tunnel Inspection Rules in the network firewall policy.
- network_
firewall_ policy_ id This property is required. str - Unique Network Firewall Policy identifier
- tunnel_
inspection_ rule_ name This property is required. str - Unique identifier for Tunnel Inspection Rules in the network firewall policy.
- network
Firewall Policy Id This property is required. String - Unique Network Firewall Policy identifier
- tunnel
Inspection Rule Name This property is required. String - Unique identifier for Tunnel Inspection Rules in the network firewall policy.
getNetworkFirewallPolicyTunnelInspectionRule Result
The following output properties are available:
- 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.
- Conditions
List<Get
Network Firewall Policy Tunnel Inspection Rule 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.
- Id string
- Name string
- Name for the Tunnel Inspection Rule, must be unique within the policy.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- Positions
List<Get
Network Firewall Policy Tunnel Inspection Rule Position> - An object which defines the position of the rule.
- Priority
Order string - The priority order in which this rule should be evaluated
- Profiles
List<Get
Network Firewall Policy Tunnel Inspection Rule 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.
- Tunnel
Inspection stringRule Name
- 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.
- Conditions
[]Get
Network Firewall Policy Tunnel Inspection Rule 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.
- Id string
- Name string
- Name for the Tunnel Inspection Rule, must be unique within the policy.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- Positions
[]Get
Network Firewall Policy Tunnel Inspection Rule Position - An object which defines the position of the rule.
- Priority
Order string - The priority order in which this rule should be evaluated
- Profiles
[]Get
Network Firewall Policy Tunnel Inspection Rule 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.
- Tunnel
Inspection stringRule Name
- 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.
- conditions
List<Get
Policy Tunnel Inspection Rule 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.
- id String
- name String
- Name for the Tunnel Inspection Rule, must be unique within the policy.
- network
Firewall StringPolicy Id - parent
Resource StringId - OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- positions
List<Get
Policy Tunnel Inspection Rule Position> - An object which defines the position of the rule.
- priority
Order String - The priority order in which this rule should be evaluated
- profiles
List<Get
Policy Tunnel Inspection Rule 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.
- tunnel
Inspection StringRule Name
- 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.
- conditions
Get
Network Firewall Policy Tunnel Inspection Rule 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.
- id string
- name string
- Name for the Tunnel Inspection Rule, must be unique within the policy.
- network
Firewall stringPolicy Id - parent
Resource stringId - OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- positions
Get
Network Firewall Policy Tunnel Inspection Rule Position[] - An object which defines the position of the rule.
- priority
Order string - The priority order in which this rule should be evaluated
- profiles
Get
Network Firewall Policy Tunnel Inspection Rule 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.
- tunnel
Inspection stringRule Name
- 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.
- conditions
Sequence[networkfirewall.
Get Network Firewall Policy Tunnel Inspection Rule 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.
- id str
- name str
- Name for the Tunnel Inspection Rule, must be unique within the policy.
- network_
firewall_ strpolicy_ id - parent_
resource_ strid - OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- positions
Sequence[networkfirewall.
Get Network Firewall Policy Tunnel Inspection Rule Position] - An object which defines the position of the rule.
- priority_
order str - The priority order in which this rule should be evaluated
- profiles
Sequence[networkfirewall.
Get Network Firewall Policy Tunnel Inspection Rule 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.
- tunnel_
inspection_ strrule_ name
- 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.
- conditions List<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.
- id String
- name String
- Name for the Tunnel Inspection Rule, must be unique within the policy.
- network
Firewall StringPolicy Id - parent
Resource StringId - OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- positions List<Property Map>
- An object which defines the position of the rule.
- priority
Order String - The priority order in which this rule should be evaluated
- profiles List<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.
- tunnel
Inspection StringRule Name
Supporting Types
GetNetworkFirewallPolicyTunnelInspectionRuleCondition
- Destination
Addresses This property is required. List<string> - An array of address list names to be evaluated against the traffic destination address.
- Source
Addresses This property is required. List<string> - An array of address list names to be evaluated against the traffic source address.
- Destination
Addresses This property is required. []string - An array of address list names to be evaluated against the traffic destination address.
- Source
Addresses This property is required. []string - An array of address list names to be evaluated against the traffic source address.
- destination
Addresses This property is required. List<String> - An array of address list names to be evaluated against the traffic destination address.
- source
Addresses This property is required. List<String> - An array of address list names to be evaluated against the traffic source address.
- destination
Addresses This property is required. string[] - An array of address list names to be evaluated against the traffic destination address.
- source
Addresses This property is required. string[] - An array of address list names to be evaluated against the traffic source address.
- destination_
addresses This property is required. Sequence[str] - An array of address list names to be evaluated against the traffic destination address.
- source_
addresses This property is required. Sequence[str] - An array of address list names to be evaluated against the traffic source address.
- destination
Addresses This property is required. List<String> - An array of address list names to be evaluated against the traffic destination address.
- source
Addresses This property is required. List<String> - An array of address list names to be evaluated against the traffic source address.
GetNetworkFirewallPolicyTunnelInspectionRulePosition
- After
Rule This property is required. string - Identifier for rule after which this rule lies.
- Before
Rule This property is required. string - Identifier for rule before which this rule lies.
- After
Rule This property is required. string - Identifier for rule after which this rule lies.
- Before
Rule This property is required. string - Identifier for rule before which this rule lies.
- after
Rule This property is required. String - Identifier for rule after which this rule lies.
- before
Rule This property is required. String - Identifier for rule before which this rule lies.
- after
Rule This property is required. string - Identifier for rule after which this rule lies.
- before
Rule 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.
- after
Rule This property is required. String - Identifier for rule after which this rule lies.
- before
Rule This property is required. String - Identifier for rule before which this rule lies.
GetNetworkFirewallPolicyTunnelInspectionRuleProfile
- Must
Return Traffic To Source This property is required. bool - Return scanned VXLAN tunnel traffic to source.
- Must
Return Traffic To Source This property is required. bool - Return scanned VXLAN tunnel traffic to source.
- must
Return Traffic To Source This property is required. Boolean - Return scanned VXLAN tunnel traffic to source.
- must
Return Traffic To Source This property is required. boolean - Return scanned VXLAN tunnel traffic to source.
- must_
return_ traffic_ to_ source This property is required. bool - Return scanned VXLAN tunnel traffic to source.
- must
Return Traffic To Source This property is required. Boolean - 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
oci
Terraform Provider.