Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyDecryptionRules
Explore with Pulumi AI
This data source provides the list of Network Firewall Policy Decryption Rules in Oracle Cloud Infrastructure Network Firewall service.
Returns a list of Decryption Rule for the Network Firewall Policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNetworkFirewallPolicyDecryptionRules = oci.NetworkFirewall.getNetworkFirewallPolicyDecryptionRules({
networkFirewallPolicyId: testNetworkFirewallPolicy.id,
decryptionRulePriorityOrder: networkFirewallPolicyDecryptionRuleDecryptionRulePriorityOrder,
displayName: networkFirewallPolicyDecryptionRuleDisplayName,
});
import pulumi
import pulumi_oci as oci
test_network_firewall_policy_decryption_rules = oci.NetworkFirewall.get_network_firewall_policy_decryption_rules(network_firewall_policy_id=test_network_firewall_policy["id"],
decryption_rule_priority_order=network_firewall_policy_decryption_rule_decryption_rule_priority_order,
display_name=network_firewall_policy_decryption_rule_display_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.GetNetworkFirewallPolicyDecryptionRules(ctx, &networkfirewall.GetNetworkFirewallPolicyDecryptionRulesArgs{
NetworkFirewallPolicyId: testNetworkFirewallPolicy.Id,
DecryptionRulePriorityOrder: pulumi.IntRef(networkFirewallPolicyDecryptionRuleDecryptionRulePriorityOrder),
DisplayName: pulumi.StringRef(networkFirewallPolicyDecryptionRuleDisplayName),
}, 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 testNetworkFirewallPolicyDecryptionRules = Oci.NetworkFirewall.GetNetworkFirewallPolicyDecryptionRules.Invoke(new()
{
NetworkFirewallPolicyId = testNetworkFirewallPolicy.Id,
DecryptionRulePriorityOrder = networkFirewallPolicyDecryptionRuleDecryptionRulePriorityOrder,
DisplayName = networkFirewallPolicyDecryptionRuleDisplayName,
});
});
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.GetNetworkFirewallPolicyDecryptionRulesArgs;
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 testNetworkFirewallPolicyDecryptionRules = NetworkFirewallFunctions.getNetworkFirewallPolicyDecryptionRules(GetNetworkFirewallPolicyDecryptionRulesArgs.builder()
.networkFirewallPolicyId(testNetworkFirewallPolicy.id())
.decryptionRulePriorityOrder(networkFirewallPolicyDecryptionRuleDecryptionRulePriorityOrder)
.displayName(networkFirewallPolicyDecryptionRuleDisplayName)
.build());
}
}
variables:
testNetworkFirewallPolicyDecryptionRules:
fn::invoke:
Function: oci:NetworkFirewall:getNetworkFirewallPolicyDecryptionRules
Arguments:
networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
decryptionRulePriorityOrder: ${networkFirewallPolicyDecryptionRuleDecryptionRulePriorityOrder}
displayName: ${networkFirewallPolicyDecryptionRuleDisplayName}
Using getNetworkFirewallPolicyDecryptionRules
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 getNetworkFirewallPolicyDecryptionRules(args: GetNetworkFirewallPolicyDecryptionRulesArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyDecryptionRulesResult>
function getNetworkFirewallPolicyDecryptionRulesOutput(args: GetNetworkFirewallPolicyDecryptionRulesOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyDecryptionRulesResult>
def get_network_firewall_policy_decryption_rules(decryption_rule_priority_order: Optional[int] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_networkfirewall.GetNetworkFirewallPolicyDecryptionRulesFilter]] = None,
network_firewall_policy_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyDecryptionRulesResult
def get_network_firewall_policy_decryption_rules_output(decryption_rule_priority_order: Optional[pulumi.Input[int]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_networkfirewall.GetNetworkFirewallPolicyDecryptionRulesFilterArgs]]]] = None,
network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyDecryptionRulesResult]
func GetNetworkFirewallPolicyDecryptionRules(ctx *Context, args *GetNetworkFirewallPolicyDecryptionRulesArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyDecryptionRulesResult, error)
func GetNetworkFirewallPolicyDecryptionRulesOutput(ctx *Context, args *GetNetworkFirewallPolicyDecryptionRulesOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyDecryptionRulesResultOutput
> Note: This function is named GetNetworkFirewallPolicyDecryptionRules
in the Go SDK.
public static class GetNetworkFirewallPolicyDecryptionRules
{
public static Task<GetNetworkFirewallPolicyDecryptionRulesResult> InvokeAsync(GetNetworkFirewallPolicyDecryptionRulesArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkFirewallPolicyDecryptionRulesResult> Invoke(GetNetworkFirewallPolicyDecryptionRulesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworkFirewallPolicyDecryptionRulesResult> getNetworkFirewallPolicyDecryptionRules(GetNetworkFirewallPolicyDecryptionRulesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:NetworkFirewall/getNetworkFirewallPolicyDecryptionRules:getNetworkFirewallPolicyDecryptionRules
arguments:
# arguments dictionary
The following arguments are supported:
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Decryption
Rule intPriority Order - Unique priority order for Decryption Rules in the network firewall policy.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Network Firewall Policy Decryption Rules Filter>
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Decryption
Rule intPriority Order - Unique priority order for Decryption Rules in the network firewall policy.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Network Firewall Policy Decryption Rules Filter
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- decryption
Rule IntegerPriority Order - Unique priority order for Decryption Rules in the network firewall policy.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Policy Decryption Rules Filter>
- network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- decryption
Rule numberPriority Order - Unique priority order for Decryption Rules in the network firewall policy.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Network Firewall Policy Decryption Rules Filter[]
- network_
firewall_ strpolicy_ id - Unique Network Firewall Policy identifier
- decryption_
rule_ intpriority_ order - Unique priority order for Decryption Rules in the network firewall policy.
- display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[networkfirewall.
Get Network Firewall Policy Decryption Rules Filter]
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- decryption
Rule NumberPriority Order - Unique priority order for Decryption Rules in the network firewall policy.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
getNetworkFirewallPolicyDecryptionRules Result
The following output properties are available:
- Decryption
Rule List<GetSummary Collections Network Firewall Policy Decryption Rules Decryption Rule Summary Collection> - The list of decryption_rule_summary_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Firewall stringPolicy Id - Decryption
Rule intPriority Order - Display
Name string - Filters
List<Get
Network Firewall Policy Decryption Rules Filter>
- Decryption
Rule []GetSummary Collections Network Firewall Policy Decryption Rules Decryption Rule Summary Collection - The list of decryption_rule_summary_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Firewall stringPolicy Id - Decryption
Rule intPriority Order - Display
Name string - Filters
[]Get
Network Firewall Policy Decryption Rules Filter
- decryption
Rule List<GetSummary Collections Policy Decryption Rules Decryption Rule Summary Collection> - The list of decryption_rule_summary_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Firewall StringPolicy Id - decryption
Rule IntegerPriority Order - display
Name String - filters
List<Get
Policy Decryption Rules Filter>
- decryption
Rule GetSummary Collections Network Firewall Policy Decryption Rules Decryption Rule Summary Collection[] - The list of decryption_rule_summary_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- network
Firewall stringPolicy Id - decryption
Rule numberPriority Order - display
Name string - filters
Get
Network Firewall Policy Decryption Rules Filter[]
- decryption_
rule_ Sequence[networkfirewall.summary_ collections Get Network Firewall Policy Decryption Rules Decryption Rule Summary Collection] - The list of decryption_rule_summary_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- network_
firewall_ strpolicy_ id - decryption_
rule_ intpriority_ order - display_
name str - filters
Sequence[networkfirewall.
Get Network Firewall Policy Decryption Rules Filter]
- decryption
Rule List<Property Map>Summary Collections - The list of decryption_rule_summary_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Firewall StringPolicy Id - decryption
Rule NumberPriority Order - display
Name String - filters List<Property Map>
Supporting Types
GetNetworkFirewallPolicyDecryptionRulesDecryptionRuleSummaryCollection
GetNetworkFirewallPolicyDecryptionRulesDecryptionRuleSummaryCollectionItem
- Action string
- Action:
- NO_DECRYPT - Matching traffic is not decrypted.
- DECRYPT - Matching traffic is decrypted with the specified
secret
according to the specifieddecryptionProfile
.
- Condition
Get
Network Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Condition - Match criteria used in Decryption Rule used on the firewall policy rules.
- Name string
- Name for the decryption 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 decryption rule belongs to.
- Position
Get
Network Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Position - An object which defines the position of the rule.
- Decryption
Profile string - The name of the decryption profile to use.
- 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
.
- Condition
Get
Network Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Condition - Match criteria used in Decryption Rule used on the firewall policy rules.
- Name string
- Name for the decryption 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 decryption rule belongs to.
- Position
Get
Network Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Position - An object which defines the position of the rule.
- Decryption
Profile string - The name of the decryption profile to use.
- 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
.
- condition
Get
Policy Decryption Rules Decryption Rule Summary Collection Item Condition - Match criteria used in Decryption Rule used on the firewall policy rules.
- name String
- Name for the decryption 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 decryption rule belongs to.
- position
Get
Policy Decryption Rules Decryption Rule Summary Collection Item Position - An object which defines the position of the rule.
- decryption
Profile String - The name of the decryption profile to use.
- 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
.
- condition
Get
Network Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Condition - Match criteria used in Decryption Rule used on the firewall policy rules.
- name string
- Name for the decryption 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 decryption rule belongs to.
- position
Get
Network Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Position - An object which defines the position of the rule.
- decryption
Profile string - The name of the decryption profile to use.
- 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
.
- condition
networkfirewall.
Get Network Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Condition - Match criteria used in Decryption Rule used on the firewall policy rules.
- name str
- Name for the decryption 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 decryption rule belongs to.
- position
networkfirewall.
Get Network Firewall Policy Decryption Rules Decryption Rule Summary Collection Item Position - An object which defines the position of the rule.
- decryption_
profile str - The name of the decryption profile to use.
- 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
.
- condition Property Map
- Match criteria used in Decryption Rule used on the firewall policy rules.
- name String
- Name for the decryption 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 decryption rule belongs to.
- position Property Map
- An object which defines the position of the rule.
- decryption
Profile String - The name of the decryption profile to use.
- priority
Order String - secret String
- The name of a mapped secret. Its
type
must match that of the specified decryption profile.
GetNetworkFirewallPolicyDecryptionRulesDecryptionRuleSummaryCollectionItemCondition
- 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.
GetNetworkFirewallPolicyDecryptionRulesDecryptionRuleSummaryCollectionItemPosition
- 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.
GetNetworkFirewallPolicyDecryptionRulesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.