import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Network Firewall Policy Tunnel Inspection Rule resource in Oracle Cloud Infrastructure Network Firewall service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/network-firewall/latest/NetworkFirewallPolicyTunnelInspectionRule * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/network_firewall * * Creates a new tunnel inspection rule for the network firewall policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkFirewallPolicyTunnelInspectionRule = new oci.networkfirewall.NetworkFirewallPolicyTunnelInspectionRule("test_network_firewall_policy_tunnel_inspection_rule", { * condition: { * destinationAddresses: networkFirewallPolicyTunnelInspectionRuleConditionDestinationAddress, * sourceAddresses: networkFirewallPolicyTunnelInspectionRuleConditionSourceAddress, * }, * name: networkFirewallPolicyTunnelInspectionRuleName, * networkFirewallPolicyId: testNetworkFirewallPolicy.id, * protocol: networkFirewallPolicyTunnelInspectionRuleProtocol, * action: networkFirewallPolicyTunnelInspectionRuleAction, * description: networkFirewallPolicyTunnelInspectionRuleDescription, * position: { * afterRule: networkFirewallPolicyTunnelInspectionRulePositionAfterRule, * beforeRule: networkFirewallPolicyTunnelInspectionRulePositionBeforeRule, * }, * profile: { * mustReturnTrafficToSource: networkFirewallPolicyTunnelInspectionRuleProfileMustReturnTrafficToSource === "true", * }, * }); * ``` * * ## Import * * NetworkFirewallPolicyTunnelInspectionRules can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:NetworkFirewall/networkFirewallPolicyTunnelInspectionRule:NetworkFirewallPolicyTunnelInspectionRule test_network_firewall_policy_tunnel_inspection_rule "networkFirewallPolicies/{networkFirewallPolicyId}/tunnelInspectionRules/{tunnelInspectionRuleName}" * ``` */ export declare class NetworkFirewallPolicyTunnelInspectionRule extends pulumi.CustomResource { /** * Get an existing NetworkFirewallPolicyTunnelInspectionRule resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: NetworkFirewallPolicyTunnelInspectionRuleState, opts?: pulumi.CustomResourceOptions): NetworkFirewallPolicyTunnelInspectionRule; /** * Returns true if the given object is an instance of NetworkFirewallPolicyTunnelInspectionRule. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is NetworkFirewallPolicyTunnelInspectionRule; /** * (Updatable) Types of Inspect Action on the traffic flow. * * INSPECT - Inspect the traffic. * * INSPECT_AND_CAPTURE_LOG - Inspect and capture logs for the traffic. */ readonly action: pulumi.Output; /** * (Updatable) 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. */ readonly condition: pulumi.Output; /** * (Updatable) The description of the tunnel inspect rule. This field can be used to add additional info. */ readonly description: pulumi.Output; /** * Name for the Tunnel Inspection Rule, must be unique within the policy. */ readonly name: pulumi.Output; /** * Unique Network Firewall Policy identifier */ readonly networkFirewallPolicyId: pulumi.Output; /** * OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to. */ readonly parentResourceId: pulumi.Output; /** * (Updatable) An object which defines the position of the rule. */ readonly position: pulumi.Output; /** * The priority order in which this rule should be evaluated */ readonly priorityOrder: pulumi.Output; /** * (Updatable) Vxlan Inspect profile used in Vxlan Tunnel Inspection Rules. */ readonly profile: pulumi.Output; /** * (Updatable) Types of Tunnel Inspection Protocol to be applied on the traffic. * * VXLAN - VXLAN Tunnel Inspection Protocol will be applied on the traffic. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly protocol: pulumi.Output; /** * Create a NetworkFirewallPolicyTunnelInspectionRule resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: NetworkFirewallPolicyTunnelInspectionRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkFirewallPolicyTunnelInspectionRule resources. */ export interface NetworkFirewallPolicyTunnelInspectionRuleState { /** * (Updatable) Types of Inspect Action on the traffic flow. * * INSPECT - Inspect the traffic. * * INSPECT_AND_CAPTURE_LOG - Inspect and capture logs for the traffic. */ action?: pulumi.Input; /** * (Updatable) 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. */ condition?: pulumi.Input; /** * (Updatable) The description of the tunnel inspect rule. This field can be used to add additional info. */ description?: pulumi.Input; /** * Name for the Tunnel Inspection Rule, must be unique within the policy. */ name?: pulumi.Input; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId?: pulumi.Input; /** * OCID of the Network Firewall Policy this Tunnel Inspection Rule belongs to. */ parentResourceId?: pulumi.Input; /** * (Updatable) An object which defines the position of the rule. */ position?: pulumi.Input; /** * The priority order in which this rule should be evaluated */ priorityOrder?: pulumi.Input; /** * (Updatable) Vxlan Inspect profile used in Vxlan Tunnel Inspection Rules. */ profile?: pulumi.Input; /** * (Updatable) Types of Tunnel Inspection Protocol to be applied on the traffic. * * VXLAN - VXLAN Tunnel Inspection Protocol will be applied on the traffic. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ protocol?: pulumi.Input; } /** * The set of arguments for constructing a NetworkFirewallPolicyTunnelInspectionRule resource. */ export interface NetworkFirewallPolicyTunnelInspectionRuleArgs { /** * (Updatable) Types of Inspect Action on the traffic flow. * * INSPECT - Inspect the traffic. * * INSPECT_AND_CAPTURE_LOG - Inspect and capture logs for the traffic. */ action?: pulumi.Input; /** * (Updatable) 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. */ condition: pulumi.Input; /** * (Updatable) The description of the tunnel inspect rule. This field can be used to add additional info. */ description?: pulumi.Input; /** * Name for the Tunnel Inspection Rule, must be unique within the policy. */ name?: pulumi.Input; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId: pulumi.Input; /** * (Updatable) An object which defines the position of the rule. */ position?: pulumi.Input; /** * (Updatable) Vxlan Inspect profile used in Vxlan Tunnel Inspection Rules. */ profile?: pulumi.Input; /** * (Updatable) Types of Tunnel Inspection Protocol to be applied on the traffic. * * VXLAN - VXLAN Tunnel Inspection Protocol will be applied on the traffic. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ protocol: pulumi.Input; } //# sourceMappingURL=networkFirewallPolicyTunnelInspectionRule.d.ts.map