1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. NetworkFirewall
  5. getNetworkFirewallPolicyMappedSecrets
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.NetworkFirewall.getNetworkFirewallPolicyMappedSecrets

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of Network Firewall Policy Mapped Secrets in Oracle Cloud Infrastructure Network Firewall service.

    Returns a list of Mapped Secret for the Network Firewall Policy.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testNetworkFirewallPolicyMappedSecrets = oci.NetworkFirewall.getNetworkFirewallPolicyMappedSecrets({
        networkFirewallPolicyId: testNetworkFirewallPolicy.id,
        displayName: networkFirewallPolicyMappedSecretDisplayName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_network_firewall_policy_mapped_secrets = oci.NetworkFirewall.get_network_firewall_policy_mapped_secrets(network_firewall_policy_id=test_network_firewall_policy["id"],
        display_name=network_firewall_policy_mapped_secret_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.GetNetworkFirewallPolicyMappedSecrets(ctx, &networkfirewall.GetNetworkFirewallPolicyMappedSecretsArgs{
    			NetworkFirewallPolicyId: testNetworkFirewallPolicy.Id,
    			DisplayName:             pulumi.StringRef(networkFirewallPolicyMappedSecretDisplayName),
    		}, 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 testNetworkFirewallPolicyMappedSecrets = Oci.NetworkFirewall.GetNetworkFirewallPolicyMappedSecrets.Invoke(new()
        {
            NetworkFirewallPolicyId = testNetworkFirewallPolicy.Id,
            DisplayName = networkFirewallPolicyMappedSecretDisplayName,
        });
    
    });
    
    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.GetNetworkFirewallPolicyMappedSecretsArgs;
    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 testNetworkFirewallPolicyMappedSecrets = NetworkFirewallFunctions.getNetworkFirewallPolicyMappedSecrets(GetNetworkFirewallPolicyMappedSecretsArgs.builder()
                .networkFirewallPolicyId(testNetworkFirewallPolicy.id())
                .displayName(networkFirewallPolicyMappedSecretDisplayName)
                .build());
    
        }
    }
    
    variables:
      testNetworkFirewallPolicyMappedSecrets:
        fn::invoke:
          Function: oci:NetworkFirewall:getNetworkFirewallPolicyMappedSecrets
          Arguments:
            networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
            displayName: ${networkFirewallPolicyMappedSecretDisplayName}
    

    Using getNetworkFirewallPolicyMappedSecrets

    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 getNetworkFirewallPolicyMappedSecrets(args: GetNetworkFirewallPolicyMappedSecretsArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyMappedSecretsResult>
    function getNetworkFirewallPolicyMappedSecretsOutput(args: GetNetworkFirewallPolicyMappedSecretsOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyMappedSecretsResult>
    def get_network_firewall_policy_mapped_secrets(display_name: Optional[str] = None,
                                                   network_firewall_policy_id: Optional[str] = None,
                                                   opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyMappedSecretsResult
    def get_network_firewall_policy_mapped_secrets_output(display_name: Optional[pulumi.Input[str]] = None,
                                                   network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyMappedSecretsResult]
    func GetNetworkFirewallPolicyMappedSecrets(ctx *Context, args *GetNetworkFirewallPolicyMappedSecretsArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyMappedSecretsResult, error)
    func GetNetworkFirewallPolicyMappedSecretsOutput(ctx *Context, args *GetNetworkFirewallPolicyMappedSecretsOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyMappedSecretsResultOutput

    > Note: This function is named GetNetworkFirewallPolicyMappedSecrets in the Go SDK.

    public static class GetNetworkFirewallPolicyMappedSecrets 
    {
        public static Task<GetNetworkFirewallPolicyMappedSecretsResult> InvokeAsync(GetNetworkFirewallPolicyMappedSecretsArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkFirewallPolicyMappedSecretsResult> Invoke(GetNetworkFirewallPolicyMappedSecretsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkFirewallPolicyMappedSecretsResult> getNetworkFirewallPolicyMappedSecrets(GetNetworkFirewallPolicyMappedSecretsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:NetworkFirewall/getNetworkFirewallPolicyMappedSecrets:getNetworkFirewallPolicyMappedSecrets
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    DisplayName string
    A filter to return only resources that match the entire display name given.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    DisplayName string
    A filter to return only resources that match the entire display name given.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier
    displayName String
    A filter to return only resources that match the entire display name given.
    networkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    displayName string
    A filter to return only resources that match the entire display name given.
    network_firewall_policy_id str
    Unique Network Firewall Policy identifier
    display_name str
    A filter to return only resources that match the entire display name given.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier
    displayName String
    A filter to return only resources that match the entire display name given.

    getNetworkFirewallPolicyMappedSecrets Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    MappedSecretSummaryCollections List<GetNetworkFirewallPolicyMappedSecretsMappedSecretSummaryCollection>
    The list of mapped_secret_summary_collection.
    NetworkFirewallPolicyId string
    DisplayName string
    Id string
    The provider-assigned unique ID for this managed resource.
    MappedSecretSummaryCollections []GetNetworkFirewallPolicyMappedSecretsMappedSecretSummaryCollection
    The list of mapped_secret_summary_collection.
    NetworkFirewallPolicyId string
    DisplayName string
    id String
    The provider-assigned unique ID for this managed resource.
    mappedSecretSummaryCollections List<GetPolicyMappedSecretsMappedSecretSummaryCollection>
    The list of mapped_secret_summary_collection.
    networkFirewallPolicyId String
    displayName String
    id string
    The provider-assigned unique ID for this managed resource.
    mappedSecretSummaryCollections GetNetworkFirewallPolicyMappedSecretsMappedSecretSummaryCollection[]
    The list of mapped_secret_summary_collection.
    networkFirewallPolicyId string
    displayName string
    id str
    The provider-assigned unique ID for this managed resource.
    mapped_secret_summary_collections Sequence[networkfirewall.GetNetworkFirewallPolicyMappedSecretsMappedSecretSummaryCollection]
    The list of mapped_secret_summary_collection.
    network_firewall_policy_id str
    display_name str
    id String
    The provider-assigned unique ID for this managed resource.
    mappedSecretSummaryCollections List<Property Map>
    The list of mapped_secret_summary_collection.
    networkFirewallPolicyId String
    displayName String

    Supporting Types

    GetNetworkFirewallPolicyMappedSecretsMappedSecretSummaryCollection

    GetNetworkFirewallPolicyMappedSecretsMappedSecretSummaryCollectionItem

    Name string
    Name of the secret.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    ParentResourceId string
    OCID of the Network Firewall Policy this Mapped Secret belongs to.
    Source string
    Source of the secrets, where the secrets are stored.
    Type string
    Type of the secrets mapped based on the policy.

    • SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
    • SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
    VaultSecretId string
    OCID for the Vault Secret to be used.
    VersionNumber int
    Version number of the secret to be used.
    Name string
    Name of the secret.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    ParentResourceId string
    OCID of the Network Firewall Policy this Mapped Secret belongs to.
    Source string
    Source of the secrets, where the secrets are stored.
    Type string
    Type of the secrets mapped based on the policy.

    • SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
    • SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
    VaultSecretId string
    OCID for the Vault Secret to be used.
    VersionNumber int
    Version number of the secret to be used.
    name String
    Name of the secret.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier
    parentResourceId String
    OCID of the Network Firewall Policy this Mapped Secret belongs to.
    source String
    Source of the secrets, where the secrets are stored.
    type String
    Type of the secrets mapped based on the policy.

    • SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
    • SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
    vaultSecretId String
    OCID for the Vault Secret to be used.
    versionNumber Integer
    Version number of the secret to be used.
    name string
    Name of the secret.
    networkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    parentResourceId string
    OCID of the Network Firewall Policy this Mapped Secret belongs to.
    source string
    Source of the secrets, where the secrets are stored.
    type string
    Type of the secrets mapped based on the policy.

    • SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
    • SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
    vaultSecretId string
    OCID for the Vault Secret to be used.
    versionNumber number
    Version number of the secret to be used.
    name str
    Name of the secret.
    network_firewall_policy_id str
    Unique Network Firewall Policy identifier
    parent_resource_id str
    OCID of the Network Firewall Policy this Mapped Secret belongs to.
    source str
    Source of the secrets, where the secrets are stored.
    type str
    Type of the secrets mapped based on the policy.

    • SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
    • SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
    vault_secret_id str
    OCID for the Vault Secret to be used.
    version_number int
    Version number of the secret to be used.
    name String
    Name of the secret.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier
    parentResourceId String
    OCID of the Network Firewall Policy this Mapped Secret belongs to.
    source String
    Source of the secrets, where the secrets are stored.
    type String
    Type of the secrets mapped based on the policy.

    • SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
    • SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
    vaultSecretId String
    OCID for the Vault Secret to be used.
    versionNumber Number
    Version number of the secret to be used.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi