Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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[_networkfirewall.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[_networkfirewall.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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:NetworkFirewall/getNetworkFirewallPolicyTunnelInspectionRules:getNetworkFirewallPolicyTunnelInspectionRules
arguments:
# arguments dictionary
The following arguments are supported:
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Network Firewall Policy Tunnel Inspection Rules Filter> - Tunnel
Inspection intRule Priority Order - Unique priority order for Tunnel Inspection rules in the network firewall policy.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Network Firewall Policy Tunnel Inspection Rules Filter - Tunnel
Inspection intRule Priority Order - Unique priority order for Tunnel Inspection rules in the network firewall policy.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Policy Tunnel Inspection Rules Filter> - tunnel
Inspection IntegerRule Priority Order - Unique priority order for Tunnel Inspection rules in the network firewall policy.
- network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Network Firewall Policy Tunnel Inspection Rules Filter[] - tunnel
Inspection 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[networkfirewall.
Get Network Firewall Policy Tunnel Inspection Rules Filter] - tunnel_
inspection_ intrule_ priority_ order - Unique priority order for Tunnel Inspection rules in the network firewall policy.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- tunnel
Inspection 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.
- Network
Firewall stringPolicy Id - Tunnel
Inspection List<GetRule Summary Collections Network Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection> - The list of tunnel_inspection_rule_summary_collection.
- Display
Name string - Filters
List<Get
Network Firewall Policy Tunnel Inspection Rules Filter> - Tunnel
Inspection intRule Priority Order
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Firewall stringPolicy Id - Tunnel
Inspection []GetRule Summary Collections Network Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection - The list of tunnel_inspection_rule_summary_collection.
- Display
Name string - Filters
[]Get
Network Firewall Policy Tunnel Inspection Rules Filter - Tunnel
Inspection intRule Priority Order
- id String
- The provider-assigned unique ID for this managed resource.
- network
Firewall StringPolicy Id - tunnel
Inspection List<GetRule Summary Collections Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection> - The list of tunnel_inspection_rule_summary_collection.
- display
Name String - filters
List<Get
Policy Tunnel Inspection Rules Filter> - tunnel
Inspection IntegerRule Priority Order
- id string
- The provider-assigned unique ID for this managed resource.
- network
Firewall stringPolicy Id - tunnel
Inspection GetRule Summary Collections Network Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection[] - The list of tunnel_inspection_rule_summary_collection.
- display
Name string - filters
Get
Network Firewall Policy Tunnel Inspection Rules Filter[] - tunnel
Inspection numberRule Priority Order
- id str
- The provider-assigned unique ID for this managed resource.
- network_
firewall_ strpolicy_ id - tunnel_
inspection_ Sequence[networkfirewall.rule_ summary_ collections Get Network Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection] - The list of tunnel_inspection_rule_summary_collection.
- display_
name str - filters
Sequence[networkfirewall.
Get Network Firewall Policy Tunnel Inspection Rules Filter] - tunnel_
inspection_ intrule_ priority_ order
- id String
- The provider-assigned unique ID for this managed resource.
- network
Firewall StringPolicy Id - tunnel
Inspection List<Property Map>Rule Summary Collections - The list of tunnel_inspection_rule_summary_collection.
- display
Name String - filters List<Property Map>
- tunnel
Inspection 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
Get
Network 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.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Parent
Resource stringId - OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- Position
Get
Network Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Position - An object which defines the position of the rule.
- Priority
Order string - The priority order in which this rule should be evaluated
- Profile
Get
Network 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
Get
Network 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.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Parent
Resource stringId - OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- Position
Get
Network Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Position - An object which defines the position of the rule.
- Priority
Order string - The priority order in which this rule should be evaluated
- Profile
Get
Network 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
Get
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.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- parent
Resource StringId - OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- position
Get
Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Position - An object which defines the position of the rule.
- priority
Order String - The priority order in which this rule should be evaluated
- profile
Get
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
Get
Network 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.
- network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- parent
Resource stringId - OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to.
- position
Get
Network Firewall Policy Tunnel Inspection Rules Tunnel Inspection Rule Summary Collection Item Position - An object which defines the position of the rule.
- priority
Order string - The priority order in which this rule should be evaluated
- profile
Get
Network 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
networkfirewall.
Get Network 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
networkfirewall.
Get Network 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
networkfirewall.
Get Network 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.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- parent
Resource 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.
- priority
Order 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
- Destination
Addresses List<string> - An array of address list names to be evaluated against the traffic destination address.
- Source
Addresses List<string> - An array of address list names to be evaluated against the traffic source address.
- Destination
Addresses []string - An array of address list names to be evaluated against the traffic destination address.
- Source
Addresses []string - An array of address list names to be evaluated against the traffic source address.
- destination
Addresses List<String> - An array of address list names to be evaluated against the traffic destination address.
- source
Addresses List<String> - An array of address list names to be evaluated against the traffic source address.
- destination
Addresses string[] - An array of address list names to be evaluated against the traffic destination address.
- source
Addresses 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.
- destination
Addresses List<String> - An array of address list names to be evaluated against the traffic destination address.
- source
Addresses List<String> - An array of address list names to be evaluated against the traffic source address.
GetNetworkFirewallPolicyTunnelInspectionRulesTunnelInspectionRuleSummaryCollectionItemPosition
- After
Rule string - Identifier for rule after which this rule lies.
- Before
Rule string - Identifier for rule before which this rule lies.
- After
Rule string - Identifier for rule after which this rule lies.
- Before
Rule string - Identifier for rule before which this rule lies.
- after
Rule String - Identifier for rule after which this rule lies.
- before
Rule String - Identifier for rule before which this rule lies.
- after
Rule string - Identifier for rule after which this rule lies.
- before
Rule 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.
- after
Rule String - Identifier for rule after which this rule lies.
- before
Rule String - Identifier for rule before which this rule lies.
GetNetworkFirewallPolicyTunnelInspectionRulesTunnelInspectionRuleSummaryCollectionItemProfile
- Must
Return boolTraffic To Source - Return scanned VXLAN tunnel traffic to source.
- Must
Return boolTraffic To Source - Return scanned VXLAN tunnel traffic to source.
- must
Return BooleanTraffic To Source - Return scanned VXLAN tunnel traffic to source.
- must
Return booleanTraffic To Source - Return scanned VXLAN tunnel traffic to source.
- must_
return_ booltraffic_ to_ source - Return scanned VXLAN tunnel traffic to source.
- must
Return 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
oci
Terraform Provider.