Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyDecryptionRule
Explore with Pulumi AI
This data source provides details about a specific Network Firewall Policy Decryption Rule resource in Oracle Cloud Infrastructure Network Firewall service.
Get Decryption Rule by the given name in the context of network firewall policy.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
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.GetNetworkFirewallPolicyDecryptionRuleArgs;
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 testNetworkFirewallPolicyDecryptionRule = NetworkFirewallFunctions.getNetworkFirewallPolicyDecryptionRule(GetNetworkFirewallPolicyDecryptionRuleArgs.builder()
.decryptionRuleName(ociNetworkFirewallNetworkFirewallPolicyDecryptionRuleName)
.networkFirewallPolicyId(testNetworkFirewallPolicy.id())
.build());
}
}
variables:
testNetworkFirewallPolicyDecryptionRule:
fn::invoke:
Function: oci:NetworkFirewall:getNetworkFirewallPolicyDecryptionRule
Arguments:
decryptionRuleName: ${ociNetworkFirewallNetworkFirewallPolicyDecryptionRuleName}
networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
Using getNetworkFirewallPolicyDecryptionRule
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 getNetworkFirewallPolicyDecryptionRule(args: GetNetworkFirewallPolicyDecryptionRuleArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyDecryptionRuleResult>
function getNetworkFirewallPolicyDecryptionRuleOutput(args: GetNetworkFirewallPolicyDecryptionRuleOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyDecryptionRuleResult>
def get_network_firewall_policy_decryption_rule(name: Optional[str] = None,
network_firewall_policy_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyDecryptionRuleResult
def get_network_firewall_policy_decryption_rule_output(name: Optional[pulumi.Input[str]] = None,
network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyDecryptionRuleResult]
func GetNetworkFirewallPolicyDecryptionRule(ctx *Context, args *GetNetworkFirewallPolicyDecryptionRuleArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyDecryptionRuleResult, error)
func GetNetworkFirewallPolicyDecryptionRuleOutput(ctx *Context, args *GetNetworkFirewallPolicyDecryptionRuleOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyDecryptionRuleResultOutput
> Note: This function is named GetNetworkFirewallPolicyDecryptionRule
in the Go SDK.
public static class GetNetworkFirewallPolicyDecryptionRule
{
public static Task<GetNetworkFirewallPolicyDecryptionRuleResult> InvokeAsync(GetNetworkFirewallPolicyDecryptionRuleArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkFirewallPolicyDecryptionRuleResult> Invoke(GetNetworkFirewallPolicyDecryptionRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworkFirewallPolicyDecryptionRuleResult> getNetworkFirewallPolicyDecryptionRule(GetNetworkFirewallPolicyDecryptionRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:NetworkFirewall/getNetworkFirewallPolicyDecryptionRule:getNetworkFirewallPolicyDecryptionRule
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name for the decryption rule, must be unique within the policy.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Name string
- Name for the decryption rule, must be unique within the policy.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- name String
- Name for the decryption rule, must be unique within the policy.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- name string
- Name for the decryption rule, must be unique within the policy.
- network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- name str
- Name for the decryption rule, must be unique within the policy.
- network_
firewall_ strpolicy_ id - Unique Network Firewall Policy identifier
- name String
- Name for the decryption rule, must be unique within the policy.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
getNetworkFirewallPolicyDecryptionRule Result
The following output properties are available:
- Action string
- Action:
- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified
secret
according to the specifieddecryptionProfile
.
- Conditions
List<Get
Network Firewall Policy Decryption Rule Condition> - Match criteria used in Decryption Rule used on the firewall policy rules.
- Decryption
Profile string - The name of the decryption profile to use.
- Id string
- Name string
- Name for the decryption rule, must be unique within the policy.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - OCID of the Network Firewall Policy this decryption rule belongs to.
- Positions
List<Get
Network Firewall Policy Decryption Rule Position> - An object which defines the position of the rule.
- Priority
Order string - Secret string
- The name of a mapped secret. Its
type
must match that of the specified decryption profile.
- Action string
- Action:
- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified
secret
according to the specifieddecryptionProfile
.
- Conditions
[]Get
Network Firewall Policy Decryption Rule Condition - Match criteria used in Decryption Rule used on the firewall policy rules.
- Decryption
Profile string - The name of the decryption profile to use.
- Id string
- Name string
- Name for the decryption rule, must be unique within the policy.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - OCID of the Network Firewall Policy this decryption rule belongs to.
- Positions
[]Get
Network Firewall Policy Decryption Rule Position - An object which defines the position of the rule.
- Priority
Order string - Secret string
- The name of a mapped secret. Its
type
must match that of the specified decryption profile.
- action String
- Action:
- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified
secret
according to the specifieddecryptionProfile
.
- conditions
List<Get
Policy Decryption Rule Condition> - Match criteria used in Decryption Rule used on the firewall policy rules.
- decryption
Profile String - The name of the decryption profile to use.
- id String
- name String
- Name for the decryption rule, must be unique within the policy.
- network
Firewall StringPolicy Id - parent
Resource StringId - OCID of the Network Firewall Policy this decryption rule belongs to.
- positions
List<Get
Policy Decryption Rule Position> - An object which defines the position of the rule.
- priority
Order String - secret String
- The name of a mapped secret. Its
type
must match that of the specified decryption profile.
- action string
- Action:
- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified
secret
according to the specifieddecryptionProfile
.
- conditions
Get
Network Firewall Policy Decryption Rule Condition[] - Match criteria used in Decryption Rule used on the firewall policy rules.
- decryption
Profile string - The name of the decryption profile to use.
- id string
- name string
- Name for the decryption rule, must be unique within the policy.
- network
Firewall stringPolicy Id - parent
Resource stringId - OCID of the Network Firewall Policy this decryption rule belongs to.
- positions
Get
Network Firewall Policy Decryption Rule Position[] - An object which defines the position of the rule.
- priority
Order string - secret string
- The name of a mapped secret. Its
type
must match that of the specified decryption profile.
- action str
- Action:
- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified
secret
according to the specifieddecryptionProfile
.
- conditions
Sequence[networkfirewall.
Get Network Firewall Policy Decryption Rule Condition] - Match criteria used in Decryption Rule used on the firewall policy rules.
- decryption_
profile str - The name of the decryption profile to use.
- id str
- name str
- Name for the decryption rule, must be unique within the policy.
- network_
firewall_ strpolicy_ id - parent_
resource_ strid - OCID of the Network Firewall Policy this decryption rule belongs to.
- positions
Sequence[networkfirewall.
Get Network Firewall Policy Decryption Rule Position] - An object which defines the position of the rule.
- priority_
order str - secret str
- The name of a mapped secret. Its
type
must match that of the specified decryption profile.
- action String
- Action:
- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified
secret
according to the specifieddecryptionProfile
.
- conditions List<Property Map>
- Match criteria used in Decryption Rule used on the firewall policy rules.
- decryption
Profile String - The name of the decryption profile to use.
- id String
- name String
- Name for the decryption rule, must be unique within the policy.
- network
Firewall StringPolicy Id - parent
Resource StringId - OCID of the Network Firewall Policy this decryption rule belongs to.
- positions List<Property Map>
- An object which defines the position of the rule.
- priority
Order String - secret String
- The name of a mapped secret. Its
type
must match that of the specified decryption profile.
Supporting Types
GetNetworkFirewallPolicyDecryptionRuleCondition
- Destination
Addresses List<string> - An array of IP address list names to be evaluated against the traffic destination address.
- Source
Addresses List<string> - An array of IP address list names to be evaluated against the traffic source address.
- Destination
Addresses []string - An array of IP address list names to be evaluated against the traffic destination address.
- Source
Addresses []string - An array of IP address list names to be evaluated against the traffic source address.
- destination
Addresses List<String> - An array of IP address list names to be evaluated against the traffic destination address.
- source
Addresses List<String> - An array of IP address list names to be evaluated against the traffic source address.
- destination
Addresses string[] - An array of IP address list names to be evaluated against the traffic destination address.
- source
Addresses string[] - An array of IP address list names to be evaluated against the traffic source address.
- destination_
addresses Sequence[str] - An array of IP address list names to be evaluated against the traffic destination address.
- source_
addresses Sequence[str] - An array of IP address list names to be evaluated against the traffic source address.
- destination
Addresses List<String> - An array of IP address list names to be evaluated against the traffic destination address.
- source
Addresses List<String> - An array of IP address list names to be evaluated against the traffic source address.
GetNetworkFirewallPolicyDecryptionRulePosition
- 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.