import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Network Firewall Policy Nat Rule resource in Oracle Cloud Infrastructure Network Firewall service. * * Get a [NAT rule](https://docs.cloud.oracle.com/iaas/Content/network-firewall/policies.htm#network-firewall-policies__nat) by the given name in the context of Network Firewall policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkFirewallPolicyNatRule = oci.networkfirewall.getNetworkFirewallPolicyNatRule({ * natRuleName: testRule.name, * networkFirewallPolicyId: testNetworkFirewallPolicy.id, * }); * ``` */ export declare function getNetworkFirewallPolicyNatRule(args: GetNetworkFirewallPolicyNatRuleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNetworkFirewallPolicyNatRule. */ export interface GetNetworkFirewallPolicyNatRuleArgs { /** * Unique identifier for NAT rules in the Network Firewall policy. */ natRuleName: string; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId: string; } /** * A collection of values returned by getNetworkFirewallPolicyNatRule. */ export interface GetNetworkFirewallPolicyNatRuleResult { /** * action: * * DIPP_SRC_NAT - Dynamic-ip-port source NAT. */ readonly action: string; /** * Match criteria used in NAT rule used on the firewall policy. */ readonly conditions: outputs.NetworkFirewall.GetNetworkFirewallPolicyNatRuleCondition[]; /** * Description of a NAT rule. This field can be used to add additional info. */ readonly description: string; readonly id: string; /** * Name for the NAT rule, must be unique within the policy. */ readonly name: string; readonly natRuleName: string; readonly networkFirewallPolicyId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall policy this NAT rule belongs to. */ readonly parentResourceId: string; /** * An object which defines the position of the rule. */ readonly positions: outputs.NetworkFirewall.GetNetworkFirewallPolicyNatRulePosition[]; /** * The priority order in which this rule should be evaluated */ readonly priorityOrder: string; /** * NAT type: * * NATV4 - NATV4 type NAT. */ readonly type: string; } /** * This data source provides details about a specific Network Firewall Policy Nat Rule resource in Oracle Cloud Infrastructure Network Firewall service. * * Get a [NAT rule](https://docs.cloud.oracle.com/iaas/Content/network-firewall/policies.htm#network-firewall-policies__nat) by the given name in the context of Network Firewall policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkFirewallPolicyNatRule = oci.networkfirewall.getNetworkFirewallPolicyNatRule({ * natRuleName: testRule.name, * networkFirewallPolicyId: testNetworkFirewallPolicy.id, * }); * ``` */ export declare function getNetworkFirewallPolicyNatRuleOutput(args: GetNetworkFirewallPolicyNatRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNetworkFirewallPolicyNatRule. */ export interface GetNetworkFirewallPolicyNatRuleOutputArgs { /** * Unique identifier for NAT rules in the Network Firewall policy. */ natRuleName: pulumi.Input; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId: pulumi.Input; } //# sourceMappingURL=getNetworkFirewallPolicyNatRule.d.ts.map